/* ==========================================================================
   NovaStream — stylesheet
   Self-contained. No external fonts, images or frameworks.
   ========================================================================== */

:root {
  --bg: #0b0d12;
  --bg-elevated: #10131a;
  --surface: #141824;
  --surface-2: #1a1f2e;
  --surface-3: #212738;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9ecf3;
  --text-muted: #98a1b3;
  --text-faint: #6b7484;
  --accent: #7c5cff;
  --accent-strong: #6a48ff;
  --accent-soft: rgba(124, 92, 255, 0.14);
  --cyan: #22d3ee;
  --green: #34d399;
  --red: #f87171;
  --gradient: linear-gradient(100deg, #7c5cff 0%, #5e8bff 55%, #22d3ee 120%);
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;
  --shadow-card: 0 18px 50px -18px rgba(0, 0, 0, 0.65);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1100px 520px at 85% -140px, rgba(94, 139, 255, 0.13), transparent 60%),
    radial-gradient(900px 480px at -10% 30%, rgba(124, 92, 255, 0.09), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
}

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

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
  background: none;
}

input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 48px, 1140px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(56px, 9vw, 104px);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(124, 92, 255, 0.35);
  color: #cfc3ff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 18px 0 12px;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 32px -12px rgba(124, 92, 255, 0.65);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px -12px rgba(124, 92, 255, 0.85);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 13, 18, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 13, 18, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.brand em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

.main-nav a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.main-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(124, 92, 255, 0.16);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  place-items: center;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--text);
}

.nav-toggle .icon-close {
  display: none;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    z-index: 55;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: 18px 24px 26px;
    background: rgba(13, 16, 23, 0.98);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.28s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 16px;
    font-size: 16px;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-toggle .icon-menu {
    display: none;
  }

  body.nav-open .nav-toggle .icon-close {
    display: block;
  }

  .header-actions .btn-ghost {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 110px) clamp(48px, 7vw, 90px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.07;
  letter-spacing: -0.03em;
}

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

.hero-sub {
  max-width: 520px;
  margin: 0 0 30px;
  color: var(--text-muted);
  font-size: clamp(16px, 1.6vw, 19px);
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin-top: 38px;
}

.trust-item strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.trust-item span {
  color: var(--text-faint);
  font-size: 13px;
}

/* Fake player card */

.player-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, #161b29, #10131c 70%);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.player-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(closest-side at 30% 35%, rgba(124, 92, 255, 0.35), transparent),
    radial-gradient(closest-side at 75% 65%, rgba(34, 211, 238, 0.22), transparent);
  filter: blur(46px);
  animation: glow-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glow-drift {
  from { transform: translateX(-6%) scale(1); }
  to   { transform: translateX(6%) scale(1.12); }
}

.player-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.scene {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0) 45%, rgba(5, 7, 12, 0.85)),
    conic-gradient(from 210deg at 62% 118%, #2b2350, #14304d 32%, #0b0d12 68%);
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 18% 26%, #fff 40%, transparent 41%),
    radial-gradient(1.6px 1.6px at 34% 14%, #dbe7ff 40%, transparent 41%),
    radial-gradient(2px 2px at 52% 32%, #fff 40%, transparent 41%),
    radial-gradient(1.4px 1.4px at 66% 12%, #cfe0ff 40%, transparent 41%),
    radial-gradient(1.8px 1.8px at 81% 24%, #fff 40%, transparent 41%),
    radial-gradient(1.5px 1.5px at 91% 40%, #e6efff 40%, transparent 41%);
  animation: twinkle 5s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.45; }
  to   { opacity: 1; }
}

.scene-ship {
  position: absolute;
  left: 58%;
  top: 44%;
  width: 190px;
  height: 190px;
  transform: translate(-50%, -50%);
  animation: hover-bob 7s ease-in-out infinite;
}

@keyframes hover-bob {
  0%, 100% { transform: translate(-50%, -52%) rotate(-2deg); }
  50%      { transform: translate(-50%, -47%) rotate(2deg); }
}

.player-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 10, 16, 0.72);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #dfe5f2;
  backdrop-filter: blur(8px);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(248, 113, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0); }
}

.player-overlay-title {
  position: absolute;
  left: 20px;
  bottom: 18px;
}

.player-overlay-title strong {
  display: block;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.player-overlay-title span {
  color: var(--text-muted);
  font-size: 13.5px;
}

.player-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: rgba(10, 12, 19, 0.82);
}

.play-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 8px 22px -8px rgba(124, 92, 255, 0.8);
}

.play-btn svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}

.progress-track {
  position: relative;
  height: 5px;
  flex: 1;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  border-radius: 99px;
  background: var(--gradient);
  animation: progress-run 24s linear infinite;
}

@keyframes progress-run {
  from { width: 8%; }
  to   { width: 96%; }
}

.player-time {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
}

.player-icons {
  display: flex;
  gap: 4px;
  color: var(--text-muted);
}

.player-icons span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.player-icons span:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.player-icons svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Catalog
   -------------------------------------------------------------------------- */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.16s ease;
}

.chip:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}

.chip.is-active {
  background: var(--accent-soft);
  border-color: rgba(124, 92, 255, 0.55);
  color: #d6cbff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--border);
  isolation: isolate;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: var(--shadow-card);
}

.card-poster {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.card-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(6, 8, 13, 0.05) 40%, rgba(6, 8, 13, 0.92));
}

.card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #cdd4e2;
}

.badge {
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(8, 10, 16, 0.66);
  border: 1px solid var(--border-strong);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.card h3 {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-genre {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12.5px;
}

.card-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: rgba(8, 10, 17, 0.38);
}

.card:hover .card-play {
  opacity: 1;
}

.card-play i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.card-play svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-left: 3px;
}

.catalog-empty {
  display: none;
  padding: 44px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-m);
  color: var(--text-muted);
  text-align: center;
}

.catalog-empty.is-visible {
  display: block;
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature {
  padding: 26px 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: rgba(124, 92, 255, 0.45);
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(124, 92, 255, 0.4);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  stroke: #cfc3ff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17.5px;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  margin-top: 26px;
}

.billing-toggle button {
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.18s ease;
}

.billing-toggle button.is-active {
  background: var(--gradient);
  color: #fff;
}

.toggle-save {
  margin-left: 6px;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(52, 211, 153, 0.16);
  color: var(--green);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
}

.plan.is-featured {
  border-color: rgba(124, 92, 255, 0.6);
  background: linear-gradient(175deg, rgba(124, 92, 255, 0.12), var(--surface) 45%);
  box-shadow: 0 24px 60px -24px rgba(124, 92, 255, 0.45);
}

.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 15px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.plan-desc {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 4px;
}

.price {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price-period {
  color: var(--text-muted);
  font-size: 14.5px;
}

.price-note {
  min-height: 20px;
  margin: 0 0 22px;
  color: var(--text-faint);
  font-size: 13px;
}

.plan ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.plan li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #cfd5e1;
}

.plan li svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.check {
  stroke: var(--green);
}

.cross {
  stroke: var(--text-faint);
}

.plan .btn {
  margin-top: auto;
}

.compare-wrap {
  margin-top: 64px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--bg-elevated);
}

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare th,
.compare td {
  padding: 15px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare thead th {
  color: var(--text-faint);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.025);
}

.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare td:first-child {
  color: var(--text-muted);
}

.compare td:not(:first-child) {
  color: var(--text);
}

.compare .col-hi {
  background: rgba(124, 92, 255, 0.07);
}

/* --------------------------------------------------------------------------
   FAQ / accordion
   -------------------------------------------------------------------------- */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 800px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.is-open {
  border-color: rgba(124, 92, 255, 0.45);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 19px 22px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq-q svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform 0.25s ease, stroke 0.2s ease;
}

.faq-item.is-open .faq-q svg {
  transform: rotate(45deg);
  stroke: #cfc3ff;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a-inner p {
  margin: 0;
  padding: 0 22px 21px;
  color: var(--text-muted);
  font-size: 15px;
}

.faq-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px 48px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   CTA band + footer
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 64px);
  border-radius: calc(var(--radius-l) + 6px);
  border: 1px solid rgba(124, 92, 255, 0.4);
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(124, 92, 255, 0.28), transparent 65%),
    radial-gradient(500px 220px at 85% 100%, rgba(34, 211, 238, 0.16), transparent 60%),
    var(--surface);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.4vw, 36px);
  letter-spacing: -0.02em;
}

.cta-band p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: 16.5px;
}

.site-footer {
  margin-top: clamp(56px, 9vw, 100px);
  border-top: 1px solid var(--border);
  background: rgba(8, 10, 15, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(130px, 1fr));
  gap: 36px;
  padding-block: 52px 40px;
}

.footer-brand p {
  max-width: 300px;
  margin: 14px 0 0;
  color: var(--text-faint);
  font-size: 14px;
}

.footer-col h4 {
  margin: 4px 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 14.5px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px 26px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 13px;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   Page hero (subpages)
   -------------------------------------------------------------------------- */

.page-hero {
  padding-block: clamp(48px, 7vw, 84px) 8px;
}

.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(30px, 4.4vw, 50px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--text-muted);
  font-size: 17.5px;
}

/* --------------------------------------------------------------------------
   Support page
   -------------------------------------------------------------------------- */

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 820px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

.panel {
  padding: 30px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
}

.panel h2 {
  margin: 0 0 6px;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.panel > p {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: #cfd5e1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius-s);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(124, 92, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: rgba(248, 113, 113, 0.7);
}

.error-msg {
  display: none;
  color: var(--red);
  font-size: 12.5px;
}

.field.has-error .error-msg {
  display: block;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.form-status {
  color: var(--text-faint);
  font-size: 13px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 34px 10px;
}

.form-success.is-visible {
  display: block;
}

.success-ring {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.5);
}

.success-ring svg {
  width: 28px;
  height: 28px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.form-success p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

.aside-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--bg-elevated);
}

.aside-card + .aside-card {
  margin-top: 18px;
}

.aside-card h3 {
  margin: 0 0 12px;
  font-size: 15.5px;
}

.aside-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.aside-card li a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.15s ease;
}

.aside-card li a:hover {
  color: #cfc3ff;
}

.aside-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.aside-stat strong {
  color: var(--text);
}

.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.prose {
  max-width: 780px;
  padding-bottom: 40px;
}

.prose .updated {
  color: var(--text-faint);
  font-size: 14px;
  margin-bottom: 36px;
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 16.5px;
}

.prose p,
.prose li {
  color: var(--text-muted);
  font-size: 15.5px;
}

.prose ul {
  padding-left: 22px;
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: #b7a6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.notfound {
  min-height: calc(100svh - 72px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 24px;
}

.notfound-code {
  margin: 0;
  font-size: clamp(88px, 18vw, 168px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notfound h1 {
  margin: 10px 0 12px;
  font-size: clamp(20px, 2.6vw, 26px);
}

.notfound p {
  max-width: 420px;
  margin: 0 auto 30px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Email capture (hero form)
   -------------------------------------------------------------------------- */

.capture-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  padding: 7px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-elevated);
}

.capture-form input {
  flex: 1;
  min-width: 0;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  outline: none;
}

.capture-form input::placeholder {
  color: var(--text-faint);
}

.capture-note {
  min-height: 22px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--green);
}

@media (max-width: 540px) {
  .capture-form {
    flex-direction: column;
    border-radius: 18px;
    padding: 10px;
  }

  .capture-form input {
    padding: 12px 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  z-index: 90;
  inset: auto 20px 20px;
  display: none;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin-inline: auto;
  padding: 16px 18px 16px 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-m);
  background: rgba(16, 19, 27, 0.97);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
}

.cookie-banner a {
  color: #b7a6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.cookie-actions .btn {
  padding: 9px 18px;
  font-size: 13.5px;
}

@media (max-width: 620px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    inset: auto 14px 14px;
  }

  .cookie-actions {
    margin-left: 0;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

/* --------------------------------------------------------------------------
   Reveal on scroll + misc
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid #a68cff;
  outline-offset: 3px;
  border-radius: 6px;
}
