:root {
  --bg-1: #061822;
  --bg-2: #103347;
  --bg-3: #0f6b69;
  --text-main: #f3f9f8;
  --text-soft: #d2e6e3;
  --accent: #ff8c42;
  --accent-2: #38d8c4;
  --card: rgba(7, 22, 33, 0.52);
  --card-border: rgba(255, 255, 255, 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(90vw 70vh at 75% 15%, rgba(56, 216, 196, 0.2), transparent 62%),
    radial-gradient(65vw 80vh at 10% 90%, rgba(255, 140, 66, 0.25), transparent 70%),
    linear-gradient(130deg, var(--bg-1), var(--bg-2) 55%, var(--bg-3));
  overflow-x: hidden;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.25) 1px, transparent 0);
  background-size: 4px 4px;
}

.content {
  position: relative;
  z-index: 2;
  width: min(1140px, 92vw);
  margin: 0 auto;
  padding: 1.2rem 0 2.8rem;
}

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

.brand {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.15rem;
  color: var(--accent-2);
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.5rem 0.95rem;
  backdrop-filter: blur(6px);
  background: rgba(6, 22, 33, 0.25);
}

.hero {
  margin-top: clamp(2.2rem, 7vw, 6rem);
  max-width: 760px;
}

.eyebrow {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.14rem;
  color: var(--accent);
}

.title {
  margin: 0.45rem 0 0;
  line-height: 1.04;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 7vw, 4.8rem);
  text-wrap: balance;
}

.subtitle {
  margin: 1rem 0 0;
  max-width: 62ch;
  color: var(--text-soft);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.65;
}

.chip-row {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(2, 12, 19, 0.3);
  backdrop-filter: blur(3px);
  border-radius: 999px;
  padding: 0.46rem 0.88rem;
  font-size: 0.92rem;
  color: #dff4f1;
}

.cta-row {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 155px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #021018;
  background: linear-gradient(135deg, #ffd166, var(--accent));
  box-shadow: 0 11px 30px rgba(255, 140, 66, 0.3);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--text-main);
  background: rgba(4, 16, 25, 0.33);
}

.metrics {
  margin-top: clamp(2.2rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.metric-card {
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.1rem;
}

.metric {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.65rem, 5vw, 2.4rem);
  font-weight: 800;
  color: #ffe9d8;
}

.label {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 28ch;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: appear 680ms cubic-bezier(0.2, 0.85, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.32s; }
.delay-4 { animation-delay: 0.42s; }
.delay-5 { animation-delay: 0.52s; }
.delay-6 { animation-delay: 0.62s; }
.delay-7 { animation-delay: 0.72s; }

@keyframes appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 850px) {
  .metrics {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation-duration: 0ms;
    animation-delay: 0ms;
    opacity: 1;
    transform: none;
  }

  .button {
    transition: none;
  }
}
