  <style>
    /* ── DARK MODE (default) ── */
    :root,
    [data-theme="dark"] {
      --primary: #3B82F6;
      --primary-dark: #2563EB;
      --primary-glow: rgba(59, 130, 246, 0.15);
      --accent: #F5A623;
      --navy: #0F0E17;
      --navy-2: #181724;
      --navy-3: #201F30;
      --card: #13152A;
      --card-border: rgba(255, 255, 255, 0.06);
      --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3);
      --card-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.4), 0 16px 40px rgba(0, 0, 0, 0.4);
      --white: #FFFFFF;
      --muted: rgba(255, 255, 255, 0.62);
      --text: rgba(255, 255, 255, 0.88);
      --nav-bg: rgba(15, 14, 23, 0.75);
      --nav-border: rgba(255, 255, 255, 0.07);
      --shadow: rgba(0, 0, 0, 0.45);
      /* legacy aliases */
      --indigo: var(--primary);
      --indigo-dark: var(--primary-dark);
      --indigo-glow: var(--primary-glow);
      --amber: var(--accent);
    }

    /* ── LIGHT MODE ── */
    [data-theme="light"] {
      --primary: #1A1A2E;
      --primary-dark: #0e0e20;
      --primary-glow: rgba(26, 26, 46, 0.12);
      --accent: #8a6000;
      --navy: #F8F7F4;
      --navy-2: #EEECEA;
      --navy-3: #E2E0DC;
      --card: #FFFFFF;
      --card-border: rgba(0, 0, 0, 0.06);
      --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
      --card-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.04), 0 8px 16px rgba(0, 0, 0, 0.08), 0 16px 40px rgba(0, 0, 0, 0.08);
      --white: #1A1A2E;
      --muted: rgba(26, 26, 46, 0.62);
      --text: rgba(26, 26, 46, 0.88);
      --nav-bg: rgba(248, 247, 244, 0.82);
      --nav-border: rgba(26, 26, 46, 0.1);
      --shadow: rgba(26, 26, 46, 0.12);
      --indigo: var(--primary);
      --indigo-dark: var(--primary-dark);
      --indigo-glow: var(--primary-glow);
      --amber: var(--accent);
    }

    /* Light mode specific tweaks */
    [data-theme="light"] body::before {
      opacity: 0.06;
    }

    [data-theme="light"] .pain-card:hover {
      border-color: rgba(255, 107, 53, 0.25);
    }

    [data-theme="light"] .comp-row div:first-child {
      color: rgba(26, 26, 46, 0.35);
      border-right-color: rgba(26, 26, 46, 0.07);
    }

    [data-theme="light"] .comp-header div:first-child {
      color: rgba(26, 26, 46, 0.35);
      border-right-color: rgba(26, 26, 46, 0.08);
    }

    [data-theme="light"] .comp-row:nth-child(odd) div {
      background: rgba(26, 26, 46, 0.02);
    }

    [data-theme="light"] .pain-card {
      border-color: rgba(26, 26, 46, 0.08);
    }

    [data-theme="light"] .btn-secondary {
      background: rgba(26, 26, 46, 0.04);
      border-color: rgba(26, 26, 46, 0.15);
    }

    [data-theme="light"] .btn-secondary:hover {
      background: rgba(26, 26, 46, 0.08);
      border-color: var(--primary);
    }

    [data-theme="light"] .btn-ghost {
      border-color: rgba(26, 26, 46, 0.15);
      color: var(--text);
    }

    [data-theme="light"] .btn-ghost:hover {
      border-color: var(--primary);
      background: rgba(26, 26, 46, 0.04);
    }

    [data-theme="light"] .lang-toggle {
      background: rgba(26, 26, 46, 0.06);
      border-color: rgba(26, 26, 46, 0.12);
    }

    [data-theme="light"] .lang-toggle:hover {
      border-color: var(--primary);
    }

    [data-theme="light"] .feature-card {
      border-color: rgba(26, 26, 46, 0.08);
    }

    [data-theme="light"] .ticker-wrap {
      background: rgba(26, 26, 46, 0.03);
      border-color: rgba(26, 26, 46, 0.1);
    }

    [data-theme="light"] .stat-item {
      border-right-color: rgba(26, 26, 46, 0.08);
    }

    [data-theme="light"] .stats-bar {
      border-bottom-color: rgba(26, 26, 46, 0.08);
    }

    [data-theme="light"] .pricing-card {
      border-color: rgba(26, 26, 46, 0.1);
      box-shadow: 0 4px 20px rgba(26, 26, 46, 0.07);
    }

    [data-theme="light"] .cta-input {
      background: rgba(26, 26, 46, 0.04);
      border-color: rgba(26, 26, 46, 0.15);
    }

    [data-theme="light"] .proof-card {
      border-color: rgba(26, 26, 46, 0.08);
    }

    [data-theme="light"] footer {
      border-top-color: rgba(26, 26, 46, 0.1);
    }

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

    :focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 2px;
      border-radius: 4px;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--navy);
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
      transition: background 0.3s ease, color 0.3s ease;
    }

    h1,
    h2,
    h3,
    h4 {
      font-family: 'Bricolage Grotesque', sans-serif;
    }

    /* ── NOISE OVERLAY ── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 0;
      opacity: 0.4;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 6%;
      transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;

      /* Dark mode nav (default) */
      background: rgba(7, 8, 15, 0.80);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    [data-theme="light"] nav {
      background: rgba(255, 255, 255, 0.72);
      border-bottom: 1px solid rgba(0, 0, 0, 0.06);
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04),
        0 4px 16px rgba(0, 0, 0, 0.04);
    }

    @supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
      nav {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
      }
    }

    @supports not ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
      nav {
        background: rgba(7, 8, 15, 0.97);
      }

      [data-theme="light"] nav {
        background: rgba(255, 255, 255, 0.97);
      }
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: 'Bricolage Grotesque', sans-serif;
      font-weight: 800;
      font-size: 1.25rem;
      color: var(--white);
      text-decoration: none;
    }

    .nav-logo img,
    .nav-logo svg {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.1);
      object-fit: contain;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.2s;
    }

    .nav-links a:hover {
      color: var(--white);
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .lang-toggle {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--muted);
      font-size: 0.78rem;
      padding: 6px 14px;
      border-radius: 20px;
      cursor: pointer;
      transition: all 0.2s;
      font-family: 'DM Sans', sans-serif;
      overflow: hidden;
      position: relative;
    }

    .lang-toggle:hover {
      color: var(--white);
      border-color: var(--primary);
    }

    /* ── THEME TOGGLE ── */
    .theme-toggle {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: var(--muted);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      flex-shrink: 0;
    }

    .theme-toggle:hover {
      background: rgba(255, 255, 255, 0.14);
      color: var(--white);
      transform: rotate(20deg) scale(1.08);
    }

    [data-theme="light"] .theme-toggle {
      background: rgba(26, 26, 46, 0.07);
      border-color: rgba(26, 26, 46, 0.15);
    }

    [data-theme="light"] .theme-toggle:hover {
      background: rgba(26, 26, 46, 0.13);
    }

    .btn-nav {
      background: var(--primary);
      color: #fff;
      border: none;
      padding: 9px 22px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.88rem;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      position: relative;
      overflow: hidden;
    }

    .btn-nav:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
      transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .btn-nav:active {
      transform: translateY(0px) scale(0.98);
      box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
      transition: all 0.1s ease;
    }

    /* ── HERO ── */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 120px 6% 60px;
      position: relative;
      overflow: hidden;
      background: linear-gradient(160deg, #07080F 0%, #0D0E1A 50%, #07080F 100%);
    }

    [data-theme="light"] .hero {
      background: linear-gradient(160deg, #F8F7F4 0%, #FFFFFF 40%, #F5F4F0 100%);
    }

    /* Decorative Blobs */


    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(59, 130, 246, 0.12);
      border: 1px solid rgba(59, 130, 246, 0.3);
      padding: 6px 16px;
      border-radius: 20px;
      font-size: 0.8rem;
      color: var(--indigo);
      margin-bottom: 28px;
      font-weight: 500;
      animation: fadeUp 0.6s ease both;
    }

    .hero-badge span {
      width: 6px;
      height: 6px;
      background: var(--indigo);
      border-radius: 50%;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: 0.4;
        transform: scale(0.8);
      }
    }

    h1.hero-title {
      font-size: clamp(2.4rem, 5.5vw, 4.2rem);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.02em;
      color: var(--white);
      margin-bottom: 12px;
      animation: fadeUp 0.7s 0.1s ease both;
    }

    h1.hero-title .accent {
      color: var(--indigo);
    }

    h1.hero-title .amber {
      color: var(--amber);
    }

    .hero-sub {
      font-size: clamp(1rem, 2vw, 1.2rem);
      color: var(--muted);
      max-width: 60ch;
      margin: 0 auto 36px;
      animation: fadeUp 0.7s 0.2s ease both;
    }

    .hero-ctas {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 48px;
      animation: fadeUp 0.7s 0.3s ease both;
    }

    .waitlist-count {
      font-size: 0.82rem;
      color: var(--muted);
      text-align: center;
      margin-top: -32px;
      margin-bottom: 24px;
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
      border: none;
      padding: 14px 32px;
      border-radius: 10px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 14px var(--primary-glow);
      position: relative;
      overflow: hidden;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
      transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .btn-primary:active {
      transform: translateY(0px) scale(0.98);
      box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
      transition: all 0.1s ease;
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: var(--white);
      padding: 14px 32px;
      border-radius: 10px;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      position: relative;
      overflow: hidden;
    }

    .btn-secondary:hover {
      border-color: var(--indigo);
      background: rgba(59, 130, 246, 0.06);
      transform: translateY(-1px);
      transition: all 0.2s ease;
    }

    .btn-secondary:active {
      transform: translateY(0) scale(0.98);
    }

    .btn-ghost {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--white);
      padding: 14px 32px;
      border-radius: 10px;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      font-family: 'DM Sans', sans-serif;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-ghost:hover {
      border-color: var(--primary);
      background: rgba(59, 130, 246, 0.08);
      transform: translateY(-2px);
    }

    .trust-line {
      font-size: 0.8rem;
      color: var(--muted);
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
      animation: fadeUp 0.7s 0.4s ease both;
      margin-bottom: 48px;
    }

    .trust-line span {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .trust-line .dot {
      color: var(--indigo);
    }

    /* ── TICKER ── */
    .ticker-wrap {
      width: 100%;
      overflow: hidden;
      border-top: 1px solid rgba(59, 130, 246, 0.12);
      border-bottom: 1px solid rgba(59, 130, 246, 0.12);
      background: rgba(59, 130, 246, 0.04);
      padding: 12px 0;
      animation: fadeUp 0.7s 0.5s ease both;
      position: relative;
    }

    .ticker-wrap::before,
    .ticker-wrap::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      width: 80px;
      z-index: 2;
      pointer-events: none;
    }

    .ticker-wrap::before {
      left: 0;
      background: linear-gradient(90deg, var(--navy), transparent);
    }

    .ticker-wrap::after {
      right: 0;
      background: linear-gradient(270deg, var(--navy), transparent);
    }

    [data-theme="light"] .ticker-wrap::before {
      background: linear-gradient(90deg, var(--navy), transparent);
    }

    [data-theme="light"] .ticker-wrap::after {
      background: linear-gradient(270deg, var(--navy), transparent);
    }

    .ticker {
      display: flex;
      gap: 0;
      animation: ticker 36s linear infinite;
      width: max-content;
    }

    .ticker:hover {
      animation-play-state: paused;
    }

    @media (prefers-reduced-motion: reduce) {
      .ticker {
        animation: none;
        overflow-x: auto;
        white-space: nowrap;
      }
    }

    .ticker-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 40px;
      font-size: 0.82rem;
      white-space: nowrap;
      color: var(--muted);
    }

    .ticker-item .live {
      color: var(--amber);
      font-weight: 600;
      animation: livePulse 2s infinite;
    }

    @keyframes livePulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.5;
      }
    }

    .ticker-item .sep {
      color: rgba(59, 130, 246, 0.4);
      margin: 0 0 0 40px;
    }

    @keyframes ticker {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ── STATS BAR ── */
    .stats-bar {
      display: flex;
      justify-content: center;
      gap: 0;
      flex-wrap: wrap;
      padding: 40px 6%;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .stat-item {
      text-align: center;
      padding: 20px 48px;
      border-right: 1px solid rgba(255, 255, 255, 0.07);
    }

    .stat-item:last-child {
      border-right: none;
    }

    .stat-num {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--primary);
    }

    .stat-label {
      font-size: 0.82rem;
      color: var(--muted);
      margin-top: 4px;
    }

    /* ── SECTIONS COMMON ── */
    section {
      padding: 80px 6%;
      position: relative;
    }

    /* Section Overlap Transition */
    section+section {
      margin-top: 0;
      padding-top: 80px;
    }

    .pain-section {
      background: var(--navy-2);
    }

    .solution-section {
      background: var(--navy);
    }

    .urgency-section {
      background: var(--navy-2);
    }

    .features-section {
      background: var(--navy);
    }

    .streaks-section {
      background: var(--navy-2);
    }

    .quiz-duel-section {
      background: var(--navy);
    }

    .science-section {
      background: var(--navy-3);
    }

    .how-section {
      background: var(--navy-2);
    }

    .pricing-section {
      background: var(--navy);
    }

    .proof-section {
      background: var(--navy-2);
    }

    .cta-section {
      background: linear-gradient(to bottom, transparent, var(--navy) 40px), var(--navy);
    }

    .faq-section {
      background: linear-gradient(to bottom, transparent, var(--navy-2) 40px), var(--navy-2);
    }

    /* Section Divider */
    .section-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
      margin: 0 10%;
      position: relative;
      z-index: 10;
    }

    .section-label {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.15em;
      color: var(--primary);
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .section-title {
      font-size: clamp(1.8rem, 3.5vw, 2.8rem);
      font-weight: 800;
      color: var(--white);
      line-height: 1.15;
      margin-bottom: 16px;
      letter-spacing: -0.02em;
      font-family: 'Bricolage Grotesque', sans-serif;
    }

    .section-sub {
      font-size: 1.05rem;
      color: var(--muted);
      max-width: 65ch;
      margin-bottom: 48px;
    }

    /* ── PAIN SECTION ── */
    .pain-section {
      background: var(--navy-2);
    }

    .pain-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 16px;
      max-width: 1100px;
      margin: 0 auto;
    }

    .pain-card {
      background: var(--card);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 14px;
      padding: 24px;
      display: flex;
      gap: 16px;
      align-items: flex-start;
      transition: border-color 0.2s, transform 0.2s;
    }

    .pain-card:hover {
      border-color: rgba(255, 100, 100, 0.3);
      transform: translateY(-2px);
    }

    .pain-emoji {
      font-size: 1.5rem;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .pain-card h4 {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 4px;
      font-family: 'Bricolage Grotesque', sans-serif;
    }

    .pain-card p {
      font-size: 0.85rem;
      color: var(--muted);
      line-height: 1.5;
      max-width: 55ch;
    }

    .pain-close {
      text-align: center;
      margin-top: 40px;
      font-size: 1.1rem;
      color: var(--white);
      font-weight: 500;
    }

    .pain-close span {
      color: var(--primary);
    }

    /* ── SOLUTION ── */
    .solution-section {
      background: var(--navy);
    }

    .comparison-table {
      max-width: 780px;
      margin: 0 auto;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--card-border);
    }

    .comp-header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: var(--card);
    }

    .comp-header div {
      padding: 16px 28px;
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .comp-header div:first-child {
      color: rgba(255, 255, 255, 0.3);
      border-right: 1px solid rgba(255, 255, 255, 0.06);
    }

    .comp-header div:last-child {
      color: var(--primary);
    }

    .comp-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .comp-row div {
      padding: 16px 28px;
      font-size: 0.92rem;
    }

    .comp-row div:first-child {
      color: rgba(255, 255, 255, 0.35);
      border-right: 1px solid rgba(255, 255, 255, 0.05);
      text-decoration: line-through;
    }

    .comp-row div:last-child {
      color: var(--white);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .comp-row div:last-child::before {
      content: '✓';
      color: var(--primary);
      font-weight: 700;
    }

    .comp-row:nth-child(odd) div {
      background: rgba(255, 255, 255, 0.01);
    }

    /* ── URGENCY ── */
    .urgency-section {
      background: linear-gradient(135deg, var(--primary-glow) 0%, var(--navy-2) 60%);
      border-top: 1px solid var(--card-border);
      border-bottom: 1px solid var(--card-border);
    }

    .urgency-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
      max-width: 900px;
      margin: 0 auto 32px;
    }

    .urgency-card {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 14px;
      padding: 24px;
      text-align: center;
      transition: transform 0.2s;
    }

    .urgency-card:hover {
      transform: translateY(-3px);
    }

    .urgency-num {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-size: 2.4rem;
      font-weight: 800;
      color: var(--primary);
    }

    .urgency-label {
      font-size: 0.82rem;
      color: var(--muted);
      margin-top: 6px;
    }

    .urgency-icon {
      font-size: 1.4rem;
      margin-bottom: 8px;
    }

    .urgency-cta {
      text-align: center;
      font-size: 1.05rem;
      color: var(--muted);
      max-width: 60ch;
      margin: 0 auto;
    }

    .urgency-cta strong {
      color: var(--white);
    }

    /* ── FEATURES ── */
    /* ── FEATURES ── */
    .features-section {
      background: var(--navy);
      padding-bottom: 80px;
    }

    .features-hero-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 32px;
      max-width: 1240px;
      margin: 0 auto;
    }

    .hero-feature-card {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 28px;
      padding: 56px 40px;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      text-align: left;
      position: relative;
      overflow: hidden;
      box-shadow: var(--card-shadow);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }

    .hero-feature-card:hover {
      transform: translateY(-4px);
      border-color: var(--primary);
      box-shadow: 0 20px 48px rgba(59, 130, 246, 0.15);
    }

    .hero-feature-icon {
      font-size: 2.5rem;
      margin-bottom: 8px;
      display: block;
      filter: drop-shadow(0 4px 12px var(--primary-glow));
    }

    .hero-feature-card h3 {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--white);
      letter-spacing: -0.01em;
      font-family: 'Bricolage Grotesque', sans-serif;
    }

    .hero-feature-card p {
      font-size: 1.1rem;
      color: var(--muted);
      line-height: 1.6;
    }

    /* Secondary features (collapsible) */
    .features-extra-container {
      max-height: 0;
      overflow: hidden;
      transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
      opacity: 0;
      width: 100%;
    }

    .features-extra-container.expanded {
      max-height: 2000px;
      opacity: 1;
      margin-top: 56px;
    }

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

    .secondary-feature-card {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 12px;
      padding: 14px 18px;
      transition: all 0.25s ease;
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    [data-theme="light"] .secondary-feature-card {
      background: rgba(26, 26, 46, 0.03);
      border-color: rgba(26, 26, 46, 0.08);
    }

    .secondary-feature-card:hover {
      background: rgba(59, 130, 246, 0.04);
      border-color: var(--primary);
      transform: translateY(-2px);
    }

    .secondary-icon {
      font-size: 1.25rem;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .secondary-feature-card h4 {
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 2px;
      font-family: 'DM Sans', sans-serif;
    }

    .secondary-desc {
      font-size: 0.72rem;
      color: var(--muted);
      line-height: 1.4;
      font-weight: 400;
    }

    /* Toggle Button */
    .features-toggle-wrap {
      text-align: center;
      margin-top: 48px;
    }

    .btn-features-toggle {
      background: rgba(59, 130, 246, 0.1);
      border: 1px solid rgba(59, 130, 246, 0.2);
      color: var(--primary);
      padding: 14px 28px;
      border-radius: 30px;
      font-weight: 700;
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: 'DM Sans', sans-serif;
    }

    .btn-features-toggle:hover {
      background: var(--primary);
      color: white;
      transform: scale(1.05);
      box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
    }

    @media (max-width: 992px) {

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

    @media (max-width: 600px) {

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

      .hero-feature-card {
        padding: 32px;
      }
    }

    /* ── LEARNING SCIENCE ── */
    .science-section {
      background: var(--navy-3);
    }

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

    .science-card {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      padding: 36px 28px;
      text-align: left;
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .science-card:hover {
      transform: translateY(-4px);
      border-color: var(--primary);
      box-shadow: 0 12px 32px rgba(59, 130, 246, 0.12);
    }

    .science-card .feature-icon {
      margin-bottom: 20px;
      display: inline-flex;
    }

    .science-card h3 {
      font-size: 1.25rem;
      color: var(--white);
      margin-bottom: 12px;
      font-family: 'Bricolage Grotesque', sans-serif;
    }

    .science-card p {
      font-size: 0.95rem;
      color: var(--muted);
      line-height: 1.5;
    }

    @media (max-width: 900px) {
      .science-grid {
        grid-template-columns: 1fr;
      }
    }

    /* ── HOW IT WORKS ── */
    .how-section {
      background: var(--navy-2);
    }

    .steps-container {
      display: flex;
      gap: 0;
      max-width: 900px;
      margin: 0 auto;
      flex-wrap: wrap;
    }

    .step {
      flex: 1;
      min-width: 240px;
      padding: 32px;
      position: relative;
      text-align: center;
    }

    .step:not(:last-child)::after {
      content: '→';
      position: absolute;
      right: -8px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.4rem;
      color: rgba(59, 130, 246, 0.3);
    }

    .step-num {
      width: 48px;
      height: 48px;
      background: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Bricolage Grotesque', sans-serif;
      font-weight: 800;
      font-size: 1.1rem;
      color: #fff;
      margin: 0 auto 16px;
    }

    .step h3 {
      font-size: 1.05rem;
      color: var(--white);
      margin-bottom: 8px;
      font-family: 'Bricolage Grotesque', sans-serif;
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
    }

    .step p {
      font-size: 0.88rem;
      color: var(--muted);
      max-width: 40ch;
      margin-left: auto;
      margin-right: auto;
    }

    /* ── MOCKUP SECTION ── */
    .mockup-section {
      background: var(--navy);
      padding: 80px 6%;
    }

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

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

    .mockup-frame {
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--card-border);
      background: var(--card);
      aspect-ratio: 9/16;
      max-height: 480px;
    }

    .mockup-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .mockup-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      color: var(--muted);
    }

    .mockup-ph-icon {
      font-size: 2.5rem;
    }

    .mockup-ph-label {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text);
    }

    .mockup-ph-sub {
      font-size: 0.78rem;
      color: var(--muted);
    }

    /* ── PRICING ── */
    .pricing-section {
      background: var(--navy);
    }

    .bonus-section {
      background: var(--navy);
      padding: 80px 0 0;
    }

    /* Billing toggle */
    .billing-toggle {
      display: flex;
      gap: 4px;
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      padding: 4px;
      margin: 0 auto 40px;
      width: fit-content;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .billing-btn {
      padding: 8px 20px;
      border-radius: 9px;
      border: none;
      background: transparent;
      color: var(--muted);
      font-size: 0.85rem;
      font-weight: 500;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      transition: background 0.2s ease, color 0.2s ease;
      white-space: nowrap;
      position: relative;
      overflow: hidden;
    }

    .billing-btn.active {
      background: var(--primary);
      color: white;
      box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    }

    .billing-btn:hover:not(.active) {
      color: var(--white);
      background: rgba(255, 255, 255, 0.06);
    }



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

    @media (max-width: 900px) {
      .pricing-grid-3 {
        grid-template-columns: 1fr;
        max-width: 420px;
      }
    }

    .pricing-card-3 {
      background: var(--card);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 32px 28px;
      display: flex;
      flex-direction: column;
      transition: transform 0.2s;
    }

    .pricing-card-3:hover {
      transform: translateY(-4px);
    }

    [data-theme="light"] .pricing-card-3 {
      box-shadow: 0 4px 20px rgba(26, 26, 46, 0.07);
    }

    .pricing-card-3.featured-3 {
      border-color: var(--primary);
      background: linear-gradient(160deg, rgba(59, 130, 246, 0.07) 0%, var(--card) 60%);
      box-shadow: 0 0 0 1px var(--primary), 0 8px 40px rgba(59, 130, 246, 0.15);
      position: relative;
    }

    .pricing-card-3.featured-3:hover {
      transform: translateY(-4px);
    }

    .pricing-upgrade-callout {
      max-width: 640px;
      margin: 24px auto 0;
      text-align: center;
      padding: 16px 24px;
      background: rgba(59, 130, 246, 0.06);
      border: 1px solid rgba(59, 130, 246, 0.15);
      border-radius: 12px;
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.6;
    }

    .plan-tag {
      display: inline-block;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      background: var(--primary);
      color: #fff;
      padding: 3px 10px;
      border-radius: 20px;
      margin-bottom: 16px;
    }

    .plan-name-3 {
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      color: var(--muted);
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .plan-tagline {
      font-size: 0.85rem;
      color: var(--muted);
      margin-bottom: 20px;
      line-height: 1.5;
    }

    .plan-price-row {
      display: flex;
      align-items: baseline;
      gap: 8px;
      margin-bottom: 4px;
      flex-wrap: wrap;
    }

    .plan-price-old {
      font-size: 1rem;
      color: var(--muted);
      text-decoration: line-through;
    }

    .plan-price-main {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-size: 2.6rem;
      font-weight: 800;
      color: var(--white);
      line-height: 1;
    }

    .plan-price-period {
      font-size: 0.85rem;
      color: var(--muted);
      font-weight: 400;
    }

    .plan-save {
      font-size: 0.78rem;
      color: var(--accent);
      font-weight: 600;
      margin-bottom: 6px;
      min-height: 1.2em;
    }

    .plan-note-3 {
      font-size: 0.8rem;
      color: var(--accent);
      margin-bottom: 20px;
    }

    .plan-divider-3 {
      height: 1px;
      background: rgba(255, 255, 255, 0.07);
      margin: 16px 0;
    }

    [data-theme="light"] .plan-divider-3 {
      background: rgba(26, 26, 46, 0.08);
    }

    .plan-features-3 {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 9px;
      margin-bottom: 28px;
      flex: 1;
    }

    .plan-features-3 li {
      display: flex;
      align-items: flex-start;
      gap: 9px;
      font-size: 0.85rem;
      color: var(--text);
      line-height: 1.45;
    }

    .plan-features-3 li .check {
      color: var(--primary);
      flex-shrink: 0;
      font-weight: 700;
    }

    .btn-plan-3 {
      width: 100%;
      padding: 14px;
      border-radius: 12px;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
      font-family: 'DM Sans', sans-serif;
      border: none;
      margin-top: auto;
    }

    .btn-free-3 {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.14);
      color: var(--white);
      position: relative;
      overflow: hidden;
    }

    .btn-free-3:hover {
      border-color: var(--indigo);
      background: rgba(59, 130, 246, 0.06);
      transform: translateY(-1px);
      transition: all 0.2s ease;
    }

    .btn-free-3:active {
      transform: translateY(0) scale(0.98);
    }

    [data-theme="light"] .btn-free-3 {
      background: rgba(26, 26, 46, 0.05);
      border-color: rgba(26, 26, 46, 0.15);
    }

    .btn-pro-3 {
      background: var(--primary);
      color: #fff;
      position: relative;
      overflow: hidden;
    }

    .btn-pro-3:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
      transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .btn-pro-3:active {
      transform: translateY(0px) scale(0.98);
      box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
      transition: all 0.1s ease;
    }

    .btn-max-3 {
      background: #FF9A3C;
      border: none;
      color: #fff;
      font-weight: 600;
      position: relative;
      overflow: hidden;
    }

    .btn-max-3:hover {
      background: #e8882e;
      box-shadow: 0 6px 20px rgba(255, 154, 60, 0.35);
    }

    [data-theme="light"] .btn-max-3 {
      background: #FF9A3C;
    }

    .plan-tag-amber {
      display: inline-block;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      background: #FF9A3C;
      color: #fff;
      padding: 3px 10px;
      border-radius: 20px;
      margin-bottom: 16px;
    }

    .pricing-footnote {
      text-align: center;
      color: var(--muted);
      font-size: 0.78rem;
      margin-top: 28px;
    }

    /* ── SOCIAL PROOF ── */
    .proof-section {
      background: var(--navy-2);
    }

    .quote-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      max-width: 960px;
      margin: 0 auto;
    }

    .quote-card {
      background: var(--card);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 16px;
      padding: 28px 28px 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: transform 0.2s, border-color 0.2s;
    }

    .quote-card:hover {
      transform: translateY(-3px);
      border-color: var(--card-border);
    }

    [data-theme="light"] .quote-card {
      border-color: rgba(26, 26, 46, 0.08);
    }

    .quote-mark {
      font-size: 3.2rem;
      line-height: 1;
      color: var(--primary);
      font-family: Georgia, serif;
      opacity: 0.8;
      margin-bottom: -8px;
    }

    .quote-text {
      font-size: 0.95rem;
      color: var(--white);
      line-height: 1.65;
      font-style: italic;
    }

    .quote-label {
      font-size: 0.75rem;
      color: var(--muted);
      font-weight: 500;
      letter-spacing: 0.04em;
      margin-top: auto;
      padding-top: 8px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    [data-theme="light"] .quote-label {
      border-top-color: rgba(26, 26, 46, 0.08);
    }



    /* ── FINAL CTA ── */
    .cta-section {
      background: var(--navy);
      text-align: center;
      border-top: 1px solid var(--card-border);
    }

    .cta-section .section-title {
      max-width: 640px;
      margin: 0 auto 16px;
    }

    .cta-section .section-sub {
      margin: 0 auto 40px;
    }

    .cta-form {
      display: flex;
      gap: 12px;
      max-width: 460px;
      margin: 0 auto 16px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .cta-input {
      flex: 1;
      min-width: 220px;
      padding: 14px 20px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      color: var(--white);
      font-size: 0.95rem;
      font-family: 'DM Sans', sans-serif;
      outline: none;
      transition: border-color 0.2s;
    }

    .cta-input:focus {
      border-color: var(--primary);
    }

    .cta-input::placeholder {
      color: var(--muted);
    }

    .cta-guarantee {
      font-size: 0.78rem;
      color: var(--muted);
    }

    /* ── FAQ ── */
    .faq-section {
      max-width: 800px;
      margin: 0 auto;
      padding: 0 20px 80px;
    }

    .faq-item {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      margin-bottom: 12px;
      overflow: hidden;
      transition: background 0.2s, border-color 0.2s;
    }

    .faq-item.active {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.15);
    }

    [data-theme="light"] .faq-item {
      background: rgba(26, 26, 46, 0.02);
    }

    [data-theme="light"] .faq-item.active {
      background: rgba(26, 26, 46, 0.05);
      border-color: rgba(26, 26, 46, 0.2);
    }

    .faq-q {
      width: 100%;
      text-align: left;
      padding: 20px 24px;
      background: none;
      border: none;
      color: var(--white);
      font-size: 1.05rem;
      font-weight: 600;
      font-family: 'DM Sans', sans-serif;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      overflow: hidden;
    }

    .faq-icon {
      font-size: 1.2rem;
      color: var(--muted);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .faq-item.active .faq-icon {
      transform: rotate(180deg);
      color: var(--white);
    }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .faq-a-inner {
      padding: 0 24px 24px;
      color: var(--muted);
      font-size: 0.95rem;
      line-height: 1.6;
    }

    /* ── FOOTER ── */
    footer {
      background: var(--navy);
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding: 32px 6%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: 'Bricolage Grotesque', sans-serif;
      font-weight: 700;
      color: var(--white);
      font-size: 1rem;
    }

    .footer-logo img,
    .footer-logo svg {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.1);
      object-fit: contain;
    }

    .footer-links {
      display: flex;
      gap: 24px;
    }

    .footer-links a,
    .footer-links button {
      font-size: 0.82rem;
      color: var(--muted);
      text-decoration: none;
      transition: color 0.2s;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      font-family: inherit;
      display: inline-block;
    }

    .footer-links a:hover,
    .footer-links button:hover {
      color: var(--white);
    }

    .footer-made {
      font-size: 0.8rem;
      color: var(--muted);
    }

    .footer-made span {
      color: var(--primary);
    }

    /* ── MODAL ── */
    /* ── MODAL ── */
    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 200;
      background: rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.5s ease, visibility 0.5s;
    }

    .modal-overlay.open {
      opacity: 1;
      visibility: visible;
    }

    @keyframes modalIn {
      from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
      }

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

    .modal {
      position: relative;
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 24px;
      padding: 44px 36px 36px;
      max-width: 440px;
      width: 90%;
      text-align: center;
      box-shadow: var(--card-shadow), 0 0 0 1px var(--card-border);
      transform: scale(0.95) translateY(20px);
      transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
      overflow: hidden;
    }

    .modal-overlay.open .modal {
      transform: scale(1) translateY(0);
      opacity: 1;
    }

    .modal-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }

    .modal h3 {
      font-size: 1.45rem;
      font-weight: 800;
      color: var(--white);
      margin-bottom: 10px;
      font-family: 'Bricolage Grotesque', sans-serif;
      line-height: 1.25;
    }

    .modal p {
      font-size: 0.88rem;
      color: var(--muted);
      margin-bottom: 24px;
      line-height: 1.65;
    }

    .modal-form {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .modal-input {
      padding: 14px 18px;
      background: var(--navy-2);
      border: 1px solid var(--nav-border);
      border-radius: 12px;
      color: var(--text);
      font-size: 0.95rem;
      font-family: 'DM Sans', sans-serif;
      outline: none;
      transition: all 0.2s ease;
    }

    .modal-input:focus {
      border-color: var(--primary);
      background: var(--card);
    }

    .modal-input::placeholder {
      color: var(--muted);
      opacity: 1;
    }

    .modal-btn-primary {
      width: 100%;
      padding: 14px;
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: 10px;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      transition: background 0.2s, box-shadow 0.2s, opacity 0.2s;
    }

    .modal-btn-primary:hover:not(:disabled) {
      background: var(--primary-dark);
      box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    }

    .modal-btn-primary:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .modal-note {
      font-size: 0.75rem;
      color: var(--muted);
      margin-top: 12px;
    }

    .modal-close {
      position: absolute;
      top: 14px;
      right: 18px;
      background: none;
      border: none;
      color: var(--muted);
      font-size: 1.1rem;
      cursor: pointer;
      transition: color 0.2s;
    }

    .modal-close:hover {
      color: var(--white);
    }

    /* ── SUCCESS STATE ── */
    .success-state {
      display: none;
      text-align: center;
      animation: modalIn 0.5s ease both;
    }

    .success-state .big-check {
      font-size: 3.5rem;
      margin-bottom: 20px;
      display: block;
      animation: celebrate 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    }

    @keyframes celebrate {
      0% {
        transform: scale(0) rotate(-20deg);
        opacity: 0;
      }

      50% {
        transform: scale(1.2) rotate(10deg);
      }

      100% {
        transform: scale(1) rotate(0);
        opacity: 1;
      }
    }

    .success-state h3 {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--white);
      margin-bottom: 12px;
      font-family: 'Bricolage Grotesque', sans-serif;
    }

    .success-state p {
      font-size: 0.95rem;
      color: var(--muted);
      line-height: 1.6;
    }

    /* ── LOADING SPINNER ── */
    .btn-loading-content {
      display: none;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .submitting .btn-text-content {
      display: none;
    }

    .submitting .btn-loading-content {
      display: flex;
    }

    .spinner {
      width: 18px;
      height: 18px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    #modal-form-state {
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .state-exit {
      opacity: 0;
      transform: scale(0.95);
      pointer-events: none;
    }

    /* ── CLASH MODE SECTION ── */
    .clash-section {
      background: linear-gradient(135deg, var(--primary-glow) 0%, var(--navy-2) 100%);
      text-align: center;
    }

    .clash-cards {
      display: flex;
      gap: 24px;
      max-width: 800px;
      margin: 0 auto;
      flex-wrap: wrap;
      justify-content: center;
    }

    .clash-card {
      flex: 1;
      min-width: 220px;
      background: var(--card);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 16px;
      padding: 28px;
      text-align: center;
    }

    .clash-card .clash-icon {
      font-size: 2rem;
      margin-bottom: 12px;
    }

    .clash-card h4 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 6px;
      font-family: 'Bricolage Grotesque', sans-serif;
    }

    .clash-card p {
      font-size: 0.83rem;
      color: var(--muted);
    }

    /* ── STREAK SECTION ── */
    .streaks-section {
      background: var(--navy);
    }

    .streak-badges {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
      max-width: 900px;
      margin: 0 auto;
    }

    .streak-badge-card {
      background: var(--card);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 14px;
      padding: 20px 28px;
      text-align: center;
      min-width: 160px;
      transition: transform 0.2s, border-color 0.2s;
    }

    .streak-badge-card:hover {
      transform: translateY(-3px);
      border-color: var(--indigo);
    }

    .streak-badge-card .badge-icon {
      font-size: 2rem;
      margin-bottom: 8px;
    }

    .streak-badge-card .badge-label {
      font-size: 0.78rem;
      color: var(--amber);
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    .streak-badge-card .badge-name {
      font-size: 0.9rem;
      color: var(--white);
      font-weight: 600;
    }

    /* ── QUIZ DUEL ── */
    .quiz-duel-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
      gap: 32px;
      max-width: 1000px;
      margin: 0 auto 48px;
    }

    .duel-card {
      background: var(--card);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 20px;
      padding: 40px;
      transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
      display: flex;
      flex-direction: column;
      height: 100%;
      position: relative;
    }

    .duel-card:hover {
      border-color: var(--primary);
      transform: translateY(-4px);
      box-shadow: 0 20px 40px rgba(59, 130, 246, 0.12);
    }

    .duel-card.amber:hover {
      border-color: var(--amber);
      box-shadow: 0 0 0 1px var(--amber), 0 20px 40px rgba(245, 166, 35, 0.15);
    }

    .duel-card .feature-icon {
      font-size: 2.5rem;
      margin-bottom: 24px;
      display: block;
    }

    .duel-card h3 {
      font-size: 1.6rem;
      font-weight: 800;
      margin-bottom: 16px;
      color: var(--white);
      font-family: 'Bricolage Grotesque', sans-serif;
    }

    .duel-card p {
      color: var(--muted);
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 32px;
    }

    .duel-features {
      list-style: none;
      margin-bottom: 40px;
    }

    .duel-features li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.9rem;
      color: var(--text);
      margin-bottom: 12px;
    }

    .duel-features .check {
      color: var(--primary);
      font-weight: bold;
    }

    .duel-card.amber .duel-features .check {
      color: var(--amber);
    }

    .duel-note {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-top: auto;
    }

    /* ── RESPONSIVE ── */
    @media (max-width:768px) {
      nav {
        padding: 12px 4%;
      }

      .nav-logo {
        font-size: 1rem;
      }

      .nav-links,
      .lang-toggle,
      .nav-badge,
      .billing-toggle {
        display: none !important;
      }

      .mobile-billing-toggle {
        display: flex !important;
      }

      .btn-nav {
        padding: 8px 14px;
        font-size: 0.82rem;
      }

      .step:not(:last-child)::after {
        display: none;
      }

      .steps-container {
        flex-direction: column;
        gap: 24px;
      }

      .comp-row div {
        padding: 10px 14px;
        font-size: 0.8rem;
      }

      .stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

      .stat-item {
        padding: 16px 24px;
        border-right: 1px solid rgba(255, 255, 255, 0.07);
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
      }

      footer {
        flex-direction: column;
        text-align: center;
      }

      .pricing-grid-3 {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .pricing-card-3 {
        width: 100%;
        max-width: 420px;
      }

      .pricing-card-3.featured-3 {
        order: -1;
      }

      .hero {
        padding: 100px 5% 40px;
      }

      .hero-sub {
        font-size: 0.95rem;
      }

      section {
        padding: 60px 5%;
      }

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

      .streak-badges {
        gap: 12px;
      }

      .streak-badge-card {
        min-width: 120px;
        padding: 16px 16px;
      }

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

      .hero-ctas {
        flex-direction: column;
        align-items: center;
      }

      .hero-ctas button,
      .hero-ctas a {
        width: 100%;
        max-width: 320px;
        justify-content: center;
      }

      .mockup-phone:not(:first-child) {
        display: none;
      }

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

    @media (max-width:380px) {
      .btn-nav {
        padding: 7px 10px;
        font-size: 0.78rem;
      }

      .nav-logo img,
      .nav-logo svg {
        width: 32px !important;
        height: 32px !important;
      }
    }

    /* ── SCROLL ANIMATIONS ── */
    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s ease,
        transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .section-title.reveal {
      transform: translateX(-16px);
    }

    .section-title.reveal.visible {
      transform: translateX(0);
    }

    /* ── MOBILE RESPONSIVENESS FIXES ── */
    @media (max-width: 480px) {

      /* 1. Ensure all section padding reduces to 20px */
      section {
        padding-left: 20px !important;
        padding-right: 20px !important;
      }

      /* 2. Hero title font: reduce to 2rem */
      h1.hero-title {
        font-size: 2rem !important;
      }

      /* 3. Pricing cards: stack vertically, Pro card first */
      .pricing-grid,
      .pricing-grid-3 {
        display: flex !important;
        flex-direction: column;
      }

      .pricing-card.popular {
        order: -1;
      }

      /* 4. Feature grid: 1 column */
      .features-grid,
      .science-grid,
      .quiz-duel-grid {
        grid-template-columns: 1fr !important;
      }

      /* 5. Stats bar: 2x2 grid */
      .stats-bar {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        padding-left: 0 !important;
        padding-right: 0 !important;
        gap: 0 !important;
      }

      .stat-item {
        border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        padding: 20px 10px !important;
        width: 100%;
      }

      .stat-item:nth-child(even) {
        border-right: none !important;
      }

      .stat-item:nth-child(3),
      .stat-item:nth-child(4) {
        border-bottom: none;
      }

      /* 7. Ticker overflow */
      .ticker-wrap {
        overflow: hidden;
        width: 100%;
      }

      /* 8. All buttons: minimum height 48px */
      .btn-primary,
      .btn-secondary,
      .btn-ghost {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }

      /* 9. Pain cards: single column */
      .pain-grid {
        grid-template-columns: 1fr !important;
      }

      /* 10. Floating CTA */
      .mobile-cta-bar {
        display: block;
      }

      body {
        padding-bottom: 80px;
      }
    }

    .mobile-cta-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 90;
      padding: 12px 16px;
      padding-bottom: calc(12px + env(safe-area-inset-bottom));
      background: rgba(7, 8, 15, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease;
      transform: translateY(100%);
    }

    [data-theme="light"] .mobile-cta-bar {
      background: rgba(255, 255, 255, 0.92);
      border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .mobile-cta-bar.visible {
      transform: translateY(0);
    }

    .mobile-cta-bar button {
      width: 100%;
      padding: 14px;
      border-radius: 12px;
      font-size: 1rem;
      font-weight: 600;
      background: var(--indigo);
      color: white;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    /* ── LAYERED ELEVATION SHADOW SYSTEM ── */
    .feature-card,
    .pain-card,
    .proof-card,
    .pricing-card,
    .clash-card,
    .streak-badge-card,
    .science-card {
      box-shadow: var(--card-shadow);
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      border: 1px solid var(--card-border);
      background: var(--card);
    }



    /* Override any theme specific light mode card background colors to ensure specificity matches properly */
    [data-theme="light"] .pain-card,
    [data-theme="light"] .feature-card,
    [data-theme="light"] .pricing-card,
    [data-theme="light"] .proof-card {
      background: var(--card);
    }

    @media (min-width: 769px) {

      .feature-card:hover,
      .pain-card:hover,
      .proof-card:hover,
      .pricing-card:hover,
      .clash-card:hover,
      .streak-badge-card:hover,
      .science-card:hover {
        box-shadow: var(--card-shadow-hover);
        transform: translateY(-3px);
      }
    }

    .mobile-billing-toggle {
      display: none;
      gap: 4px;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 8px;
      padding: 3px;
      margin-bottom: 12px;
      margin-top: 8px;
      width: fit-content;
    }

    .mobile-bill-btn {
      padding: 4px 10px;
      font-size: 0.72rem;
      border-radius: 6px;
      border: none;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      position: relative;
      overflow: hidden;
    }

    .active-bill {
      background: var(--primary);
      color: white;
    }

    @keyframes ripple {
      to {
        transform: scale(2.5);
        opacity: 0;
      }
    }

    /* ── MOBILE MENU ── */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      border-radius: 8px;
    }

    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--white);
      border-radius: 2px;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hamburger.open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }

    .hamburger.open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-drawer {
      position: fixed;
      top: 64px;
      left: 0;
      right: 0;
      background: var(--navy-2);
      border-bottom: 1px solid var(--card-border);
      padding: 24px 6%;
      z-index: 99;
      transform: translateY(-110%);
      transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    }

    .mobile-drawer.open {
      transform: translateY(0);
    }

    .mobile-drawer ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .mobile-drawer ul a {
      display: block;
      padding: 14px 0;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--white);
      text-decoration: none;
      border-bottom: 1px solid var(--card-border);
      font-family: 'Bricolage Grotesque', sans-serif;
      transition: color 0.2s;
    }

    .mobile-drawer ul a:hover {
      color: var(--primary);
    }

    .drawer-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(4px);
      z-index: 98;
    }

    .drawer-overlay.open {
      display: block;
    }

    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }
    }
  </style>
