/* Vividy landing page — dark streaming theme, pink→violet accent. */

:root {
  --ink: #f5f2ff;
  --ink-dim: #a79fc4;
  --ink-faint: #7b7397;
  --bg: #080510;
  --bg-soft: #0d0918;
  --panel: rgba(255, 255, 255, .04);
  --line: rgba(255, 255, 255, .09);
  --pink: #ff2d8a;
  --violet: #a855f7;
  --amber: #ffb347;
  --grad: linear-gradient(135deg, #ff2d8a 0%, #a855f7 55%, #6d5cff 100%);
  --radius: 20px;
  --wrap: 1180px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .85);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Outfit", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }

h1 { font-size: clamp(30px, 5.2vw, 58px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 15px; font-weight: 600; }

p { margin: 0; }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(255, 45, 138, .8);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(168, 85, 247, .9); }

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn.wide { width: 100%; margin-top: 22px; }

/* ── top bar ─────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(8, 5, 16, .78);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.01em;
  font-size: 19px;
}

.brand img { border-radius: 10px; }
.brand.small { font-size: 16px; }

.nav { display: flex; gap: 4px; margin-left: 8px; flex: 1; flex-wrap: wrap; }

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-dim);
  transition: color .16s ease, background .16s ease;
}

.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }

.topbar-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.langs { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }

.langs .lang {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-dim);
  transition: color .16s, background .16s;
}

.langs .lang:hover { color: var(--ink); }
.langs .lang.on { background: var(--grad); color: #fff; }

/* ── hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 40px) clamp(24px, 4vw, 48px);
}

.hero-glow {
  position: absolute;
  inset: -18% -10% auto -20%;
  height: 620px;
  background: radial-gradient(46% 60% at 30% 18%, rgba(255, 45, 138, .30), transparent 70%),
              radial-gradient(42% 55% at 72% 8%, rgba(109, 92, 255, .28), transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffd9ea;
  background: rgba(255, 45, 138, .14);
  border: 1px solid rgba(255, 45, 138, .34);
}

.lede { margin-top: 20px; font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-dim); max-width: 40em; }

.pills { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; max-width: 34em; }

.pills li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.pill-ico {
  flex: 0 0 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
}

.pills strong { display: block; font-size: 15px; }
.pills span span { display: block; font-size: 13px; color: var(--ink-faint); }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.stats { display: flex; gap: clamp(18px, 4vw, 48px); margin: 34px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 13px; color: var(--ink-faint); }
.stats dd { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-art { position: relative; display: flex; justify-content: center; align-items: center; gap: 14px; }

.phone {
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 18;
  width: 30%;
  background: #120c22;
  transition: transform .3s ease;
}

.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone.mid { width: 38%; transform: translateY(-16px); z-index: 2; }
.phone:first-child { transform: rotate(-5deg) translateY(10px); }
.phone:last-child { transform: rotate(5deg) translateY(10px); }
.hero-art:hover .phone { transform: none; }
.hero-art:hover .phone.mid { transform: translateY(-16px); }

.phone .live {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  background: rgba(255, 45, 138, .9);
  color: #fff;
}

/* ── chips strip ─────────────────────────────────────────────────────── */
.chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 clamp(16px, 4vw, 40px) 8px;
  max-width: var(--wrap);
  margin: 0 auto;
}

.chip {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-dim);
  background: var(--panel);
  border: 1px solid var(--line);
}

/* ── generic section ─────────────────────────────────────────────────── */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 86px) clamp(16px, 4vw, 40px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: 18px 40px;
  align-items: end;
  margin-bottom: 30px;
}

.kicker {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink);
}

.section-sub { color: var(--ink-dim); font-size: 15px; max-width: 46em; }

/* ── poster rails ────────────────────────────────────────────────────── */
.rail {
  position: relative;
  overflow: hidden;
  margin: 0 calc(-1 * clamp(16px, 4vw, 40px));
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.rail-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slide 52s linear infinite;
}

.rail-track.reverse { animation-direction: reverse; animation-duration: 62s; }
.rail:hover .rail-track { animation-play-state: paused; }

@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.poster {
  margin: 0;
  width: clamp(140px, 15vw, 190px);
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #120c22;
  flex: 0 0 auto;
}

.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.poster:hover img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .rail-track { animation: none; }
}

/* ── tabs + channel cards ────────────────────────────────────────────── */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }

.tab {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink-dim);
  border-radius: 999px;
  padding: 9px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .16s, background .16s, border-color .16s;
}

.tab:hover { color: var(--ink); border-color: rgba(255, 255, 255, .2); }
.tab.on { background: var(--grad); color: #fff; border-color: transparent; }

.panel { display: none; margin-top: 24px; }
.panel.on { display: block; animation: fade .32s ease both; }

@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}

.card:hover { transform: translateY(-4px); border-color: rgba(255, 45, 138, .5); }

.thumb { position: relative; aspect-ratio: 16 / 9; background: #120c22; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.badge-live {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 45, 138, .92);
  color: #fff;
  font-size: 8px;
}

.card h3 { padding: 11px 13px 13px; }

/* ── download block ──────────────────────────────────────────────────── */
.dl-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(26px, 4vw, 48px);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(255, 45, 138, .16), rgba(109, 92, 255, .12) 45%, rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
}

.fineprint { margin-top: 14px; font-size: 13px; color: var(--ink-faint); }

.specs { margin: 0; display: grid; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; align-content: start; }

.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; background: rgba(8, 5, 16, .72); }
.specs dt { color: var(--ink-faint); font-size: 14px; }
.specs dd { margin: 0; font-weight: 700; }

/* ── install steps ───────────────────────────────────────────────────── */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.num {
  position: absolute;
  top: -14px;
  left: 18px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px -8px rgba(255, 45, 138, .9);
}

.steps p { color: var(--ink-dim); font-size: 14px; }

.steps img {
  margin-top: auto;
  width: 100%;
  max-width: 180px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #120c22;
}

/* ── faq ─────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }

.faq details {
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0 20px;
  transition: border-color .2s ease;
}

.faq details[open] { border-color: rgba(255, 45, 138, .45); }

.faq summary {
  cursor: pointer;
  padding: 17px 0;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--pink);
  transition: transform .2s ease;
}

.faq details[open] summary::after { content: "−"; }

.faq p { padding: 0 0 18px; color: var(--ink-dim); font-size: 15px; }

/* ── final cta ───────────────────────────────────────────────────────── */
.final {
  max-width: var(--wrap);
  margin: clamp(44px, 6vw, 86px) auto 0;
  padding: clamp(38px, 6vw, 72px) clamp(20px, 5vw, 60px);
  text-align: center;
  border-radius: 28px;
  background: radial-gradient(70% 120% at 50% 0%, rgba(255, 45, 138, .28), rgba(109, 92, 255, .14) 45%, rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  width: calc(100% - clamp(32px, 8vw, 80px));
}

.final p { margin: 14px auto 26px; color: var(--ink-dim); max-width: 40em; }

/* ── footer ──────────────────────────────────────────────────────────── */
.foot {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px clamp(16px, 4vw, 40px) 120px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  border-top: 1px solid var(--line);
  margin-top: 46px;
  color: var(--ink-faint);
  font-size: 14px;
}

.foot-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-nav a:hover { color: var(--ink); }
.foot-langs { margin-left: auto; }
.foot-langs .lang { font-size: 12px; }
.copy { width: 100%; font-size: 13px; }

/* ── sticky mobile download bar ──────────────────────────────────────── */
.stickybar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  background: rgba(13, 9, 24, .92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.sticky-copy { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sticky-copy strong { font-size: 14px; }
.sticky-copy span { font-size: 11px; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar .btn { margin-left: auto; }

/* ── responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .dl-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .topbar { gap: 12px; padding: 10px 14px; }
  .topbar-right { gap: 8px; }
  .btn-sm { display: none; }
  .stickybar { display: flex; }
  .foot { padding-bottom: 110px; }
  .stats { gap: 18px; }
  .pills { gap: 10px; }
  .poster { width: 128px; }
  .cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
