/* One Lesson landing styles (cream/gold).
   Vera can replace this file and/or public/index.html.
   Keep the [data-lang] / html[data-ui-lang] rules so only one language shows.
   Do not add post-purchase ending assets or copy here. */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --black: #0a0a0a;
    --white: #fafaf8;
    --off: #f2f0eb;
    --gold: #c8a84b;
    --gold-dark: #9a7a28;
    --muted: #6b6860;
    --border: rgba(0,0,0,0.10);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
  }

  /* ─── LANGUAGE BAR ─── */
  .lang-bar {
    background: var(--black);
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 8px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
  }
  .lang-bar button {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.5); font-size: 11px;
    letter-spacing: 0.08em; font-family: inherit;
    transition: color 0.2s;
  }
  .lang-bar button:hover, .lang-bar button.active { color: var(--gold); }

  /* ─── NAV ─── */
  nav {
    padding: 20px 40px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--border);
  }
  .logo {
    font-family: 'DM Serif Display', serif;
    font-size: 22px; letter-spacing: -0.02em;
  }
  .logo span { color: var(--gold); }
  .price-pill {
    background: var(--black); color: var(--white);
    font-size: 13px; font-weight: 500; padding: 6px 16px;
    border-radius: 100px; letter-spacing: 0.02em;
  }

  /* ─── HERO ─── */
  .hero {
    min-height: 90vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(200,168,75,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .eyebrow {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); font-weight: 600; margin-bottom: 24px;
    display: flex; align-items: center; gap: 10px;
  }
  .eyebrow::before, .eyebrow::after {
    content: ''; display: block; width: 32px; height: 1px; background: var(--gold);
  }
  h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1.0; letter-spacing: -0.03em;
    max-width: 800px; margin-bottom: 28px;
  }
  h1 em { font-style: italic; color: var(--gold); }
  .subtitle {
    font-size: clamp(17px, 2.5vw, 21px);
    color: var(--muted); max-width: 480px;
    line-height: 1.6; margin-bottom: 48px;
  }
  .cta-group { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .cta-btn {
    background: var(--black); color: var(--white);
    font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 600;
    padding: 18px 48px; border-radius: 4px; border: none; cursor: pointer;
    letter-spacing: 0.01em; transition: all 0.2s;
    text-decoration: none; display: inline-block;
  }
  .cta-btn:hover { background: #1f1f1f; transform: translateY(-1px); }
  .cta-note {
    font-size: 13px; color: var(--muted);
    display: flex; align-items: center; gap: 6px;
  }
  .cta-note::before { content: '🔒'; font-size: 11px; }

  /* ─── TICKER ─── */
  .ticker-wrap {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--off);
    overflow: hidden; padding: 14px 0;
  }
  .ticker {
    display: flex; gap: 60px;
    animation: ticker 18s linear infinite;
    white-space: nowrap;
  }
  .ticker span {
    font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted); font-weight: 500; flex-shrink: 0;
  }
  .ticker span b { color: var(--black); }
  @keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ─── WHAT YOU GET ─── */
  .section { padding: 100px 40px; max-width: 960px; margin: 0 auto; }
  .section-label {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); font-weight: 600; margin-bottom: 16px;
  }
  h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.02em;
    line-height: 1.1; margin-bottom: 48px;
  }
  .cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px; background: var(--border); border: 1px solid var(--border);
  }
  .card {
    background: var(--white); padding: 36px 32px;
  }
  .card-num {
    font-family: 'DM Serif Display', serif;
    font-size: 48px; color: var(--gold); opacity: 0.4; line-height: 1;
    margin-bottom: 16px;
  }
  .card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
  .card p { font-size: 15px; color: var(--muted); line-height: 1.7; }

  /* ─── DIVIDER ─── */
  .big-quote {
    background: var(--black); color: var(--white);
    padding: 80px 40px; text-align: center;
  }
  .big-quote blockquote {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(24px, 4vw, 44px); line-height: 1.3;
    letter-spacing: -0.02em; max-width: 700px; margin: 0 auto 20px;
  }
  .big-quote blockquote em { color: var(--gold); font-style: italic; }
  .big-quote cite { font-size: 13px; color: rgba(255,255,255,0.4); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; }

  /* ─── PROMISE ─── */
  .promise-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
  }
  .promise-text p {
    font-size: 17px; color: var(--muted); line-height: 1.8; margin-bottom: 20px;
  }
  .promise-text p strong { color: var(--black); }
  .promise-visual {
    background: var(--off); padding: 48px 40px;
    border: 1px solid var(--border); text-align: center;
  }
  .dollar-sign {
    font-family: 'DM Serif Display', serif;
    font-size: 120px; color: var(--gold); line-height: 1;
    display: block; margin-bottom: 16px;
  }
  .promise-visual p { font-size: 14px; color: var(--muted); line-height: 1.7; }

  /* ─── FAQ ─── */
  .faq { max-width: 640px; margin: 0 auto; }
  details {
    border-bottom: 1px solid var(--border); padding: 20px 0;
  }
  summary {
    font-weight: 600; font-size: 16px; cursor: pointer;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
  }
  summary::after { content: '+'; font-size: 20px; color: var(--gold); font-weight: 300; }
  details[open] summary::after { content: '−'; }
  details p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-top: 12px; }

  /* ─── BOTTOM CTA ─── */
  .bottom-cta {
    background: var(--off); border-top: 1px solid var(--border);
    padding: 100px 40px; text-align: center;
  }
  .bottom-cta h2 { margin-bottom: 16px; }
  .bottom-cta p { font-size: 17px; color: var(--muted); margin-bottom: 40px; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--black); color: rgba(255,255,255,0.4);
    padding: 32px 40px; font-size: 13px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
  }
  footer a { color: rgba(255,255,255,0.4); text-decoration: none; }
  footer a:hover { color: var(--gold); }

  /* ─── MODAL (payment overlay) ─── */
  .modal-backdrop {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.7); z-index: 100;
    align-items: center; justify-content: center; padding: 24px;
  }
  .modal-backdrop.open { display: flex; }
  .modal {
    background: var(--white); max-width: 440px; width: 100%;
    padding: 48px 40px; position: relative;
  }
  .modal-close {
    position: absolute; top: 16px; right: 20px;
    font-size: 24px; background: none; border: none; cursor: pointer; color: var(--muted);
  }
  .modal h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 28px; margin-bottom: 8px;
  }
  .modal p { font-size: 15px; color: var(--muted); margin-bottom: 32px; line-height: 1.6; }
  .pay-methods { display: flex; flex-direction: column; gap: 12px; }
  .pay-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 20px; border: 1.5px solid var(--border); background: var(--white);
    font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit;
    transition: all 0.15s; border-radius: 4px; text-decoration: none; color: var(--black);
  }
  .pay-btn:hover { border-color: var(--black); background: var(--off); }
  .pay-btn.primary { background: var(--black); color: var(--white); border-color: var(--black); }
  .pay-btn.primary:hover { background: #1f1f1f; }
  .pay-divider {
    text-align: center; font-size: 12px; color: var(--muted);
    letter-spacing: 0.1em; text-transform: uppercase; margin: 4px 0;
  }
  .secure-note {
    font-size: 12px; color: var(--muted); text-align: center;
    margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 6px;
  }

  /* ─── CINEMATIC REVEAL ─── */
  .reveal-section {
    display: none; position: fixed; inset: 0;
    background: var(--black); z-index: 200;
    color: var(--white); overflow: hidden;
  }
  .reveal-section.open { display: flex; flex-direction: column; }

  .reveal-progress {
    position: absolute; top: 0; left: 0; height: 2px;
    background: var(--gold); width: 0%;
    transition: width 0.4s linear; z-index: 10;
  }

  .reveal-stage {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 40px 24px; text-align: center;
    position: relative;
  }

  .scene {
    display: none; flex-direction: column;
    align-items: center; justify-content: center;
    width: 100%; max-width: 700px;
    animation: fadeIn 0.8s ease forwards;
  }
  .scene.active { display: flex; }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-16px); }
  }
  .scene.leaving {
    animation: fadeOut 0.5s ease forwards;
    position: absolute;
  }

  .scene-eyebrow {
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold); font-weight: 600; margin-bottom: 28px;
  }
  .scene-big {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(40px, 7vw, 88px);
    line-height: 1.05; letter-spacing: -0.03em;
    color: var(--white); margin-bottom: 24px;
  }
  .scene-big em { color: var(--gold); font-style: italic; }
  .scene-sub {
    font-size: clamp(16px, 2.2vw, 21px);
    color: rgba(255,255,255,0.55); line-height: 1.65;
    max-width: 520px;
  }
  .scene-sub strong { color: var(--white); font-weight: 600; }
  .scene-sub em { color: var(--gold); font-style: normal; }

  .scene-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 36px 40px; max-width: 580px; width: 100%;
    text-align: left;
  }
  .scene-card .card-num {
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold); font-weight: 600; margin-bottom: 14px;
  }
  .scene-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(24px, 4vw, 36px); color: var(--white);
    line-height: 1.2; margin-bottom: 16px;
  }
  .scene-card p {
    font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.75;
  }
  .scene-card p strong { color: rgba(255,255,255,0.9); }

  .share-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
  .share-btn {
    padding: 12px 24px; border: 1.5px solid rgba(255,255,255,0.2);
    background: none; color: var(--white); font-size: 14px; font-weight: 500;
    cursor: pointer; font-family: inherit; transition: all 0.2s; border-radius: 4px;
  }
  .share-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }

  .reveal-dots {
    display: flex; gap: 8px; justify-content: center;
    padding: 20px; position: absolute; bottom: 16px; left: 0; right: 0;
  }
  .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.2); transition: background 0.3s;
  }
  .dot.done { background: var(--gold); }
  .dot.active { background: var(--white); width: 20px; border-radius: 3px; }

  .reveal-controls {
    position: absolute; bottom: 48px; right: 32px;
    display: flex; gap: 10px; z-index: 20;
  }
  .ctrl-btn {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500;
    padding: 8px 18px; border-radius: 4px; cursor: pointer;
    font-family: inherit; transition: all 0.2s;
  }
  .ctrl-btn:hover { background: rgba(255,255,255,0.15); color: var(--white); }

  .reveal-locked {
    display: none; position: fixed; inset: 0; z-index: 300;
    background: var(--black); align-items: center; justify-content: center;
    flex-direction: column; text-align: center; padding: 40px;
  }
  .reveal-locked.open { display: flex; }
  .lock-icon { font-size: 48px; margin-bottom: 24px; opacity: 0.4; }
  .reveal-locked h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 5vw, 48px); color: var(--white);
    margin-bottom: 16px; letter-spacing: -0.02em;
  }
  .reveal-locked p { font-size: 17px; color: rgba(255,255,255,0.45); max-width: 400px; line-height: 1.7; }

  /* ─── SOCIAL PROOF PILL ─── */
  .social-proof-pill {
    font-size: 12px; color: var(--muted);
    margin-top: 12px; display: flex; align-items: center;
    justify-content: center; gap: 5px;
    background: var(--off); border: 1px solid var(--border);
    padding: 6px 14px; border-radius: 100px;
    letter-spacing: 0.01em;
  }
  #social-proof-count { color: var(--black); font-weight: 600; }

  /* ─── EXIT INTENT POPUP ─── */
  .exit-popup {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    z-index: 500; align-items: center; justify-content: center;
    padding: 24px;
  }
  .exit-popup.open { display: flex; }
  .exit-box {
    background: var(--white); max-width: 460px; width: 100%;
    padding: 52px 44px; position: relative; text-align: center;
    animation: modalSlide 0.35s cubic-bezier(.16,1,.3,1) forwards;
  }
  @keyframes modalSlide {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .exit-close {
    position: absolute; top: 16px; right: 20px;
    font-size: 22px; background: none; border: none;
    cursor: pointer; color: var(--muted);
  }
  .exit-eyebrow {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); font-weight: 600; margin-bottom: 14px;
  }
  .exit-headline {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.15; letter-spacing: -0.02em;
    margin-bottom: 14px;
  }
  .exit-sub {
    font-size: 14px; color: var(--muted);
    line-height: 1.7; margin-bottom: 28px;
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 700px) {
    nav { padding: 16px 20px; }
    .section { padding: 60px 20px; }
    .promise-grid { grid-template-columns: 1fr; }
    .promise-visual { display: none; }
    footer { flex-direction: column; text-align: center; }
    .big-quote { padding: 60px 24px; }
    .modal { padding: 36px 24px; }
  }

  /* ─── CHAPTER BAR ─── */
  .chapter-bar {
    position: absolute; top: 0; left: 0; right: 0;
    display: flex; gap: 3px; z-index: 11; padding: 0;
  }
  .chapter-seg {
    height: 3px; flex: 1;
    background: rgba(255,255,255,0.1);
    position: relative; overflow: hidden;
  }
  .chapter-seg.done { background: rgba(200,168,75,0.55); }
  .chapter-seg.active::after {
    content: '';
    position: absolute; top: 0; left: 0; height: 100%;
    background: var(--gold);
    animation: chapterFill 9s linear forwards;
  }
  @keyframes chapterFill { from{width:0%} to{width:100%} }

  /* ─── LANGUAGE CONTENT ─── */
  /* Language visibility: only one language at a time, even before JS.
     Vera: keep these rules if you restyle the landing. */
  [data-lang] { display: none !important; }
  html[data-ui-lang="en"] [data-lang="en"],
  html[data-ui-lang="es"] [data-lang="es"],
  html[data-ui-lang="it"] [data-lang="it"],
  html[data-ui-lang="fr"] [data-lang="fr"],
  html[data-ui-lang="pt"] [data-lang="pt"],
  html[data-ui-lang="de"] [data-lang="de"] { display: revert !important; }
  html:not([data-ui-lang]) [data-lang="en"] { display: revert !important; }


  button.pay-btn { width: 100%; appearance: none; -webkit-appearance: none; }
