/* ===========================================================
   ProSTB — site styles
   Palette derived from the app: deep night-blue room, neon
   cyan→indigo→magenta glow from the logo, one bright focus blue.
   =========================================================== */
:root {
    --bg:        #060912;
    --bg-2:      #0a0f1d;
    --panel:     #0e1526;
    --panel-2:   #131c31;
    --line:      rgba(255,255,255,.08);
    --text:      #eaf0fb;
    --muted:     #8a9bba;
    --muted-2:   #5d6e8c;
    --blue:      #3d8bff;
    --cyan:      #38d0ff;
    --violet:    #7b6cff;
    --magenta:   #c46bff;
    --grad:      linear-gradient(100deg, #38d0ff 0%, #6a8bff 45%, #c46bff 100%);
    --radius:    18px;
    --maxw:      1140px;
    --display:   "Sora", system-ui, sans-serif;
    --body:      "Inter", system-ui, sans-serif;
    --mono:      "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--display); font-weight: 600; font-size: 17px;
    padding: 14px 26px; border-radius: 999px;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
    color: #061018;
    background: var(--grad);
    box-shadow: 0 8px 30px rgba(80,140,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(120,120,255,.5); }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(255,255,255,.25); transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(6,9,18,.7);
    border-bottom: 1px solid var(--line);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -.01em; }
.wordmark span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--muted); font-size: 16px; transition: color .15s; }
.nav a:hover { color: var(--text); }
.nav .btn { padding: 10px 20px; font-size: 15px; }
.nav-links { display: flex; gap: 30px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
/* the "wall glow" — light a dark TV casts on the wall behind it */
.hero::before {
    content: ""; position: absolute; z-index: 0;
    top: -10%; right: -5%; width: 760px; height: 760px;
    background: radial-gradient(circle, rgba(99,120,255,.30), rgba(196,107,255,.12) 40%, transparent 68%);
    filter: blur(20px); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--cyan); border: 1px solid rgba(56,208,255,.3); border-radius: 999px;
    padding: 6px 14px; margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 66px); line-height: 1.02; letter-spacing: -.03em; }
.hero p.lead { color: var(--muted); font-size: 20px; margin: 22px 0 14px; max-width: 30ch; }
.hero .micro { color: var(--muted-2); font-size: 14.5px; margin-bottom: 30px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* TV tile visual */
.tv { position: relative; }
.tv-row { display: flex; align-items: center; gap: 22px; }
.tile {
    flex-shrink: 0; width: 168px; height: 168px; border-radius: 30px;
    background: #0b1020; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.06);
}
.tile.focus {
    width: 210px; height: 210px;
    box-shadow: 0 0 0 4px rgba(255,255,255,.92), 0 0 70px 6px rgba(99,150,255,.55);
    position: relative; z-index: 2;
}
.tile img { width: 78%; height: 78%; object-fit: contain; border-radius: 18px; }
.tile.ghost { opacity: .5; filter: saturate(.7); }
.tile.ghost .ph { width: 56%; height: 56%; border-radius: 14px; background: linear-gradient(135deg, #1b2236, #121829); }
.tile.ghost.diamond .ph { transform: rotate(45deg); background: linear-gradient(135deg, #6a5cff, #3d8bff); }
.tv-caption { margin-top: 22px; font-family: var(--mono); font-size: 13px; color: var(--muted-2); letter-spacing: .04em; text-align: center; }

/* ---------- Section scaffolding ---------- */
section { position: relative; padding: 84px 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head .kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.section-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px,4vw,42px); letter-spacing: -.02em; margin-top: 12px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }

/* ---------- Disclaimer band ---------- */
.band {
    background: linear-gradient(180deg, var(--bg-2), var(--bg));
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.band .inner { display: flex; gap: 22px; align-items: flex-start; max-width: 90ch; }
.band .shield {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(56,208,255,.1); border: 1px solid rgba(56,208,255,.3); color: var(--cyan); font-size: 22px;
}
.band h3 { font-family: var(--display); font-size: 22px; margin-bottom: 8px; }
.band p { color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step .n { counter-increment: step; font-family: var(--mono); font-size: 14px; color: var(--cyan); }
.step .n::before { content: "0" counter(step); }
.step h3 { font-family: var(--display); font-size: 21px; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .15s, border-color .15s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(120,150,255,.4); }
.feature .ic { font-size: 24px; margin-bottom: 14px; }
.feature h3 { font-family: var(--display); font-size: 19px; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; place-items: center; }
.price-card {
    width: 100%; max-width: 460px; text-align: center;
    background: radial-gradient(120% 120% at 50% 0%, rgba(99,120,255,.16), transparent 60%), var(--panel);
    border: 1px solid rgba(120,150,255,.35); border-radius: 26px; padding: 44px 38px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.price-card .tag { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.price-card .amount { font-family: var(--display); font-weight: 700; font-size: 68px; letter-spacing: -.03em; margin: 10px 0 2px; }
.price-card .amount small { font-size: 22px; font-weight: 600; color: var(--muted); }
.price-card .once { color: var(--muted); margin-bottom: 26px; }
.price-card ul { list-style: none; text-align: left; margin: 0 auto 30px; max-width: 320px; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 12px; color: var(--text); font-size: 16px; }
.price-card li::before { content: "✓"; color: var(--cyan); font-weight: 700; }
.price-card .btn { width: 100%; justify-content: center; }
.price-card .trial-note { margin-top: 16px; font-size: 14px; color: var(--muted-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 16px; max-width: 820px; }
.qa { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; }
.qa h3 { font-family: var(--display); font-size: 18px; margin-bottom: 8px; }
.qa p { color: var(--muted); font-size: 16px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 54px 0 40px; }
footer .cols { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
footer .wordmark { font-size: 21px; }
footer .blurb { color: var(--muted-2); font-size: 14px; margin-top: 10px; max-width: 34ch; }
footer .flinks { display: flex; gap: 40px; flex-wrap: wrap; }
footer .flinks .col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-bottom: 14px; font-weight: 600; }
footer .flinks .col a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 9px; }
footer .flinks .col a:hover { color: var(--text); }
footer .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer .legal .mono { font-family: var(--mono); }

/* ---------- Legal article pages ---------- */
.doc { max-width: 800px; padding: 70px 0; }
.doc h1 { font-size: clamp(32px,5vw,46px); margin-bottom: 8px; }
.doc .updated { color: var(--muted-2); font-family: var(--mono); font-size: 13px; margin-bottom: 36px; }
.doc h2 { font-family: var(--display); font-size: 23px; margin: 34px 0 12px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--cyan); }
.doc .back { font-family: var(--mono); font-size: 14px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero p.lead { max-width: none; }
    .tv-row { justify-content: center; }
    .nav-links { display: none; }
    .steps, .features { grid-template-columns: 1fr; }
    footer .cols { flex-direction: column; }
}
@media (max-width: 480px) {
    .tile { width: 128px; height: 128px; }
    .tile.focus { width: 158px; height: 158px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
}

/* gentle load-in */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .6s ease both; }
.rise.d1 { animation-delay: .08s; }
.rise.d2 { animation-delay: .16s; }
.rise.d3 { animation-delay: .24s; }
