@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fira+Code:wght@400;500&display=swap');

:root {
  /* Google Colors */
  --google-blue: #4285F4;
  --google-red: #EA4335;
  --google-yellow: #FBBC04;
  --google-green: #34A853;

  /* Primary Palette */
  --primary-color: var(--google-blue);
  --primary-hover: #3367D6;
  --secondary-color: #E8F0FE;
  
  /* Text & Backgrounds */
  --text-dark: #202124;
  --text-gray: #5F6368;
  --text-light: #F8F9FA;
  --bg-color: #F8F9FA;
  --bg-white: #FFFFFF;
  --border-color: #E0E0E0;

  /* Layout */
  --max-width-main: 1120px;
  --max-width-read: 820px;
  --nav-height: 70px;

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Gradients */
  --gradient-text: linear-gradient(90deg, #4285F4, #9b72cb, #EA4335);
  --gradient-hero: linear-gradient(135deg, #F8F9FA 0%, #E8F0FE 100%);
  --gradient-blue: linear-gradient(135deg, #4285F4 0%, #3367D6 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-hover);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-blue { color: var(--google-blue); }
.text-red { color: var(--google-red); }
.text-yellow { color: var(--google-yellow); }
.text-green { color: var(--google-green); }

/* Layout Containers */
.container {
  max-width: var(--max-width-main);
  margin: 0 auto;
  padding: 0 20px;
}

.container-sm {
  max-width: var(--max-width-read);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 4rem 0;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  border-bottom: 1px solid var(--border-color);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Page Heroes */
.page-hero {
  background: var(--gradient-blue);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-hero.hero-blue {
  background: var(--gradient-blue);
}

.page-hero.hero-green {
  background: linear-gradient(135deg, #34A853 0%, #188038 100%);
}

.page-hero.hero-yellow {
  background: linear-gradient(135deg, #FBBC04 0%, #F29900 100%);
  color: var(--text-dark);
}

.page-hero.hero-yellow .page-hero-label {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
}

.page-hero.hero-yellow p {
  color: var(--text-dark);
  opacity: 0.85;
}

.page-hero.hero-red {
  background: linear-gradient(135deg, #EA4335 0%, #C5221F 100%);
}

.page-hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Home Hero */
.hero-home {
  background: var(--gradient-hero);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(#E0E0E0 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  z-index: 0;
}

.hero-home .container {
  position: relative;
  z-index: 1;
}

.hero-home h1 {
  font-size: 3rem;
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.hero-home p {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Status Strip */
.status-strip {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.status-item {
  background: var(--bg-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  color: var(--text-gray);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-item span {
  font-weight: 600;
  color: var(--text-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-color);
  padding: 0.5rem;
}
.btn-ghost:hover {
  text-decoration: underline;
}

/* Cards & Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-easy, .badge-official {
  background-color: #e6f4ea;
  color: #137333;
}

.badge-medium, .badge-guide {
  background-color: #fef7e0;
  color: #b06000;
}

.badge-hard, .badge-tool {
  background-color: #fce8e6;
  color: #c5221f;
}

.badge-community {
  background-color: #f3e8fd;
  color: #681da8;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Filters & Search */
.search-bar {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

.search-bar i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
}

.search-bar input {
  padding-left: 2.5rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-gray);
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Accordion (FAQs) */
.accordion {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: var(--bg-white);
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
}

.accordion-header i {
  transition: transform 0.3s ease;
}

.accordion.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-gray);
}

.accordion.active .accordion-content {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

/* Roadmap specific */
.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.roadmap-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.roadmap-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.roadmap-card ul {
  padding-left: 1.5rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.roadmap-card ul li {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  color: var(--text-gray);
}

.footer-col ul a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.footer-disclaimer {
  background: var(--bg-color);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  text-align: left;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-home h1 { font-size: 2rem; }
  .hero-home p { font-size: 1.1rem; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .status-strip {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* --- Community Popup Styles --- */
.cmp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.2, 0, 0, 1), visibility 0.35s;
}

.cmp-overlay.cmp-active {
  opacity: 1;
  visibility: visible;
}

.cmp-modal {
  background: #ffffff;
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.05);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  outline: none;
}

.cmp-overlay.cmp-active .cmp-modal {
  transform: translateY(0) scale(1);
}

.cmp-overlay.cmp-closing {
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.cmp-overlay.cmp-closing .cmp-modal {
  transform: translateY(8px) scale(0.98);
}

.cmp-accent {
  height: 6px;
  background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC04, #34A853);
  width: 100%;
}

.cmp-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #5f6368;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cmp-close:hover, .cmp-close:focus {
  background: #f1f3f4;
  outline: none;
  color: #202124;
}

.cmp-header {
  padding: 16px 20px 12px;
  text-align: center;
}

.cmp-badge {
  display: inline-block;
  background: #e8f0fe;
  color: #1a73e8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cmp-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #202124;
  margin-bottom: 8px;
  line-height: 1.3;
}

.cmp-desc {
  font-size: 0.9rem;
  color: #5f6368;
  line-height: 1.4;
  margin: 0;
}

.cmp-highlights {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 20px 16px;
}

.cmp-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #3c4043;
  font-weight: 500;
}

.cmp-highlight svg {
  color: #34A853;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cmp-whatsapp-card {
  margin: 0 20px 12px;
  background: #f6f8fa;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.cmp-wa-content {
  flex-grow: 1;
}

.cmp-wa-header {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.cmp-wa-header svg {
  color: #25D366;
  flex-shrink: 0;
}

.cmp-wa-header h3 {
  font-size: 1.05rem;
  margin: 0 0 4px 0;
  color: #202124;
  font-weight: 600;
}

.cmp-wa-header p {
  font-size: 0.85rem;
  color: #5f6368;
  margin: 0;
  line-height: 1.4;
}

.cmp-member-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #1a73e8;
  background: #e8f0fe;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 500;
  margin-bottom: 12px;
}

.cmp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
}

.cmp-btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 2px 4px rgba(37, 211, 102, 0.2);
}

.cmp-btn-whatsapp:hover, .cmp-btn-whatsapp:focus {
  background: #22bf5b;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
  color: white;
  outline: none;
}

.cmp-qr {
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid #e8eaed;
  flex-shrink: 0;
  display: flex;
}
.cmp-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmp-telegram-card {
  margin: 0 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e8eaed;
}

.cmp-tg-text h3 {
  font-size: 0.95rem;
  margin: 0 0 4px 0;
  color: #202124;
}

.cmp-tg-text p {
  font-size: 0.8rem;
  color: #5f6368;
  margin: 0;
}

.cmp-btn-telegram {
  background: #f1f3f4;
  color: #202124;
  border: 1px solid #e8eaed;
  padding: 8px 16px;
  white-space: nowrap;
  width: auto;
}

.cmp-btn-telegram svg {
  color: #229ED9;
}

.cmp-btn-telegram:hover, .cmp-btn-telegram:focus {
  background: #e8eaed;
  color: #202124;
  outline: none;
}

.cmp-official {
  text-align: center;
  padding: 0 20px;
  margin-bottom: 16px;
}

.cmp-official a {
  font-size: 0.85rem;
  color: #1a73e8;
  font-weight: 500;
  text-decoration: none;
}
.cmp-official a:hover {
  text-decoration: underline;
}

.cmp-official p {
  font-size: 0.75rem;
  color: #80868b;
  margin: 8px 0 0 0;
  line-height: 1.4;
}

.cmp-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 12px 20px 16px;
  border-top: 1px solid #f1f3f4;
  background: #fafafa;
}

.cmp-btn-text {
  background: none;
  border: none;
  color: #5f6368;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}

.cmp-btn-text:hover, .cmp-btn-text:focus {
  background: #f1f3f4;
  color: #202124;
  outline: none;
}

@media (max-width: 640px) {
  .cmp-overlay {
    align-items: flex-end;
  }
  
  .cmp-modal {
    max-width: 100%;
    margin: 16px;
    width: calc(100% - 32px);
    border-radius: 28px 28px 16px 16px;
    transform: translateY(100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }

  .cmp-overlay.cmp-active .cmp-modal {
    transform: translateY(0);
  }

  .cmp-qr {
    display: none;
  }

  .cmp-telegram-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .cmp-btn-telegram {
    width: 100%;
    justify-content: center;
  }

  .cmp-actions {
    flex-direction: column;
    gap: 8px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  
  .cmp-btn-text {
    padding: 12px;
  }
  
  .cmp-header {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .cmp-highlights {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .cmp-whatsapp-card, .cmp-telegram-card {
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmp-overlay, .cmp-modal, .cmp-overlay.cmp-active .cmp-modal, .cmp-overlay.cmp-closing, .cmp-overlay.cmp-closing .cmp-modal {
    transition: none;
    transform: none;
  }
  .entrance-animate {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Enrollment Essentials */
.enrollment-essentials-grid {
  display: grid;
  grid-template-columns: 63fr 37fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.code-panel {
  background: var(--gradient-blue);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  font-family: 'Fira Code', monospace;
  font-size: 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
  font-weight: bold;
  letter-spacing: 1px;
}

.timeline-date.muted {
  opacity: 0.5;
}

.entrance-animate {
  animation: slideUpFade 0.4s ease-out forwards;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.enrollment-strip {
  background: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.enrollment-strip-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .enrollment-essentials-grid {
    grid-template-columns: 1fr;
  }
}

/* Facilitator Cards CSS */
.fac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.fac-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  background-color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  height: 100%;
}

.fac-card:hover {
  transform: translateY(-2px);
  border-color: #BFDBFE;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.fac-card:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 3px;
}

.fac-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.fac-photo-container {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 18px; /* Between 16 and 20px per requirements */
  overflow: hidden;
  background-color: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E5E7EB;
}

.fac-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fac-initials {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4B5563;
}

.fac-title h2 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: #111827;
}

.fac-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563EB;
  background-color: #EFF6FF;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  border: 1px solid #DBEAFE;
}

.fac-icon-small {
  width: 14px;
  height: 14px;
  color: #2563EB;
}

.fac-identity {
  font-size: 0.95rem;
  color: #4B5563;
  font-weight: 500;
}

.fac-bio {
  font-size: 0.95rem;
  color: #4B5563;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.fac-section {
  margin-bottom: 1.5rem;
}

.fac-section-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  margin-bottom: 0.75rem;
}

.fac-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fac-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
}

.fac-icon {
  width: 16px;
  height: 16px;
  color: #16A34A;
  flex-shrink: 0;
  margin-top: 2px;
}

.fac-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fac-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.btn-equal {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
}

.fac-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  background-color: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #DBEAFE;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.btn-fac-contact {
  background-color: #FFFFFF;
  color: #2563EB;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-sm);
  transition: all 250ms ease;
  font-weight: 500;
  text-decoration: none;
}
.btn-fac-contact:hover {
  background-color: #EFF6FF;
  border-color: #93C5FD;
  color: #1D4ED8;
}
.btn-fac-contact:active {
  background-color: #DBEAFE;
}
.btn-fac-contact:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

.btn-whatsapp {
  background-color: #FFFFFF;
  color: #08775F;
  border: 1px solid #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 250ms ease;
}
.btn-whatsapp:hover {
  background-color: #F0FDF4;
  border-color: #86EFAC;
}
.btn-whatsapp:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

.btn-telegram {
  background-color: #FFFFFF;
  color: #1677A7;
  border: 1px solid #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 250ms ease;
}
.btn-telegram:hover {
  background-color: #F0F9FF;
  border-color: #7DD3FC;
}
.btn-telegram:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 250ms ease;
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  color: #FFFFFF;
}
.btn-outline-white:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .fac-grid {
    grid-template-columns: 1fr;
  }
  
  .fac-actions {
    flex-direction: column;
  }
  
  .fac-shared-support-list {
    grid-template-columns: 1fr !important;
  }
}


/* Facilitator Code Component Styles */

.fac-code-card {
  background: #FFFFFF;
  border: 1px solid #DCE6F8;
  border-top: 3px solid #4285F4;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(66, 133, 244, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.fac-code-card:hover {
  border-color: #AECBFA;
  box-shadow: 0 12px 30px rgba(66, 133, 244, 0.12);
  transform: translateY(-2px);
}

.code-panel-container {
  margin-bottom: 1rem;
}

.code-panel-blue {
  background: linear-gradient(135deg, #4285F4 0%, #3367D6 100%);
  border-radius: var(--radius-md);
  min-height: 64px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 0 4px rgba(66, 133, 244, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  animation: entranceAnim 550ms cubic-bezier(0.22, 1, 0.36, 1) forwards, flashAnim 1.5s infinite ease-in-out 550ms;
}

@keyframes entranceAnim {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flashAnim {
  0%, 100% {
    filter: brightness(1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 0 4px rgba(66, 133, 244, 0.07);
  }
  50% {
    filter: brightness(1.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 15px rgba(66, 133, 244, 0.4);
  }
}

.code-panel-blue::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.18) 45%, transparent 65%);
  animation: sheenAnim 1000ms forwards;
  animation-delay: 400ms;
  pointer-events: none;
}

@keyframes sheenAnim {
  to {
    left: 200%;
  }
}

.code-text {
  color: #FFFFFF;
  font-family: 'Fira Code', monospace;
  font-weight: 700;
  font-size: clamp(1rem, 4vw, 1.25rem);
  letter-spacing: 1px;
}

.btn-copy-code {
  background: #FFFFFF;
  color: #3367D6;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  min-height: 40px;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 160ms ease;
  white-space: nowrap;
}

.btn-copy-code i {
  color: #4285F4;
  width: 16px;
  height: 16px;
}

.btn-copy-code:hover {
  background: #EAF2FF;
  color: #2B5BB5;
  transform: translateY(-1px);
}

.btn-copy-code:focus-visible {
  outline: 2px solid #FFFFFF;
  box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.35);
}

.btn-copy-code.copied {
  background: #E6F4EA;
  color: #188038;
  animation: popScale 160ms ease;
}

.btn-copy-code.copied i {
  color: #34A853;
}

@keyframes popScale {
  0% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

.official-enrollment-btn {
  background: #4285F4;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 250ms ease;
}

.official-enrollment-btn:hover {
  background: #3367D6;
}

.official-enrollment-btn:focus-visible {
  outline: 2px solid #FFFFFF;
  box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.35);
}

.external-link-icon {
  width: 16px;
  height: 16px;
  transition: transform 250ms ease;
}

.official-enrollment-btn:hover .external-link-icon {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .code-panel-blue {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }
  .btn-copy-code {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fac-code-card {
    transition: none !important;
  }
  .fac-code-card:hover {
    transform: none !important;
  }
  .code-panel-blue {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .code-panel-blue::after {
    animation: none !important;
    display: none !important;
  }
  .btn-copy-code {
    transition: none !important;
  }
  .btn-copy-code:hover {
    transform: none !important;
  }
  .btn-copy-code.copied {
    animation: none !important;
  }
  .external-link-icon {
    transition: none !important;
  }
  .official-enrollment-btn:hover .external-link-icon {
    transform: none !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


.celebration-popup {
  position: absolute;
  bottom: 100%;
  right: 10px;
  background: #FFFFFF;
  color: #188038;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border: 1px solid #E6F4EA;
  pointer-events: none;
  z-index: 100;
  animation: floatUpFade 2.5s ease-out forwards;
}

@keyframes floatUpFade {
  0% { opacity: 0; transform: translateY(10px) scale(0.9); }
  15% { opacity: 1; transform: translateY(-10px) scale(1.05); }
  30% { opacity: 1; transform: translateY(-15px) scale(1); }
  70% { opacity: 1; transform: translateY(-20px); }
  100% { opacity: 0; transform: translateY(-30px); }
}

@media (prefers-reduced-motion: reduce) {
  .celebration-popup {
    animation: none !important;
    opacity: 1 !important;
    transform: translateY(-15px) !important;
    transition: opacity 0.5s ease 2s;
  }
}


@keyframes copyParticleAnim {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}
