:root {
  --text: #f8f7ff;
  --muted: rgba(255, 255, 255, 0.7);
  --accent: #7f5dff;
  --accent-2: #00ffd1;
  --stroke: rgba(255, 255, 255, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050011;
  color: var(--text);
}

.landing-page {
  position: relative;
  min-height: 100vh;
  width: min(1100px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 4rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3vw, 3rem);
}

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
}

#color-bends,
.background-fade {
  position: absolute;
  inset: 0;
}

.background-fade {
  background: radial-gradient(circle at top, rgba(5, 0, 20, 0.1), rgba(5, 0, 20, 0.6) 70%),
    linear-gradient(180deg, rgba(5, 0, 20, 0.1) 0%, rgba(5, 0, 20, 0.45) 85%);
  pointer-events: none;
}

.site-header,
.hero,
.section {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: rgba(5, 0, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 35px rgba(5, 0, 25, 0.45);
}

.site-header nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.site-header nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.nav-spacer {
  width: 100px;
}

.brand-mark {
  letter-spacing: 0.35em;
  text-align: center;
  flex: 1;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--text);
  padding: 0.55rem 1.4rem;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ghost-btn:hover {
  border-color: var(--text);
  color: #fff;
}

.hero {
  max-width: 760px;
  padding: 0;
}

.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero .subhead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 640px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #050011;
  box-shadow: 0 12px 30px rgba(0, 255, 209, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.4s ease;
  background-size: 150% 150%;
}

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

.btn.secondary {
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  border-color: var(--stroke);
}

.hero-stats {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.hero-stats li {
  padding: 1rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.hero-stats .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.hero-stats .value {
  font-size: 1rem;
  font-weight: 500;
}

.section {
  padding: clamp(1.5rem, 3vw, 2.75rem) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.section-header h2 {
  margin: 0.4rem 0 1.5rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-list li {
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid article {
  padding: 0;
}

.metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.metrics li {
  padding: 0.2rem 0;
}

.metrics .value {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
}

.metrics .label {
  font-size: 0.85rem;
  color: var(--muted);
}

.reveal {
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
}

.reveal.in-view {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 600px) {
  .landing-page {
    width: calc(100% - 2rem);
  }

  .site-header {
    flex-wrap: wrap;
  }

  .nav-spacer {
    display: none;
  }

  .brand-mark {
    text-align: left;
  }

  .cta-group {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
