:root {
  --bg: #07080c; --panel: #0e1017; --card: rgba(255,255,255,.035); --line: rgba(255,255,255,.08);
  --text: #f2f3f7; --dim: #9aa1b4; --faint: #636b80; --red: #ff5a52; --violet: #8b5cf6; --pink: #f0487e;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; background: rgba(255,255,255,.07); padding: 2px 7px; border-radius: 6px; color: #fff; }

.glow { position: fixed; width: 720px; height: 720px; border-radius: 50%; filter: blur(140px); opacity: .22; pointer-events: none; z-index: -1; }
.g1 { background: var(--red); top: -300px; left: -200px; }
.g2 { background: var(--violet); top: 120px; right: -320px; opacity: .18; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 22px 24px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--dim); }
.nav nav a:hover { color: var(--text); }
.nav-btn { color: var(--text) !important; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.nav-btn:hover { border-color: rgba(255,255,255,.2); }

main { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 72px 0 96px; }
.pill-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dim);
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.pill-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 12px #3ddc84; }
h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 26px 0 22px; }
.grad { background: linear-gradient(100deg, var(--red), var(--pink) 45%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: var(--dim); max-width: 540px; }
.cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 700; font-size: 16px; transition: transform .15s, box-shadow .2s, background .2s; }
.btn.primary { background: linear-gradient(100deg, var(--red), var(--pink) 60%, var(--violet)); box-shadow: 0 10px 40px -10px rgba(240,72,126,.6); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(240,72,126,.75); }
.btn.ghost { border: 1px solid var(--line); background: var(--card); }
.btn.ghost:hover { background: rgba(255,255,255,.07); }
.fine { margin-top: 18px; font-size: 14px; color: var(--faint); }

/* TV mock-up */
.tv { perspective: 1400px; }
.tv-screen { aspect-ratio: 16 / 9; border-radius: 18px; padding: 4.5%; background: #0a0c12; border: 10px solid #15171f; position: relative; overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(139,92,246,.45), 0 30px 80px -40px rgba(255,90,82,.5), inset 0 0 0 1px rgba(255,255,255,.04);
  transform: rotateY(-9deg) rotateX(3deg); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: rotateY(-7deg) rotateX(2deg) translateY(-8px); } }
.tv-top { display: flex; align-items: center; gap: 7px; height: 9%; }
.tv-logo { width: 5.5%; aspect-ratio: 1; border-radius: 22%; background: linear-gradient(135deg, #ff6b5a, #e5484d 55%, #7c3aed); }
.tv-name { font-weight: 800; font-size: clamp(8px, 1.1vw, 13px); color: #e5484d; }
.tv-sp { flex: 1; }
.tv-top i { width: 5%; aspect-ratio: 1; border-radius: 50%; background: #232a3a; }
.tv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; height: 17%; margin: 3% 0 4%; }
.tv-tiles b { border-radius: 8px; }
.t-live { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 0 0 2px #fff; }
.t-movies, .t-series { background: #171b26; border: 1px solid #232838; }
.tv-row-title { font-size: clamp(6px, .9vw, 11px); font-weight: 700; margin-bottom: 2%; opacity: .9; }
.tv-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2%; height: 27%; margin-bottom: 4%; }
.tv-row em { border-radius: 6px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 40deg) 60% 22%)); }
.tv-row em::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.55)); }
.tv-row s { position: absolute; left: 0; bottom: 0; height: 4px; background: #e5484d; z-index: 1; }
.tv-row.dim { opacity: .55; }
.tv-stand { width: 26%; height: 14px; margin: 0 auto; background: linear-gradient(#1a1c24, #0d0e13); border-radius: 0 0 12px 12px; transform: rotateY(-9deg); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 110px; }
.features article { padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.features article:hover { border-color: rgba(255,255,255,.16); transform: translateY(-3px); }
.features .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); margin-bottom: 18px; }
.features .ic svg { width: 22px; height: 22px; stroke: #fff; }
.features h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -.01em; }
.features p { font-size: 14.5px; color: var(--dim); }

h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; font-weight: 800; margin-bottom: 36px; }
.how { padding-bottom: 110px; }
.how ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.how li { padding: 30px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.045), transparent); }
.how li span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--violet)); margin-bottom: 20px; }
.how h4 { font-size: 19px; margin-bottom: 8px; }
.how p { color: var(--dim); font-size: 15px; }

.devices { padding-bottom: 110px; }
.dev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dev { padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.dev h4 { font-size: 18px; margin-bottom: 6px; }
.dev p { color: var(--dim); font-size: 14.5px; }
.dev a { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--pink); }

.closing { text-align: center; padding: 60px 0 120px; }
.closing p { color: var(--dim); font-size: 18px; max-width: 560px; margin: -18px auto 0; }

footer { max-width: 1180px; margin: 0 auto; padding: 28px 24px 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--faint); font-size: 14px; }
footer a:hover { color: var(--text); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .features, .dev-grid { grid-template-columns: 1fr 1fr; }
  .how ol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav nav a:not(.nav-btn) { display: none; }
  .features, .dev-grid { grid-template-columns: 1fr; }
  .tv-screen { border-width: 6px; }
}

section { scroll-margin-top: 90px; }
