:root {
  color-scheme: dark;
  --bg: #0f0d2e;
  --surface: #1a1840;
  --surface-soft: #221e55;
  --ink: #f3f2ff;
  --muted: #b8b1d6;
  --accent: #8e6bff;
  --accent-soft: #c5b3ff;
  --line: rgba(142, 107, 255, 0.25);
  --shadow: 0 25px 60px rgba(12, 10, 32, 0.55);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

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

.bg-shell {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, #1c1538, transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(142, 107, 255, 0.3), transparent 45%),
    radial-gradient(circle at 20% 70%, rgba(60, 42, 120, 0.6), transparent 55%),
    var(--bg);
  z-index: -3;
}

.glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.55;
  z-index: -2;
}

.glow-1 {
  width: 320px;
  height: 320px;
  background: rgba(142, 107, 255, 0.55);
  top: 40px;
  left: -80px;
}

.glow-2 {
  width: 380px;
  height: 380px;
  background: rgba(65, 54, 146, 0.6);
  bottom: -140px;
  right: -100px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 8vw;
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(15, 13, 46, 0.72);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

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

.topbar nav a {
  position: relative;
  padding-bottom: 6px;
}

.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.topbar nav a:hover::after {
  width: 100%;
}

.cta {
  background: var(--accent);
  color: #0b0a1f;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(10, 7, 28, 0.65);
}

.ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border 0.2s ease, transform 0.2s ease;
}

.ghost:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

main {
  padding: 30px 8vw 120px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  align-items: center;
  animation: fadeUp 0.8s ease;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  margin: 12px 0 18px;
  letter-spacing: 0.01em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 12px;
}

.subhead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 520px;
}

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

.cta-beta {
  background: linear-gradient(120deg, #8e6bff, #f3c1ff);
  color: #0b0a1f;
}

.cta-small {
  padding: 8px 16px;
  font-size: 14px;
}

.beta-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(142, 107, 255, 0.3);
  background: rgba(18, 17, 51, 0.85);
  box-shadow: 0 18px 40px rgba(10, 7, 28, 0.35);
  max-width: 540px;
}

.beta-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.beta-form input {
  background: rgba(10, 9, 28, 0.65);
  border: 1px solid rgba(142, 107, 255, 0.35);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  min-width: 200px;
  font-family: var(--font-body);
}

.beta-form input::placeholder {
  color: rgba(184, 177, 214, 0.7);
}

.beta-form input:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(142, 107, 255, 0.2);
}

.beta-title {
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.beta-note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.beta-confirmation {
  margin: 10px 0 0;
  color: rgba(184, 177, 214, 0.8);
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.stat {
  font-weight: 600;
}

.stat-desc {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(360px, 90vw);
  background: linear-gradient(160deg, #1a1840, #121133);
  border-radius: 30px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(142, 107, 255, 0.35);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.pill {
  background: rgba(142, 107, 255, 0.2);
  color: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(142, 107, 255, 0.9);
}

.phone-map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(142, 107, 255, 0.25);
}

.phone-map img {
  width: 100%;
  display: block;
  transition: transform 0.45s ease;
}

.phone-map img.is-fading {
  transform: translateX(-24px);
}

.phone-map img.is-entering {
  transform: translateX(24px);
}

.phone-card {
  margin-top: 18px;
  background: var(--surface-soft);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(142, 107, 255, 0.25);
}

.phone-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.phone-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.phone-card button {
  border: none;
  background: var(--accent);
  color: #0b0a1f;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.panel {
  background: rgba(26, 24, 64, 0.85);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(142, 107, 255, 0.2);
}

.panel-alt {
  background: rgba(28, 21, 56, 0.95);
}

.panel-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 10px;
}

.panel-header p {
  color: var(--muted);
  max-width: 600px;
}

.layout-grid,
.features,
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.layout-grid article,
.feature,
.support-card {
  background: rgba(18, 17, 51, 0.9);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(142, 107, 255, 0.2);
}

.layout-grid img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 14px;
}

.layout-grid h3,
.feature h3,
.support-card h3 {
  margin-top: 0;
}

.layout-grid p,
.feature p,
.support-card p {
  color: var(--muted);
}

.support-card a {
  margin-top: 16px;
}

.faq {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.faq details {
  border: 1px solid rgba(142, 107, 255, 0.2);
  border-radius: 14px;
  padding: 16px 18px;
  background: rgba(18, 17, 51, 0.9);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

footer {
  padding: 40px 8vw 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(142, 107, 255, 0.2);
}

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

.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

footer span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
}

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

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    text-align: center;
  }

  .topbar nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .panel {
    padding: 28px;
  }

  .beta-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .beta-form {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .beta-form input {
    width: 100%;
    min-width: 0;
  }

  .topbar {
    position: static;
  }
}
