/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* ── AchievoEDU brand palette from logo ── */
  --navy:    #0c1a3d;
  --navy2:   #0f2050;
  --navy3:   #162868;
  --brand-b: #1565d8;       /* bright logo blue */
  --brand-t: #22c5a0;       /* logo teal-green  */
  --brand-o: #f5922a;       /* logo orange      */
  --brand-y: #f9c23a;       /* logo yellow-gold */
  --slate:   #1a3060;
  --muted:   #6e88c4;
  --light:   #aabde8;
  --white:   #f2f7ff;
  --accent:  #f5922a;
  --green:   #22c5a0;
  --amber:   #f9c23a;
  --coral:   #f5922a;
  --teal:    #22c5a0;
  --indigo:  #f5922a;
  --violet:  #e07c1a;
  --cyan:    #22c5a0;
  --font-display: 'Nunito', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --radius:  16px;
  --glow:    0 0 80px rgba(245,146,42,0.18);
}
html { scroll-behavior: smooth; }
/* ── Logo wordmark ── */

.slogan-banner {
  display: inline-flex;
  align-items: center;
  background: #f9c23a;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(249,194,58,0.3), 0 2px 8px rgba(0,0,0,0.15);
  margin-bottom: 4px;
}
.slogan-banner-text {
  padding: 18px 40px;
}
.slogan-line1, .slogan-line2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: #0c1a3d;
  line-height: 1.2;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
}

.logo-wordmark {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #22c5a0 0%, #1565d8 50%, #f5922a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.logo-edu {
  -webkit-text-fill-color: #f9c23a;
  color: #f9c23a;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; border: none; outline: none; }

/* ═══════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: rgba(232,98,42,0.4); border-radius: 3px; }

/* ═══════════════════════════════════════════════════
   PAGE SYSTEM
═══════════════════════════════════════════════════ */
.page { display: none; animation: pageFade 0.4s ease; }
.page.active { display: block; }
@keyframes pageFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(24px, 5vw);
  height: 68px;
  background: rgba(12,26,61,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 800;
  cursor: pointer;
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 6px 14px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500; color: var(--light);
  background: none;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--white); background: rgba(232,98,42,0.08); }
.nav-link.active { color: var(--white); }
.nav-cta {
  padding: 8px 20px; border-radius: 10px;
  font-size: 0.875rem; font-weight: 600;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(232,98,42,0.35);
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(12,26,61,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
  flex-direction: column; gap: 8px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  padding: 12px 16px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 500; color: var(--light);
  background: none; text-align: left;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav-link:hover { color: var(--white); background: rgba(232,98,42,0.08); }

/* ═══════════════════════════════════════════════════
   SHARED LAYOUT
═══════════════════════════════════════════════════ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 max(24px, 5vw); }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--amber); background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15;
  color: var(--white); margin-bottom: 16px;
}
.section-title .grad {
  background: linear-gradient(135deg, var(--coral), var(--amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 1.1rem; color: var(--light); line-height: 1.7;
  max-width: 560px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 12px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #fff; box-shadow: 0 4px 24px rgba(232,98,42,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232,98,42,0.45); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); }
.btn-ghost { background: transparent; color: var(--amber); padding-left: 0; }
.btn-ghost:hover { gap: 12px; }

/* ═══════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════ */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: rgba(232,98,42,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(232,98,42,0.1);
}

/* ═══════════════════════════════════════════════════
   GRADIENT ORBS (decorative)
═══════════════════════════════════════════════════ */
.orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(232,98,42,0.14) 0%, transparent 70%); top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(42,184,154,0.12) 0%, transparent 70%); top: 200px; right: -100px; animation-delay: -4s; }
.orb-3 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 70%); bottom: 100px; left: 30%; animation-delay: -2s; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer {
  background: var(--navy2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.875rem; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-bottom p { color: var(--muted); font-size: 0.8rem; }

/* ═══════════════════════════════════════════════════
   PAGE: HOME — HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding: 160px 0 96px;
  min-height: 100vh;
  display: flex; align-items: center;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 999px; padding: 6px 16px;
  font-size: 0.8rem; font-weight: 600; color: var(--amber);
  font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before { content: '●'; color: var(--green); font-size: 0.5rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.3} }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800; line-height: 1.05;
  color: var(--white); margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title .line-grad {
  display: block;
  background: linear-gradient(135deg, var(--coral) 0%, var(--amber) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 1.15rem; color: var(--light);
  line-height: 1.75; max-width: 480px; margin-bottom: 36px;
}
.hero-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800; text-align: center;
  background: linear-gradient(135deg, #ffffff, var(--brand-y));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 2px; text-align: center; }

/* Hero visual — floating UI mockup */
.hero-visual {
  position: relative;
}
.hero-mockup {
  background: var(--navy3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05), var(--glow);
  animation: mockupFloat 6s ease-in-out infinite;
}
@keyframes mockupFloat { 0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-12px) rotate(0.5deg)} }
.mockup-topbar {
  background: rgba(0,0,0,0.3); padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-body { padding: 20px; }
.mockup-row { display: flex; gap: 12px; margin-bottom: 12px; }
.mockup-card-sm {
  flex: 1; padding: 14px; border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.mockup-card-sm .label { font-size: 0.65rem; color: var(--muted); margin-bottom: 4px; font-family: var(--font-mono); }
.mockup-card-sm .value { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.mockup-bar-group { margin: 16px 0; }
.mockup-bar-label { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--muted); margin-bottom: 4px; font-family: var(--font-mono); }
.mockup-bar-track { height: 6px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }
.mockup-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--coral), var(--amber)); }
.mockup-students { display: flex; flex-direction: column; gap: 8px; }
.mockup-student-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: 10px; background: rgba(255,255,255,0.03);
}
.mockup-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; }
.mockup-name { flex: 1; font-size: 0.75rem; color: var(--white); }
.mockup-pts { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent); }

/* Floating badges */
.float-badge {
  position: absolute; padding: 10px 16px; border-radius: 12px;
  font-size: 0.78rem; font-weight: 600;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(12,26,61,0.97);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: badgeFloat 5s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes badgeFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)} }
.float-badge-1 { top: -20px; right: 30px; animation-delay: -1s; }
.float-badge-2 { bottom: 40px; left: -20px; animation-delay: -3s; }
.badge-icon { margin-right: 6px; }

/* ═══════════════════════════════════════════════════
   HOME — FEATURES GRID
═══════════════════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 32px; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  background: rgba(232,98,42,0.1); border: 1px solid rgba(232,98,42,0.2);
}
.feature-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.feature-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════
   HOME — HOW IT WORKS
═══════════════════════════════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 40px; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--slate), transparent);
}
.step { text-align: center; padding: 32px 24px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #fff; position: relative; z-index: 1;
}
.step-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════
   HOME — MODULES SHOWCASE
═══════════════════════════════════════════════════ */
.modules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.module-chip {
  padding: 14px 18px; border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; font-weight: 500;
  transition: all 0.2s;
}
.module-chip:hover { border-color: rgba(232,98,42,0.45); background: rgba(232,98,42,0.08); color: var(--amber); transform: translateY(-2px); }
.module-chip-icon { font-size: 1.1rem; }

/* ═══════════════════════════════════════════════════
   HOME — TESTIMONIALS
═══════════════════════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { padding: 28px; }
.testi-stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.9rem; }
.testi-text { font-size: 0.95rem; color: var(--light); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.testi-name { font-weight: 600; font-size: 0.875rem; color: var(--white); }
.testi-role { font-size: 0.78rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════
   HOME — PRICING
═══════════════════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.pricing-card { padding: 36px; }
.pricing-card.popular {
  border-color: rgba(232,98,42,0.5);
  background: rgba(232,98,42,0.06);
  position: relative;
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.pricing-plan { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.pricing-price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.pricing-price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.pricing-desc { font-size: 0.875rem; color: var(--muted); margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { padding: 7px 0; font-size: 0.875rem; color: var(--light); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.pricing-features li::before { content: '✓'; color: var(--teal); font-weight: 700; font-size: 0.8rem; }

/* ═══════════════════════════════════════════════════
   HOME — CTA BANNER
═══════════════════════════════════════════════════ */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(232,98,42,0.12), rgba(34,197,160,0.1));
  border: 1px solid rgba(232,98,42,0.22);
  border-radius: 24px; padding: 72px 64px;
  text-align: center;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0; border-radius: 24px;
  background: radial-gradient(ellipse 70% 70% at 50% -10%, rgba(232,98,42,0.2), transparent);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   PAGE: ABOUT
═══════════════════════════════════════════════════ */
.page-hero {
  padding: 140px 0 80px; position: relative; overflow: hidden;
  text-align: center;
}
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 32px 24px; }
.team-avatar-wrap { margin-bottom: 16px; }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #fff;
}
.team-name { font-family: var(--font-display); font-weight: 700; color: var(--white); margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: var(--amber); margin-bottom: 8px; font-family: var(--font-mono); }
.team-bio { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 28px; }
.value-icon { font-size: 2rem; margin-bottom: 12px; }
.value-title { font-family: var(--font-display); font-weight: 700; color: var(--white); margin-bottom: 8px; }
.value-text { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════
   PAGE: LEGAL (Privacy, Terms)
═══════════════════════════════════════════════════ */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--white); margin: 40px 0 14px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.legal-body h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--white); margin: 24px 0 8px; }
.legal-body p { color: var(--light); font-size: 0.9rem; line-height: 1.8; margin-bottom: 14px; }
.legal-body ul { margin: 10px 0 16px 20px; }
.legal-body ul li { color: var(--light); font-size: 0.9rem; line-height: 1.8; margin-bottom: 6px; }
.legal-updated { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin-bottom: 40px; }

/* ═══════════════════════════════════════════════════
   PAGE: SUPPORT
═══════════════════════════════════════════════════ */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.support-card { padding: 28px; text-align: center; }
.support-icon { font-size: 2.2rem; margin-bottom: 14px; }
.support-title { font-family: var(--font-display); font-weight: 700; color: var(--white); margin-bottom: 8px; }
.support-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; padding: 20px 0;
  background: none; color: var(--white);
  font-size: 0.95rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; font-family: var(--font-body);
}
.faq-arrow { transition: transform 0.3s; color: var(--amber); font-size: 0.8rem; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { font-size: 0.875rem; color: var(--muted); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 18px; }

/* ═══════════════════════════════════════════════════
   PAGE: CONTACT
═══════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(232,98,42,0.1); border: 1px solid rgba(232,98,42,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-info-label { font-size: 0.75rem; color: var(--muted); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); }
.contact-info-value { color: var(--white); font-size: 0.9rem; }
.contact-form { padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--light); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(232,98,42,0.6);
  box-shadow: 0 0 0 3px rgba(232,98,42,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-select option { background: var(--navy2); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-success {
  padding: 16px; border-radius: 12px; text-align: center;
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2);
  color: #6ee7b7; font-size: 0.9rem; margin-top: 12px; display: none;
}
.form-error-msg {
  padding: 16px; border-radius: 12px; text-align: center;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2);
  color: #fca5a5; font-size: 0.9rem; margin-top: 12px; display: none;
}
.form-input.invalid, .form-select.invalid, .form-textarea.invalid {
  border-color: rgba(239,68,68,0.6);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.field-error { font-size: 0.75rem; color: #fca5a5; margin-top: 4px; display: none; }
.btn-loading { opacity: 0.7; cursor: not-allowed; pointer-events: none; }
.form-required { color: var(--coral); margin-left: 2px; }

/* ═══════════════════════════════════════════════════
   PAGE: LOGIN
═══════════════════════════════════════════════════ */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 100px 20px 40px;
}
.login-card {
  width: 100%; max-width: 440px;
  padding: 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), var(--glow);
  position: relative; z-index: 1;
}
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 12px;
  box-shadow: 0 8px 32px rgba(232,98,42,0.4);
}
.login-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.login-sub { font-size: 0.875rem; color: var(--muted); }
.login-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0,0,0,0.3); margin-bottom: 28px; }
.login-tab {
  flex: 1; padding: 9px; border-radius: 9px; font-size: 0.875rem; font-weight: 600;
  background: none; color: var(--muted); transition: all 0.2s;
}
.login-tab.active { background: rgba(232,98,42,0.2); color: var(--white); }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.login-divider span { font-size: 0.78rem; color: var(--muted); }
.forgot-link { font-size: 0.8rem; color: var(--amber); float: right; margin-top: 4px; cursor: pointer; }
.forgot-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════
   DASHBOARD MOCKUPS
═══════════════════════════════════════════════════ */
.dash-tabs {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 40px; flex-wrap: wrap;
}
.dash-tab {
  padding: 10px 24px; border-radius: 12px;
  font-size: 0.875rem; font-weight: 600;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted); transition: all 0.2s; cursor: pointer;
}
.dash-tab:hover { color: var(--white); border-color: rgba(255,255,255,0.25); }
.dash-tab.active { color: var(--white); }
.dash-tab[data-role="student"].active  { background: rgba(99,102,241,0.15); border-color: rgba(99,102,241,0.5); color: #a5b4fc; }
.dash-tab[data-role="teacher"].active  { background: rgba(245,158,11,0.15); border-color: rgba(245,158,11,0.5); color: #fcd34d; }
.dash-tab[data-role="parent"].active   { background: rgba(168,85,247,0.15); border-color: rgba(168,85,247,0.5); color: #d8b4fe; }
.dash-tab[data-role="admin"].active    { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.5); color: #6ee7b7; }

.dash-mockup { display: none; animation: pageFade 0.35s ease; }
.dash-mockup.active { display: block; }

/* Browser shell */
.dash-browser {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  background: #0b1120;
  max-width: 1020px; margin: 0 auto;
}
.dash-browser-bar {
  background: #111827; padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-browser-dots { display: flex; gap: 6px; }
.dash-browser-dots span { width: 11px; height: 11px; border-radius: 50%; }
.dash-url-bar {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 6px;
  padding: 5px 12px; font-size: 0.72rem;
  color: var(--muted); font-family: var(--font-mono);
  max-width: 360px; margin: 0 auto;
}
/* App shell inside browser */
.dash-app {
  display: flex; height: 480px;
  background: #0f172a;
}
.dash-sidebar {
  width: 176px; flex-shrink: 0;
  background: #020817;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
  padding: 18px 0;
}
.dash-logo {
  font-size: 0.85rem; font-weight: 800;
  padding: 0 16px 16px; margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 7px;
}
.dash-logo-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dash-nav-item {
  padding: 8px 16px; font-size: 0.72rem; font-weight: 500;
  color: #475569; border-left: 2px solid transparent;
  transition: all 0.15s; cursor: default;
}
.dash-nav-item.active-nav {
  border-left-color: currentColor;
  background: rgba(255,255,255,0.04);
}
.dash-nav-section {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: #334155;
  padding: 12px 16px 4px; margin-top: 4px;
}
.dash-user {
  margin-top: auto; padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 8px;
}
.dash-user-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.dash-user-name { font-size: 0.68rem; color: #94a3b8; font-weight: 500; }
.dash-user-role { font-size: 0.6rem; color: #475569; }

/* Main content area */
.dash-main {
  flex: 1; overflow: hidden; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2px;
}
.dash-page-title { font-size: 1rem; font-weight: 700; color: #f1f5f9; }
.dash-page-sub { font-size: 0.65rem; color: #64748b; margin-top: 1px; }
.dash-cards-row { display: flex; gap: 10px; }
.dash-stat-card {
  flex: 1; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 12px 14px;
}
.dash-stat-label { font-size: 0.6rem; color: #64748b; font-family: var(--font-mono); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.dash-stat-value { font-size: 1.3rem; font-weight: 800; color: #f1f5f9; line-height: 1; }
.dash-stat-sub { font-size: 0.58rem; color: #475569; margin-top: 3px; }
.dash-row { display: flex; gap: 10px; flex: 1; min-height: 0; }
.dash-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 12px 14px;
  display: flex; flex-direction: column; overflow: hidden;
}
.dash-panel-title { font-size: 0.65rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.dash-list-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.68rem;
}
.dash-list-item:last-child { border-bottom: none; }
.dash-list-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 700; flex-shrink: 0;
}
.dash-list-name { flex: 1; color: #cbd5e1; }
.dash-list-val { font-size: 0.65rem; font-weight: 600; font-family: var(--font-mono); }
.dash-bar-row { margin-bottom: 8px; }
.dash-bar-label { display: flex; justify-content: space-between; font-size: 0.62rem; color: #64748b; margin-bottom: 3px; }
.dash-bar-track { height: 5px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.dash-bar-fill { height: 100%; border-radius: 3px; }
.dash-badge-row { display: flex; flex-wrap: wrap; gap: 5px; }
.dash-badge-chip {
  padding: 3px 8px; border-radius: 20px;
  font-size: 0.58rem; font-weight: 600; border: 1px solid transparent;
}
.dash-notice-item {
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.68rem;
}
.dash-notice-item:last-child { border-bottom: none; }
.dash-notice-title { color: #cbd5e1; font-weight: 500; margin-bottom: 2px; }
.dash-notice-meta { font-size: 0.58rem; color: #475569; }
.dash-module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dash-module-chip {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 8px 10px;
  font-size: 0.62rem; color: #94a3b8; display: flex; align-items: center; gap: 6px;
}
.dash-module-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dash-module-on { background: rgba(16,185,129,0.2); border-color: rgba(16,185,129,0.3); color: #6ee7b7; }
@media (max-width: 768px) {
  .dash-app { height: auto; flex-direction: column; }
  .dash-sidebar { width: 100%; height: auto; flex-direction: row; flex-wrap: wrap; padding: 10px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .dash-logo { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
  .dash-nav-section { display: none; }
  .dash-nav-item { padding: 5px 10px; border-left: none; border-bottom: 2px solid transparent; font-size: 0.65rem; }
  .dash-nav-item.active-nav { border-left-color: transparent; border-bottom-color: currentColor; background: none; }
  .dash-user { display: none; }
  .dash-main { padding: 14px; }
  .dash-cards-row { flex-wrap: wrap; }
  .dash-row { flex-direction: column; }
  .dash-browser { border-radius: 10px; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid, .steps, .testimonials-grid, .support-grid, .values-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .cta-banner { padding: 48px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
}

/* Active nav link for multi-page site */
nav a.nav-link { display: inline-block; }
nav a.nav-link.active { color: var(--white); }
