:root {
  --ink: #0b0f1a;
  --panel: #121829;
  --panel-2: #1a2238;
  --line: #273049;
  --text: #e6e9f2;
  --muted: #9aa3ba;
  --brand: #8b5cf6;
  --brand-strong: #7c3aed;
  --accent: #22d3ee;
  --premium: #d946ef;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--brand);
  background: var(--brand); color: #fff; font-weight: 600; text-decoration: none;
  transition: background .15s, border-color .15s; white-space: nowrap;
}
.btn:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--brand); background: rgba(139, 92, 246, .12); }
.btn.big { padding: 14px 24px; font-size: 1.05rem; }
.btn.wide { width: 100%; }

/* Topo */
.top { position: sticky; top: 0; z-index: 5; background: rgba(11, 15, 26, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--text); }
.logo svg { width: 30px; height: 30px; color: var(--brand); }
.nav { display: flex; gap: 20px; margin-right: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--text); }
.top-cta { display: flex; gap: 8px; }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 500px at 80% -10%, rgba(139, 92, 246, .28), transparent 60%), radial-gradient(700px 400px at -10% 30%, rgba(34, 211, 238, .12), transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .75em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
.hl { background: linear-gradient(90deg, var(--brand), var(--premium)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.fine { color: var(--muted); font-size: .95rem; }
.fine strong { color: var(--text); }

.hero-art { position: relative; min-height: 320px; }
.screen { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.screen-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.posters b { aspect-ratio: 2 / 3; border-radius: 10px; }
.posters .p1 { background: linear-gradient(160deg, #6d28d9, #1e1b4b); }
.posters .p2 { background: linear-gradient(160deg, #0891b2, #0b1e33); }
.posters .p3 { background: linear-gradient(160deg, #be185d, #2a0f24); }
.posters .p4 { background: linear-gradient(160deg, #d97706, #2b1806); }
.posters .p5 { background: linear-gradient(160deg, #059669, #06231b); }
.posters .p6 { background: linear-gradient(160deg, #7c3aed, #170f2e); }
.player { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.play { width: 0; height: 0; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.track { flex: 1; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.fill { display: block; width: 42%; height: 100%; background: linear-gradient(90deg, var(--brand), var(--premium)); }
.tv { position: absolute; right: -8px; bottom: -24px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.tv-code { display: block; font: 700 1.2rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: var(--accent); }
.tv-label { font-size: .8rem; color: var(--muted); }

/* Destaques */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 56px; padding-bottom: 24px; }
.features article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.features h2 { font-size: 1.1rem; }
.features p { color: var(--muted); margin: 0; font-size: .95rem; }

.sec-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 24px; }

/* Planos */
.plans { padding: 64px 0; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px; justify-content: center; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.pro { border-color: var(--brand); background: linear-gradient(180deg, rgba(139, 92, 246, .14), var(--panel) 45%); }
.plan h3 { font-size: 1.3rem; }
.tag { position: absolute; top: -12px; left: 24px; background: var(--premium); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin: 0; }
.price { color: var(--muted); margin-bottom: 16px; }
.price span { font-size: 2.2rem; font-weight: 800; color: var(--text); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--text); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Como funciona */
.how { padding-top: 24px; padding-bottom: 64px; }
.steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px 20px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(139, 92, 246, .18); color: var(--brand); font-weight: 800; margin-bottom: 12px; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); margin: 0; }
.steps strong { color: var(--text); white-space: nowrap; }
.note { color: var(--muted); font-size: .9rem; border-left: 3px solid var(--accent); padding-left: 12px; }

/* Roku */
.roku { padding: 56px 0; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roku-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.roku p { color: var(--muted); max-width: 38em; }
.roku p strong { color: var(--text); }
.roku-code { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; display: grid; gap: 6px; }
.roku-code span, .roku-code small { color: var(--muted); }
.roku-code strong { font: 700 2rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; color: var(--accent); }

/* FAQ */
.faq { padding-top: 64px; padding-bottom: 48px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Final e rodapé */
.final { padding: 56px 0 72px; }
.final-in { text-align: center; background: linear-gradient(120deg, rgba(139, 92, 246, .25), rgba(217, 70, 239, .15)); border: 1px solid var(--line); border-radius: 20px; padding: 40px 16px; }
.final h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 20px; }
.foot { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .9rem; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

/* Responsivo */
@media (max-width: 960px) {
  .hero-in, .roku-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-bottom: 24px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
  .top-in { justify-content: space-between; }
}
@media (max-width: 600px) {
  .hero { padding-top: 40px; }
  .features, .plan-grid { grid-template-columns: 1fr; }
  .top-cta .btn.ghost { display: none; }
  .tv { right: 8px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
.plans .sec-title { text-align: center; }
.foot .tmdb { flex-basis: 100%; font-size: .8rem; color: var(--muted); opacity: .8; }
