/**
 * Landing Pages Styles — 2026 Clean/Premium Redesign
 * Color palette matched to englishcharlie.com brand
 *
 * Brand Colors (English Charlie palette):
 *   EC dark blue (headings/accents):  #87CEEB (light) / #1B7FA8 (interactive)
 *   Light blue (page bg / borders):   #DEEBF1
 *   Very light gray:                  #F7F7F7
 *   Light gray:                       #848484
 *   Light red (soft alerts):          #FFB6B6
 *   Bright red (alerts/badges):       #FC4A46
 *   Footer navy:                      #1a2744
 *   Dark text:                        #111827
 *   Body text:                        #374151
 *   Muted text:                       #6B7280
 *
 * Exam differentiation (intentional brand colors):
 *   PTE  → Pearson blue  #0E74BA (hover #0A5A94), scoped via .pte-page
 *   IELTS → IELTS red    #C8102E (hover #A00D24), scoped via .ielts-page
 *   The homepage exam cards use the same pairing (card 1 PTE blue,
 *   card 2 IELTS red). Do not use these for non-exam UI.
 *
 * --------------------------------------------------------------
 * SPACING RHYTHM — 8pt grid with 4pt sub-grid
 * --------------------------------------------------------------
 * All margin / padding / gap values in this file should be a
 * multiple of 8 when possible (8, 16, 24, 32, 40, 48, 56, 64,
 * 72, 80, 88, 96, 112, 128, 144). Use the 4pt sub-grid (4, 12,
 * 20, 28, 36, 44, 52) only when a true half-step is needed —
 * tight button padding, inline-icon gaps, fine kerning.
 *
 * Allowed non-grid values:
 *   - 1px borders / hairlines
 *   - 2px shadows on focus rings
 *   - 3px border-widths on inset rings
 *   - Font sizes (typography follows a separate scale; do NOT
 *     snap 13/14/15/17 etc. to 16 — they're deliberate type steps)
 *
 * Forbidden values: 9, 13, 15, 17, 19, 21, 22, 23, 25, 26, 27,
 * 29, 31, 33, 35, 37, 38, 39, 41, 43, 45, 46, 47 px on
 * margin/padding/gap/width (for layout boxes, not icons).
 *
 * Tokens live in static/css/tokens/base.css. New components
 * should consume --space-5xl through --space-13xl for major
 * spacing rather than hard-coding pixel values.
 * --------------------------------------------------------------
 */

/* ============================================
   EXAM PAGE DIFFERENTIATION
   PTE pages carry Pearson's blue; IELTS pages carry IELTS red.
   Neutral pages (home, practice hub, pricing) stay on the English
   Charlie brand blue.

   Scope contract:
     .exam-pte        → PTE blue  (added by templates when exam is PTE)
     .exam-ielts      → IELTS red (added by templates when exam is IELTS)
   /pte/ renders "ielts-page exam-pte"; /ielts/ renders
   "ielts-page exam-ielts"; /practice/pte/... renders "ielts-page
   exam-pte" via the exam-aware container conditional; the hub
   renders plain "ielts-page" → brand neutral.
   ============================================ */
.exam-pte .hero-title .highlight,
.exam-pte .hero-title span[style*="color"] {
  color: #0E74BA;
}

.exam-pte .section-title .highlight {
  color: #0E74BA;
}

.exam-pte .hero-btn.primary {
  background: #0E74BA;
}

.exam-pte .hero-btn.primary:hover {
  background: #0A5A94;
}

.exam-pte .hero-btn.secondary {
  color: #0E74BA;
  border-color: #0E74BA;
}

.exam-pte .section-tag::before,
.exam-pte .section-tag::after {
  background: #0E74BA;
}

.exam-pte .hero-badge {
  background: #E4F1F9;
  border-color: #C4DCE8;
}

.exam-pte .pl-cta-band .hero-btn.primary,
.exam-pte .pl-side-cta .hero-btn.primary {
  background: #FFFFFF;
  color: #0E74BA;
}

.exam-pte .pl-cta-band .hero-btn.primary:hover,
.exam-pte .pl-side-cta .hero-btn.primary:hover {
  background: #E4F1F9;
}

/* IELTS red on IELTS pages */
.exam-ielts .hero-title .highlight,
.exam-ielts .hero-title span[style*="color"] {
  color: #C8102E;
}

.exam-ielts .section-title .highlight {
  color: #C8102E;
}

.exam-ielts .hero-btn.primary {
  background: #C8102E;
}

.exam-ielts .hero-btn.primary:hover {
  background: #A00D24;
}

.exam-ielts .hero-btn.secondary {
  color: #C8102E;
  border-color: #C8102E;
}

.exam-ielts .section-tag::before,
.exam-ielts .section-tag::after {
  background: #C8102E;
}

.exam-ielts .hero-badge {
  background: #FBE4E4;
  border-color: #F5D4D4;
}

.exam-ielts .pl-cta-band .hero-btn.primary,
.exam-ielts .pl-side-cta .hero-btn.primary {
  background: #FFFFFF;
  color: #C8102E;
}

.exam-ielts .pl-cta-band .hero-btn.primary:hover,
.exam-ielts .pl-side-cta .hero-btn.primary:hover {
  background: #FBE4E4;
}

/* ============================================
   CSS RESET FOR LANDING
   Break out of base.html's main.container + app-shell viewport lock
   ============================================ */
main.container:has(.landing-page),
main.container:has(.hero),
main.container:has(.ielts-page),
html.landing-page-root main.container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: auto !important;            /* let the page grow with content */
  overflow: visible !important;        /* let body scroll naturally */
  overflow-x: hidden;
}

html.landing-page-root .app-shell {
  display: block !important;
  grid-template-columns: none !important;
  height: auto !important;            /* break out of 100vh dashboard shell */
  min-height: auto !important;
}

/* Ensure body and html don't have a fixed height on landing pages */
html.landing-page-root,
html.landing-page-root body {
  height: auto !important;
  min-height: 100vh;                  /* hero still fills the first screen */
}

.landing-page {
  background: #fff;
  color: #111827;
  font-family: var(--font-family-base);
  -webkit-font-smoothing: antialiased;
}

.ielts-page {
  font-family: var(--font-family-base);
}

/* IELTS page full-width reset */
.ielts-page {
  width: 100%;
}

/* ============================================
   LANDING NAVBAR
   ============================================ */
.landing-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid #1a2744;
  transition: box-shadow 0.3s ease;
}

.landing-navbar.scrolled {
  box-shadow: 0 1px 0 #1a2744;
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.navbar-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: #87CEEB;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.navbar-brand .brand-text {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.3px;
}

.navbar-brand .brand-text strong {
  font-weight: 800;
  color: #87CEEB;
}

/* Center nav */
.navbar-center {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color 0.15s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  color: #87CEEB;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-arrow {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 190px;
  background: #fff;
  border: 1px solid #DEEBF1;
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 8px 32px rgba(72, 144, 174, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Bridge gap so mouse doesn't leave hover zone between trigger and menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 12px;
  background: transparent;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover {
  background: #DEEBF1;
  color: #87CEEB;
}

.dropdown-icon {
  font-size: 15px;
}

/* Right actions */
.navbar-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Cart badge + popover trigger (2026-09-23). */
.navbar-cart {
  position: relative;
}

.navbar-cart__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-subtle, #e5e7eb);
  background: var(--surface, #ffffff);
  color: var(--text, #0c1222);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.navbar-cart__btn:hover,
.navbar-cart__btn:focus-visible {
  border-color: var(--accent, #1B7FA8);
  outline: none;
}

.navbar-cart__count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--accent, #1B7FA8);
  color: #ffffff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border: 2px solid var(--surface, #ffffff);
}

.navbar-cart__popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 24px);
  background: var(--surface, #ffffff);
  border: 1px solid var(--border-subtle, #e5e7eb);
  border-radius: 14px;
  box-shadow: 0 12px 28px -10px rgba(15, 23, 42, 0.18);
  z-index: 60;
  display: none;
}

.navbar-cart[data-open="1"] .navbar-cart__popover {
  display: block;
}

@media (max-width: 540px) {
  .navbar-cart__popover {
    right: -8px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* Primary CTA — English Charlie brand blue, sharp corners, no glow.
   Matches .hero-btn.primary; exam pages override intentionally. */
.btn-primary {
  background: #1B7FA8;
  color: #FFFFFF;
  border-radius: 4px;
  font-weight: 700;
}

.btn-primary:hover {
  background: #166687;
  transform: none;
  box-shadow: none;
}

/* Mobile toggle — hidden by default on desktop, only shown via @media */
.mobile-menu-toggle {
  display: none !important;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Stacks above all page content. The hero/features/etc. are position:relative
   and come LATER in the DOM, so they would paint over a z-index:auto fixed
   element — the menu needs an explicit high z-index ( navbar is 1000 ). */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  border-top: 1px solid #DEEBF1;
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.18);
  visibility: hidden;   /* off-screen translate must never widen layout */
}

.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}

/* Freeze page scroll while the menu is open (class toggled by the
   navbar script in landing_navbar.html). */
body.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu-content {
  padding: 24px;
}

.mobile-nav-section {
  margin-bottom: 24px;
}

.mobile-nav-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  text-decoration: none;
  border-bottom: 1px solid #f0f8fc;
}

.mobile-nav-link:hover {
  color: #87CEEB;
}

.mobile-nav-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .navbar-container {
    padding: 0 16px;
    height: 60px;
    gap: 12px;
  }

  .navbar-center {
    display: none;
  }

  .navbar-actions .nav-link-hide {
    display: none;
  }

  /* Hide the Start Free button on mobile topbar — it's duplicated in
     the mobile menu and would otherwise crowd the brand + hamburger. */
  .navbar-actions .btn {
    display: none;
  }

  .navbar-brand .brand-text {
    font-size: 15px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .navbar-brand .brand-icon {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .mobile-menu-toggle {
    display: flex !important;
    margin-left: auto;
  }

  .mobile-menu {
    display: block;
    top: 60px;
  }
}

/* ============================================
   HERO SECTION
   Scoped to .landing-page / .ielts-page to beat the generic dashboard
   .hero rules in design.css (border-bottom, gradient) with specificity
   rather than load-order luck.
   ============================================ */
.landing-page .hero,
.ielts-page .hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #FAFBFC;
  padding: 144px 32px 88px;
  text-align: center;
  border-bottom: 1px solid #1a2744;
}

.landing-page .hero-content,
.ielts-page .hero-content {
  gap: 0;
}

/* Editorial flourish (replaces the AI-typical glow orbs + dot grid).
   Plain CSS, no blur, no radial gradients, no gradient mesh. */
.hero-grid {
  display: none;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-wrapper {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Editorial kicker — replaces the pill badge (which screamed AI).
   Italic serif text with a hairline rule on either side. */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  color: #1a2744;
  padding: 0;
  border-radius: 0;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 36px;
  box-shadow: none;
}

.hero-badge::before,
.hero-badge::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: #1a2744;
}

.hero-badge span {
  font-size: 14px;
  font-style: normal;
}

/* Main headline */
.landing-page .hero-title,
.ielts-page .hero-title {
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 24px;
  margin-top: 0;
}

.hero-title .highlight {
  color: #87CEEB;
  position: relative;
  display: inline-block;
}

.hero-title .nowrap {
  white-space: nowrap;
}

/* Subtitle */
.landing-page .hero-subtitle,
.ielts-page .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: #374151;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA buttons */
.landing-page .hero-actions,
.ielts-page .hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  letter-spacing: -0.1px;
}

.hero-btn.primary {
  /* Brand CTA: English Charlie blue family. Exam pages override
     intentionally (PTE #0E74BA / IELTS #C8102E) via the scope
     blocks at the top of this file. */
  background: #1B7FA8;
  color: #FFFFFF;
  box-shadow: none;
}

.hero-btn.primary:hover {
  background: #166687;
  transform: none;
  box-shadow: none;
}

.hero-btn.secondary {
  background: transparent;
  color: #1a2744;
  border: 1.5px solid #1a2744;
}

.hero-btn.secondary:hover {
  background: #1a2744;
  color: #FFFFFF;
  transform: none;
  box-shadow: none;
}

/* Trust row */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-line {
  margin: 0;
  font-size: 14px;
  color: #4B5563;
  line-height: 1.5;
}

.trust-line strong {
  color: #111827;
  font-weight: 700;
}

.trust-label {
  font-size: 13px;
  color: #6B7280;
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 16px;
  background: #a8cfe8;
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1B7FA8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  border: 2px solid #DEEBF1;
  margin-left: -8px;
}

.trust-avatar:first-child {
  margin-left: 0;
}

/* Hero visual — hidden in centered layout */
.hero-visual {
  display: none;
}

.hero-visual-card,
.score-display,
.score-circle,
.score-number,
.score-label,
.score-sub,
.exam-badges,
.exam-badge {
  display: none;
}

/* ============================================
   STATS STRIP
   Scoped to .landing-page / .ielts-page — admin-pages.css defines
   .stats-grid layouts (dashboard cards) that would otherwise clobber
   this strip when both stylesheets land on the same page.
   ============================================ */
.stats-section {
  background: #87CEEB;
  padding: 48px 32px;
}

.landing-page .stats-grid,
.ielts-page .stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}

.stat-item+.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.stat-number {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ============================================
   SECTION HEADERS (shared)
   ============================================ */
/* Scoped to the landing containers so these rules beat the generic
   .section-header / .section-title rules in portal-design-system.css and
   admin-pages.css (both of which load after this file and define row-axis
   dashboard layouts for the same class names). */
.landing-page .section-header,
.ielts-page .section-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border-bottom: none;
  justify-content: flex-start;
}

.landing-page .section-title,
.ielts-page .section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 0;
  display: block;
  text-align: center;
}

.landing-page .section-subtitle,
.ielts-page .section-subtitle {
  font-size: 1.05rem;
  color: #6B7280;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  color: #1a2744;
  padding: 0;
  border-radius: 0;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-bottom: 14px;
  box-shadow: none;
}

.section-tag::before,
.section-tag::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: #1a2744;
}

/* On small screens, drop the forced <br> inside section titles so the
   wrap matches the natural reading rhythm instead of leaving a half-
   word dangling on its own line. */
@media (max-width: 640px) {
  .section-title br,
  .hero-title br,
  .cta-title br,
  .exam-name br,
  .testimonial-info h4 br {
    display: none;
  }
}

.landing-page .section-title .highlight,
.ielts-page .section-title .highlight {
  color: #87CEEB;
}

/* ============================================
   FEATURES SECTION — BENTO GRID
   ============================================ */
.features-section {
  padding: 96px 32px;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card {
  background: #F8FCFF;
  border: 1px solid #DEEBF1;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: #87CEEB;
}

.feature-number {
  font-size: 11px;
  font-weight: 700;
  color: #87CEEB;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: #DEEBF1;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.feature-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
}

/* ============================================
   MODULES SECTION (All 4 Modules Covered)
   ============================================ */
.modules-section {
  padding: 96px 32px;
  background: #fff;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.module-card {
  background: #F8FCFF;
  border: 1px solid #DEEBF1;
  border-radius: 20px;
  padding: 36px 28px 32px;
  text-align: center;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.module-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #87CEEB;
  border-radius: 0 0 20px 20px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.module-card:hover {
  border-color: #87CEEB;
  transform: none;
  box-shadow: none;
}

.module-card:hover::after {
  opacity: 1;
}

/* Per-module accent colors on bottom bar — flat, no gradients, no
   Tailwind hexes. */
.module-card:nth-child(1)::after { background: #87CEEB; }
.module-card:nth-child(2)::after { background: #87CEEB; }
.module-card:nth-child(3)::after { background: #87CEEB; }
.module-card:nth-child(4)::after { background: #87CEEB; }

.module-icon {
  width: 64px;
  height: 64px;
  background: #DEEBF1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: none;
}

.module-card:hover .module-icon {
  transform: none;
}

/* Per-module icon backgrounds — flat, no gradients, no Tailwind hexes. */
.module-card:nth-child(1) .module-icon { background: #DEEBF1; }
.module-card:nth-child(2) .module-icon { background: #DEEBF1; }
.module-card:nth-child(3) .module-icon { background: #DEEBF1; }
.module-card:nth-child(4) .module-icon { background: #DEEBF1; }

.module-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.module-desc {
  font-size: 13.5px;
  color: #6B7280;
  line-height: 1.65;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-section {
  padding: 96px 32px;
  background: #DEEBF1;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Connecting line */
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 2px;
  background: #DEEBF1;
  z-index: 0;
}

.how-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.how-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1B7FA8;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(72, 144, 174, 0.35);
  position: relative;
  z-index: 2;
  border: 3px solid #DEEBF1;
}

.how-step-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.how-step-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

/* ============================================
   EXAM TYPES SECTION
   ============================================ */
.exam-types-section {
  padding: 96px 32px;
  background: #F8FCFF;
}

.exam-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

/* ---- Exam type cards (per-exam pages) ----
   Same card language as the homepage .exam-card: white surface,
   1px brand-tinted border, 16px radius, brand hairline on hover. */
.exam-type-card {
  background: #FFFFFF;
  border: 1px solid #C4DCE8;
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s ease;
}

.exam-type-card:hover {
  border-color: #1B7FA8;
}

.exam-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #DEEBF1;
  border: 1px solid #C4DCE8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.exam-type-title {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}

.exam-type-desc {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
  margin: 0;
}

/* Per-exam tint: IELTS pages get red-tinted icon tiles */
.exam-ielts .exam-type-icon {
  background: #FBE4E4;
  border-color: #F5D4D4;
}

/* ---- Shared card shell ---- */
.exam-card {
  background: #F8FCFF;
  border: 1px solid #DEEBF1;
  border-radius: 24px;
  padding: 44px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.exam-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14, 116, 186, 0.08);
  border-color: #9CD0EE;
}

/* ---- Icon ---- */
.exam-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: transform 0.22s ease;
}

.exam-card:nth-child(1) .exam-icon {
  background: #E4F1F9;
  border: 1px solid #DEEBF1;
}
.exam-card:nth-child(2) .exam-icon {
  background: #FBE4E4;
  border: 1px solid #F5D4D4;
}

/* ---- Name & desc ---- */
.exam-name {
  font-size: 22px;
  font-weight: 800;
  color: #0D1F35;
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}

.exam-desc {
  font-size: 15px;
  color: #4A6580;
  line-height: 1.65;
  margin: 0 0 28px;
}

/* ---- Feature list ---- */
.exam-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}

.exam-features li {
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: #243B53;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #EAF4FB;
}

.exam-features li:last-child {
  border-bottom: none;
}

.exam-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background-color: #0E74BA;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.exam-card:nth-child(2) .exam-features li::before {
  background-color: #C8102E;
}

/* ---- CTA button ---- */
.exam-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: #0E74BA;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease;
  align-self: flex-start;
}

.exam-card:nth-child(2) .exam-cta {
  background: #C8102E;
}

.exam-cta:hover {
  background: #0A5A94;
}

.exam-card:nth-child(2) .exam-cta:hover {
  background: #A00D24;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  padding: 96px 32px;
  background: #DEEBF1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #DEEBF1;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(72, 144, 174, 0.1);
  transform: translateY(-3px);
}

/* Remove old stagger offset */
/* (stagger removed — all cards equal height) */

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-star {
  color: #FA4531;
  font-size: 16px;
}

.testimonial-quote-mark {
  font-size: 56px;
  line-height: 0.6;
  color: #DEEBF1;
  font-family: Georgia, serif;
  margin-bottom: 16px;
  display: block;
}

.testimonial-quote {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #87CEEB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1px;
}

.testimonial-info p {
  font-size: 13px;
  color: #9CA3AF;
}

.testimonial-score {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #DEEBF1;
  font-size: 13px;
  font-weight: 700;
  color: #87CEEB;
  letter-spacing: -0.1px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: 96px 32px;
  background: #DEEBF1;
  border-top: 1px solid #C4DCE8;
  text-align: center;
}

.faq-section .section-subtitle a {
  color: #87CEEB;
  font-weight: 600;
  text-decoration: none;
}

.faq-section .section-subtitle a:hover {
  text-decoration: underline;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid #DEEBF1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: #87CEEB;
  box-shadow: 0 6px 20px rgba(72, 144, 174, 0.08);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background: #F8FCFF;
}

.faq-question:focus-visible {
  outline: 2px solid #87CEEB;
  outline-offset: -2px;
}

.faq-question-text {
  flex: 1;
  text-align: left;
}

.faq-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #DEEBF1;
  color: #87CEEB;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-icon {
  background: #1B7FA8;
  color: #fff;
}

.faq-answer {
  padding: 0 24px 24px;
}

.faq-answer p {
  margin: 0;
  font-size: 15px;
  color: #4B5563;
  line-height: 1.65;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 96px 32px;
  background: #fff;
  border-top: 1px solid #DEEBF1;
  text-align: center;
}

.cta-content {
  max-width: 640px;
  margin: 0 auto;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #87CEEB;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cta-title .highlight {
  color: #87CEEB;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: #6B7280;
  margin-bottom: 36px;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: -0.1px;
}

.cta-btn.white {
  background: #87CEEB;
  color: #111827;
  box-shadow: 0 4px 20px rgba(135, 206, 235, 0.4);
}

.cta-btn.white:hover {
  background: #6bbde0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(135, 206, 235, 0.5);
}

.cta-btn.outline {
  background: #fff;
  color: #87CEEB;
  border: 2px solid #87CEEB;
}

.cta-btn.outline:hover {
  background: #DEEBF1;
  transform: translateY(-1px);
}

/* Reassurance strip below the CTA buttons — addresses the most common
   "is it safe / is it really free" hesitations right at the click point. */
.cta-reassure {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 24px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #4B5563;
}

.cta-reassure-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Reassurance ticks: solid brand blue check in a soft circle — reads as
   a deliberate checkmark icon, not a stray glyph. */
.cta-reassure-item svg {
  color: #1B7FA8;
  background: #DEEBF1;
  border-radius: 50%;
  padding: 3px;
  width: 18px;
  height: 18px;
}

.cta-reassure-dot {
  color: #9CA3AF;
  font-weight: 400;
  user-select: none;
}

/* ============================================
   CONTACT SECTION (minimal strip)
   ============================================ */
.contact-section {
  padding: 64px 32px;
  background: #DEEBF1;
  border-top: 1px solid #C4DCE8;
}

.contact-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-card {
  background: transparent;
  border: none;
  padding: 0;
}

.contact-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.contact-card p {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.65;
  margin-bottom: 20px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #374151;
  margin-bottom: 12px;
}

.contact-list li .icon {
  width: 36px;
  height: 36px;
  background: #DEEBF1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================
   BUTTON ALIAS
   ============================================ */
.btn.primary {
  background: #87CEEB;
  color: #111827;
  border: none;
  border-radius: 999px;
  font-weight: 700;
}

.btn.primary:hover {
  background: #6bbde0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(135, 206, 235, 0.4);
}

.btn.secondary {
  background: #fff;
  color: #87CEEB;
  border: 2px solid #87CEEB;
  border-radius: 999px;
}

.btn.secondary:hover {
  background: #DEEBF1;
}

/* ============================================
   LANDING FOOTER — DARK NAVY
   ============================================ */
.landing-footer {
  background: #1a2744;
  padding: 72px 40px 40px;

  /* Override the centralized design system tokens for the dark
     footer context. This lets every child element reference
     var(--color-text-muted), var(--color-border), var(--color-accent)
     instead of hardcoded hex values, and keeps the brand's dark
     navy palette in one place. Contrast targets WCAG AA (≥4.5:1). */
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-border: #2e3f6a;
  --color-border-subtle: #2e3f6a;
  --color-accent: #87ceeb;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo-mark {
  width: 38px;
  height: 38px;
  background: #87CEEB;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.footer-logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-cta .button {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #87CEEB;
  color: #111827;
  border: none;
}

.footer-cta .button:hover {
  background: #6bbde0;
  transform: translateY(-1px);
}

.footer-cta .button.secondary {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.footer-cta .button.secondary:hover {
  border-color: var(--color-accent);
  color: #fff;
}

.footer-section h4,
.footer-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-accent);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #22345a;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #111827;
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  margin-top: 48px;
  padding-top: 20px;
}

.footer-bottom-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover,
.footer-bottom-links a:focus-visible {
  color: var(--color-accent);
}

.footer-bottom-links a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-dot {
  color: var(--color-text-muted);
  opacity: 0.5;
  font-size: 12px;
  user-select: none;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 400px;
  }

  .how-steps::before {
    display: none;
  }

  .exam-types-grid {
    max-width: 700px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .landing-page .hero,
  .ielts-page .hero {
    padding: 96px 24px 64px;
    min-height: auto;
  }

  .landing-page .hero-title,
  .ielts-page .hero-title {
    font-size: 2.4rem;
  }

  .hero-trust {
    flex-direction: row;
    gap: 12px;
    text-align: left;
  }

  .trust-line {
    font-size: 13px;
    max-width: 220px;
  }

  .trust-divider {
    display: none;
  }

  .landing-page .stats-grid,
  .ielts-page .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item+.stat-item::before {
    display: none;
  }

  .features-section,
  .how-section,
  .modules-section,
  .exam-types-section,
  .testimonials-section,
  .cta-section,
  .contact-section {
    padding: 72px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exam-types-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* (stagger removed on mobile too) */

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .landing-page .section-title,
  .ielts-page .section-title {
    font-size: 1.75rem;
  }

  .landing-footer {
    padding: 48px 20px 32px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ============================================================
   PRICING PAGE
   ============================================================ */
/* ============================================================
   Pricing Page — uses shared .hero, .pricing-section, .plan-grid
   ============================================================ */

/* Section titles */
.pricing-section {
  padding: 96px 32px;
  background: #fff;
}

.pricing-section .section-header,
.pricing-section .plan-grid {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-section .plan-grid + .plan-grid {
  margin-top: 24px;
}

/* Plan Grid */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Plan Card */
.plan-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl, 16px);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
  box-shadow: var(--shadow-lg, 0 8px 24px rgba(0, 0, 0, 0.08));
  border-color: var(--color-accent);
}

/* Plan Top */
.plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.plan-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--color-accent-contrast);
  color: var(--color-accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Price Rows */
.plan-prices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.price-row:last-child {
  border-bottom: none;
}

.price-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.price-value {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.price-value>span {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.price-value .badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--color-success-bg, #dcfce7);
  color: var(--color-success-text, #166534);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.price-value .btn {
  padding: 8px 16px;
  font-size: 13px;
  min-height: unset;
  border-radius: var(--radius-md);
}

/* Plan Actions */
.plan-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.plan-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: var(--radius-md);
}

/* Note text */
.note {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  padding: 12px 16px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-border-subtle);
  margin-top: 4px;
}

.pricing-section .note {
  margin-top: 16px;
  border: 1px solid var(--color-border-subtle);
  border-left: 3px solid var(--color-accent);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: var(--radius-md);
}

/* Responsive - Pricing */
@media (max-width: 768px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Pricing Page — Tier rows & qty stepper (2026-09-12 storefront)
   ============================================================ */

/* One offerable price inside a plan card: label, amount, per-month
   framing, feature bullets, and CTAs. Replaces the bare price-row for
   subscription offers so plans can be *compared*, not just priced. */
.tier-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md, 10px);
  background: var(--color-surface);
}

.tier-row--best {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.tier-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tier-row__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  text-transform: none;
}

.tier-row__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--color-accent);
  color: var(--text-on-accent, #fff);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.tier-row__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.tier-row__amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
}

.tier-row__per {
  font-size: 13px;
  color: var(--color-text-muted);
}

.tier-row__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-row__features li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.tier-row__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.tier-row__cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.tier-row__cta .btn {
  flex: 1 1 auto;
  justify-content: center;
  padding: 8px 16px;
  font-size: 13px;
  min-height: unset;
  border-radius: var(--radius-md);
}

/* ============================================================
   Courses Landing Page
   ============================================================ */

.courses-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
}

/* Courses grid — sits inside .features-section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Course card */
.course-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(72, 144, 174, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #DEEBF1;
}

.course-card:hover {
  border-color: #87CEEB;
}

.course-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #DEEBF1;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #1B7FA8;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
}

.course-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.course-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}

.course-description {
  font-size: 0.9rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-meta {
  display: flex;
  gap: 16px;
  margin-top: auto;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6B7280;
}

.meta-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.course-cta {
  display: block;
  text-align: center;
  margin-top: 8px;
  padding: 12px;
  background: #87CEEB;
  color: #111827;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.course-cta:hover {
  background: #6bbde0;
  transform: scale(1.02);
}

/* No courses state */
.no-courses {
  text-align: center;
  padding: 80px 24px;
  max-width: 500px;
  margin: 0 auto;
}

.no-courses h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.no-courses p {
  color: #6B7280;
  font-size: 1rem;
  line-height: 1.6;
}

/* Consultancy Modal */
.consultancy-form-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.consultancy-form-modal.active,
.consultancy-form-modal[style*="block"],
.consultancy-form-modal[style*="flex"] {
  display: flex !important;
}

.consultancy-form-modal .modal-content {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.consultancy-form-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
}

.consultancy-form-modal .modal-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: #111827;
}

.consultancy-form-modal .close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #6B7280;
  line-height: 1;
  padding: 0;
  transition: color 0.15s;
}

.consultancy-form-modal .close-btn:hover {
  color: #111827;
}

.consultancy-form-modal .modal-body {
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefits-list h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #87CEEB;
  margin: 0 0 12px;
}

.benefits-list ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefits-list li {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.5;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px 16px;
  border: 1.5px solid #DEEBF1;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #87CEEB;
  box-shadow: 0 0 0 3px rgba(72, 144, 174, 0.12);
}

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

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 4px;
}

.consultancy-form-modal .btn-primary {
  padding: 12px 24px;
  background: #1a2744;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
}

.consultancy-form-modal .btn-primary:hover {
  background: #0F1A33;
}

.btn-secondary {
  padding: 12px 24px;
  background: #f0f8fc;
  color: #87CEEB;
  border: 1.5px solid #DEEBF1;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
}

.btn-secondary:hover {
  background: #DEEBF1;
}

/* Courses page responsive */
@media (max-width: 768px) {
  .courses-header h1 {
    font-size: 2rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    padding: 40px 16px;
  }

  .cta-banner {
    padding: 52px 20px;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }

  .consultancy-form-modal .modal-content {
    max-height: 95vh;
  }

  .consultancy-form-modal .modal-header,
  .consultancy-form-modal .modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 80px 32px 100px;
  background: #fff;
}

.contact-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.contact-info-panel {
  padding-top: 8px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: #EAF4FB;
  border: 1px solid #C5DFF0;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #8FAEC0;
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 14px;
  font-weight: 500;
  color: #0D1F35;
  line-height: 1.5;
}

.contact-form-card {
  /* Self-contained on the landing sheet: same card language as
     .exam-type-card / .pl-side-cta (white surface, 1px brand-tinted
     border, 16px radius) — no dependency on accounts.css .auth-card. */
  background: #FFFFFF;
  border: 1px solid #C4DCE8;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: none;
  box-sizing: border-box;
}

/* ============================================
   PUBLIC AUTH PAGES (login / register / verify)
   Scoped to html.landing-page-root so the authenticated app's
   accounts.css rules stay untouched. Matches the contact-form-card
   design: white surface, 1px brand-tinted border, 16px radius,
   flat fills, no glow, brand-blue accents.
   ============================================ */
html.landing-page-root .auth-card {
  background: #FFFFFF;
  border: 1px solid #C4DCE8;
  border-radius: 16px;
  padding: 32px;
  box-shadow: none;
}

/* ============================================
   SHOP PRICING PAGE (2026-09-23 storefront redesign)

   Naming convention: every class is prefixed ``shop-`` so this CSS
   can never collide with another page that happens to use a class
   like .plan-card already. Reuses ``.plan-card``, ``.plan-grid``,
   ``.pricing-section``, ``.tier-row``, ``.section-header`` for the
   shared card grid; the shop-* modifiers only change LOOK (frame,
   ribbon, hero pick, class calendar, addon group headings).

   Constraints respected (AGENTS.md):
   - no gradients on buttons/icons/heroes/avatars/score chips
   - no hover lift translateY
   - no colored glow shadows (only neutral tokens)
   - no emoji as UI icons (only public marketing hero badge, see AGENTS.md)
   - no em-dashes in user-visible content
   ============================================ */

/* Anchor-scroll offset covers both the fixed landing nav (~64px) and
   the sticky shop-section-nav (~52px). Bump to 144 so anchored headings
   land clear of the strip when scrolling via the section nav. */
.shop-page {
  scroll-padding-top: 144px;
}

/* ── HERO ────────────────────────────────────────────────────────── */
.shop-hero {
  padding: 80px 32px 32px;
  background: #FFFFFF;
}

.shop-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 48px;
  align-items: center;
}

.shop-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.shop-hero__highlight {
  color: var(--color-accent);
  display: inline;
}

.shop-hero__cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.shop-hero__cta-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1.5px solid var(--color-border-subtle);
}

.shop-hero__cta-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.shop-hero__locale-note {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Today's pick card — bordered shell, no gradient, no glow. */
.shop-hero__pick {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.shop-hero__pick-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--color-accent-contrast);
  color: var(--color-accent);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.shop-hero__pick-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.shop-hero__pick-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.shop-hero__pick-amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1;
}

.shop-hero__pick-currency {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.shop-hero__pick-per {
  width: 100%;
  font-size: 13px;
  color: var(--color-text-muted);
}

.shop-hero__pick-feats {
  list-style: none;
  padding: 0;
  margin: 4px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text);
}

.shop-hero__pick-feats li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-hero__pick-feats li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-accent);
  /* Inline checkmark via mask so it stays brand-tinted. */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polyline points='5 12 10 17 19 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polyline points='5 12 10 17 19 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}

.shop-hero__pick-cta {
  justify-content: center;
  width: 100%;
}

.shop-hero__pick-empty {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Trust strip — three short value props. No JS carousel. */
.shop-hero__trust {
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 20px 32px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-bg, #f8fafc);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.shop-hero__trust-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.shop-hero__trust-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.01em;
}

.shop-hero__trust-label {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
  max-width: 220px;
}

/* ── STICKY SECTION NAV ──────────────────────────────────────────── */
/* Sits below the global landing nav (which is fixed at top:0 with a
   height of ~64px — matches --topbar-h). Sticky positioning pins the
   strip just under that bar so it's always reachable as buyers scan. */
.shop-section-nav {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--color-border-subtle);
}

.shop-section-nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.shop-section-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.shop-section-nav__item:hover {
  border-color: var(--color-border-subtle);
  background: var(--color-bg, #f8fafc);
}

.shop-section-nav__icon {
  display: inline-flex;
  color: var(--color-text-muted);
}

/* When in viewport: subtle active state via :target — picked up
   natively by the anchor jump; without JS we rely on :hover for
   affordance. Active-on-scroll spy is intentionally skipped to keep
   the page JS-free. */

/* ── SECTION PADDING (shop overrides) ─────────────────────────────── */
.shop-page .pricing-section {
  scroll-margin-top: 88px;
}

.shop-bundles-section {
  background: var(--color-bg, #f8fafc);
}

/* ── PLAN GRID (shop variants) ────────────────────────────────────── */
.shop-plan-grid {
  /* On wider screens force exactly 3 columns for plan comparison. */
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

@media (min-width: 980px) {
  .shop-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Addon sub-groups: 2 columns at desktop so a single card spans wider
   and the layout still reads as a comparison set. Smaller cards than
   the platform-plans grid because addons tend to be one-or-two products.
   When the group is empty / sole-child, the lone card spans both
   columns so the layout never has a card stranded in column 1. */
.shop-addon-group .shop-plan-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

@media (min-width: 980px) {
  .shop-addon-group .shop-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.shop-addon-group .shop-plan-grid > .plan-card:only-child {
  grid-column: 1 / -1;
  max-width: 540px;
  margin-inline: auto;
}

/* ── PLAN CARD (shop variants) ────────────────────────────────────── */
.shop-plan-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible; /* allow ribbon to peek above the card edge */
}

/* Most popular ribbon — flat fill, brand-tinted, sits at top edge.
   Box-shadow ring keeps the visual emphasis without using a colored
   glow shadow (which is on the AI-marker avoidance list). */
.shop-plan-card--featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-md);
}

.shop-plan-card__ribbon {
  position: absolute;
  top: -1px;
  right: 16px;
  transform: translateY(-50%);
  padding: 4px 12px;
  background: var(--color-accent);
  color: var(--color-text-on-accent, #fff);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ── ADDON GROUP HEADERS ──────────────────────────────────────────── */
.shop-addon-group {
  max-width: 1240px;
  margin: 0 auto 48px;
}

.shop-addon-group:last-child {
  margin-bottom: 0;
}

.shop-addon-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 8px 16px;
}

.shop-addon-group__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.005em;
}

.shop-addon-group__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-accent-contrast);
  color: var(--color-accent);
}

.shop-addon-group__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color 0.15s ease;
}

.shop-addon-group__link:hover {
  border-color: var(--color-accent);
}

/* ── COURSE CARD (shop variant) ──────────────────────────────────── */
.shop-course-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shop-course-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-course-card__modules {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg, #f8fafc);
  border-radius: 999px;
  padding: 4px 10px;
}

.shop-course-card__title {
  font-size: 18px;
  line-height: 1.3;
}

.shop-course-card__title-link {
  color: inherit;
  text-decoration: none;
}

.shop-course-card__title-link:hover {
  color: var(--color-accent);
}

.shop-course-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

.shop-course-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 14px;
  margin-top: auto;
}

.shop-course-card__price-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.shop-course-card__price-oneshot {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── CLASS CARD (shop variant) — split into date-strip + body ───── */
.shop-class-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 20px;
}

.shop-class-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg, #f8fafc);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
}

.shop-class-card__day {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.shop-class-card__month {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.shop-class-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.shop-class-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-class-card__access-pill {
  font-size: 11px;
  padding: 2px 10px;
}

.shop-class-card__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 2px;
}

/* ── CLOSING CTA (shop variant) ───────────────────────────────────── */
.shop-cta {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-subtle);
}

.shop-cta__secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1.5px solid var(--color-border-subtle);
}

.shop-cta__secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .shop-hero {
    padding: 56px 20px 24px;
  }
  .shop-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .shop-hero__trust {
    margin: 28px 20px 0;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .shop-section-nav__inner {
    padding: 10px 16px;
  }
  .pricing-section {
    padding: 64px 16px;
  }
  .shop-class-card {
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 16px;
  }
}

/* The existing ``.plan-grid`` responsive rule still applies, but the
   override above (980px breakpoint) is per-shop-grid. On phones we
   collapse to single column to keep readable card widths. */

/* Icon circle — flat brand tint, no gradient, no glow */
html.landing-page-root .auth-icon-circle {
  background: #DEEBF1;
  border: 1px solid #C4DCE8;
  color: #1B7FA8;
  box-shadow: none;
}

html.landing-page-root .auth-icon-circle svg {
  stroke: #1B7FA8;
}

/* Fields — same rhythm as the contact form */
html.landing-page-root .auth-form label,
html.landing-page-root .auth-form .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 6px;
}

html.landing-page-root .auth-form input[type="text"],
html.landing-page-root .auth-form input[type="email"],
html.landing-page-root .auth-form input[type="password"],
html.landing-page-root .auth-form input[type="tel"],
html.landing-page-root .auth-form select {
  width: 100%;
  padding: 12px 16px !important;
  background: #FFFFFF;
  border: 1px solid #C5DFF0;
  border-radius: 8px !important;
  color: #0D1F35;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

html.landing-page-root .auth-form input:focus,
html.landing-page-root .auth-form select:focus {
  outline: none;
  border-color: #1B7FA8;
}

/* Submit — brand blue, flat, no glow */
html.landing-page-root .auth-submit-btn,
html.landing-page-root .auth-card .btn-primary {
  background: #1B7FA8;
  color: #fff;
  border-radius: 8px;
  box-shadow: none;
}

html.landing-page-root .auth-submit-btn:hover:not(:disabled),
html.landing-page-root .auth-card .btn-primary:hover {
  background: #166687;
  box-shadow: none;
}

/* Intro panel (left column) — landing-page treatment: italic serif
   kicker with hairlines (same as .hero-badge), solid brand-blue title
   accent (no gradient text), circular blue tick chips (same as the
   contact reassure row). */
html.landing-page-root .auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  color: #1a2744;
  padding: 0;
  border: none;
  border-radius: 0;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 36px;
}

html.landing-page-root .auth-badge::before,
html.landing-page-root .auth-badge::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: #1a2744;
}

html.landing-page-root .auth-title span {
  /* Solid EC dark blue — no gradient clip */
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #87CEEB;
}

html.landing-page-root .auth-title {
  font-weight: 700;
  letter-spacing: -0.03em;
}

html.landing-page-root .auth-perk-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DEEBF1;
  color: #1B7FA8;
}

html.landing-page-root .auth-perk-icon svg {
  width: 12px;
  height: 12px;
}

/* Honeypot field — hidden from real users; bots auto-fill everything.
   (Was in accounts.css; the contact page no longer loads that sheet.) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form fields — consistent with the landing editorial style */
.contact-form-card .form-group {
  margin-bottom: 16px;
}

/* components/forms.css applies a global uppercase label treatment;
   the contact card reads better in sentence case like the rest of
   the public pages. */
.contact-form-card .form-group > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  letter-spacing: 0;
  text-transform: none !important;
}

/* design.css sets an app-wide !important 8px radius on raw input
   selectors; match it here so all fields agree, then override the
   ones that matter (padding, border colour) at equal weight. */
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card select {
  width: 100%;
  padding: 12px 16px !important;
  background: #FFFFFF;
  border: 1px solid #C5DFF0;
  border-radius: 8px !important;
  color: #0D1F35;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.contact-form-card textarea {
  border-radius: 8px !important;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: #1B7FA8;
}

/* Textarea for contact form */
.contact-form-card textarea,
textarea {
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #C5DFF0;
  border-radius: 8px;
  color: #0D1F35;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

textarea:focus {
  outline: none;
  border-color: #1B7FA8;
}

/* Select inputs */
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #C5DFF0;
  border-radius: 8px;
  color: #0D1F35;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  appearance: none;
  cursor: pointer;
}

.form-group select:focus {
  outline: none;
  border-color: #1B7FA8;
}

/* Two-column form row */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Submit button — English Charlie brand blue, matching .hero-btn.primary
   and .btn-primary on the other public pages. */
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  background: #1B7FA8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 8px;
}

.contact-submit-btn:hover {
  background: #166687;
  transform: none;
  box-shadow: none;
}

/* Contact social links — official English Charlie profiles.
   Brand-blue tiles, border-colour hover (no lift, no glow). */
.contact-socials {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #C4DCE8;
}

.contact-social-icons {
  display: flex;
  gap: 8px;
}

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #DEEBF1;
  border: 1px solid #C4DCE8;
  color: #1B7FA8;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.contact-social-link svg {
  width: 18px;
  height: 18px;
}

.contact-social-link:hover {
  background: #1B7FA8;
  color: #fff;
  border-color: #1B7FA8;
  transform: none;
}

/* ============================================================
   LEGAL PAGES (Terms & Privacy)
   ============================================================ */
.legal-page {
  padding: 80px 32px 100px;
  background: #fff;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0D1F35;
  margin: 16px 0 16px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.legal-title span {
  color: var(--color-accent, #87CEEB);
  /* Gradient text removed: this is the "Scored 90 / Band 9.0" tell from
     plan §2.1. Now uses a single accent color instead. */
}

.legal-subtitle {
  font-size: 16px;
  color: #4A6580;
  line-height: 1.65;
  max-width: 520px;
}

.legal-content {
  background: #F8FCFF;
  border: 1px solid #DEEBF1;
  border-radius: 20px;
  padding: 48px;
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #EAF4FB;
}

.legal-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #0D1F35;
  margin: 0 0 16px;
  letter-spacing: -0.2px;
}

.legal-section-body {
  font-size: 15px;
  color: #4A6580;
  line-height: 1.75;
}

.legal-section-body p {
  margin: 0 0 16px;
}

.legal-section-body p:last-child {
  margin-bottom: 0;
}

.legal-section-body ul {
  margin: 12px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section-body a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.legal-section-body a:hover {
  text-decoration: underline;
}

.legal-highlight-box {
  background: #EAF4FB;
  border-left: 4px solid var(--color-accent);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: #0D1F35;
}

.legal-highlight-box p {
  margin: 0;
}

.legal-last-updated {
  text-align: center;
  color: #8FAEC0;
  font-size: 13px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #DEEBF1;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 28px 24px;
  }

  .legal-page {
    padding: 60px 20px 80px;
  }
}