/* StreamCast – design system. Colors are taken from the logo: black, violet → magenta gradient, red "live" dot. */
:root {
  --bg: #050309;
  --bg-2: #0c0717;
  --card: rgba(255, 255, 255, .035);
  --card-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --text: #f4f0ff;
  --muted: #a99fc4;
  --violet: #6a3dff;
  --purple: #9b4dff;
  --magenta: #d65cff;
  --pink: #ff7ae0;
  --live: #ff2d47;
  --ok: #3ee8a5;
  --grad: linear-gradient(100deg, #5a34ff 0%, #9b4dff 45%, #e05cff 100%);
  --grad-soft: linear-gradient(100deg, rgba(90, 52, 255, .18), rgba(224, 92, 255, .18));
  --r: 18px;
  --f-head: 'Montserrat', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 500 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; letter-spacing: -.02em; }
h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { color: var(--muted); }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 45, 71, .7); animation: live 1.8s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(255, 45, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 45, 71, 0); } }

/* ambient background */
.glow { position: fixed; inset: 0; pointer-events: none; z-index: -1; background:
  radial-gradient(900px 600px at 85% -10%, rgba(155, 77, 255, .22), transparent 60%),
  radial-gradient(700px 500px at -10% 30%, rgba(90, 52, 255, .16), transparent 60%),
  radial-gradient(600px 400px at 60% 110%, rgba(224, 92, 255, .12), transparent 60%); }

/* header */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(5, 3, 9, .72); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: flex; align-items: center; }
.logo img { height: 42px; width: auto; mix-blend-mode: screen; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover, .nav a.on { color: var(--text); }
.top .btn { padding: 10px 18px; font-size: 15px; }
.burger { display: none; margin-left: auto; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 700 16px/1 var(--f-body); border: 0; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn-main { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(155, 77, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(155, 77, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { background: var(--card-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-lg { padding: 19px 34px; font-size: 18px; }
.btn small { font-weight: 600; opacity: .8; font-size: 13px; }

/* sections */
section { padding: 100px 0; }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head p { margin-top: 16px; font-size: 19px; }

/* hero */
.hero { padding: 90px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 22px; }
.hero .lead { font-size: 20px; max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--muted); font-weight: 600; }
.trust span::before { content: '✓'; color: var(--ok); margin-right: 7px; font-weight: 800; }
.shot { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 120px -30px rgba(155, 77, 255, .6); background: #0b0715; }
.shot img { width: 100%; }
.hero-art { position: relative; }
.hero-art .float { position: absolute; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 50px -10px rgba(0, 0, 0, .9); animation: bob 6s ease-in-out infinite; }
.hero-art .f1 { width: 40%; left: -8%; bottom: -16%; }
.hero-art .f2 { width: 34%; right: -5%; top: -14%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.stats div { background: var(--bg-2); padding: 28px 20px; text-align: center; }
.stats b { display: block; font: 800 40px/1 var(--f-head); }
.stats span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(155, 77, 255, .45); }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(155, 77, 255, .35); margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 16px; }

/* product cards (home) */
.prod { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.prod .info { padding: 40px; display: flex; flex-direction: column; }
.prod .info h3 { font-size: 32px; margin: 12px 0 10px; }
.prod .info ul { list-style: none; margin: 18px 0 26px; display: grid; gap: 8px; }
.prod .info li { color: var(--text); font-weight: 600; font-size: 16px; }
.prod .info li::before { content: '✦'; color: var(--magenta); margin-right: 10px; }
.prod .info .row { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.prod .pic { position: relative; background: linear-gradient(135deg, #1a0b33, #0b0715); min-height: 340px; }
.prod .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font: 700 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; background: rgba(62, 232, 165, .12); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(62, 232, 165, .3); width: fit-content; }
.badge.soon { background: var(--card-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.price-tag { font: 800 30px/1 var(--f-head); }
.price-tag small { font: 600 15px var(--f-body); color: var(--muted); }
.soon-card { position: relative; overflow: hidden; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; }
.soon-card::before { content: ''; position: absolute; inset: 0; background: var(--bgimg); opacity: .5; filter: blur(2px); }
.soon-card > * { position: relative; }

/* feature rows */
.feat { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding: 50px 0; }
.feat.rev .txt { order: 2; }
.feat h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 14px 0 18px; }
.feat p { font-size: 18px; }
.feat ul { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.feat li { display: flex; gap: 12px; color: var(--text); font-weight: 600; }
.feat li::before { content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--grad); color: #fff; margin-top: 1px; }

/* overlay gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { border-radius: 14px; overflow: hidden; background: #0b0715; border: 1px solid var(--line); aspect-ratio: 4 / 3; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font: 700 14px var(--f-body); background: linear-gradient(transparent, rgba(5, 3, 9, .95)); }
.gallery .wide { grid-column: span 2; aspect-ratio: 8 / 3.05; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.chips span { padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.chips b { color: var(--magenta); margin-left: 6px; }

/* compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 16px; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font: 700 15px var(--f-body); color: var(--muted); background: var(--bg-2); }
.compare th.us { color: #fff; background: linear-gradient(180deg, rgba(155, 77, 255, .3), rgba(155, 77, 255, .12)); }
.compare td.us { background: rgba(155, 77, 255, .07); font-weight: 800; font-size: 18px; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.y { color: var(--ok); font-weight: 800; }
.n { color: #6d6488; }

/* pricing */
.price-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.plan { position: relative; border-radius: 24px; padding: 40px; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: 0 30px 80px -30px rgba(155, 77, 255, .6); }
.plan .ribbon { position: absolute; top: -14px; left: 40px; padding: 7px 14px; border-radius: 999px; background: var(--grad); font: 800 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.plan .amount { font: 800 64px/1 var(--f-head); margin: 18px 0 4px; }
.plan .amount small { font: 600 18px var(--f-body); color: var(--muted); }
.plan ul { list-style: none; margin: 26px 0 30px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-weight: 600; }
.plan li::before { content: '✓'; color: var(--ok); font-weight: 800; }
.plan .btn { width: 100%; }
.plan .fine { margin-top: 14px; font-size: 13px; text-align: center; }
.assure { display: grid; gap: 16px; align-content: center; }
.assure .card { display: flex; gap: 16px; padding: 22px; }
.assure .card .ic { margin: 0; flex: none; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: center; }
.pay span { padding: 6px 10px; border-radius: 8px; background: var(--card-2); font: 700 12px var(--f-body); color: var(--muted); }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps .card { position: relative; padding-top: 70px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 24px; left: 28px; font: 800 30px/1 var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* faq */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 17px var(--f-body); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; color: var(--magenta); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; font-size: 16px; }

/* final cta */
.final { text-align: center; border-radius: 28px; padding: 70px 30px; background: radial-gradient(600px 300px at 50% 0%, rgba(155, 77, 255, .35), transparent 70%), var(--bg-2); border: 1px solid var(--line); }
.final p { font-size: 19px; margin: 16px auto 32px; max-width: 600px; }

/* forms */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; font-weight: 700; font-size: 14px; }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); color: var(--text); font: 500 16px var(--f-body); }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.note { padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.note.ok { background: rgba(62, 232, 165, .1); color: var(--ok); }
.note.err { background: rgba(255, 45, 71, .1); color: #ff8b9b; }

/* legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 70px 0 100px; }
.legal h1 { font-size: 44px; margin-bottom: 10px; }
.legal h2 { font-size: 24px; margin: 38px 0 12px; }
.legal p, .legal li { color: #cfc6e6; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .upd { color: var(--muted); font-size: 14px; }
.todo { background: rgba(255, 200, 60, .14); color: #ffd36b; padding: 0 5px; border-radius: 4px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
.foot h4 { font: 700 14px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot a { display: block; color: #d9d1ef; font-size: 15px; margin-bottom: 9px; }
.foot a:hover { color: #fff; }
.foot p { font-size: 14px; margin-top: 14px; max-width: 320px; }
.copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* sticky buy bar (product page, mobile) */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: rgba(12, 7, 23, .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .3s; }
.buybar.show { transform: none; }
.buybar b { font: 800 20px var(--f-head); }
.buybar small { display: block; color: var(--muted); font-size: 12px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.rv.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 980px) {
  .hero-grid, .feat, .price-wrap, .prod { grid-template-columns: 1fr; }
  .feat.rev .txt { order: 0; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .hero-art .f1, .hero-art .f2 { display: none; }
  .prod .pic { min-height: 260px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 70px 0; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: #0c0717; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 16px 22px; border-top: 1px solid var(--line); }
  .burger { display: block; }
  .top .btn { display: none; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats b { font-size: 32px; }
  .compare th, .compare td { padding: 12px 10px; font-size: 14px; }
  .prod .info, .plan { padding: 28px; }
  .buybar { display: flex; }
  .foot { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; }
  .btn-lg { padding: 17px 22px; font-size: 16px; white-space: normal; text-align: center; }
  .final { padding: 50px 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }
