/* ========================================================================
   LearnBooster — Landing Page Stylesheet
   Design: Clean, premium, coral+navy EdTech
   Fonts: Poppins (Google Fonts)
   ======================================================================== */

:root {
  --coral:        #FF6B4A;
  --coral-dark:   #E85535;
  --coral-light:  #FFF1ED;
  --navy:         #16233A;
  --navy-mid:     #1E3250;
  --slate:        #3D5175;
  --text-main:    #111827;
  --text-sub:     #4B5563;
  --text-muted:   #9CA3AF;
  --border:       #E5E7EB;
  --bg:           #FFFFFF;
  --bg-grey:      #F8F9FB;
  --bg-dark:      #0F1729;
  --success:      #16A34A;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.14);
  --transition:   .22s ease;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-grey); }
::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 4px; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.lb-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--navy);
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-icon {
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.nav-logo:hover .nav-logo-icon {
  transform: translateY(-2px) rotate(8deg);
}
.nav-logo span span,
.nav-logo .brand-highlight {
  color: var(--coral);
}

.footer-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}
.footer-brand-icon {
  color: var(--coral);
  display: inline-flex;
  align-items: center;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex: 1;
}

.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-sub);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--navy); background: var(--bg-grey); }

/* CTAs */
.nav-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-signin {
  font-size: .875rem;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: #fff;
  transition: border-color var(--transition), color var(--transition);
}
.btn-signin:hover { border-color: var(--navy); color: var(--navy); }

.btn-getstarted {
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  padding: 9px 22px;
  border-radius: 50px;
  background: var(--coral);
  transition: background var(--transition), transform var(--transition);
}
.btn-getstarted:hover { background: var(--coral-dark); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================================================================
   HERO
   ================================================================ */
.lb-hero {
  background: var(--bg-grey);
  padding: 72px 24px 80px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral-light);
  color: var(--coral);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-badge-icon { font-size: 1rem; }

.hero-headline {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: 4px;
}
.hero-headline-coral { color: var(--coral); display: block; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-top: 16px;
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  background: var(--coral);
  padding: 13px 28px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(255,107,74,.35);
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,74,.4); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--border);
  padding: 12px 24px;
  border-radius: 50px;
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: var(--navy); background: var(--bg-grey); }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-item .stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}
.stat-item .stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ================================================================
   HERO APP PREVIEW (Right Panel)
   ================================================================ */
.hero-app-preview {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Top bar */
.hap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hap-logo {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.5px;
}
.hap-logo span { color: var(--coral); }
.hap-nav-dots {
  display: flex;
  gap: 6px;
}
.hap-nav-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  display: block;
}
.hap-nav-dots span:first-child { background: #FF6B6B; }
.hap-nav-dots span:nth-child(2) { background: #FFD93D; }
.hap-nav-dots span:last-child { background: #6BCB77; }

/* Score row */
.hap-score-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hap-score-card {
  background: var(--bg-grey);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid var(--border);
}
.hap-score-label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.hap-score-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.hap-score-value small {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
}
.hap-score-bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 6px;
  overflow: hidden;
}
.hap-score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--coral), #FF9F6F);
  border-radius: 4px;
}
.hap-score-sub {
  font-size: .7rem;
  color: var(--text-muted);
}

/* Subjects */
.hap-subjects-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
}
.hap-subjects {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hap-subject {
  font-size: .78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  color: var(--text-sub);
  background: #fff;
  cursor: default;
}
.hap-subject.active {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  font-weight: 600;
}

/* Question block */
.hap-question {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.hap-q-badge {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--coral);
  margin-bottom: 8px;
}
.hap-q-text {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 12px;
}
.hap-q-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hap-option {
  font-size: .8rem;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  color: var(--text-sub);
  background: var(--bg-grey);
}
.hap-option.correct {
  border-color: var(--success);
  background: #f0fdf4;
  color: var(--success);
  font-weight: 600;
}

/* AI badge */
.hap-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--coral);
  background: var(--coral-light);
  border-radius: 50px;
  padding: 6px 14px;
  border: 1px solid rgba(255,107,74,.2);
  align-self: flex-start;
}

/* Scroll-to-top button */
.btn-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: none;
  z-index: 999;
}

/* ================================================================
   SHARED SECTION STYLES
   ================================================================ */
.lb-section { padding: 88px 24px; }
.lb-section-grey { background: var(--bg-grey); }
.lb-section-dark { background: var(--bg-dark); color: #fff; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--coral);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1.2;
}
.lb-section-dark .section-title { color: #fff; }

.section-sub {
  font-size: 1rem;
  color: var(--text-sub);
  margin-top: 12px;
  max-width: 540px;
}
.lb-section-dark .section-sub { color: rgba(255,255,255,.65); }

.section-header { margin-bottom: 52px; }

/* ================================================================
   EXAMS BAND
   ================================================================ */
.lb-exams { padding: 64px 24px; border-bottom: 1px solid var(--border); }
.exams-label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}
.exams-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.exam-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.exam-card:hover { border-color: var(--coral); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.exam-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
}

.exam-card-body { min-width: 0; }
.exam-card-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.exam-card-desc {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 6px;
}
.exam-card-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  background: var(--coral-light);
  color: var(--coral);
  padding: 2px 10px;
  border-radius: 50px;
}

/* ================================================================
   FEATURES GRID
   ================================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--coral); box-shadow: var(--shadow-md); transform: translateY(-3px); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--coral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: .87rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--coral-light));
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}

.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(255,107,74,.35);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-desc {
  font-size: .875rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ================================================================
   CURRICULUM TABS
   ================================================================ */
.curriculum-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.curriculum-tab {
  font-size: .85rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-sub);
  cursor: pointer;
  transition: all var(--transition);
}
.curriculum-tab.active, .curriculum-tab:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.curriculum-panel { display: none; }
.curriculum-panel.active { display: block; }

.curriculum-count {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--coral);
  margin-bottom: 20px;
}

.subjects-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.subject-pill {
  font-size: .82rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--bg-grey);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  transition: background var(--transition), border-color var(--transition);
}
.subject-pill:hover { background: var(--coral-light); border-color: var(--coral); color: var(--coral); }

/* ================================================================
   PRICING
   ================================================================ */
.pricing-wrap {
  max-width: 520px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border: 2px solid var(--coral);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 20px;
  border-radius: 50px;
}

.pricing-plan {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.04em;
  line-height: 1;
}
.pricing-price sup { font-size: 1.4rem; vertical-align: top; margin-top: .4rem; }
.pricing-cycle {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pricing-desc {
  font-size: .9rem;
  color: var(--text-sub);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-sub);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.btn-pricing {
  display: block;
  text-align: center;
  background: var(--coral);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(255,107,74,.35);
  margin-bottom: 16px;
}
.btn-pricing:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,74,.45); }

.pricing-note {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ================================================================
   FAQ
   ================================================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--coral); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-sub);
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  font-size: .9rem;
  color: var(--text-sub);
  line-height: 1.75;
  padding-bottom: 20px;
  padding-right: 44px;
}
.faq-item.open .faq-answer { display: block; }

/* ================================================================
   CTA SECTION
   ================================================================ */
.lb-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #0e1c35 100%);
  padding: 96px 24px;
  text-align: center;
}

.cta-inner { max-width: 700px; margin: 0 auto; }

.cta-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-cta-primary {
  background: var(--coral);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(255,107,74,.4);
}
.btn-cta-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }

.btn-cta-ghost {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.25);
  transition: border-color var(--transition), background var(--transition);
}
.btn-cta-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-stat {
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
}

/* ================================================================
   FOOTER
   ================================================================ */
.lb-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.85);
  padding: 72px 24px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}
.footer-brand-name span { color: var(--coral); }

.footer-brand-desc {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--coral); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,.8); }

.footer-dev {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}
.footer-dev a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-dev a:hover { color: var(--coral); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 520px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .exams-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-inner {
    position: relative;
    justify-content: space-between;
  }
  .nav-links, .nav-ctas { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    gap: 8px;
    z-index: 999;
  }
  .nav-links.open a {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .95rem;
  }

  .nav-ctas.open {
    display: flex;
    position: absolute;
    top: calc(68px + 300px); /* fallback if not placed inside */
    display: none; /* we will integrate CTAs smoothly or stack them below links */
  }

  /* Seamless mobile menu container */
  .nav-links.open::after {
    content: '';
    display: block;
    height: 1px;
    background: var(--border);
    margin: 8px 0;
  }

  .hero-headline { font-size: 2.2rem; }
  .section-title { font-size: 1.7rem; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .exams-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .lb-hero { padding: 48px 16px 56px; }
  .hero-stats { gap: 24px; }
  .stat-item .stat-num { font-size: 1.3rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .hap-score-row { grid-template-columns: 1fr; }
}

/* ================================================================
   SCROLL TO TOP BUTTON
   ================================================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255,107,74,.4);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  z-index: 900;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
}
