:root {
  --bg: #0a0c10;
  --bg-alt: #0f131b;
  --surface: rgba(13, 18, 26, 0.78);
  --surface-solid: #0e141d;
  --primary: #3bffb0;
  --primary-dark: #1fce86;
  --accent: #37b6ff;
  --accent-strong: #7b8cff;
  --text: #f6f8ff;
  --muted: #b2bcc8;
  --subtle: #6f7b8c;
  --border: rgba(98, 128, 166, 0.28);
  --glow: 0 0 45px rgba(59, 255, 176, 0.3);
  --glow-soft: 0 0 60px rgba(55, 182, 255, 0.25);
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Sora", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: radial-gradient(circle at top, rgba(24, 32, 46, 0.65), transparent 60%),
    radial-gradient(circle at 30% 20%, rgba(59, 255, 176, 0.2), transparent 45%),
    radial-gradient(circle at 70% 10%, rgba(55, 182, 255, 0.18), transparent 40%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -20vh -10vw;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background: radial-gradient(circle at 20% 30%, rgba(59, 255, 176, 0.12), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(55, 182, 255, 0.12), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(123, 140, 255, 0.12), transparent 45%);
  animation: driftGlow 18s ease-in-out infinite;
}

body::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="2" stitchTiles="stitch"/></filter><rect width="200" height="200" filter="url(%23n)" opacity="0.15"/></svg>');
  opacity: 0.08;
  mix-blend-mode: screen;
  animation: grainShift 6s steps(2) infinite;
}

@keyframes driftGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-2%, -4%, 0) scale(1.05);
  }
}

@keyframes grainShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-3%, 2%, 0);
  }
}

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

.site {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 28px 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(77, 240, 201, 0.9), rgba(123, 140, 255, 0.9));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #081215;
  font-size: 20px;
  box-shadow: var(--glow);
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav a:hover {
  background: rgba(77, 240, 201, 0.12);
  color: var(--text);
}

.cta,
.ghost {
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0b0e12;
  box-shadow: var(--glow);
}

.cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  margin-top: 70px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 14px 0 20px;
}

.hero-copy h1 span {
  display: block;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 500;
  margin-top: 12px;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(59, 255, 176, 0.25);
  color: var(--primary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(10, 14, 20, 0.6);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-label {
  display: block;
  color: var(--subtle);
  font-size: 11px;
}

.meta-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.hero-visual {
  position: relative;
}

.hero-panel {
  background: rgba(12, 18, 28, 0.9);
  border-radius: 28px;
  border: 1px solid rgba(59, 255, 176, 0.25);
  box-shadow: var(--glow);
  padding: 24px;
  display: grid;
  gap: 18px;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
  will-change: transform;
  animation: floatPanel 10s ease-in-out infinite;
}

.hero-panel.is-interacting {
  animation-play-state: paused;
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-panel-header {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-panel-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.stat-card {
  background: rgba(9, 12, 18, 0.75);
  border-radius: 16px;
  border: 1px solid rgba(55, 182, 255, 0.2);
  padding: 14px;
  display: grid;
  gap: 6px;
}

.stat-card strong {
  font-size: 20px;
}

.stat-card span {
  color: var(--muted);
  font-size: 12px;
}

.hero-panel-graphic {
  height: 130px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(59, 255, 176, 0.2), rgba(55, 182, 255, 0.18));
  border: 1px solid rgba(59, 255, 176, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-panel-graphic::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.hero-panel-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.hero-panel-footer h4 {
  color: var(--text);
  margin-bottom: 4px;
}

.app-stack {
  position: relative;
  display: grid;
  gap: 20px;
}

.screen {
  background: rgba(10, 14, 20, 0.9);
  border-radius: 22px;
  border: 1px solid rgba(59, 255, 176, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.screen-primary {
  padding: 20px 24px 24px;
  border: 1px solid rgba(59, 255, 176, 0.3);
  box-shadow: var(--glow);
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.screen-title {
  margin-left: 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--subtle);
}

.screen-body {
  display: grid;
  gap: 14px;
}

.screen-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.screen-graph {
  height: 80px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(59, 255, 176, 0.12), rgba(55, 182, 255, 0.18));
  border: 1px solid rgba(59, 255, 176, 0.2);
  position: relative;
  overflow: hidden;
}

.screen-graph::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.screen-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.screen-stats strong {
  display: block;
  font-size: 18px;
  color: var(--text);
}

.screen-secondary {
  padding: 14px;
  border: 1px solid rgba(55, 182, 255, 0.25);
  box-shadow: var(--glow-soft);
}

.screen-secondary svg {
  width: 100%;
  display: block;
}

.screen-tertiary {
  padding: 18px 20px;
  border: 1px solid rgba(123, 140, 255, 0.35);
  background: rgba(11, 15, 22, 0.85);
}

.screen-tertiary h4 {
  margin-bottom: 6px;
}

.mesh {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.mesh span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(55, 182, 255, 0.5);
}

.signal {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--border);
  backdrop-filter: blur(22px);
  display: grid;
  gap: 20px;
}

.signal-card {
  background: rgba(12, 16, 22, 0.8);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(77, 240, 201, 0.1);
}

.signal-card.neon {
  border-color: rgba(77, 240, 201, 0.35);
  box-shadow: 0 0 30px rgba(77, 240, 201, 0.25);
}

.signal-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.signal-body {
  color: var(--muted);
  font-size: 0.95rem;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 12px;
}

.stat {
  font-size: 1.4rem;
  font-weight: 700;
}

.stat-label {
  color: var(--subtle);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(77, 240, 201, 0.16), transparent 70%);
  z-index: -1;
}

.section {
  margin-top: 80px;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.parallax {
  will-change: transform;
}

.section-header {
  max-width: 680px;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 12px 0 16px;
}

.section-header p {
  color: var(--muted);
}

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

.card {
  background: rgba(12, 18, 28, 0.85);
  border: 1px solid rgba(55, 182, 255, 0.18);
  padding: 24px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.card h3 {
  margin-bottom: 10px;
}

.card ul {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.card ul li::before {
  content: "•";
  margin-right: 8px;
  color: var(--primary);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.gradient {
  background: linear-gradient(135deg, rgba(32, 40, 56, 0.9), rgba(18, 28, 38, 0.9));
}

.pill-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(77, 240, 201, 0.3);
  font-size: 12px;
  color: var(--primary);
  font-family: var(--mono);
}

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

.step-card {
  background: rgba(12, 18, 28, 0.85);
  border-radius: 20px;
  border: 1px solid rgba(55, 182, 255, 0.22);
  padding: 20px;
}

.step-index {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.feature-banner {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(59, 255, 176, 0.12), rgba(55, 182, 255, 0.12));
  border: 1px solid rgba(59, 255, 176, 0.25);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.feature-banner h3 {
  margin-bottom: 6px;
}

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

.media-card {
  background: rgba(10, 14, 20, 0.78);
  border-radius: 22px;
  border: 1px solid rgba(59, 255, 176, 0.2);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.media-visual {
  height: 120px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(59, 255, 176, 0.3), transparent 55%),
    linear-gradient(135deg, rgba(11, 16, 24, 0.9), rgba(22, 30, 44, 0.9));
  border: 1px solid rgba(59, 255, 176, 0.25);
}

.media-visual.alt {
  background: radial-gradient(circle at 70% 10%, rgba(55, 182, 255, 0.35), transparent 55%),
    linear-gradient(135deg, rgba(11, 16, 24, 0.9), rgba(22, 30, 44, 0.9));
  border-color: rgba(55, 182, 255, 0.3);
}

.beta {
  position: relative;
}

.beta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.beta-card {
  display: grid;
  gap: 16px;
}

.beta-card.locked {
  background: rgba(12, 16, 22, 0.85);
  border: 1px dashed rgba(123, 140, 255, 0.4);
}

.lock {
  display: grid;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--accent);
}

.download-list {
  display: grid;
  gap: 10px;
}

.download-list button {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(123, 140, 255, 0.4);
  background: transparent;
  color: var(--subtle);
  cursor: not-allowed;
}

.download-list button.unlocked {
  border-color: rgba(77, 240, 201, 0.6);
  color: var(--text);
  cursor: pointer;
}

.download-list button.unlocked:hover {
  box-shadow: 0 0 12px rgba(77, 240, 201, 0.35);
  transform: translateY(-1px);
}

.beta-form {
  display: grid;
  gap: 14px;
}

.beta-form .cta {
  justify-self: center;
}

.beta-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.beta-form input {
  background: rgba(8, 12, 16, 0.9);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
}

.status {
  min-height: 20px;
  font-size: 12px;
  color: var(--primary);
}

.status.error {
  color: #ff7c7c;
}

.consent {
  display: block;
  font-size: 13px;
  color: var(--muted);
  position: relative;
}

.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  line-height: 1.45;
}

.consent-mark {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(120, 200, 215, 0.45);
  background: radial-gradient(circle at 30% 30%, rgba(77, 240, 201, 0.25), rgba(8, 12, 16, 0.85));
  box-shadow: inset 0 0 0 1px rgba(15, 22, 30, 0.6), 0 0 10px rgba(77, 240, 201, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  margin-left: 2px;
}

.consent-mark::before {
  content: "";
  width: 9px;
  height: 6px;
  border-left: 2px solid rgba(77, 240, 201, 0.95);
  border-bottom: 2px solid rgba(77, 240, 201, 0.95);
  transform: translateY(-1px) rotate(-45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.consent input:checked + .consent-text .consent-mark {
  border-color: rgba(77, 240, 201, 0.7);
  background: radial-gradient(circle at 30% 30%, rgba(77, 240, 201, 0.35), rgba(10, 24, 22, 0.95));
  box-shadow: 0 0 0 2px rgba(77, 240, 201, 0.2), 0 0 12px rgba(77, 240, 201, 0.35);
}

.consent input:checked + .consent-text .consent-mark::before {
  opacity: 1;
}

.consent input:focus-visible + .consent-text .consent-mark {
  box-shadow: 0 0 0 2px rgba(77, 240, 201, 0.35);
}

.fine {
  font-size: 12px;
  color: var(--subtle);
}

.disclosure {
  margin-top: 24px;
  background: rgba(11, 15, 22, 0.9);
}

.disclosure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .top-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .site {
    padding: 20px;
  }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .screen-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .parallax {
    transform: none !important;
  }
}
