:root {
    --cobalt-950: #06173B;
    --cobalt-900: #0A2A5E;
    --cobalt-800: #103968;
    --cobalt-700: #1B5DAD;
    --cobalt-600: #2076CB;
    --cobalt-400: #5BA8EC;
    --cobalt-300: #97CDF7;
    --cobalt-100: #C9E4FB;
    --flame: #FFC07A;
    --flame-2: #F18438;
    --gold: #FFD75A;
    --purple: #8154E8;
    --correct: #2EC57F;
    --incorrect: #E84545;
    --mint: #7FE0C7;

    --fg: #FFFFFF;
    --fg-soft: rgba(255,255,255,0.72);
    --fg-mute: rgba(255,255,255,0.55);
    --fg-faint: rgba(255,255,255,0.36);

    --glass: rgba(255,255,255,0.06);
    --glass-2: rgba(255,255,255,0.10);
    --stroke: rgba(255,255,255,0.12);
    --stroke-2: rgba(255,255,255,0.18);

    --sans: -apple-system, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
    --maxw: 1180px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: var(--sans);
    color: var(--fg);
    background: var(--cobalt-950);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }

  .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

  /* ===== Buttons ===== */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 52px; padding: 0 24px;
    border-radius: 9999px;
    font-size: 16px; font-weight: 600;
    border: 1px solid var(--stroke-2);
    background: var(--glass-2);
    color: #fff; cursor: pointer;
    backdrop-filter: blur(14px);
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
    white-space: nowrap;
  }
  .btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.16); }
  .btn-primary {
    background: linear-gradient(180deg, #4DA8F2 0%, #2076CB 100%);
    border-color: rgba(255,255,255,0.30);
    box-shadow: 0 10px 26px rgba(32,118,203,0.35);
  }
  .btn-primary:hover { box-shadow: 0 14px 32px rgba(32,118,203,0.5); }
  .btn-store {
    background: #050B18; border-color: rgba(255,255,255,0.16);
    height: 56px; padding: 0 22px; gap: 12px;
  }
  .btn-store .sub { font-size: 10px; font-weight: 500; color: var(--fg-mute); letter-spacing: 0.02em; display: block; line-height: 1; margin-bottom: 2px; }
  .btn-store .main { font-size: 17px; font-weight: 700; line-height: 1; }
  .btn-store:hover { background: #0A1428; transform: translateY(-2px); }

  /* ===== Nav ===== */
  header {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(6,23,59,0.55);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
  .brand { display: flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
  .brand img { height: 30px; width: auto; }
  .nav-links { display: flex; align-items: center; gap: 34px; }
  .nav-links a { font-size: 15px; color: var(--fg-soft); transition: color .15s; }
  .nav-links a:hover { color: #fff; }
  .nav-cta { display: flex; align-items: center; gap: 14px; }
  .nav-cta .btn { height: 44px; font-size: 15px; }
  .menu-toggle { display: none; }

  /* ===== Backdrop glow ===== */
  .page-bg {
    position: fixed; inset: 0; z-index: -1;
    background:
      radial-gradient(120% 70% at 50% -8%, #2A7AC8 0%, #1B5DAD 26%, #0F3F84 56%, #06173B 100%);
  }
  .page-bg::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(60% 40% at 80% 8%, rgba(255,192,122,0.10), transparent 60%);
  }

  /* ===== Hero ===== */
  .hero { padding: 70px 0 90px; }
  .hero-grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: 40px; align-items: center;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
    color: var(--flame);
    padding: 7px 14px; border-radius: 9999px;
    background: rgba(255,192,122,0.10); border: 1px solid rgba(255,192,122,0.30);
    margin-bottom: 24px;
  }
  .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--flame); }
  h1 {
    font-size: 60px; font-weight: 800; line-height: 1.02; letter-spacing: -0.035em;
    margin: 0 0 20px;
  }
  h1 .grad { background: linear-gradient(120deg, #FFD78A, #F18438); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero-sub { font-size: 19px; line-height: 1.55; color: var(--fg-soft); max-width: 520px; margin: 0 0 32px; }
  .hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .hero-meta { display: flex; align-items: center; gap: 22px; margin-top: 28px; color: var(--fg-mute); font-size: 14px; }
  .hero-meta .stars { color: var(--gold); letter-spacing: 2px; }
  .hero-meta .divider { width: 1px; height: 20px; background: var(--stroke); }

  /* ===== Phone device ===== */
  .device-stage { display: flex; justify-content: center; position: relative; }
  .device-stage::before {
    content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,192,122,0.22), transparent 65%);
    top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 0;
  }
  .device {
    position: relative; z-index: 1;
    width: 290px; height: 600px;
    border-radius: 44px; padding: 11px;
    background: linear-gradient(160deg, #1a1f2e, #05080f);
    box-shadow: 0 40px 90px rgba(0,10,40,0.55), 0 0 0 1px rgba(255,255,255,0.06), inset 0 1px 0 rgba(255,255,255,0.12);
  }
  .device.tilt { transform: rotate(3deg); }
  .device-screen {
    width: 100%; height: 100%; border-radius: 34px; overflow: hidden; position: relative;
    background: radial-gradient(120% 80% at 50% 0%, #2A7AC8 0%, #1B5DAD 35%, #0F3F84 75%, #0A2A5E 100%);
  }
  .island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #000; border-radius: 16px; z-index: 20; }
  .scr-status { position: absolute; top: 0; left: 0; right: 0; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 16px 22px 0; font-size: 12px; font-weight: 600; z-index: 10; }
  .scr-body { position: absolute; inset: 44px 0 0; padding: 16px 18px; }
  .scr-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 5; }

  /* Screen: Ready/Quiz building blocks */
  .s-logo { height: 46px; margin: 26px auto 0; display: block; }
  .s-h { text-align: center; font-size: 20px; font-weight: 800; margin-top: 26px; }
  .s-p { text-align: center; font-size: 12px; color: var(--fg-soft); margin: 8px auto 0; max-width: 180px; line-height: 1.45; }
  .s-pill { display: block; width: max-content; margin: 22px auto 0; padding: 12px 44px; border-radius: 9999px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.26); font-size: 14px; font-weight: 700; }
  .s-tabbar { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); background: #102E5C; border: 1px solid rgba(255,255,255,0.08); border-radius: 9999px; padding: 5px; display: flex; gap: 3px; box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
  .s-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 13px; border-radius: 9999px; font-size: 9px; color: #fff; }
  .s-tab.on { background: #1F4D8E; }
  .s-tab .ico { width: 20px; height: 20px; border-radius: 50%; background: #A8D8F0; display: grid; place-items: center; }

  /* ===== Section scaffolding ===== */
  section { position: relative; }
  .sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
  .sec-tag { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--flame); margin-bottom: 14px; }
  .sec-title { font-size: 42px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 16px; line-height: 1.08; }
  .sec-desc { font-size: 17px; color: var(--fg-soft); line-height: 1.55; margin: 0; }

  /* ===== Trust strip ===== */
  .trust { padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); }
  .trust-inner { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; }
  .trust-label { font-size: 13px; color: var(--fg-mute); letter-spacing: 0.04em; }
  .trust-item { font-size: 16px; font-weight: 700; color: var(--fg-soft); letter-spacing: 0.02em; }

  /* ===== Features ===== */
  .features { padding: 100px 0; }
  .feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .feat-card {
    background: var(--glass); border: 1px solid var(--stroke);
    border-radius: 22px; padding: 28px 26px;
    backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
    transition: transform .2s ease, border-color .2s ease;
  }
  .feat-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.25); }
  .feat-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
  .feat-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.01em; }
  .feat-card p { font-size: 15px; line-height: 1.55; color: var(--fg-soft); margin: 0; }

  /* ===== Showcase rows ===== */
  .showcase { padding: 60px 0 100px; display: flex; flex-direction: column; gap: 96px; }
  .show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .show-row.reverse .show-art { order: 2; }
  .show-copy .num { font-size: 14px; font-weight: 700; color: var(--flame); letter-spacing: 0.12em; margin-bottom: 14px; }
  .show-copy h3 { font-size: 34px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 16px; }
  .show-copy p { font-size: 17px; line-height: 1.6; color: var(--fg-soft); margin: 0 0 22px; }
  .show-list { display: flex; flex-direction: column; gap: 12px; }
  .show-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg-soft); list-style: none; }
  .show-list .check { width: 22px; height: 22px; border-radius: 50%; background: rgba(46,197,127,0.18); border: 1px solid rgba(46,197,127,0.4); display: grid; place-items: center; flex-shrink: 0; }
  .show-art { display: flex; justify-content: center; }

  /* Quiz mini screen */
  .q-head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--fg-soft); }
  .q-strikes { display: flex; gap: 5px; }
  .q-dot { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.55); }
  .q-dot.hit { background: var(--flame-2); border-color: transparent; }
  .q-q { font-size: 14px; font-weight: 700; line-height: 1.3; margin: 16px 0 12px; }
  .q-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); font-size: 12px; margin-bottom: 8px; }
  .q-row.correct { background: var(--correct); border-color: rgba(255,255,255,0.25); }
  .q-letter { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.2); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
  .q-prog { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.2); margin-top: 4px; overflow: hidden; }
  .q-prog > div { height: 100%; width: 30%; background: #fff; border-radius: 2px; }

  /* Profile mini screen */
  .pf-avatar { width: 72px; height: 72px; border-radius: 50%; margin: 18px auto 10px; background: linear-gradient(155deg, #5BA8EC, #1F5FB0 60%, #0F3F84); display: grid; place-items: center; font-size: 26px; font-weight: 800; box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), 0 12px 30px rgba(0,0,0,0.35); }
  .pf-name { text-align: center; font-size: 17px; font-weight: 800; }
  .pf-handle { text-align: center; font-size: 11px; color: var(--fg-mute); margin-top: 3px; }
  .pf-stats { display: grid; grid-template-columns: repeat(4,1fr); background: rgba(255,255,255,0.08); border: 1px solid var(--stroke); border-radius: 14px; padding: 10px 4px; margin: 16px 0; }
  .pf-stat { text-align: center; }
  .pf-stat + .pf-stat { border-left: 1px solid rgba(255,255,255,0.1); }
  .pf-stat .n { font-size: 16px; font-weight: 800; line-height: 1; }
  .pf-stat .l { font-size: 8px; color: var(--fg-mute); margin-top: 4px; }
  .pf-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pf-tile { border-radius: 14px; padding: 12px; min-height: 70px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.22); }
  .pf-tile .n { font-size: 22px; font-weight: 800; }
  .pf-tile .l { font-size: 8px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; margin-top: 4px; }
  .tile-purple { background: linear-gradient(155deg, #8154E8, #5A2FBE); }
  .tile-orange { background: linear-gradient(155deg, #F2802D, #D74F1A); }

  /* ===== Stats band ===== */
  .stats-band { padding: 70px 0; border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
  .stat-big { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(120deg, #FFD78A, #F18438); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .stat-lbl { font-size: 15px; color: var(--fg-soft); margin-top: 10px; }

  /* ===== Pricing ===== */
  .pricing { padding: 100px 0; }
  .price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; margin: 0 auto; }
  .price-card {
    border-radius: 24px; padding: 34px 32px;
    background: var(--glass); border: 1px solid var(--stroke);
    backdrop-filter: blur(20px);
    display: flex; flex-direction: column;
  }
  .price-card.featured {
    background: linear-gradient(160deg, rgba(255,200,90,0.14), rgba(241,132,56,0.05));
    border: 1px solid rgba(255,200,90,0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    position: relative;
  }
  .price-badge { position: absolute; top: 22px; right: 24px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #2A1605; background: linear-gradient(135deg,#FFD75A,#F18438); padding: 5px 12px; border-radius: 9999px; }
  .price-name { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-soft); }
  .price-amt { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 4px; }
  .price-amt span { font-size: 16px; font-weight: 600; color: var(--fg-mute); }
  .price-desc { font-size: 14px; color: var(--fg-mute); margin-bottom: 24px; }
  .price-feats { display: flex; flex-direction: column; gap: 13px; margin: 0 0 28px; padding: 0; flex: 1; }
  .price-feats li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--fg-soft); list-style: none; }
  .price-feats .ck { color: var(--correct); flex-shrink: 0; font-weight: 700; }
  .price-feats .x { color: var(--fg-faint); flex-shrink: 0; }
  .price-feats .muted { color: var(--fg-faint); }

  /* ===== Final CTA ===== */
  .final { padding: 110px 0; }
  .final-card {
    border-radius: 32px; padding: 70px 40px; text-align: center;
    background:
      radial-gradient(80% 120% at 50% 0%, rgba(255,192,122,0.18), transparent 60%),
      linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid var(--stroke-2);
    backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 30px 80px rgba(0,10,40,0.4);
  }
  .final-card h2 { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 16px; line-height: 1.08; }
  .final-card p { font-size: 18px; color: var(--fg-soft); max-width: 480px; margin: 0 auto 32px; line-height: 1.5; }
  .final-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

  /* ===== Footer ===== */
  footer.ft { padding: 56px 0 40px; border-top: 1px solid rgba(255,255,255,0.07); }
  .ft-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
  .ft-brand { max-width: 280px; }
  .ft-brand .brand { margin-bottom: 14px; }
  .ft-brand p { font-size: 14px; color: var(--fg-mute); line-height: 1.55; margin: 0; }
  .ft-cols { display: flex; gap: 64px; flex-wrap: wrap; }
  .ft-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); margin: 0 0 16px; }
  .ft-col a { display: block; font-size: 15px; color: var(--fg-soft); margin-bottom: 11px; transition: color .15s; }
  .ft-col a:hover { color: #fff; }
  .ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 13px; color: var(--fg-mute); }

  /* ===== Responsive ===== */
  @media (max-width: 900px) {
    h1 { font-size: 46px; }
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero-grid .device-stage { order: -1; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero { text-align: center; padding: 48px 0 70px; }
    .hero-cta, .hero-meta { justify-content: center; }
    .feat-grid { grid-template-columns: 1fr; }
    .show-row { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .show-row.reverse .show-art { order: 0; }
    .show-list { align-items: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .price-grid { grid-template-columns: 1fr; max-width: 440px; }
    .sec-title { font-size: 34px; }
    .final-card h2 { font-size: 36px; }
    .nav-links { display: none; }
    .menu-toggle { display: inline-flex; }
  }
  @media (max-width: 520px) {
    h1 { font-size: 38px; }
    .wrap { padding: 0 18px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .nav-cta .btn-ghost { display: none; }
    .final-card { padding: 50px 24px; }
    .ft-cols { gap: 36px; }
  }
