:root {
  color-scheme: dark;
  --bg: #09080f;
  --bg-elevated: #11101a;
  --surface: #151322;
  --surface-hover: #1d1a2e;
  --glass: rgba(15, 13, 24, 0.84);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f7fb;
  --muted: #b0b3c7;
  --dim: #80839c;
  --crimson: #e50914;
  --crimson-bright: #ff4d5a;
  --violet: #8b5cf6;
  --accent: #c4b5fd;
  --ink: #ffffff;
  --good: #34d399;
  --good-bg: rgba(16, 185, 129, 0.14);
  --warn: #fbbf24;
  --warn-bg: rgba(245, 158, 11, 0.15);
  --danger: #ff7b89;
  --danger-bg: rgba(229, 9, 20, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 620px at 50% -120px, rgba(139, 92, 246, 0.18), transparent 65%),
    radial-gradient(880px 540px at 85% 18%, rgba(229, 9, 20, 0.11), transparent 60%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
h1 { font-size: clamp(2.25rem, 6.4vw, 4.75rem); }
h2 { font-size: clamp(1.75rem, 4.2vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }
img { display: block; width: 100%; height: auto; }

.shell {
  width: min(1160px, calc(100% - 2 * clamp(16px, 4.5vw, 40px)));
  margin-inline: auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  filter: drop-shadow(0 4px 12px rgba(229, 9, 20, 0.35));
}
.brand-tv {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.4vw, 24px);
}
.nav-links a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}
.nav-links a:not(.button):hover { color: var(--text); }
.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.mobile-drawer {
  border-top: 1px solid var(--line);
  background: #0d0b16;
  padding: 12px clamp(16px, 4.5vw, 40px) 18px;
  display: grid;
  gap: 6px;
}
.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--muted);
}
.mobile-drawer a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }

/* Buttons & Badges */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 20px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.16s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.2s var(--ease);
}
.button:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.13); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: 0.58; cursor: wait; transform: none; }
.button.compact { min-height: 40px; padding: 8px 14px; font-size: 0.88rem; border-radius: 10px; }
.button.primary {
  background: linear-gradient(135deg, var(--crimson) 0%, #c80828 48%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(229, 9, 20, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.button.primary:hover {
  background: linear-gradient(135deg, var(--crimson-bright) 0%, var(--crimson) 48%, #8b5cf6 100%);
  box-shadow: 0 14px 34px rgba(229, 9, 20, 0.36);
}
.button.quiet {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}
.button.quiet:hover { border-color: rgba(196, 181, 253, 0.5); background: rgba(139, 92, 246, 0.1); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--crimson-bright);
  box-shadow: 0 0 10px var(--crimson);
}
.lede {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  max-width: 58ch;
  margin-top: 16px;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.fine { color: var(--dim); font-size: 0.88rem; margin-top: 14px; }

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding-top: clamp(44px, 8vw, 88px);
}
.hero h1 { max-width: 15ch; margin-inline: auto; }
.hero h1 span {
  background: linear-gradient(120deg, #ffffff 10%, #e9d5ff 55%, #fda4af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { margin-inline: auto; }
.hero .actions { justify-content: center; }

.trust-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.85rem;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.trust-pill strong { color: var(--text); font-weight: 650; }

/* Interactive Stage Showcase */
.stage-wrap {
  margin-top: clamp(32px, 6vw, 56px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #171426 0%, #100e1a 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 80px rgba(139, 92, 246, 0.14);
  overflow: hidden;
  text-align: left;
}
.stage-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 8, 15, 0.65);
  overflow-x: auto;
  scrollbar-width: none;
}
.stage-tabs::-webkit-scrollbar { display: none; }
.stage-tab {
  flex: none;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.stage-tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.stage-tab[aria-selected="true"] {
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(196, 181, 253, 0.35);
  color: #ffffff;
}
.stage-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #07060c;
  overflow: hidden;
}
.stage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s var(--ease);
}
.stage-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: rgba(9, 8, 15, 0.72);
  font-size: 0.88rem;
}
.stage-caption strong { color: var(--text); }
.stage-caption span { color: var(--muted); }
.stage-code {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  color: var(--accent) !important;
}

/* Sections & Cards */
.band { margin-top: clamp(64px, 10vw, 120px); scroll-margin-top: 86px; }
.band-head { max-width: 64ch; }
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.tile {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  background-color: var(--surface);
  padding: clamp(20px, 2.8vw, 28px);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.tile:hover { border-color: rgba(196, 181, 253, 0.28); }
.tile p, details p { color: var(--muted); margin-top: 10px; font-size: 0.96rem; }
.index {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(139, 92, 246, 0.24));
  border: 1px solid rgba(196, 181, 253, 0.25);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 16px;
}

/* Splits */
.split-grid {
  display: grid;
  gap: clamp(28px, 6vw, 56px);
  margin-top: 28px;
}
.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(20px, 5vw, 52px);
}
.showcase-row.reverse .showcase-copy { order: 2; }
.showcase-media {
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.check-list {
  list-style: none;
  padding: 0;
  margin-top: 18px;
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 0.95rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.check-list li::before {
  content: "✓";
  color: var(--good);
  font-weight: 800;
  flex: none;
}

/* Pricing */
.pricing-grid { align-items: stretch; }
.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-card.featured {
  border-color: rgba(139, 92, 246, 0.65);
  background: linear-gradient(165deg, rgba(139, 92, 246, 0.16), rgba(229, 9, 20, 0.08) 65%, #151322 100%);
  box-shadow: 0 18px 48px rgba(139, 92, 246, 0.18);
}
.pricing-card .price {
  color: var(--text);
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-top: 4px;
}
.price small { color: var(--muted); font-size: 0.9rem; font-weight: 550; letter-spacing: 0; }
.pricing-card .check-list { margin-top: 12px; margin-bottom: 14px; font-size: 0.9rem; }
.pricing-card .button { margin-top: auto; width: 100%; }
.tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  border-radius: 6px;
  padding: 3px 8px;
  background: rgba(139, 92, 246, 0.28);
  border: 1px solid rgba(196, 181, 253, 0.35);
  color: #ede9fe;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* FAQ */
.help {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(20px, 5vw, 56px);
}
details {
  border-top: 1px solid var(--line);
  padding: 2px 0;
}
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 12px 0;
  font-weight: 650;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 500;
  flex: none;
  transition: transform 0.2s var(--ease);
}
details[open] summary::after { content: "−"; color: var(--crimson-bright); }
details p { margin: 0 0 16px; }

/* CTA Banner */
.cta-banner {
  border: 1px solid rgba(196, 181, 253, 0.24);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  background: linear-gradient(125deg, rgba(229, 9, 20, 0.18), rgba(139, 92, 246, 0.16) 55%, #141220 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Footer */
.footer {
  margin-top: clamp(56px, 9vw, 96px);
  padding-block: 28px max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--muted);
}
.footer nav a:hover { color: var(--text); }
.footer-legal {
  font-size: 0.82rem;
  color: var(--dim);
  max-width: 78ch;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; }
  .showcase-row.reverse .showcase-copy { order: 0; }
  .help { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-mobile-actions { display: flex; }
  .tile-grid { grid-template-columns: 1fr; }
  .hero .actions { flex-direction: column; width: 100%; }
  .hero .actions .button { width: 100%; }
  .cta-banner .button { width: 100%; }
}
@media (max-width: 380px) {
  .brand { font-size: 0.94rem; gap: 7px; }
  .brand-mark { width: 28px; height: 28px; }
  .button.compact { padding: 8px 11px; font-size: 0.82rem; }
}
