/* ==========================================================================
   JUST TNPSC ACADEMY — Landing Page Stylesheet
   Design: Purple/Pink Brand System, Mobile-First, Conversion-Optimized
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   Source: just-tnpsc-academy-color-theme.md + just-tnpsc-academy-typography.md
   NOTE: @font-face declarations are inlined in index.html critical <style> block.
         They are intentionally omitted here to avoid duplicate font parsing.
   ========================================================================== */

:root {
  /* ── Core Text Colors (High Contrast & Accessible) ── */
  --color-text-dark: #0F172A;
  --color-text-main: #1E293B;
  --color-text-muted: #475569;
  --color-text-subtle: #475569;

  /* ── Brand Primary & Accent (Blue System) ── */
  --color-brand-blue: #2563EB;
  --color-brand-blue-dark: #1D4ED8;
  --color-brand-blue-bg: #EFF6FF;
  --color-brand-blue-border: #BFDBFE;

  /* ── Brand Action & Conversion (Crimson / Pink System) ── */
  --color-action-pink: #E11D48;
  --color-action-pink-dark: #BE123C;
  --color-action-pink-bg: #FFF1F2;
  --color-action-pink-border: #FECDD3;

  /* ── Success & Trust (Emerald System) ── */
  --color-success-green: #059669;
  --color-success-green-dark: #16A34A;
  --color-success-green-bg: #DCFCE7;
  --color-success-green-border: #86EFAC;

  /* ── Top Bar & High-Trust Accents ── */
  --color-topbar-bg: #4C122B;
  --color-accent-yellow: #FACC15;

  /* ── Surfaces & Borders ── */
  --color-surface-white: #FFFFFF;
  --color-surface-subtle: #F8FAFC;
  --color-border-subtle: #E2E8F0;
  --color-border-strong: #CBD5E1;

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-header: 0 2px 12px rgba(15, 23, 42, 0.06);

  /* ── Border Radius ── */
  --radius-button: 9999px;
  --radius-card: 12px;
  --radius-sm: 8px;

  /* ── Typography System Tokens ── */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-tamil: 'Noto Sans Tamil', 'Plus Jakarta Sans', system-ui, sans-serif;

  --font-size-display: clamp(1.8rem, 4vw, 2.5rem);
  --font-size-h2: clamp(1.35rem, 3.2vw, 1.75rem);
  --font-size-h3: clamp(1.05rem, 2vw, 1.25rem);
  --font-size-body: clamp(0.88rem, 1vw + 0.6rem, 0.95rem);
  --font-size-subtext: clamp(0.81rem, 1vw + 0.5rem, 0.88rem);
  --font-size-badge: clamp(0.72rem, 1vw + 0.4rem, 0.78rem);

  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* ── Spacing (Fluid) ── */
  --space-xxs: clamp(0.25rem, 0.5vw, 0.375rem);
  --space-xs: clamp(0.5rem, 1vw, 0.625rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(1.5rem, 3vw, 2rem);
  --space-xl: clamp(2rem, 4vw, 3rem);
  --space-2xl: clamp(2.5rem, 5vw, 4rem);
  --space-3xl: clamp(3rem, 6vw, 5rem);

  --section-py: var(--space-3xl);
  --section-py-mobile: var(--space-2xl);
  --container-px: clamp(16px, 4vw, 24px);
  --max-width: 1200px;

  /* ── Transitions ── */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Dark section ── */
  --color-dark-bg: #1A1526;
  --color-dark-text: #FFFFFF;
  --color-dark-text-secondary: rgba(255, 255, 255, 0.65);

  /* ═══════════════════════════════════════════════════════════════
     ALIASED TOKENS — Resolve all broken var() references in CSS.
     These map the shorthand names used throughout to their values.
     ═══════════════════════════════════════════════════════════════ */

  /* Primary brand color (used as: var(--color-primary)) */
  --color-primary: #582C8B;

  /* Background colors */
  --color-bg: #FFFFFF;
  --color-bg-secondary: #F8FAFC;
  --color-bg-subtle: #FAF7FD;

  /* Text colors */
  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;

  /* Border */
  --color-border: #E2E8F0;

  /* Status colors */
  --color-success: #059669;
  --color-error: #E11D48;

  /* Card shadows */
  --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 8px 24px rgba(15, 23, 42, 0.1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Headings ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: #0F172A;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-weight: var(--font-weight-extrabold);
  font-size: var(--font-size-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-weight: var(--font-weight-extrabold);
  font-size: var(--font-size-h2);
  line-height: 1.25;
}

h3 {
  font-weight: var(--font-weight-extrabold);
  font-size: var(--font-size-h3);
  line-height: 1.3;
}

h4 {
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  line-height: 1.4;
}

/* ── Base Elements ── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

p {
  font: 400 15px/1.7 var(--font-body);
  color: var(--color-text-secondary);
  max-width: 68ch;
}

/* ── Focus Visible ── */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: 8px;
  left: 16px;
  padding: 8px 16px;
  background: var(--color-primary);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transform: translateY(-200%);
  transition: transform var(--transition-fast);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.section-eyebrow,
.solution-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: var(--font-size-badge);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2,
.main-headline {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-extrabold);
  color: #0F172A;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.section-header p,
.sub-headline {
  font-family: var(--font-body);
  font-size: var(--font-size-subtext);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  color: #64748B;
  margin: 0 auto;
  max-width: 620px;
  text-align: center;
}

/* Placeholder images (grey boxes for missing assets) */
.img-placeholder {
  background: #E8E3EF;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 500;
  min-height: 200px;
}

/* ==========================================================================
   4. ANIMATIONS
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children .animate-on-scroll:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-children .animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children .animate-on-scroll:nth-child(3) {
  transition-delay: 0.15s;
}

.stagger-children .animate-on-scroll:nth-child(4) {
  transition-delay: 0.2s;
}

.stagger-children .animate-on-scroll:nth-child(5) {
  transition-delay: 0.25s;
}

.stagger-children .animate-on-scroll:nth-child(6) {
  transition-delay: 0.3s;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(233, 30, 117, 0.3);
  }

  50% {
    box-shadow: 0 0 20px 4px rgba(233, 30, 117, 0.15);
  }
}

@keyframes float-gentle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   5. BUTTONS (Global System)
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background-color: var(--color-action-pink);
  color: #FFFFFF;
  border-radius: var(--radius-button);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
}

.btn-primary:hover {
  background-color: var(--color-action-pink-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: var(--font-weight-bold);
}

.btn-primary.btn-glow {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: transparent;
  color: var(--color-brand-blue);
  border: 1.5px solid var(--color-brand-blue-border);
  border-radius: var(--radius-button);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  transition: all var(--transition-fast);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

.btn-outline:hover {
  background-color: var(--color-brand-blue-bg);
  color: var(--color-brand-blue-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   6. SECTION 1 — ANNOUNCEMENT BAR
   ========================================================================== */
@keyframes pulse-bg {

  0%,
  100% {
    background: #3B1264;
  }

  50% {
    background: #580E38;
  }
}

/* Top announcement bar (product announcement aside) */
.top-announcement-bar {
  background-color: #4C122B;
  color: #FFFFFF;
  padding: 0.5rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  width: 100%;
  overflow: hidden;
}

.top-announcement-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  line-height: 1.2;
}

.top-announcement-pill {
  background-color: #E11D48;
  color: #FFFFFF;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.top-announcement-specs {
  color: #FFFFFF;
  font-weight: 700;
  opacity: 0.98;
  white-space: nowrap;
}


.announcement-bar {
  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 40px;
  background: #3B1264;
  color: #FFFFFF;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: opacity var(--transition-fast);
  animation: pulse-bg 2s infinite ease-in-out;
}

.announcement-bar:hover {
  opacity: 0.95;
}

.announce-desktop {
  display: none;
}

.announce-mobile {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.announcement-bar .pill {
  display: inline-flex;
  align-items: center;
  background: #ED0B72;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.announcement-bar .counter {
  background: #B90052;
  color: #FFFFFF;
  padding: 2px 6px;
  border-radius: 4px;
  margin: 0 4px;
  font-weight: 700;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.announcement-bar .announce-text {
  margin-right: 6px;
}

.announcement-bar .announce-support {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

@media (max-width: 359px) {
  .announce-mobile {
    font-size: 11px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .announcement-bar {
    padding: 8px 4px;
  }

  .announcement-bar .pill {
    font-size: 10px;
    padding: 2px 4px;
  }
}

@media (min-width: 768px) {
  .announcement-bar {
    font-size: 14px;
    height: 40px;
  }

  .announce-desktop {
    display: inline-flex;
    align-items: center;
  }

  .announce-mobile {
    display: none;
  }
}

/* ==========================================================================
   7. SECTION 2 — STICKY HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid #F0EBF6;
  box-shadow: 0 2px 12px rgba(59, 18, 100, 0.08);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  padding-top: env(safe-area-inset-top, 0px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.site-header.scrolled {
  border-bottom-color: #F0EBF6;
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  height: auto;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 24px;
  gap: 16px;
  transition: height var(--transition-base);
}

/* Logo */
.logo,
.header-inner .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  height: auto;
  padding: 2px 0;
}

/* Header Logo Size */
.header-logo-img,
.site-header img,
.header-inner img {
  height: 52px;
  max-height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 767px) {
  .header-inner {
    min-height: 52px;
    padding: 6px 16px;
    gap: 20px;
  }

  .header-logo-img,
  .site-header img,
  .header-inner img {
    height: 42px;
    max-height: 42px;
  }

  .logo,
  .header-inner .logo {
    min-height: 42px;
  }
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: #3B1264;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.logo span strong {
  font-weight: 700;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.desktop-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.desktop-nav a:hover {
  color: #E11D48;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.65rem 1.35rem;
  background-color: #E11D48;
  color: #FFFFFF;
  border-radius: var(--radius-button);
  font-size: 0.92rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
  height: 42px;
}

.btn-header-cta:hover {
  background-color: #BE123C;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.35);
}

@media (max-width: 380px) {
  .btn-header-cta .cta-price-tag {
    display: none;
  }
}

/* Hamburger */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.hamburger-btn:hover {
  background: var(--color-bg-secondary);
}

.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 21, 38, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-bg);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
  padding-right: calc(24px + env(safe-area-inset-right));
  padding-left: calc(24px + env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  color: var(--color-text-secondary);
  transition: background var(--transition-fast);
}

.mobile-menu-close:hover {
  background: var(--color-bg-secondary);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-menu-nav a:hover {
  background: var(--color-bg-secondary);
  color: var(--color-primary);
}

.mobile-menu-nav .nav-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.mobile-menu-cta {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.mobile-menu-cta .btn-primary {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   8. SECTION 3 — HERO
   ========================================================================== */
.hero {
  padding: 12px 0 36px 0;
  background: linear-gradient(180deg, var(--color-bg-subtle) 0%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
}

/* Exam Selection Bar */
.exam-filter-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 0;
  margin-bottom: 12px;
  padding: 0;
  text-align: center;
  width: 100%;
}

.exam-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #4A5568;
  line-height: 1.2;
}

.exam-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
  padding: 2px 0;
}

.exam-filter-pills::-webkit-scrollbar {
  display: none;
}

.exam-pill {
  flex-shrink: 0;
  background: #FFFFFF;
  border: 1px solid #E2D9EC;
  color: #222222;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.0;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.exam-pill:hover {
  border-color: #3B1264;
  color: #3B1264;
}

.exam-pill.active {
  background: #3B1264;
  color: #FFFFFF;
  font-weight: 700;
  border-color: #3B1264;
  box-shadow: 0px 2px 4px rgba(59, 18, 100, 0.2);
}

.hero-eyebrow-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 10px;
}

.hero-eyebrow-primary {
  display: inline-block;
  background-color: #F4EBFB;
  color: #3B1264;
  border: 1px solid rgba(59, 18, 100, 0.12);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@keyframes dotPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.glowing-dot {
  width: 7px;
  height: 7px;
  background-color: #2563EB;
  border-radius: 50%;
  display: inline-block;
  animation: dotPulse 2s infinite;
  flex-shrink: 0;
}

.hero-subject-chips {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: wrap;
}

.subject-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F8F5FC;
  color: #2D124D;
  border: 1px solid rgba(59, 18, 100, 0.08);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
  gap: var(--space-xl);
  align-items: center;
}

.hero-content {
  order: 1;
}

.hero-visual {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-mockup-card {
  width: 100%;
  max-width: 540px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 16px 36px rgba(45, 18, 77, 0.12), 0px 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(59, 18, 100, 0.1);
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

.hero-mockup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 22px 48px rgba(45, 18, 77, 0.18), 0px 6px 16px rgba(0, 0, 0, 0.08);
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 767px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.hero-title {
  color: #1E1035;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.highlight-pink {
  color: #E11D48;
}

.hero-subheadline-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 780px;
  text-align: center;
}

.hero-pain-point {
  font-family: 'Patrick Hand', cursive, sans-serif;
  color: #DC2626;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: inline-block;
  text-align: center;
}

.hero-subtext {
  color: #475569;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.015em;
  margin-bottom: 0;
}

.hero-subtext strong {
  color: #0F172A;
  font-weight: 700;
}

.highlight-term {
  color: #0F172A;
  font-weight: 700;
  background-color: #F1F5F9;
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.underline-text {
  border-bottom: 2px solid rgba(237, 11, 114, 0.4);
  padding-bottom: 3px;
  font-weight: 600;
  color: #111111;
}

/* Option 2: Inline Pill Badges (Ultra-Compact) */
.hero-inline-pills-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 580px;
  width: 100%;
}

.pills-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.pills-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #3B1264;
  letter-spacing: 0.01em;
  margin: 0;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F4EBFB;
  color: #4A5568;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.0;
}

/* Hero Benefits Vertical List */
.hero-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.3;
}

.hero-benefits-list .check-icon {
  color: #16A34A;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: #DCFCE7;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Social Proof Header */
.hero-social-proof-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 16px;
  justify-content: flex-start;
}

.hero-custom-avatar {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.social-proof-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
}

/* Pricing Anchor Box */
.hero-pricing-box {
  background: #FFFFFF;
  border: 1px solid rgba(81, 56, 238, 0.12);
  border-top: 3px solid #ED0B72;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 4px 16px rgba(59, 18, 100, 0.05);
}

.pricing-headline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.strikethrough-price {
  font-size: 16px;
  color: var(--color-text-secondary);
  text-decoration: line-through;
  font-weight: 500;
}

.offer-price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #ED0B72;
  line-height: 1;
}

.discount-badge {
  background: #ED0B72;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.value-comparison {
  font-size: 13px;
  color: #4A3E56;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Action Buttons & Layout */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.hero-cta-group .btn-primary,
.hero-cta-group .btn-outline {
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 20px;
  line-height: 1.2;
}

.hero-cta-group .btn-primary {
  background: #E60067;
  color: #FFFFFF;
}

.hero-cta-group .btn-primary:hover {
  background: #C40057;
}

.hero-cta-group .btn-outline {
  border: 2px solid #3B1264;
  color: #3B1264;
  background: #FFFFFF;
}

.hero-cta-group .btn-outline:hover {
  background-color: rgba(59, 18, 100, 0.05);
  border-color: #2D124D;
  color: #2D124D;
}

/* Micro-Trust Line */
.hero-micro-trust {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 500;
  color: #4A5568;
  text-align: left;
  max-width: 580px;
  line-height: 1.2;
}

.trust-bullet {
  color: #A0AEC0;
  font-size: 10px;
}

.hero-visual .img-placeholder {
  min-height: 300px;
  border-radius: var(--radius-card);
}

.hero-visual img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   9. SECTION 4 — KEY METRICS STATS CARD
   ========================================================================== */
.stats-card-wrapper {
  padding: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-card {
  background-color: #FFFFFF;
  border: 1px solid #EAE0F5;
  border-radius: 16px;
  box-shadow: 0px 8px 24px rgba(59, 18, 100, 0.08);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 4px;
}

.stats-card .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800 !important;
  color: #E60067 !important;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stats-card .stat-label {
  display: block;
  font-size: 13px;
  font-weight: 700 !important;
  color: #1F1135 !important;
  line-height: 1.3;
  text-align: center;
}

.stat-divider {
  display: none;
}

@media (min-width: 768px) {
  .stats-card-wrapper {
    padding: 16px 24px;
  }

  .stats-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 16px;
    gap: 0;
  }

  .stat-item {
    flex: 1;
    padding: 0 16px;
  }

  .stat-number {
    font-size: 32px;
    margin-bottom: 6px;
  }

  .stat-divider {
    display: block;
    width: 1px;
    height: 40px;
    background-color: #F0E6FA;
  }
}

/* ==========================================================================
   10. SECTION 5 — PROBLEM SECTION (PRODUCTION RED OUTLINE GRID)
   ========================================================================== */
.problems-section {
  padding: 36px 16px;
  background-color: #FAF7FD;
}

.warning-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #E11D48;
  background-color: #FFE4E6;
  border: 1px solid #FECDD3;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.main-headline {
  font-size: 26px;
  font-weight: 800;
  color: #5B21B6;
  line-height: 1.25;
  margin: 0 0 10px 0;
}

.sub-headline {
  margin: 0 auto;
  max-width: 580px;
}

.sub-hook {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1F1135;
  line-height: 1.4;
  margin-bottom: 3px;
}

.sub-cta {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #6B7280;
  line-height: 1.4;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  background-color: #FFFFFF !important;
  border: 1.5px solid #FECDD3 !important;
  border-radius: 16px;
  padding: 28px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  box-shadow: 0px 4px 12px rgba(225, 29, 72, 0.03);
  transition: all 0.25s ease;
}

.problem-card:hover {
  border-color: #E11D48 !important;
  transform: translateY(-3px);
  box-shadow: 0px 8px 20px rgba(225, 29, 72, 0.1);
}

.card-icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  color: #1F1135;
  margin: 0 0 8px 0;
  text-align: center;
}

.card-body {
  font-size: 13px;
  font-weight: 400;
  color: #524B63;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* ==========================================================================
   11. SECTION 6 — SOLUTION OVERVIEW (EVERYTHING WE FIXED)
   ========================================================================== */
.solution-section {
  padding: 36px 16px;
  background-color: #F8FAFC;
}

.solution-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #15803D;
  background-color: #DCFCE7;
  border: 1px solid #BBF7D0;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  background-color: #FFFFFF !important;
  border: 1.5px solid #BBF7D0 !important;
  border-radius: 16px;
  padding: 28px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  box-shadow: 0px 4px 12px rgba(22, 163, 74, 0.04);
  transition: all 0.25s ease;
}

.solution-card:hover {
  border-color: #16A34A !important;
  transform: translateY(-3px);
  box-shadow: 0px 8px 20px rgba(22, 163, 74, 0.12);
}

/* Solution CTA Wrapper & Micro-Trust */
.solution-cta-wrapper {
  margin-top: 40px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.solution-cta-btn {
  background: #E60067;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  box-shadow: 0px 4px 16px rgba(230, 0, 103, 0.25);
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.solution-cta-btn:hover {
  background: #C40057;
  transform: translateY(-2px);
  box-shadow: 0px 8px 24px rgba(230, 0, 103, 0.35);
}

.solution-cta-trust {
  font-size: 13px;
  font-weight: 500;
  color: #524B63;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

/* ==========================================================================
   12. SECTION 7 — EVERYTHING YOU'LL GET (4-CARD VALUE GRID & TRANSPARENCY)
   ========================================================================== */
.everything-section {
  padding: 48px 16px;
  background-color: #FFFFFF;
}

.everything-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.everything-block {
  background-color: #FFFFFF !important;
  border: 1.5px solid #86EFAC !important;
  border-radius: 16px;
  padding: 24px 20px;
  height: 100%;
  box-shadow: 0px 4px 12px rgba(34, 197, 94, 0.04);
  transition: all 0.25s ease;
}

.everything-block:hover {
  border-color: #22C55E !important;
  box-shadow: 0px 8px 20px rgba(34, 197, 94, 0.12);
  transform: translateY(-3px);
}

.everything-block-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 16px;
}

.everything-block-header .block-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.everything-block-title {
  font-size: 17px;
  font-weight: 700;
  color: #1E293B;
  margin: 0;
  text-align: center;
}

.everything-block ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.everything-block li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  line-height: 1.4;
}

.everything-block li .check {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Transparency Note Box */
.transparency-note-box {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  max-width: 800px;
  margin: 28px auto;
}

.transparency-note-box p {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.transparency-note-box strong {
  color: #1E293B;
}

/* Primary CTA Block */
.primary-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 620px;
  margin: 32px auto 0 auto;
}

.primary-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  border-radius: 16px;
  padding: 28px 24px;
  gap: 16px;
  box-shadow: 0px 4px 16px rgba(5, 150, 105, 0.08);
}

.cta-top-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  background-color: #FFFFFF;
  border: 1px solid #6EE7B7;
  border-radius: 9999px;
  padding: 4px 14px;
  letter-spacing: 0.5px;
}

.btn-primary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  padding: 16px 28px;
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  background-color: #D81B60;
  border: 1px solid #D81B60;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0px 8px 20px rgba(216, 27, 96, 0.3);
  transition: all 0.25s ease;
}

.btn-primary-cta:hover {
  background-color: #C2185B;
  border-color: #C2185B;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0px 12px 28px rgba(216, 27, 96, 0.45);
}

.cta-trust-subtext {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .primary-cta-card {
    padding: 20px 16px;
    gap: 12px;
  }

  .btn-primary-cta {
    font-size: 16px;
    padding: 14px 20px;
  }

  .cta-trust-subtext {
    font-size: 12px;
  }
}

/* Image Carousel */
.carousel-container {
  position: relative;
  margin-top: 32px;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.carousel-slide .img-placeholder {
  min-height: 280px;
  margin: 0;
  border-radius: 0;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  pointer-events: none;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-text-primary);
  cursor: pointer;
  pointer-events: all;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-card);
}

.carousel-btn:hover {
  background: var(--color-bg);
  box-shadow: var(--shadow-card-hover);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.carousel-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 5px;
}

/* ==========================================================================
   13. SECTION 8 — 100% TRANSPARENT COVERAGE & UNIT-WISE TALLY
   ========================================================================== */
.coverage-section {
  padding: 48px 16px;
  background-color: #FAF7FD;
}

.coverage-tally-banner {
  max-width: 760px;
  margin: 0 auto 32px auto;
  background: #FFFFFF;
  border: 1px solid #E9D5FF;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0px 4px 16px rgba(91, 33, 182, 0.05);
}

.tally-banner-title {
  font-size: 18px;
  font-weight: 800;
  color: #5B21B6;
  margin-bottom: 12px;
}

.tally-math-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #FAF5FF;
  border: 1px solid #E9D5FF;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1F1135;
  margin-bottom: 12px;
}

.math-op {
  color: #E11D74;
  font-weight: 800;
}

.math-total {
  color: #5B21B6;
  font-weight: 800;
  font-size: 15px;
}

.tally-footnote {
  font-size: 13px;
  color: #64748B;
  margin: 0;
}

/* Unit Tally Cards */
.unit-tally-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto 24px auto;
}

.unit-tally-card {
  display: grid;
  grid-template-columns: 110px 1fr 140px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 20px;
  gap: 16px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease-in-out;
}

.unit-tally-card:hover {
  border-color: #C084FC;
  transform: translateX(4px);
  box-shadow: 0px 4px 14px rgba(91, 33, 182, 0.08);
}

.unit-tag {
  font-size: 12px;
  font-weight: 800;
  color: #64748B;
  background: #F1F5F9;
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
  letter-spacing: 0.5px;
}

.unit-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.unit-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.unit-title-en {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #1E1B4B;
  line-height: 1.3;
}

.unit-title-ta {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #6D28D9;
  line-height: 1.3;
}

.unit-topics {
  font-size: 13px;
  color: #64748B;
  margin: 0;
}

.unit-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FAF5FF;
  border: 1px solid #E0E7FF;
  padding: 8px 14px;
  border-radius: 8px;
}

.badge-num {
  font-size: 18px;
  font-weight: 800;
  color: #5B21B6;
  line-height: 1.1;
}

.badge-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.5px;
}

/* Grand Total Summary Card */
.grand-total-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 860px;
  margin: 0 auto;
  background: #EEF2FF;
  border: 1.5px solid #6366F1;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0px 4px 16px rgba(99, 102, 241, 0.12);
}

.summary-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.summary-icon {
  font-size: 32px;
}

.summary-title {
  font-size: 18px;
  font-weight: 800;
  color: #1E1B4B;
}

.summary-subtext {
  font-size: 13px;
  color: #475569;
  margin: 2px 0 0 0;
}

.summary-total-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(79, 70, 229, 0.3);
}

.total-num {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.total-lbl {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .unit-tally-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .unit-title-group {
    align-items: center;
    text-align: center;
  }

  .grand-total-summary-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .summary-left {
    flex-direction: column;
    gap: 6px;
  }
}

/* ==========================================================================
   14. SECTION 9 — EXPLORE ALL 10 SUBJECTS (Slider)
   ========================================================================== */
.subjects-section {
  padding: var(--section-py-mobile) 0;
  background: var(--color-bg);
}

.slider-container {
  position: relative;
}

.slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0 16px;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.subject-card {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.subject-card:hover {
  box-shadow: 0px 12px 28px rgba(91, 33, 182, 0.12);
  transform: translateY(-4px);
  border-color: #C084FC;
}

/* Zone 1: Thumbnail Container (A4 Book Mockup Styling) */
.subject-thumb-container {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  padding: 12px;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #E2E8F0;
}

.subject-card-cover {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subject-card:hover .subject-card-cover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0px 12px 24px rgba(91, 33, 182, 0.15), 0px 4px 8px rgba(0, 0, 0, 0.06);
}

/* Card Content Container (Flex column, space-between) */
.subject-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding: 16px;
  gap: 12px;
}

/* Zone 2: Title Zone */
.subject-title-zone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 90px;
}

.subject-card-unit {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.subject-card-en {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 4px 0 0 0;
  line-height: 1.2;
}

.subject-card-ta {
  font-size: 15px;
  font-weight: 600;
  color: #0F766E;
  line-height: 1.3;
}

/* Zone 3: Metadata & Blueprint Zone */
.subject-meta-zone {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subject-meta-line {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  text-align: center;
}

.subject-blueprint-pill {
  font-size: 12px;
  font-weight: 600;
  color: #065F46;
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
}

/* Zone 4: Action Zone (Solid Emerald Pill Button) */
.subject-action-zone {
  margin-top: 4px;
}

.btn-sample-pdf {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  background-color: #059669;
  border: 1px solid #059669;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0px 4px 12px rgba(5, 150, 105, 0.2);
}

.btn-sample-pdf:hover {
  background-color: #047857;
  border-color: #047857;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0px 6px 16px rgba(4, 120, 87, 0.3);
}

/* Slider Arrows */
.slider-arrows {
  display: none;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.slider-arrow:hover {
  background: var(--color-bg-secondary);
  box-shadow: var(--shadow-card-hover);
}

.slider-arrow.prev {
  left: -20px;
}

.slider-arrow.next {
  right: -20px;
}

.subjects-footer {
  text-align: center;
  margin-top: 24px;
  padding: 16px;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-card);
}

.subjects-footer p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0 auto;
  text-align: center;
}

.subjects-footer strong {
  color: var(--color-primary);
}

/* ==========================================================================
   15. SECTION 10 — COMPARE BEFORE YOU CHOOSE
   ========================================================================== */
.compare-section {
  padding: var(--section-py-mobile) 0;
  background: var(--color-bg-subtle);
}

.compare-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  background: var(--color-bg);
  font-size: 14px;
}

.compare-table thead {
  background: var(--color-bg-secondary);
}

.compare-table th {
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  color: var(--color-text-primary);
  border-bottom: 2px solid var(--color-border);
}

.compare-table th.col-ours {
  background: var(--color-primary);
  color: white;
}

.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table td.col-ours {
  background: rgba(91, 42, 140, 0.04);
  font-weight: 600;
  color: var(--color-primary);
}

.compare-table .feature-label {
  font-weight: 600;
  color: var(--color-text-primary);
}

.compare-check {
  color: var(--color-success);
  font-weight: 600;
}

.compare-cross {
  color: var(--color-error);
}

/* ==========================================================================
   16. SECTION 11 — WHO IS THIS FOR
   ========================================================================== */
.who-section {
  padding: var(--section-py-mobile) 0;
  background: var(--color-bg);
}

.who-groups {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.who-group {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
}

.who-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.who-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.who-card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.who-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.who-card .card-icon {
  color: var(--color-primary);
  font-size: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   17. SECTION 12 — HOW IT WORKS
   ========================================================================== */
.how-section {
  padding: var(--section-py-mobile) 0;
  background: var(--color-bg-subtle);
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
}

.step-connector {
  width: 2px;
  height: 24px;
  background: var(--color-border);
  margin-left: 23px;
}

/* ==========================================================================
   18. SECTION 13 — STUDENT TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: var(--section-py-mobile) 0;
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  transition: box-shadow var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-card);
}

.testimonial-photo-slot {
  width: 56px;
  height: 56px;
  background: var(--color-bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 16px;
  border: 2px dashed var(--color-border);
}

/* TODO: Replace placeholder with real photos from "testimonial" folder */
.testimonial-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.7;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--color-bg-secondary);
}

.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   19. SECTION 14 — STATS BLOCK
   ========================================================================== */
.stats-section {
  padding: var(--section-py-mobile) 0;
  background: var(--color-primary);
  color: white;
}

.stats-section .section-eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.stats-section .section-header h2 {
  color: white;
}

.stats-section .section-header p {
  color: var(--color-dark-text-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-card);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-dark-text-secondary);
}

.stats-support {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-dark-text-secondary);
}

.stats-date {
  text-align: center;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   20. SECTION 15 — PRICING / OFFER
   ========================================================================== */
.pricing-section {
  padding: var(--section-py-mobile) 0;
  background: var(--color-bg);
}

.pricing-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 2px solid #582C8B;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pricing-card-header {
  background-color: #582C8B;
  color: #FFFFFF;
  padding: 24px 20px;
  text-align: center;
}

.pricing-card-header h3 {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pricing-card-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.pricing-price-block {
  padding: 28px 20px;
  text-align: center;
  background-color: #FDF8FA;
  border-bottom: 1px solid #F3E8FF;
}

.pricing-original {
  font-size: 16px;
  color: #64748B;
  text-decoration: line-through;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-current {
  font-size: 52px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #582C8B;
  line-height: 1;
  margin: 6px 0 12px 0;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pricing-badge span {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
}

.pricing-badge .off-badge {
  background-color: #E11D48;
  color: #FFFFFF;
}

.pricing-badge .save-badge {
  background-color: #16A34A;
  color: #FFFFFF;
}

.pricing-fire {
  font-size: 16px;
  font-weight: 700;
  color: #582C8B;
  margin-top: 4px;
}

.pricing-card-body {
  padding: 24px;
}

.pricing-features {
  margin-bottom: 24px;
}

.pricing-features h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.pricing-features ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.pricing-features li .check {
  color: var(--color-success);
  flex-shrink: 0;
}

.pricing-access {
  margin-bottom: 24px;
}

.pricing-access h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.pricing-access ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-access li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.pricing-cta-area {
  text-align: center;
}

.pricing-cta-area .btn-primary {
  width: 100%;
  justify-content: center;
}

.pricing-trust-line {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-secondary);
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   21. SECTION 16 — FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: var(--section-py-mobile) 0;
  background: var(--color-bg-subtle);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #FEFCE8;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  background: #FEF9C3;
  border-color: #F59E0B;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.14);
}

.faq-item.active {
  background: #FFFBEB;
  border-color: #EAB308;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.18);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  background: transparent;
  border: none;
  line-height: 1.4;
}

.faq-question:hover {
  color: #B45309;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
  color: #78350F;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #D97706;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 20px 16px;
}

.faq-answer-inner p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: none;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-answer-inner ul {
  margin: 8px 0;
  padding-left: 4px;
}

.faq-answer-inner li {
  font-size: 14px;
  color: var(--color-text-secondary);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.faq-answer-inner li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: 700;
}

.faq-answer-inner strong {
  color: var(--color-text-primary);
}

.faq-answer-inner em {
  color: var(--color-primary);
  font-style: normal;
  font-weight: 600;
}

/* ==========================================================================
   22. SECTION 17 — FINAL CTA
   ========================================================================== */
.final-cta-section {
  padding: var(--section-py-mobile) 0;
  background: var(--color-dark-bg);
  color: white;
}

.final-cta-section .section-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.final-cta-section h2 {
  color: white;
}

.final-cta-section p {
  color: var(--color-dark-text-secondary);
}

.final-cta-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.achieve-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.achieve-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark-text-secondary);
}

.achieve-item .check {
  color: var(--color-success);
  flex-shrink: 0;
}

.final-offer-highlight {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-card);
  padding: 24px;
  margin: 24px 0;
  text-align: center;
}

.final-offer-highlight .offer-fire {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.final-offer-highlight .offer-sub {
  font-size: 14px;
  color: var(--color-dark-text-secondary);
}

.final-cta-section .btn-primary {
  margin: 0 auto;
}

.final-trust-line {
  margin-top: 20px;
  font-size: 13px;
  color: var(--color-dark-text-secondary);
  text-align: center;
}

/* ==========================================================================
   23. SECTION 18 — SECURE PURCHASE
   ========================================================================== */
.secure-section {
  padding: var(--section-py-mobile) 0;
  background: var(--color-bg);
}

.trust-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.trust-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-card);
}

.trust-point-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-point h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-primary);
}

.trust-point p {
  font-size: 13px;
  line-height: 1.5;
}

.trust-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-card);
  margin-bottom: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.digital-access-line {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   24. SECTION 19 — FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-dark-bg);
  color: white;
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--color-dark-text-secondary);
  line-height: 1.6;
  margin-top: 12px;
}

.footer-brand .footer-tagline {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 14px;
  color: var(--color-dark-text-secondary);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--color-dark-text-secondary);
}

/* ==========================================================================
   25. STICKY MOBILE CTA BAR
   ========================================================================== */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 10px var(--container-px);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-cta-bar .btn-primary {
  width: 100%;
  max-width: 400px;
  justify-content: center;
  padding: 14px 24px;
  font-size: 15px;
}

/* Ensure body has bottom padding so content isn't hidden behind sticky CTA */
body {
  padding-bottom: 72px;
}

/* ==========================================================================
   26. RESPONSIVE — TABLET (768px+)
   ========================================================================== */
@media (min-width: 768px) {

  /* Typography scale up */
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  body {
    font-size: 16px;
  }

  p {
    font-size: 16px;
  }

  :root {
    --container-px: 32px;
  }

  /* Hero */
  .hero {
    padding: 16px 0 40px 0;
  }


  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .hero-cta-group {
    flex-direction: row;
    gap: 12px;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline {
    width: auto;
  }

  .hero-content {
    order: 1;
    text-align: left;
    align-items: flex-start;
  }

  .hero-visual {
    order: 2;
    align-items: flex-start;
  }

  .hero-social-proof-header {
    justify-content: flex-start;
  }

  .hero-micro-trust {
    text-align: left;
    justify-content: flex-start;
  }

  .hero-eyebrow-container {
    align-items: flex-start;
  }

  .hero-eyebrow-primary {
    font-size: 12px;
    padding: 5px 14px;
  }

  .subject-chip {
    font-size: 11px;
    padding: 4px 12px;
  }




  .hero-visual {
    order: 2;
  }

  .hero-cta-group {
    flex-direction: row;
  }

  /* Trust bar */
  .hero-feature-card {
    padding: 20px;
  }

  .hero-feature-card .card-header h3 {
    font-size: 22px;
  }

  .trust-pill {
    font-size: 12px;
  }

  .card-text .title {
    font-size: 15px;
  }

  .card-text .subtitle {
    font-size: 11px;
  }

  .trust-items {
    gap: 32px;
  }

  /* Problem grid */
  .problems-section {
    padding: 56px 16px;
  }

  .warning-pill {
    font-size: 12px;
    padding: 6px 14px;
  }

  .main-headline {
    font-size: 34px;
  }

  .sub-hook {
    font-size: 16px;
  }

  .sub-cta {
    font-size: 15px;
  }

  @media (max-width: 1024px) {

    .problems-grid,
    .solution-grid,
    .everything-blocks,
    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 640px) {

    .problems-section,
    .solution-section,
    .everything-section {
      padding: 36px 16px;
    }

    .problems-grid,
    .solution-grid,
    .everything-blocks {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    .problem-card,
    .solution-card {
      padding: 22px 18px;
    }

    .solution-cta-btn {
      padding: 12px 28px;
      max-width: 320px;
      width: 100%;
    }
  }

  /* Solution grid */
  .solution-section {
    padding: var(--section-py) 0;
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Everything blocks */
  .everything-section {
    padding: var(--section-py) 0;
  }

  .everything-blocks {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Coverage */
  .coverage-section {
    padding: var(--section-py) 0;
  }

  /* Subjects slider */
  .subjects-section {
    padding: var(--section-py) 0;
  }

  .subject-card {
    flex: 0 0 280px;
  }

  /* Compare table */
  .compare-section {
    padding: var(--section-py) 0;
  }

  /* Who section */
  .who-section {
    padding: var(--section-py) 0;
  }

  /* How it works */
  .how-section {
    padding: var(--section-py) 0;
  }

  .steps-container {
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
  }

  .step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
  }

  .step-connector {
    display: none;
  }

  /* Testimonials */
  .testimonials-section {
    padding: var(--section-py) 0;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Stats grid */
  .stats-section {
    padding: var(--section-py) 0;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  /* Pricing */
  .pricing-section {
    padding: var(--section-py) 0;
  }

  /* FAQ */
  .faq-section {
    padding: var(--section-py) 0;
  }

  .faq-question {
    font-size: 16px;
  }

  /* Final CTA */
  .final-cta-section {
    padding: var(--section-py) 0;
  }

  /* Secure */
  .secure-section {
    padding: var(--section-py) 0;
  }

  .trust-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
  }

  /* Mobile CTA bar hidden on tablet+ */
  .mobile-cta-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  /* Hamburger hidden on tablet+ */
  .hamburger-btn {
    display: none;
  }

  /* Desktop nav visible */
  .desktop-nav {
    display: flex;
  }
}

/* ==========================================================================
   SECTION 10: COMPARE BEFORE YOU CHOOSE
   ========================================================================== */
.compare-section {
  padding: 64px 0;
  background-color: #FFFFFF;
}

/* Desktop Table Wrapper */
.compare-table-wrapper {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-top: 32px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th {
  padding: 20px 24px;
  background: #F8FAFC;
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  border-bottom: 2px solid #E2E8F0;
}

.compare-table th.col-ours {
  background: #ECFDF5;
  border-bottom: 2px solid #A7F3D0;
  position: relative;
  vertical-align: bottom;
  padding-top: 36px;
}

.compare-table th .rec-badge {
  position: absolute;
  top: 10px;
  left: 24px;
  font-size: 11px;
  font-weight: 800;
  color: #047857;
  background: #FFFFFF;
  border: 1px solid #6EE7B7;
  padding: 2px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  box-shadow: 0px 4px 12px rgba(5, 150, 105, 0.15);
}

.compare-table th .col-title {
  font-size: 16px;
  font-weight: 800;
  color: #047857;
}

.compare-table th.col-others .col-title {
  color: #64748B;
}

.compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 14px;
  color: #475569;
}

.compare-table td.feature-label {
  font-weight: 700;
  color: #0F172A;
  width: 25%;
}

.compare-table td.col-ours {
  background: #F0FDF4;
  font-weight: 700;
  color: #047857;
  width: 40%;
}

.compare-table td.col-others {
  background: #F8FAFC;
  color: #64748B;
  width: 35%;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* Mobile Split-Card Comparison Stacks */
.compare-mobile-cards {
  display: none;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.compare-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.03);
}

.compare-card-feature {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 14px;
}

.compare-winner-box {
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.compare-winner-box .box-header {
  font-size: 13px;
  font-weight: 800;
  color: #047857;
  margin-bottom: 4px;
}

.compare-winner-box .box-text {
  font-size: 14px;
  font-weight: 700;
  color: #065F46;
}

.compare-loser-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
}

.compare-loser-box .box-header {
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 4px;
}

.compare-loser-box .box-text {
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
}

/* Responsive Toggle (< 768px) */
@media (max-width: 767px) {
  .compare-table-wrapper {
    display: none;
  }

  .compare-mobile-cards {
    display: flex;
  }
}

/* ==========================================================================
   SECTION 13: STUDENT TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: 64px 0;
  background-color: #F8FAFC;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #A7F3D0;
  box-shadow: 0px 12px 28px rgba(5, 150, 105, 0.12);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.testimonial-rating {
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-badge {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 9999px;
  padding: 3px 10px;
}

.testimonial-quote {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  font-style: italic;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.testimonial-author {
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
}

.author-name {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
}

.author-tag {
  font-size: 12px;
  font-weight: 500;
  color: #64748B;
  margin-top: 2px;
}

/* Mobile Horizontal Swipe Carousel (< 768px) */
@media (max-width: 767px) {
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    min-width: 85%;
    max-width: 85%;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   SECTION 11: WHO IS THIS FOR
   ========================================================================== */
.who-section {
  padding: 64px 0;
  background-color: #FFFFFF;
}

.who-section .section-header h2,
.who-section .main-headline {
  color: #0F172A !important;
  text-align: center;
}

.who-grid,
.who-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 36px;
}

@media (min-width: 768px) {

  .who-grid,
  .who-groups {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.who-card,
.who-card-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.who-card:hover,
.who-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0px 12px 24px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.who-card-icon,
.who-icon-badge {
  width: 48px;
  height: 48px;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 16px auto;
  /* Centers the icon badge horizontally */
  flex-shrink: 0;
}

.who-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px 0;
  text-align: left;
}

.who-card-body {
  font-size: 14px;
  font-weight: 400;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.who-exam-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.who-exam-list li {
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-emerald {
  color: #059669;
  font-weight: 800;
}

@media (max-width: 767px) {
  .who-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .who-card {
    padding: 20px;
  }
}

.final-trust-line {
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
  text-align: center;
  margin-top: 14px;
  line-height: 1.4;
}

/* ==========================================================================
   SECTION 12: HOW IT WORKS (3-Step Process)
   ========================================================================== */
.how-it-works-section {
  padding: 64px 0;
  background-color: #FAFAFA;
}

.how-it-works-section .section-header h2 {
  color: #0F172A;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 36px;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.06);
  border-color: #CBD5E1;
}

.step-number-badge {
  width: 44px;
  height: 44px;
  background-color: #ECFDF5;
  color: #059669;
  font-weight: 800;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* App Pills */
.payment-icons-row {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.app-pill {
  background: #F1F5F9;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Micro-Trust Tags */
.step-trust-tag {
  margin-top: auto;
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 6px 10px;
  border-radius: 8px;
  width: 100%;
}

/* ==========================================================================
   SECTION 4: SOCIAL PROOF & STATS GRID
   ========================================================================== */
.stats-section {
  padding: 64px 0;
  background-color: #F8FAFC;
}

/* Section Header Color Overrides */
.stats-section .section-header h2 {
  color: #0F172A !important;
  /* Deep Charcoal - Visible */
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin: 12px 0 6px 0;
}

.stats-section .section-subtitle {
  color: #475569 !important;
  /* Slate Gray - Visible */
  font-size: 15px;
  text-align: center;
  margin-bottom: 28px;
}

/* 4-Column Single Row Desktop Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px;
  }
}

/* Compact Aesthetic Card Styling */
.stat-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  height: 100%;
  box-shadow: 0px 4px 12px rgba(15, 23, 42, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.06);
  border-color: #CBD5E1;
}

/* Reduced Balanced Number Size */
.stat-card .stat-number {
  color: #059669;
  /* Emerald Green */
  font-size: 30px;
  /* Reduced for clean balance */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .stat-card .stat-number {
    font-size: 34px;
  }
}

.stat-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.stat-card p {
  font-size: 13px;
  color: #64748B;
  line-height: 1.4;
  margin: 0;
}

.accuracy-trust-pill {
  max-width: 620px;
  margin: 24px auto 0 auto;
  padding: 10px 20px;
  background-color: #ECFDF5;
  /* Soft Mint Background */
  border: 1px solid #A7F3D0;
  /* Crisp Emerald Border */
  border-radius: 50px;
  /* Modern Pill Shape */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  /* Wraps cleanly on small mobile screens */
  box-shadow: 0px 2px 8px rgba(5, 150, 105, 0.08);
}

.accuracy-trust-pill .pill-highlight {
  font-weight: 700;
  color: #047857;
  font-size: 13px;
}

.accuracy-trust-pill .pill-divider {
  color: #059669;
  font-weight: bold;
}

.accuracy-trust-pill .pill-text {
  font-weight: 600;
  color: #065F46;
  font-size: 13px;
}

/* Mobile Adjustment */
@media (max-width: 600px) {
  .accuracy-trust-pill {
    border-radius: 12px;
    /* Soft box on mobile */
    text-align: center;
    padding: 10px 14px;
    gap: 6px;
  }

  .accuracy-trust-pill .pill-divider {
    display: none;
    /* Hide dot divider when stacked */
  }
}



/* ==========================================================================
   27. RESPONSIVE — DESKTOP (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  /* Hero */
  .hero {
    padding: 80px 0;
  }

  .hero-grid {
    gap: 56px;
  }

  .hero-visual .img-placeholder {
    min-height: 400px;
  }

  /* Problem grid 3x2 */
  .problems-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Solution grid 3x2 */
  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Slider arrows visible */
  .slider-arrows {
    display: block;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Trust points */
  .trust-points {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   SCROLL-TRIGGERED SITEWIDE STICKY CTA BAR (50% Scroll Trigger)
   ========================================================================== */
body {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
}

.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0px -4px 14px rgba(15, 23, 42, 0.08);
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

  /* Hidden by default until 50% scroll */
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container width cap on larger screens (laptop/desktop) */
@media (min-width: 768px) {
  .mobile-sticky-cta {
    padding: 12px 32px;
    max-width: 1100px;
    left: 50%;
    transform: translate(-50%, 100%);
    border-radius: 14px 14px 0 0;
    border-left: 1px solid #E2E8F0;
    border-right: 1px solid #E2E8F0;
  }

  .mobile-sticky-cta.is-visible {
    transform: translate(-50%, 0);
  }
}

/* Active Class added via JS on 50% scroll */
.mobile-sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
  .mobile-sticky-cta.is-visible {
    transform: translate3d(0, 0, 0);
  }
}

/* Price Stack */
.sticky-price-block {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.sticky-price-block .original-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sticky-price-block .original-price {
  font-size: 11px;
  color: #94A3B8;
  text-decoration: line-through;
}

.sticky-price-block .save-tag {
  font-size: 10px;
  font-weight: 700;
  color: #059669;
}

.sticky-price-block .current-price {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
}

/* Hot Pink CTA Button */
.btn-sticky-pink {
  background-color: #D81B60;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0px 4px 14px rgba(216, 27, 96, 0.3);
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-sticky-pink:hover {
  background-color: #C2185B;
  box-shadow: 0px 6px 18px rgba(216, 27, 96, 0.4);
}

.btn-sticky-pink:active {
  transform: scale(0.96);
  background-color: #C2185B;
}

/* ==========================================================================
   28. RESPONSIVE — LARGE DESKTOP (1440px+)
   ========================================================================== */
@media (min-width: 1440px) {
  :root {
    --container-px: 40px;
  }
}

/* FAQ Physical Book Callout & Highlights */
.faq-divider {
  border: 0;
  height: 1px;
  background-color: #E2E8F0;
  margin: 16px 0;
}

.physical-book-callout {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
}

.physical-book-callout p {
  color: #334155 !important;
  font-size: 14px;
  margin-bottom: 8px;
}

.physical-book-callout ul {
  margin: 0 0 12px 20px;
  padding: 0;
}

.physical-book-callout li {
  font-size: 13px;
  color: #475569;
  margin-bottom: 4px;
}

.whatsapp-highlight {
  color: #059669;
  font-weight: 800;
  font-size: 15px;
}

.faq-poster-wrap {
  margin: 20px auto;
  max-width: 460px;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0px 6px 20px rgba(15, 23, 42, 0.10);
  background: #FFFFFF;
}

.faq-poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Final Pre-Footer CTA Section */
.final-cta-section {
  padding: 64px 0;
  background-color: #FFFFFF;
}

.final-cta-card {
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(180deg, #FEF3C7 0%, #FFFBEB 100%);
  border: 2px solid #FCD34D;
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0px 10px 32px rgba(217, 119, 6, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta-card h2 {
  color: #0F172A !important;
  font-size: 28px;
  font-weight: 800;
  margin: 14px 0 10px 0;
}

.final-cta-body {
  font-size: 15px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 560px;
}

.final-benefits-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  text-align: left;
  width: 100%;
  max-width: 540px;
}

@media (max-width: 600px) {
  .final-benefits-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.final-benefits-grid li {
  font-size: 14px;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 8px;
}

.final-price-anchor {
  margin-bottom: 24px;
}

.final-price-anchor .offer-fire {
  font-size: 20px;
  font-weight: 800;
  color: #B45309;
}

.final-price-anchor .per-subject-tag {
  font-size: 14px;
  color: #D97706;
  font-weight: 600;
  margin-top: 2px;
}

.final-cta-btn-wrap {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-yellow-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #D81B60;
  color: #FFFFFF !important;
  font-size: 17px;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0px 6px 20px rgba(216, 27, 96, 0.35);
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
}

.btn-yellow-cta:hover {
  background-color: #C2185B;
  transform: translateY(-2px);
  box-shadow: 0px 8px 24px rgba(216, 27, 96, 0.45);
}

.final-trust-line {
  font-size: 12px;
  color: #78350F;
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   DEDICATED MOBILE LAYOUTS (<768px) — RESPONSIVE QA PASS
   ========================================================================== */
@media (max-width: 767px) {
  /* 1. Header & Navigation */
  .site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-top: env(safe-area-inset-top, 0px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
  }

  .header-inner {
    min-height: 52px;
    padding: 6px 16px;
    gap: 16px;
    align-items: center;
  }

  .header-logo-img,
  .site-header img,
  .header-inner img {
    height: 42px !important;
    max-height: 42px !important;
    width: auto !important;
    object-fit: contain;
  }

  .logo,
  .header-inner .logo {
    min-height: 42px;
    display: flex;
    align-items: center;
  }

  .btn-header-cta {
    height: 38px;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
  }

  /* 2. Hero Dedicated Mobile Layout */
  .hero {
    padding: 12px 0 24px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hero-mockup-card {
    max-width: 100%;
    margin-top: 12px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline {
    width: 100%;
  }

  /* 3. Section Vertical Rhythm (Normalized 8px Spatial Grid) */
  .stats-section,
  .coverage-section,
  .subjects-section,
  .how-it-works-section,
  .testimonials-section,
  .faq-section,
  .final-cta-section {
    padding: 32px 0;
  }

  /* 4. Feature Cards & Blueprint Layout */
  .stat-card,
  .unit-tally-card,
  .subject-card,
  .step-card,
  .pricing-card {
    height: auto;
  }

  .hero-benefits-list li,
  .final-benefits-grid li {
    align-items: flex-start;
  }

  .hero-benefits-list .check-icon,
  .final-benefits-grid li span {
    margin-top: 2px;
    flex-shrink: 0;
  }

  /* 5. Dedicated Mobile Comparison Layout */
  .compare-table-wrapper {
    display: none;
  }

  .compare-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* 6. Pricing Mobile Reflow */
  .pricing-card,
  .hero-pricing-box,
  .primary-cta-card {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
  }

  /* 7. FAQ Mobile Touch Targets */
  .faq-card,
  .faq-question {
    min-height: 48px;
  }

  /* 8. Compact Mobile Footer */
  .site-footer {
    padding: 24px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-bottom {
    padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   29. PRINT STYLES
   ========================================================================== */
@media print {

  .site-header,
  .announcement-bar,
  .top-announcement-bar,
  .mobile-cta-bar,
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }

  body {
    padding-bottom: 0;
  }
}

/* ==========================================================================
   X. ACCESSIBILITY & PERFORMANCE PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Y. MARQUEE / INFINITE SCROLL ANIMATION
   (Moved from inline <style> in HTML body — was in testimonials section)
   ========================================================================== */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* Marquee wrapper: rendering isolation for GPU compositing */
.marquee-outer {
  width: 100%;
  overflow: hidden;
  position: relative;
  contain: layout style paint;
}

/* ==========================================================================
   Z1. 480px BREAKPOINT — Small phones (iPhone SE, older Android)
   ========================================================================== */
@media (max-width: 480px) {
  .hero {
    padding: 8px 0 28px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card {
    padding: 16px 10px;
  }

  .stat-number {
    font-size: 26px;
  }

  .unit-tally-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 8px;
  }

  .unit-title-group {
    align-items: center;
    text-align: center;
  }

  .btn-primary-cta {
    font-size: 15px;
    padding: 13px 18px;
  }

  .hero-social-proof-header {
    justify-content: center;
  }

  .hero-micro-trust {
    justify-content: center;
    font-size: 11px;
  }

  .pricing-current {
    font-size: 42px;
  }

  .coverage-tally-banner {
    padding: 16px;
  }

  .tally-math-box {
    font-size: 12px;
    padding: 10px 14px;
  }
}

/* ==========================================================================
   Z2. 320px BREAKPOINT — Very small phones
   ========================================================================== */
@media (max-width: 360px) {
  html {
    font-size: 14px;
  }

  .header-inner {
    padding: 6px 12px;
    gap: 8px;
  }

  .btn-header-cta {
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline {
    font-size: 14px;
    padding: 11px 18px;
  }

  .faq-question {
    font-size: 13px;
    padding: 13px 14px;
  }

  .pricing-current {
    font-size: 36px;
  }

  .grand-total-summary-card {
    padding: 14px 16px;
  }
}

/* ==========================================================================
   Z3. STICKY CTA BAR — Safe-area & proper visibility
   ========================================================================== */
#sticky-cta-bar {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

#sticky-cta-bar > div {
  padding-bottom: calc(0.45rem + env(safe-area-inset-bottom, 0px));
}

/* ==========================================================================
   Z4. FOCUS IMPROVEMENTS — Better keyboard accessibility
   ========================================================================== */
.faq-question:focus-visible {
  outline: 2px solid var(--color-brand-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-header-cta:focus-visible,
.btn-primary-cta:focus-visible {
  outline: 3px solid var(--color-brand-blue);
  outline-offset: 3px;
}

.hamburger-btn:focus-visible {
  outline: 2px solid var(--color-brand-blue);
  outline-offset: 2px;
}

.mobile-menu-close:focus-visible {
  outline: 2px solid var(--color-brand-blue);
  outline-offset: 2px;
}

.desktop-nav a:focus-visible {
  outline: 2px solid var(--color-action-pink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Z5. FAQ ADDITIONAL STYLES
   ========================================================================== */
.faq-divider {
  border: none;
  border-top: 1px solid #E2E8F0;
  margin: 14px 0;
}

.physical-book-callout {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 12px;
}

.physical-book-callout p {
  font-size: 14px;
  margin-bottom: 8px;
  max-width: none;
}

.physical-book-callout ul {
  padding-left: 4px;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.physical-book-callout li {
  font-size: 13px;
  color: #475569;
  position: relative;
  padding-left: 18px;
}

.physical-book-callout li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
}


.faq-steps-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  list-style: none;
  margin: 12px 0;
}

.faq-steps-list li {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
  padding-left: 0;
  position: static;
}

.faq-steps-list li::before {
  display: none;
}

.whatsapp-highlight {
  color: #059669;
  font-weight: 800;
  background: #ECFDF5;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #A7F3D0;
}

/* ==========================================================================
   Z6. HOW-IT-WORKS SECTION STYLES
   ========================================================================== */
.how-it-works-section {
  padding: 64px 0;
  background-color: #FAFAFA;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(88, 44, 139, 0.1);
  border-color: #C084FC;
}

.step-number-badge {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #582C8B 0%, #7C3AED 100%);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(88, 44, 139, 0.25);
  flex-shrink: 0;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 8px 0;
}

.step-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 16px 0;
  max-width: none;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-icons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.app-pill {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}

.step-trust-tag {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 12px;
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  margin-top: auto;
}

.how-it-works-step-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 14px;
  border: 1px solid #E2E8F0;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* ==========================================================================
   Z7. PROBLEMS SECTION (responsive grid fix)
   ========================================================================== */
@media (max-width: 767px) {
  .problems-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .everything-blocks {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Z8. FOOTER SOCIAL ICONS — CSS-only hover (replaces inline JS handlers)
   ========================================================================== */
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #1E293B;
  border-radius: 50%;
  border: 1px solid #334155;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  color: #94A3B8;
  flex-shrink: 0;
}

.footer-social-icon:hover {
  transform: scale(1.12);
  background: #293547;
}

.footer-social-icon--telegram {
  color: #38BDF8;
}

.footer-social-icon--telegram:hover {
  background: #0C4A6E;
  color: #7DD3FC;
}

.footer-social-icon--youtube {
  color: #FF4545;
}

.footer-social-icon--youtube:hover {
  background: #450A0A;
  color: #FCA5A5;
}

.footer-social-icon--whatsapp {
  color: #22C55E;
}

.footer-social-icon--whatsapp:hover {
  background: #064E3B;
  color: #6EE7B7;
}

.footer-social-icon--instagram {
  color: #E1306C;
}

.footer-social-icon--instagram:hover {
  background: #4A044E;
  color: #F9A8D4;
}

/* ==========================================================================
   Z9. FINAL CTA BUTTON — CSS-only hover (replaces inline JS + inline style)
   ========================================================================== */
.final-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  background-color: #DB2777;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 1.15rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(219, 39, 119, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.final-cta-btn:hover {
  transform: translateY(-2px);
  background-color: #BE185D;
  color: #FFFFFF;
}

.final-cta-btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   Z10. STICKY BAR CTA BUTTON — CSS hover (replaces inline JS handlers)
   ========================================================================== */
#sticky-cta-bar a[href*="razorpay"] {
  transition: all 0.2s ease-in-out;
}

#sticky-cta-bar a[href*="razorpay"]:hover {
  background-color: #BE123C !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   Z11. ACCESSIBILITY & CORE WEB VITALS OPTIMIZATIONS
   ========================================================================== */

/* Minimum Touch Target Size (WCAG 2.1 AA 44x44px Target Size) */
button,
a,
.btn-primary,
.btn-outline,
.btn-header-cta,
.hamburger-btn,
.mobile-menu-close,
.faq-question,
.slider-arrow {
  min-height: 44px;
  min-width: 44px;
}

/* High Contrast Adjustments */
.trust-bullet {
  color: #64748B;
}

.strikethrough-price {
  color: #64748B;
}

/* Prevent CLS on Dynamic Content & Images */
img {
  content-visibility: auto;
}

/* GPU Accelerated Smooth Rendering */
.site-header,
.mobile-menu,
#sticky-cta-bar {
  will-change: transform;
}

/* ==========================================================================
   Z12. PERFORMANCE UTILITY CLASSES
   ========================================================================== */

/* content-visibility: auto — Skip rendering off-screen sections until needed */
.cv-auto {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* ==========================================================================
   Z13. REUSABLE COMPONENT CLASSES (replaces repeated inline style="" patterns)
   ========================================================================== */

/* Marquee phone frame card (used 40+ times for WA reviews & how-it-works) */
.phone-frame {
  background: #020617;
  border: 4px solid #334155;
  border-radius: 24px;
  padding: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  object-fit: contain;
}

/* Marquee slot item (flex card inside marquee tracks) */
.marquee-item {
  flex: 0 0 auto;
  width: 260px;
}

/* Fade edge overlays (used 3× in marquee sections) */
.fade-edge-left,
.fade-edge-right {
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.fade-edge-left {
  left: 0;
  background: linear-gradient(to right, #FFFFFF, transparent);
}

.fade-edge-right {
  right: 0;
  background: linear-gradient(to left, #FFFFFF, transparent);
}

/* Subject card stat mini-box (used 20+ times in subject slider) */
.stat-mini-box {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.6rem 0.5rem;
  text-align: center;
}

.stat-mini-box-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0F172A;
}

.stat-mini-box-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
}

/* Subject card grid of mini stat boxes */
.stat-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* Sample PDF button on subject cards */
.btn-sample-pdf {
  width: 100%;
  background-color: #059669;
  color: #FFFFFF;
  border: none;
  padding: 0.7rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-sample-pdf:hover {
  background-color: #047857;
  transform: translateY(-1px);
}

/* Sticky CTA bar button */
.sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #E11D48;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
  white-space: nowrap;
}

.sticky-cta-btn:hover {
  background-color: #BE123C;
  transform: translateY(-1px);
}

/* Glowing dot: used in hero eyebrow badges */
.glowing-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2563EB;
  box-shadow: 0 0 6px 2px rgba(37, 99, 235, 0.4);
  animation: glow-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 6px 2px rgba(37, 99, 235, 0.4); }
  50%       { box-shadow: 0 0 10px 4px rgba(37, 99, 235, 0.6); }
}

