:root {
  --bg-0: #08061a;
  --bg-1: #120c33;
  --bg-2: #2a1a66;
  --text-main: #f6f8ff;
  --text-soft: #c4caec;
  --text-muted: #9ba4d8;
  --line: rgba(255, 255, 255, 0.14);
  --surface: rgba(255, 255, 255, 0.09);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --panel: rgba(14, 16, 43, 0.74);
  --btn-dark: #1b123c;
  --accent-a: #8a66ff;
  --accent-b: #54b2ff;
  --accent-c: #6a43ff;
  --danger: #ff8b97;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--text-main);
  background: var(--bg-0);
  overflow-x: hidden;
}

.app-bg {
  background: radial-gradient(1300px 560px at 16% 102%, #5f42ff6b, transparent),
    radial-gradient(930px 470px at 86% 8%, #4b6dff57, transparent),
    linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 44%, var(--bg-2) 100%);
}

.orb {
  position: fixed;
  z-index: -2;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(55px);
}

.orb-a {
  width: 440px;
  height: 440px;
  left: -190px;
  bottom: -160px;
  background: #7d58ff7a;
}

.orb-b {
  width: 360px;
  height: 360px;
  right: -110px;
  top: -120px;
  background: #5b9dff66;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

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

.section {
  padding: 68px 0;
  scroll-margin-top: 110px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 11ch;
  font-weight: 900;
}

h2 {
  font-size: clamp(1.95rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-subtitle {
  margin-top: 14px;
  max-width: 60ch;
  font-size: clamp(1.03rem, 1.5vw, 1.42rem);
  line-height: 1.45;
  color: var(--text-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(8, 6, 26, 0.9), rgba(8, 6, 26, 0.38));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 0 22px rgba(128, 98, 255, 0.95);
}

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

.main-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 500;
  transition: color 160ms ease, transform 160ms ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a[aria-current="page"] {
  color: #ffffff;
}

.header-cta,
.store-button,
.btn-primary,
.waitlist-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.header-cta {
  border: 1px solid var(--line);
  color: #f2f4ff;
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  margin-left: 12px;
  padding: 12px 21px;
  min-width: 164px;
}

.btn-primary,
.waitlist-form button {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--btn-dark);
  background: linear-gradient(180deg, #fefeff 0%, #e8eeff 100%);
  box-shadow: 0 12px 24px rgba(10, 9, 35, 0.3);
}

.btn-primary {
  padding: 14px 30px;
  font-size: 1.05rem;
}

.store-button {
  width: 218px;
  min-height: 64px;
  justify-content: flex-start;
  gap: 13px;
  padding: 10px 17px;
  border-radius: 16px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: linear-gradient(180deg, #10131b 0%, #030407 100%);
  box-shadow: 0 15px 30px rgba(5, 6, 18, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.store-icon {
  flex-shrink: 0;
}

.apple-icon {
  width: 30px;
  height: 36px;
}

.google-play-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.32));
}

.store-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.store-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.82);
}

.store-name {
  margin-top: 4px;
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: 0;
  color: #ffffff;
  white-space: nowrap;
}

.header-cta:hover,
.store-button:hover,
.btn-primary:hover,
.waitlist-form button:hover {
  transform: translateY(-2px);
}

.hero-section {
  padding-top: 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #c8ccf4;
  font-size: 0.78rem;
}

.hero-copy .section-subtitle {
  max-width: 47ch;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

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

.hero-phone {
  width: min(365px, 80%);
  aspect-ratio: 9 / 18.8;
  object-fit: cover;
  object-position: top;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.54));
  animation: floatPhone 5.5s ease-in-out infinite;
}

.hero-phone-home {
  width: min(270px, 100%);
}

.feature-grid {
  margin-top: 34px;
  display: grid;
  gap: 22px;
}

.feature-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(15, 19, 49, 0.6));
  box-shadow: 0 16px 34px rgba(6, 8, 25, 0.26);
  backdrop-filter: blur(12px);
}

.feature-card h3 {
  margin-top: 15px;
  font-size: clamp(1.2rem, 1.8vw, 1.95rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin-top: 7px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.feature-media {
  position: relative;
  border-radius: 18px;
  border: 1px solid transparent;
  overflow: hidden;
  background: transparent;
}

.feature-media::after {
  content: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 220ms ease;
}

.feature-card:hover .feature-media img {
  transform: scale(1.04);
}

.media-tall {
  min-height: 300px;
  max-height: 380px;
}

.media-split {
  min-height: 300px;
  display: grid;
  align-content: space-between;
}

.media-split img {
  width: 78%;
  justify-self: center;
  max-height: 230px;
}

.mini-panel {
  margin: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, #6a43ff, #7d63ff);
  color: #f8f9ff;
  box-shadow: 0 8px 18px rgba(27, 18, 60, 0.44);
}

.mini-label {
  font-size: 0.8rem;
  opacity: 0.82;
  letter-spacing: 0.04em;
}

.mini-value {
  margin-top: 2px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.mini-note {
  margin-top: 6px;
  font-size: 0.92rem;
  opacity: 0.9;
}

.waitlist-wrap {
  text-align: center;
}

.waitlist-wrap h2,
.waitlist-wrap .section-subtitle {
  margin-inline: auto;
}

.waitlist-form {
  margin: 28px auto 0;
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.waitlist-form input {
  min-height: 56px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-main);
  padding: 0 18px;
  font-size: 1rem;
  outline: none;
}

.waitlist-form input::placeholder {
  color: rgba(211, 216, 245, 0.66);
}

.waitlist-form input:focus-visible {
  border-color: rgba(136, 106, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(125, 88, 255, 0.25);
}

.waitlist-form button {
  min-width: 140px;
  min-height: 56px;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

.social-proof,
.email-error {
  min-height: 1.2rem;
  margin: 12px auto 0;
  width: min(620px, 100%);
}

.social-proof {
  color: var(--text-soft);
}

.social-proof strong {
  color: #ffffff;
}

.email-error {
  color: var(--danger);
}

.site-footer {
  margin-top: 42px;
  padding: 20px 0 38px;
}

.footer-shell {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.11), rgba(14, 18, 52, 0.68));
  box-shadow: 0 18px 36px rgba(8, 10, 30, 0.34);
  overflow: hidden;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.05fr 1.95fr;
  gap: 34px;
  padding: clamp(24px, 3.5vw, 40px);
}

.footer-brand {
  max-width: 34ch;
}

.footer-brand-link {
  width: fit-content;
}

.footer-brand-copy {
  margin-top: 14px;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 1rem;
}

.footer-social {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 500;
  padding: 7px 13px;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.social-pill:hover {
  transform: translateY(-1px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-col h4 {
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-col a {
  display: block;
  width: fit-content;
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.98rem;
  padding: 6px 0;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-col a[aria-current="page"] {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding: 14px clamp(24px, 3.5vw, 40px) 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-legal {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-small {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  padding: 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: #e9edff;
}

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

.toast {
  pointer-events: none;
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 50;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  border-radius: 12px;
  border: 1px solid #4f5aa0;
  background: #0c1023;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 0.92rem;
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes floatPhone {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .section {
    padding: 56px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-copy,
  .hero-visual,
  .waitlist-wrap {
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy .section-subtitle {
    margin-inline: auto;
  }

  .hero-actions {
    align-items: center;
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(1200px, calc(100% - 34px));
  }

  .header-inner {
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 17px;
    right: 17px;
    top: 74px;
    margin-left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(17, 19, 50, 0.97), rgba(11, 12, 33, 0.95));
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
    border-radius: 10px;
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .feature-grid-three {
    grid-template-columns: 1fr;
  }

  .media-tall,
  .media-split {
    min-height: 260px;
  }

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

  .waitlist-form button {
    width: 100%;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}

@media (max-width: 560px) {
  .store-button {
    width: min(100%, 236px);
  }

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

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

  .hero-phone {
    animation: none;
  }

  .toast,
  .main-nav a,
  .main-nav,
  .header-cta,
  .store-button,
  .btn-primary,
  .waitlist-form button,
  .social-pill,
  .footer-col a {
    transition: none !important;
  }

  .feature-card:hover .feature-media img {
    transform: none !important;
  }
}
