/* ═══════════════════════════════════════════════════════════════
   EREBORA ROADSIDE — Premium Funnel  |  LV-Level Design
   Instrument Serif + DM Sans  |  Dark/Cream/Gold
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Backgrounds */
  --bg-dark: #0c0c0c;
  --bg-charcoal: #141414;
  --bg-cream: #faf6ef;
  --bg-warm: #f3ede2;

  /* Gold */
  --gold: #c9a84c;
  --gold-light: #d9be6e;
  --gold-dim: rgba(201,168,76,0.12);

  /* Text */
  --text-light: #f0ece4;
  --text-muted-light: rgba(240,236,228,0.55);
  --text-dark: #1a1a1a;
  --text-muted-dark: #7a7a7a;

  /* CTA */
  --cta-bg: #c9a84c;
  --cta-hover: #d9be6e;
  --cta-text: #0c0c0c;

  /* Utility */
  --border-light: rgba(240,236,228,0.12);
  --border-dark: rgba(26,26,26,0.1);
  --radius: 6px;

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Section rhythm */
  --section-pad: clamp(80px, 12vh, 140px);
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-body);
  line-height:1.65;
  color:var(--text-dark);
  background:var(--bg-dark);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}

/* ── Layout ────────────────────────────────────────────────── */
.container{max-width:1100px;margin:0 auto;padding:0 24px}
.container-narrow{max-width:680px;margin:0 auto;padding:0 24px}

/* ── Section base ──────────────────────────────────────────── */
.section{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:var(--section-pad) 0;
  position:relative;
}
.section--dark{background:var(--bg-dark);color:var(--text-light)}
.section--charcoal{background:var(--bg-charcoal);color:var(--text-light)}
.section--cream{background:var(--bg-cream);color:var(--text-dark)}
.section--warm{background:var(--bg-warm);color:var(--text-dark)}

/* Subtle noise overlay for depth */
.section--dark::before,
.section--charcoal::before{
  content:'';
  position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events:none;
  z-index:0;
}
.section--dark>*,.section--charcoal>*{position:relative;z-index:1}

/* Gold accent line between sections */
.section--divider::after{
  content:'';
  position:absolute;bottom:0;left:50%;transform:translateX(-50%);
  width:60px;height:1px;background:var(--gold);opacity:.4;
}

/* ── Typography ────────────────────────────────────────────── */
.t-display{
  font-family:var(--font-display);
  font-weight:400;
  line-height:1.1;
  letter-spacing:-0.01em;
}
.t-headline{
  font-size:clamp(2.5rem, 5vw, 4.25rem);
}
.t-section{
  font-size:clamp(1.75rem, 3.5vw, 3rem);
  margin-bottom:clamp(24px, 4vh, 48px);
}
.t-label{
  font-family:var(--font-body);
  font-size:0.75rem;
  font-weight:600;
  letter-spacing:0.2em;
  text-transform:uppercase;
}
.t-body-lg{
  font-size:clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height:1.7;
}
.t-gold{color:var(--gold)}
.t-muted-l{color:var(--text-muted-light)}
.t-muted-d{color:var(--text-muted-dark)}
.text-center{text-align:center}

/* ── CTA Button ────────────────────────────────────────────── */
.cta-button{
  display:inline-block;
  background:var(--cta-bg);
  color:var(--cta-text);
  font-family:var(--font-body);
  font-size:1rem;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  padding:18px 40px;
  border:none;
  border-radius:var(--radius);
  cursor:pointer;
  text-align:center;
  min-height:48px;
  transition:all .3s cubic-bezier(.23,1,.32,1);
  box-shadow:0 4px 24px rgba(201,168,76,0.25);
  text-decoration:none;
}
.cta-button:hover{
  background:var(--cta-hover);
  transform:translateY(-2px);
  box-shadow:0 8px 32px rgba(201,168,76,0.35);
}
.cta-button:active{transform:translateY(0)}
.cta-button--full{width:100%;max-width:420px}
.cta-sub{
  display:block;
  margin-top:12px;
  font-size:0.8125rem;
  opacity:.55;
}

/* ── 3D Book ───────────────────────────────────────────────── */
.book-3d{
  perspective:900px;
  display:flex;
  justify-content:center;
  align-items:center;
}
.book-3d-wrap{
  position:relative;
  transform-style:preserve-3d;
  transform:rotateY(-22deg);
  transition:transform .8s cubic-bezier(.23,1,.32,1);
  width:220px;
  height:310px;
}
.book-3d-wrap:hover{transform:rotateY(-10deg)}

/* Front cover */
.book-front{
  position:absolute;
  width:100%;height:100%;
  background:linear-gradient(160deg,rgba(26,26,26,0.35) 0%,rgba(37,37,37,0.2) 40%,rgba(26,26,26,0.35) 100%),
    url('../images/product/01-cover.png') center/cover no-repeat;
  border-radius:2px 8px 8px 2px;
  backface-visibility:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:32px 20px;
  text-align:center;
  z-index:2;
  border:1px solid rgba(201,168,76,0.2);
  overflow:hidden;
}
/* Gold foil accent line */
.book-front::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
.book-front::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}

/* Spine */
.book-spine{
  position:absolute;
  width:28px;height:100%;
  left:0;top:0;
  background:linear-gradient(90deg,#111 0%,#1a1a1a 100%);
  transform:rotateY(-90deg) translateZ(0px);
  transform-origin:left center;
  border-radius:4px 0 0 4px;
  border-left:2px solid rgba(201,168,76,0.25);
}

/* Page edges */
.book-pages{
  position:absolute;
  width:24px;height:calc(100% - 8px);
  right:-24px;top:4px;
  background:repeating-linear-gradient(
    0deg,
    #f5f0e8 0px,#f5f0e8 1px,
    #ebe6db 1px,#ebe6db 2px
  );
  transform:rotateY(90deg);
  transform-origin:left center;
  border-radius:0 2px 2px 0;
}

/* Drop shadow beneath book */
.book-shadow{
  position:absolute;
  bottom:-25px;left:5%;width:90%;height:30px;
  background:radial-gradient(ellipse,rgba(0,0,0,0.5) 0%,transparent 70%);
  filter:blur(12px);
  z-index:-1;
}

/* Book text */
.book-badge{
  font-size:0.625rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;
  color:var(--gold);margin-bottom:16px;
}
.book-title{
  font-family:var(--font-display);
  font-size:1.375rem;color:#fff;line-height:1.2;margin-bottom:8px;
}
.book-subtitle{
  font-size:0.875rem;font-weight:300;color:rgba(255,255,255,0.65);margin-bottom:auto;
}
.book-author{
  font-size:0.6875rem;letter-spacing:0.12em;text-transform:uppercase;
  color:rgba(201,168,76,0.6);margin-top:auto;
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero{
  background:var(--bg-dark);color:var(--text-light);
  min-height:100vh;
  display:flex;align-items:center;
  padding:clamp(60px,8vh,100px) 0;
  position:relative;
  overflow:hidden;
}
/* Radial glow behind content */
.hero::before{
  content:'';position:absolute;
  top:30%;left:50%;transform:translate(-50%,-50%);
  width:800px;height:600px;
  background:radial-gradient(ellipse,rgba(201,168,76,0.04) 0%,transparent 70%);
  pointer-events:none;
}
.hero .container{position:relative;z-index:1}
.hero-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:48px;
  align-items:center;
  text-align:center;
}
.hero-text h1{margin-bottom:20px}
.hero-sub{
  font-size:clamp(1rem, 1.5vw, 1.1875rem);
  color:var(--text-muted-light);
  max-width:520px;
  margin:0 auto 32px;
  line-height:1.7;
}
.hero-price{
  font-family:var(--font-display);
  font-size:2rem;
  color:var(--gold);
  margin-bottom:24px;
}
.hero-cta-wrap{margin-bottom:32px}

/* Trust row */
.trust-row{
  display:flex;justify-content:center;gap:28px;flex-wrap:wrap;
}
.trust-item{
  display:flex;align-items:center;gap:8px;
  font-size:0.8125rem;color:var(--text-muted-light);
}
.trust-item svg{width:16px;height:16px;fill:var(--gold);flex-shrink:0}

/* ── Problem Agitation ─────────────────────────────────────── */
.moment-text{max-width:600px;margin:0 auto;text-align:center}
.moment-line{
  font-family:var(--font-display);
  font-size:clamp(1.25rem, 2.5vw, 1.75rem);
  line-height:1.5;
  margin-bottom:24px;
}
.moment-line--pain{color:var(--text-muted-light)}
.moment-line--turn{color:var(--text-light)}
.moment-line--solve{color:var(--gold);font-style:italic}

/* Stats bar */
.stats-row{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
  margin-top:clamp(40px,6vh,80px);
  padding-top:40px;border-top:1px solid var(--border-light);
}
.stat-item{text-align:center}
.stat-num{
  font-family:var(--font-display);
  font-size:clamp(2rem,3vw,3rem);
  color:var(--gold);
  line-height:1;margin-bottom:6px;
}
.stat-label{
  font-size:0.8125rem;color:var(--text-muted-light);
}

/* ── Solution Bridge ───────────────────────────────────────── */
.bridge-text{
  max-width:600px;margin:0 auto;text-align:center;
}
.bridge-main{
  font-family:var(--font-display);
  font-size:clamp(1.75rem, 3.5vw, 2.75rem);
  line-height:1.25;
  margin-bottom:24px;
}
.bridge-sub{
  font-size:1.0625rem;
  color:var(--text-muted-dark);
  line-height:1.7;
}

/* ── Chapters / What's Inside ──────────────────────────────── */
.chapter-list{list-style:none;counter-reset:ch}
.chapter-item{
  counter-increment:ch;
  padding:20px 0;
  border-bottom:1px solid var(--border-light);
  display:flex;gap:16px;align-items:baseline;
  font-size:1.0625rem;
}
.chapter-item::before{
  content:counter(ch,decimal-leading-zero);
  font-family:var(--font-display);
  font-size:1.5rem;
  color:var(--gold);
  flex-shrink:0;
  min-width:36px;
}
.bonus-callout{
  margin-top:32px;
  padding:20px 24px;
  background:var(--gold-dim);
  border-left:3px solid var(--gold);
  border-radius:0 var(--radius) var(--radius) 0;
  font-size:0.9375rem;
  color:var(--text-light);
}

/* ── Who It's For ──────────────────────────────────────────── */
.check-list{list-style:none;max-width:500px;margin:0 auto}
.check-item{
  display:flex;align-items:flex-start;gap:14px;
  margin-bottom:20px;font-size:1.0625rem;
}
.check-icon{
  flex-shrink:0;width:24px;height:24px;
  border-radius:50%;
  background:var(--gold);
  display:flex;align-items:center;justify-content:center;
  margin-top:2px;
}
.check-icon svg{width:14px;height:14px;fill:var(--bg-dark)}

/* ── Value Stack ───────────────────────────────────────────── */
.value-card{
  max-width:560px;margin:0 auto;
  background:rgba(255,255,255,0.03);
  border:1px solid var(--border-light);
  border-radius:12px;
  padding:clamp(32px,5vh,48px);
}
.value-item{
  display:flex;justify-content:space-between;align-items:center;
  padding:14px 0;
  border-bottom:1px solid var(--border-light);
}
.value-item:last-of-type{border-bottom:none}
.value-name{font-size:1rem}
.value-price{
  font-family:var(--font-display);
  font-size:1.125rem;color:var(--text-muted-light);
}
.value-bonus{
  margin:20px 0;
  padding:16px 20px;
  background:var(--gold-dim);
  border:1px solid rgba(201,168,76,0.25);
  border-radius:var(--radius);
}
.value-bonus-title{
  font-weight:700;color:var(--gold);font-size:0.9375rem;
  margin-bottom:4px;
}
.value-bonus-desc{
  font-size:0.8125rem;color:var(--text-muted-light);
}
.value-total{
  display:flex;justify-content:space-between;align-items:center;
  padding:16px 0;margin-top:8px;
  border-top:1px solid var(--border-light);
  font-weight:700;font-size:1.125rem;
}
.price-block{
  text-align:center;
  margin:32px 0;
}
.price-was{
  font-size:1.5rem;text-decoration:line-through;
  color:var(--text-muted-light);margin-bottom:4px;
}
.price-now{
  font-family:var(--font-display);
  font-size:clamp(3rem, 5vw, 4rem);
  color:var(--gold);
  line-height:1;
}
.price-compare{
  font-size:0.875rem;color:var(--text-muted-light);
  margin-top:8px;
}

/* ── Guarantee ─────────────────────────────────────────────── */
.guarantee-card{
  max-width:560px;margin:0 auto;text-align:center;
  padding:clamp(40px,6vh,64px) clamp(24px,4vw,48px);
  border:2px solid var(--gold);
  border-radius:16px;
  background:rgba(201,168,76,0.03);
}
.guarantee-icon{font-size:3rem;margin-bottom:20px;display:block}
.guarantee-title{
  font-family:var(--font-display);
  font-size:clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom:16px;
}
.guarantee-text{
  font-size:1rem;
  color:var(--text-muted-dark);
  line-height:1.7;
  max-width:420px;margin:0 auto;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list{max-width:640px;margin:0 auto}
.faq-item{border-bottom:1px solid var(--border-light)}
.faq-question{
  width:100%;padding:20px 0;
  background:none;border:none;cursor:pointer;
  font-family:var(--font-body);font-size:1rem;font-weight:600;
  text-align:left;
  display:flex;justify-content:space-between;align-items:center;
  color:inherit;
  gap:12px;
}
.faq-question::after{
  content:'+';font-size:1.5rem;font-weight:300;
  transition:transform .3s;flex-shrink:0;
  color:var(--gold);
}
.faq-item.open .faq-question::after{transform:rotate(45deg)}
.faq-answer{
  max-height:0;overflow:hidden;
  transition:max-height .4s ease;
  font-size:0.9375rem;line-height:1.7;
}
.section--dark .faq-answer,.section--charcoal .faq-answer{color:var(--text-muted-light)}
.section--cream .faq-answer,.section--warm .faq-answer{color:var(--text-muted-dark)}
.faq-item.open .faq-answer{max-height:400px}
.faq-answer p{padding-bottom:20px}

/* ── Final CTA ─────────────────────────────────────────────── */
.final-cta{text-align:center}
.final-headline{
  font-family:var(--font-display);
  font-size:clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom:12px;
}
.final-sub{
  font-size:1.0625rem;margin-bottom:32px;
}
.section--dark .final-sub{color:var(--text-muted-light)}

/* ── Sticky Bottom Bar ─────────────────────────────────────── */
.sticky-bar{
  position:fixed;bottom:0;left:0;right:0;z-index:1000;
  background:rgba(12,12,12,0.95);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  padding:10px 20px;
  display:flex;justify-content:center;align-items:center;gap:14px;
  height:60px;
  transform:translateY(100%);
  transition:transform .4s cubic-bezier(.23,1,.32,1);
  border-top:1px solid rgba(201,168,76,0.15);
}
.sticky-bar.visible{transform:translateY(0)}
.sticky-reason{color:var(--text-muted-light);font-size:0.875rem;display:none}
.sticky-bar .cta-button{
  width:auto;padding:12px 28px;font-size:0.875rem;
  min-height:auto;box-shadow:none;
}

/* ── Email Modal ───────────────────────────────────────────── */
.modal-overlay{
  display:none;position:fixed;inset:0;
  background:rgba(0,0,0,0.7);
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  z-index:2000;
  justify-content:center;align-items:center;
}
.modal-overlay.active{display:flex}
.modal-content{
  background:var(--bg-cream);
  border-radius:16px;
  padding:40px 32px;
  max-width:420px;width:90%;
  text-align:center;
  border:1px solid rgba(201,168,76,0.2);
}
.modal-content h3{
  font-family:var(--font-display);
  font-size:1.5rem;margin-bottom:8px;color:var(--text-dark);
}
.modal-content p{
  margin-bottom:24px;color:var(--text-muted-dark);font-size:0.9375rem;
}
.modal-input{
  width:100%;padding:16px;
  border:1px solid rgba(26,26,26,0.15);
  border-radius:var(--radius);
  font-size:1rem;font-family:var(--font-body);
  margin-bottom:14px;background:#fff;
  transition:border-color .2s;
}
.modal-input:focus{outline:none;border-color:var(--gold)}
.modal-close{
  background:none;border:none;
  font-size:0.875rem;color:var(--text-muted-dark);
  cursor:pointer;margin-top:12px;font-family:var(--font-body);
}
.eu-consent{
  display:flex;align-items:flex-start;gap:8px;
  margin-bottom:16px;text-align:left;
  font-size:0.75rem;color:var(--text-muted-dark);
}
.eu-consent input{margin-top:3px}

/* ── Footer ────────────────────────────────────────────────── */
.footer-zone{
  background:var(--bg-dark);
  color:var(--text-muted-light);
  padding:64px 0 32px;
  font-size:0.8125rem;line-height:1.7;
}
.footer-zone a{color:var(--text-muted-light);transition:color .2s}
.footer-zone a:hover{color:var(--gold)}
.footer-author{text-align:center;margin-bottom:24px}
.footer-business{text-align:center;margin-bottom:24px}
.footer-extended-faq{max-width:640px;margin:0 auto 24px}
.footer-extended-faq .section-title,.footer-extended-faq h3{
  font-family:var(--font-display);font-size:1.125rem;
  color:var(--text-muted-light);margin-bottom:16px;text-align:center;
}
.footer-extended-faq .faq-item{border-color:var(--border-light)}
.footer-extended-faq .faq-question{
  color:var(--text-muted-light);font-size:0.875rem;padding:14px 0;
}
.footer-extended-faq .faq-answer{color:rgba(240,236,228,0.4);font-size:0.8125rem}
.footer-divider{
  border:none;border-top:1px solid var(--border-light);
  margin:32px auto;max-width:640px;
}
.footer-links{
  display:flex;justify-content:center;gap:24px;
  margin-bottom:16px;flex-wrap:wrap;
}
.footer-trust{
  display:flex;justify-content:center;align-items:center;
  gap:16px;margin-bottom:16px;font-size:0.75rem;
  color:rgba(240,236,228,0.35);
}
.footer-trust svg{width:14px;height:14px;fill:currentColor}
.footer-copy{text-align:center;color:rgba(240,236,228,0.25);font-size:0.75rem}
.footer-social{text-align:center;margin-bottom:24px}
.footer-social a{display:inline-flex;align-items:center;gap:6px}
.footer-social svg{width:18px;height:18px;fill:currentColor}

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal{
  opacity:0;transform:translateY(30px);
  transition:opacity .8s cubic-bezier(.23,1,.32,1),transform .8s cubic-bezier(.23,1,.32,1);
}
.reveal.visible{opacity:1;transform:translateY(0)}

/* ── Honeypot ──────────────────────────────────────────────── */
.hp-field{position:absolute;left:-9999px;opacity:0;height:0;width:0}

/* ── Recover / Success / Legal pages ───────────────────────── */
.page-centered{
  min-height:60vh;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;
  padding:48px 20px;background:var(--bg-cream);color:var(--text-dark);
}
.page-centered h1{font-family:var(--font-display);font-size:2rem;margin-bottom:16px}
.page-centered p{color:var(--text-muted-dark);margin-bottom:24px;max-width:500px}
.form-group{width:100%;max-width:400px;margin-bottom:16px}
.form-input{
  width:100%;padding:14px 16px;
  border:1px solid rgba(26,26,26,0.15);
  border-radius:var(--radius);font-size:1rem;font-family:var(--font-body);
}
.form-input:focus{outline:none;border-color:var(--gold)}
.alert{padding:16px;border-radius:8px;margin-bottom:16px;max-width:400px;width:100%}
.alert-success{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}
.alert-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.legal-page{padding:48px 0;background:var(--bg-cream);color:var(--text-dark)}
.legal-page h1{font-family:var(--font-display);font-size:1.75rem;margin-bottom:24px}
.legal-page h2{font-size:1.25rem;margin-top:32px;margin-bottom:12px}
.legal-page p,.legal-page ul{margin-bottom:16px;color:var(--text-muted-dark)}
.legal-page ul{padding-left:24px}
.legal-page a{color:var(--gold)}

/* guarantee badge for success page */
.guarantee-badge{
  display:flex;align-items:center;gap:16px;
  background:rgba(201,168,76,0.08);
  border:1px solid rgba(201,168,76,0.25);
  border-radius:12px;padding:20px;
  margin:24px auto;max-width:500px;
}
.guarantee-badge .guarantee-icon{font-size:2.5rem;flex-shrink:0}
.guarantee-badge .guarantee-text{font-size:0.9375rem}
.guarantee-badge .guarantee-text strong{display:block;font-size:1.0625rem;margin-bottom:4px}

/* section-title for backward compat */
.section-title{
  font-family:var(--font-display);
  font-size:clamp(1.75rem, 3.5vw, 3rem);
  margin-bottom:clamp(24px, 4vh, 48px);
  text-align:center;
}

/* ── Responsive ────────────────────────────────────────────── */
@media(min-width:768px){
  .hero-grid{
    grid-template-columns:1fr 1fr;
    text-align:left;
    gap:64px;
  }
  .hero-sub{margin:0 0 32px}
  .hero .trust-row{justify-content:flex-start}

  .book-3d-wrap{width:260px;height:370px}
  .book-title{font-size:1.625rem}

  .stats-row{gap:40px}
  .sticky-reason{display:block}

  /* Larger section padding desktop */
  .section{padding:var(--section-pad) 0}
}

@media(min-width:1024px){
  .book-3d-wrap{width:280px;height:400px}
}

@media(max-width:767px){
  body{padding-bottom:60px}
  .stats-row{grid-template-columns:1fr;gap:16px}
  .stat-item{
    display:flex;align-items:center;gap:12px;
    text-align:left;
  }
  .stat-num{margin-bottom:0}
  .hero-grid{gap:32px}
}

/* Hide sticky on desktop */
@media(min-width:768px){
  .sticky-bar{display:none !important}
}
