:root {
  color-scheme: dark;
  --bg: #080b1a;
  --bg-elevated: rgba(255, 255, 255, 0.08);
  --bg-card: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.16);
  --text: #f8fbff;
  --muted: #b5bfd8;
  --soft: #d9e2ff;
  --primary: #8b5cf6;
  --primary-strong: #a78bfa;
  --accent: #22d3ee;
  --success: #62f5b5;
  --shadow: 0 28px 90px rgba(5, 9, 28, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 10%, rgba(139, 92, 246, 0.38), transparent 28rem),
    radial-gradient(circle at 84% 18%, rgba(34, 211, 238, 0.22), transparent 26rem),
    linear-gradient(135deg, #070a19 0%, #101632 52%, #071222 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand,
.site-header nav,
.trust-row,
.hero-actions,
.store-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 16px 42px rgba(139, 92, 246, 0.28);
}

.site-header nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-header nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  gap: 54px;
  align-items: center;
  padding: 76px 0 86px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-lede,
.section-copy,
.cta-section p,
.feature-card p,
.app-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 34px;
  font-size: 1.18rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: transparent;
  color: #071222;
  background: linear-gradient(135deg, var(--success), var(--accent));
  box-shadow: 0 22px 52px rgba(34, 211, 238, 0.18);
}

.button-secondary {
  color: var(--soft);
  background: rgba(255, 255, 255, 0.06);
}

.trust-row {
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row span,
.store-badge,
.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.06);
}

.trust-row span,
.store-badge {
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.phone-stage {
  position: relative;
  min-height: 620px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.8;
}

.orb-one {
  width: 210px;
  height: 210px;
  top: 40px;
  right: 30px;
  background: rgba(34, 211, 238, 0.3);
}

.orb-two {
  width: 180px;
  height: 180px;
  right: 210px;
  bottom: 70px;
  background: rgba(139, 92, 246, 0.34);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  min-height: 610px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.app-card,
.timeline-card,
.render-card,
.feature-card,
.stats-panel,
.cta-section {
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.app-card,
.timeline-card,
.render-card {
  border-radius: 28px;
}

.app-card {
  padding: 24px;
}

.pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-card h2 {
  margin-bottom: 14px;
  font-size: 1.62rem;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.timeline-card {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
}

.timeline-item {
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.92), rgba(34, 211, 238, 0.72));
}

.timeline-item.wide {
  width: 100%;
}

.timeline-item:not(.wide) {
  width: 78%;
}

.timeline-item.short {
  width: 58%;
}

.render-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  color: var(--soft);
  font-weight: 700;
}

.render-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 10px rgba(98, 245, 181, 0.12);
}

.section {
  padding: 76px 0;
}

.product-section {
  display: grid;
  gap: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.feature-card {
  min-height: 300px;
  padding: 28px;
  border-radius: 30px;
}

.feature-card-large {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.1));
}

.card-number {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.stats-panel {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: 32px;
}

.stats-panel div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.stats-panel strong {
  font-size: 1.25rem;
}

.stats-panel span {
  color: var(--muted);
}

.cta-section {
  margin-bottom: 58px;
  padding: 52px;
  border-radius: 36px;
  text-align: center;
}

.cta-section p {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

.store-row {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding-top: 42px;
  }

  .phone-stage {
    min-height: auto;
  }

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

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header,
  .site-header nav,
  .hero-actions,
  .stats-panel div {
    display: grid;
    justify-items: start;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .section {
    padding: 54px 0;
  }

  .phone-frame {
    min-height: 560px;
  }

  .feature-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 38px;
  }

  .cta-section {
    padding: 34px 22px;
  }
}
