:root {
  --night: #0f1f2f;
  --forest: #114b40;
  --mint: #66d8b8;
  --sand: #f3d1a1;
  --text: #ecf6f3;
  --muted: #b9d3cc;
  --line: rgba(206, 246, 237, 0.24);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, #1d5b53, transparent 37%),
    radial-gradient(circle at 90% 0%, #1e384f, transparent 42%),
    linear-gradient(140deg, #081724 0%, #103038 55%, #0b1f33 100%);
  position: relative;
  overflow-x: hidden;
}

.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}

.halo {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.42;
  animation: floaty 10s ease-in-out infinite alternate;
  z-index: -1;
}

.halo-left {
  background: #42d1a8;
  left: -8rem;
  top: -7rem;
}

.halo-right {
  background: #e6a353;
  right: -7rem;
  bottom: -9rem;
}

.topbar,
main {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand p {
  margin: 0;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-family: "Chakra Petch", sans-serif;
}

.brand-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), #97f3da);
  box-shadow: 0 0 15px var(--mint);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

a {
  color: var(--text);
  text-decoration: none;
}

.cta-sm {
  border: 1px solid var(--line);
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
}

.hero {
  padding: 2.2rem 0 1.6rem;
  animation: reveal 700ms ease both;
}

.eyebrow {
  margin: 0;
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
}

h1 {
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 0.98;
  margin: 0.7rem 0;
  max-width: 15ch;
}

.lead {
  max-width: 64ch;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  border-radius: 12px;
  padding: 0.76rem 1rem;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #2ec49b, #1f8e73);
  color: #032920;
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-metrics {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-metrics article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(18, 41, 56, 0.55);
  backdrop-filter: blur(5px);
}

.hero-metrics p {
  margin: 0;
  color: #a9c8c0;
  font-size: 0.82rem;
}

.hero-metrics strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.1rem;
}

.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding-bottom: 2rem;
}

.module-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(15, 36, 51, 0.62);
  animation: reveal 900ms ease both;
}

.module-card:nth-child(2) {
  animation-delay: 120ms;
}

.module-card:nth-child(3) {
  animation-delay: 220ms;
}

.module-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-family: "Chakra Petch", sans-serif;
}

.module-card p {
  margin: 0.6rem 0 0;
  color: #bad2cb;
  line-height: 1.55;
}

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

@keyframes floaty {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(26px, 18px);
  }
}

@media (max-width: 920px) {
  .hero-metrics,
  .modules {
    grid-template-columns: 1fr;
  }

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

  nav {
    flex-wrap: wrap;
  }
}
