/* Filmoyo FE — cinematic, but LIT.
   Reference page gets energy from luminous colour on dark. We keep the cinema
   identity (gold/teal, letterbox, grain) but stop being a dim room at night:
   real light sources, bright type, glowing accents. */
:root{
  /* ground — deep and rich, never flat black */
  --ink:#0A0714;
  --ink-2:#0E0A1C;
  --panel:#151030;
  --panel-2:#1B1440;
  --line:#332A5E;
  --line-hot:#4A3C86;

  /* type — LIFTED. body copy is bright, not grey mud */
  --text:#FFFFFF;
  --body:#DCD6F0;
  --mute:#ADA4CC;
  --dim:#8C82B0;

  /* light sources */
  --gold:#FFC24B;
  --gold-hot:#FFDC92;
  --teal:#3FE0CE;
  --coral:#FF6B5A;
  --violet:#9B6BFF;

  --wrap:1180px; --radius:16px;
  --display:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
  --sans:ui-sans-serif,-apple-system,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;color:var(--body);
  font-family:var(--sans);font-size:18px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
  background:
    radial-gradient(1100px 700px at 12% -5%, rgba(255,194,75,.16), transparent 60%),
    radial-gradient(900px 600px at 92% 8%, rgba(63,224,206,.13), transparent 62%),
    radial-gradient(1000px 800px at 50% 45%, rgba(155,107,255,.10), transparent 65%),
    linear-gradient(180deg,#0C0820,#0A0714 40%,#0A0714);
  background-attachment:fixed;
}
img,video{max-width:100%;display:block}
a{color:var(--gold-hot)}

/* FIX: .wrap must keep its centring even when .narrow is on the same element */
.wrap{max-width:var(--wrap);margin-left:auto;margin-right:auto;padding:0 28px}
/* Every section shares ONE left rail. "narrow" shortens the measure for
   readability, it does NOT re-centre the column — mixing centred and
   full-width bands made the page zigzag down the left edge. */
.wrap.narrow{max-width:var(--wrap)}
.wrap.narrow > *{max-width:880px}
.narrow:not(.wrap){max-width:820px}

.grain::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:1;opacity:.05;
  background-image:radial-gradient(circle at 1px 1px,#fff 1px,transparent 0);
  background-size:3px 3px;
}
section{position:relative;z-index:2;padding:96px 0}
section.tight{padding:64px 0 80px}
/* alternating bands now actually read as different, with a light edge */
section.alt{
  background:linear-gradient(180deg, rgba(27,20,64,.55), rgba(21,16,48,.30));
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
section.alt::before{
  content:"";position:absolute;left:0;right:0;top:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,194,75,.55),rgba(63,224,206,.45),transparent);
}

h1,h2,h3{font-family:var(--display);font-weight:700;line-height:1.08;letter-spacing:-.015em;margin:0 0 20px;color:var(--text)}
h1{font-size:clamp(36px,5.4vw,66px);text-shadow:0 0 60px rgba(255,194,75,.25)}
h2{font-size:clamp(28px,3.7vw,45px)}
h3{font-size:clamp(20px,2vw,26px);line-height:1.25}
p{margin:0 0 20px}
.eyebrow{
  font-family:var(--mono);font-size:13px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--gold);margin-bottom:22px;text-shadow:0 0 24px rgba(255,194,75,.5)
}
.support{color:var(--mute);font-size:17px}
.lede{font-size:21px;color:var(--body)}
strong{color:#fff;font-weight:700}
em{color:var(--gold-hot);font-style:italic}

/* headline highlight — the reference's best trick, warmed to our palette */
.hl{
  background:linear-gradient(180deg,rgba(255,194,75,.28),rgba(255,107,90,.22));
  box-shadow:0 0 40px rgba(255,194,75,.28);
  border-radius:6px;padding:0 .18em;
}

.bars{display:flex;gap:6px;margin-bottom:24px;align-items:center}
.bars i{display:block;width:30px;height:4px;border-radius:2px;background:var(--gold);box-shadow:0 0 16px rgba(255,194,75,.7)}
.bars i:nth-child(2){width:20px;background:var(--coral);box-shadow:0 0 14px rgba(255,107,90,.6)}
.bars i:nth-child(3){width:11px;background:var(--teal);box-shadow:0 0 14px rgba(63,224,206,.6)}

/* ── CTA — a light source, not a beige rectangle ─────────────── */
.cta{margin:38px 0}
.cta.center{text-align:center}
.cta.center .micro{text-align:center}
.btn{
  position:relative;display:inline-block;
  background:linear-gradient(135deg,#FFD470,#FFB023 45%,#FF8A3D);
  color:#2A1602;font-weight:900;font-size:20px;letter-spacing:.005em;
  padding:21px 46px;border-radius:12px;text-decoration:none;
  box-shadow:0 0 0 1px rgba(255,220,146,.6), 0 14px 44px rgba(255,168,45,.42), 0 0 90px rgba(255,168,45,.22);
  transition:transform .16s ease, box-shadow .16s ease;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 0 0 1px rgba(255,230,180,.85), 0 18px 56px rgba(255,168,45,.55), 0 0 120px rgba(255,168,45,.3)}
.micro{color:var(--mute);font-size:15px;margin-top:14px}

/* ── asset slots ─────────────────────────────────────────────── */
.slot{
  position:relative;width:100%;border-radius:var(--radius);overflow:hidden;
  background:linear-gradient(160deg,#1C1547,#140F31);
  border:1px solid var(--line-hot);
  box-shadow:0 18px 50px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
}
.slot[data-ar="21x9"]{aspect-ratio:21/9}
.slot[data-ar="16x9"]{aspect-ratio:16/9}
.slot[data-ar="4x5"]{aspect-ratio:4/5}
.slot[data-ar="1x1"]{aspect-ratio:1/1}
.slot video,.slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.slot.pending{display:flex;align-items:center;justify-content:center;text-align:center}
.slot.pending::after{
  content:"";position:absolute;inset:0;
  background:radial-gradient(60% 60% at 50% 45%, rgba(155,107,255,.20), transparent 70%);
}
.slot.pending .tag{
  position:relative;z-index:1;
  font-family:var(--mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--mute);padding:14px 18px;max-width:80%;line-height:1.75;
}
.slot.pending .tag b{color:var(--gold);display:block;margin-bottom:7px;letter-spacing:.15em;text-shadow:0 0 20px rgba(255,194,75,.5)}
.caption{color:var(--mute);font-size:15px;margin-top:14px;font-style:italic}

/* ── feature block ───────────────────────────────────────────── */
.fblock{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;margin:74px 0}
.fblock.flip .txt{order:2}
.fblock .txt p:last-child{margin-bottom:0}

/* ── grids / cards ───────────────────────────────────────────── */
.grid{display:grid;gap:24px}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
.card{
  background:linear-gradient(160deg,rgba(38,28,84,.85),rgba(21,16,48,.85));
  border:1px solid var(--line);border-radius:var(--radius);padding:28px;
  box-shadow:0 14px 40px rgba(0,0,0,.42);
  transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover{border-color:var(--gold);transform:translateY(-3px);box-shadow:0 20px 56px rgba(0,0,0,.5),0 0 44px rgba(255,194,75,.14)}
.card h3{margin-bottom:12px}
.card p{margin:0;color:var(--mute);font-size:16.5px}
.card .n{font-family:var(--mono);color:var(--teal);font-size:13px;letter-spacing:.14em;display:block;margin-bottom:12px;text-shadow:0 0 18px rgba(63,224,206,.55)}

.pull{
  font-family:var(--display);font-size:clamp(26px,3.4vw,40px);line-height:1.22;
  border-left:3px solid var(--gold);padding:10px 0 10px 30px;margin:48px 0;color:#fff;
  text-shadow:0 0 50px rgba(255,194,75,.3);
}
.aside{
  background:linear-gradient(160deg,rgba(45,26,22,.9),rgba(28,18,40,.9));
  border:1px solid rgba(255,107,90,.42);border-left:3px solid var(--coral);
  border-radius:12px;padding:22px 26px;color:var(--body);font-size:16px;font-style:italic;
  box-shadow:0 0 40px rgba(255,107,90,.10);
}

/* ── S12 proof grid — 4 layers, structural ───────────────────── */
.layer-a{
  background:linear-gradient(160deg,rgba(58,38,16,.92),rgba(30,20,52,.92));
  border:1px solid rgba(255,194,75,.42);border-radius:var(--radius);
  padding:26px 30px;margin-bottom:32px;color:var(--body);font-size:17px;
  box-shadow:0 0 46px rgba(255,194,75,.12);
}
.layer-a strong{color:var(--gold-hot)}
.proof-tile{
  background:linear-gradient(160deg,rgba(38,28,84,.85),rgba(21,16,48,.85));
  border:1px solid var(--line);border-radius:14px;overflow:hidden;
  box-shadow:0 14px 40px rgba(0,0,0,.42);
}
.proof-tile .body{padding:18px 20px}
.proof-tile .fig{font-family:var(--mono);font-size:15.5px;color:var(--text);margin:0 0 5px}
.proof-tile .layer-b{display:block;color:var(--coral);font-size:12.5px;font-style:italic}
.proof-tile .layer-c{color:var(--dim);font-size:12px;font-family:var(--mono);margin-top:11px;line-height:1.65}
.layer-d{margin-top:28px;color:var(--mute);font-size:14px;font-style:italic;line-height:1.75}

/* ── lists / offer ───────────────────────────────────────────── */
.stack{list-style:none;padding:0;margin:0}
.stack li{padding:15px 0;border-bottom:1px solid var(--line);font-size:17.5px;color:var(--body)}
.stack li:last-child{border-bottom:0}
.bonusbox{
  background:linear-gradient(160deg,rgba(58,38,16,.88),rgba(26,17,48,.92));
  border:1px solid rgba(255,194,75,.45);border-radius:var(--radius);padding:34px;margin-top:36px;
  box-shadow:0 0 64px rgba(255,194,75,.14);
}
.bonusbox h3{color:var(--gold-hot);text-shadow:0 0 30px rgba(255,194,75,.4)}
.tbd{
  display:inline-block;background:rgba(255,107,90,.14);border:1px dashed var(--coral);color:#FF9A86;
  font-family:var(--mono);font-size:12px;letter-spacing:.08em;padding:4px 10px;border-radius:6px
}

.pricecard{
  background:linear-gradient(160deg,rgba(38,28,84,.9),rgba(21,16,48,.9));
  border:1px solid var(--gold);border-radius:var(--radius);padding:38px;text-align:center;
  box-shadow:0 0 70px rgba(255,194,75,.18);
}
.price{font-family:var(--display);font-size:64px;color:#fff;line-height:1;margin:10px 0;text-shadow:0 0 50px rgba(255,194,75,.45)}
.bump{
  background:linear-gradient(160deg,rgba(38,28,84,.9),rgba(21,16,48,.9));
  border:1px solid var(--teal);border-radius:12px;padding:26px 30px;color:var(--text);
  box-shadow:0 0 46px rgba(63,224,206,.14);
}

details{border-bottom:1px solid var(--line);padding:20px 0}
details summary{cursor:pointer;font-weight:700;font-size:18.5px;list-style:none;color:#fff}
details summary::-webkit-details-marker{display:none}
details summary::before{content:"+";color:var(--gold);font-family:var(--mono);margin-right:14px;text-shadow:0 0 18px rgba(255,194,75,.6)}
details[open] summary::before{content:"–"}
details p{margin:15px 0 0;color:var(--mute)}

footer{
  background:linear-gradient(180deg,rgba(10,7,20,.4),#07050F);
  border-top:1px solid var(--line);
  padding:60px 0;color:var(--dim);font-size:14px;line-height:1.8;position:relative;z-index:2
}
footer a{color:var(--mute);text-decoration:none;margin-right:20px}
footer a:hover{color:var(--gold-hot)}
footer .legal{margin-top:22px;font-style:italic;max-width:900px}

@media (max-width:960px){
  body{font-size:17px}
  section{padding:70px 0}
  .fblock{grid-template-columns:1fr;gap:30px}
  .fblock.flip .txt{order:0}
  .g4,.g3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
  section{padding:56px 0}
  .wrap{padding:0 20px}
  .g4,.g3,.g2{grid-template-columns:1fr}
  .btn{display:block;text-align:center;padding:18px 20px;font-size:18px}
  .fblock{margin:44px 0}
}
