:root {
  --bg: #08111f;
  --bg-soft: #101d32;
  --surface: rgba(10, 21, 38, 0.76);
  --surface-strong: #11223d;
  --text: #f5f7fb;
  --muted: #a9bad3;
  --line: rgba(168, 199, 255, 0.16);
  --accent: #51f2c5;
  --accent-strong: #ffc857;
  --accent-warm: #ff7b72;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(81, 242, 197, 0.18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(255, 200, 87, 0.16), transparent 22%),
    linear-gradient(180deg, #060d18 0%, #09101c 55%, #07111f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent);
  pointer-events: none;
}

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

.hero {
  padding: 12px 0 40px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

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

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  color: #041018;
  background: linear-gradient(135deg, var(--accent), #7af0ff);
  box-shadow: 0 14px 34px rgba(81, 242, 197, 0.28);
}

.brand p,
.brand span,
.nav-pill,
.hero-stats span,
.eyebrow,
.mini-label,
.timeline-item span,
.step-index,
label {
  letter-spacing: 0.02em;
}

.brand p {
  margin: 0;
  font-weight: 700;
}

.brand span {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-pill,
.button,
.floating-badge {
  text-decoration: none;
  border-radius: 999px;
}

.nav-pill {
  color: var(--text);
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease;
}

.nav-pill-accent {
  color: #041018;
  background: linear-gradient(135deg, var(--accent-strong), #ffe29a);
  border-color: transparent;
  font-weight: 700;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  font-family: "Syne", sans-serif;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 6rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  max-width: 13ch;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.hero-text,
.section-heading p + h2 + p,
.step-card p,
.timeline-item p,
.coverage-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary {
  color: #041018;
  background: linear-gradient(135deg, var(--accent), #8ef9d2);
  box-shadow: 0 20px 44px rgba(81, 242, 197, 0.24);
}

.button-download {
  color: #041018;
  background: linear-gradient(135deg, var(--accent-strong), #ffe29a);
  box-shadow: 0 20px 44px rgba(255, 200, 87, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-stats li,
.step-card,
.coverage-panel,
.timeline-item,
.demo-window {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-stats li {
  padding: 18px;
  border-radius: 20px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.4rem;
}

.hero-demo {
  perspective: 1200px;
}

.demo-window {
  overflow: hidden;
  border-radius: 28px;
  transform: rotateY(-9deg) rotateX(6deg);
  animation: floatCard 6s ease-in-out infinite;
}

.window-chrome {
  display: flex;
  gap: 8px;
  padding: 18px 18px 10px;
}

.window-chrome span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.demo-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 440px;
}

.demo-sidebar {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 200, 87, 0.12), rgba(255, 123, 114, 0.08));
  border-right: 1px solid var(--line);
}

.mini-label {
  margin: 0 0 10px;
  color: var(--accent-strong);
  text-transform: uppercase;
  font-size: 0.76rem;
}

.demo-sidebar h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  max-width: 7ch;
}

.pulse-stack {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.pulse-card {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  transform: translateX(0);
  transition: transform 240ms ease, background 240ms ease, color 240ms ease;
}

.pulse-card.is-active {
  color: var(--text);
  background: rgba(81, 242, 197, 0.14);
  transform: translateX(6px);
}

.demo-form {
  position: relative;
  padding: 66px 26px 30px;
  display: grid;
  gap: 18px;
}

.floating-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 10px 14px;
  color: #041018;
  font-size: 0.84rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-strong), #ffe29a);
}

.field {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.83rem;
  color: var(--muted);
  text-transform: uppercase;
}

.value {
  min-height: 28px;
  font-size: 1.05rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}

.typing {
  width: 0;
  border-right: 2px solid rgba(81, 242, 197, 0.9);
}

.fill-progress {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.fill-progress-bar {
  height: 100%;
  width: 24%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  animation: progressLoop 4s ease-in-out infinite;
}

.steps,
.coverage,
.timeline {
  padding: 72px 0 0;
}

.section-heading {
  margin-bottom: 28px;
}

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

.step-card,
.timeline-item {
  border-radius: var(--radius);
  padding: 26px;
}

.step-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-weight: 700;
}

.coverage-panel {
  border-radius: 32px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: center;
}

.coverage-orbit {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

.orbit-ring,
.orbit-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.ring-one {
  border: 1px solid rgba(81, 242, 197, 0.3);
  animation: spin 16s linear infinite;
}

.ring-two {
  inset: 28px;
  border: 1px dashed rgba(255, 200, 87, 0.35);
  animation: spinReverse 12s linear infinite;
}

.orbit-core {
  inset: 78px;
  display: grid;
  place-items: center;
  font-family: "Syne", sans-serif;
  font-size: 2.5rem;
  background: radial-gradient(circle at top, rgba(81, 242, 197, 0.28), rgba(12, 27, 47, 0.95));
  border: 1px solid rgba(81, 242, 197, 0.22);
  box-shadow: inset 0 0 30px rgba(81, 242, 197, 0.14);
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 18px;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(81, 242, 197, 0.55), transparent);
}

.timeline-item span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.82rem;
}

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

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

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 240ms;
}

@keyframes floatCard {
  0%,
  100% {
    transform: rotateY(-9deg) rotateX(6deg) translateY(0);
  }
  50% {
    transform: rotateY(-7deg) rotateX(4deg) translateY(-10px);
  }
}

@keyframes progressLoop {
  0% {
    width: 14%;
  }
  50% {
    width: 88%;
  }
  100% {
    width: 22%;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .coverage-panel,
  .steps-grid,
  .timeline-track,
  .demo-body {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .coverage-orbit {
    width: 240px;
    height: 240px;
  }

  .demo-window {
    transform: none;
    animation-duration: 5s;
  }
}

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

  .topbar {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .button,
  .nav-pill {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .coverage-panel,
  .step-card,
  .timeline-item,
  .hero-stats li {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .typing {
    width: 100%;
    border-right: 0;
  }
}
