:root {
  --background: 220 60% 5%;
  --foreground: 210 30% 96%;
  --card: 220 55% 7%;
  --primary: 205 90% 55%;
  --primary-foreground: 220 60% 5%;
  --primary-glow: 195 100% 65%;
  --secondary: 22 95% 55%;
  --muted: 220 40% 11%;
  --muted-foreground: 215 20% 68%;
  --border: 215 40% 16%;
  --input: 215 40% 13%;
  --radius: 0.875rem;
  --gradient-primary: linear-gradient(
    135deg,
    hsl(205 95% 65%),
    hsl(195 100% 72%) 50%,
    hsl(28 100% 65%)
  );
  --gradient-text: linear-gradient(
    135deg,
    hsl(210 30% 98%) 0%,
    hsl(195 100% 75%) 55%,
    hsl(28 100% 65%) 100%
  );
  --gradient-hero: radial-gradient(ellipse at 20% 0%, hsl(215 90% 30% / 0.4), transparent 55%),
    radial-gradient(ellipse at 80% 20%, hsl(22 95% 45% / 0.22), transparent 55%),
    linear-gradient(180deg, hsl(220 60% 6%), hsl(220 65% 3%));
  --gradient-border: linear-gradient(135deg, hsl(205 90% 55% / 0.6), hsl(22 95% 55% / 0.6));
  --shadow-glow: 0 0 60px hsl(205 90% 55% / 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  background-image: var(--gradient-hero);
  background-attachment: fixed;
}

.font-display {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.02em;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: linear-gradient(180deg, rgba(13, 18, 28, 0.6), rgba(10, 14, 21, 0.4));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid hsl(200 40% 20% / 0.4);
}

.glow-primary {
  box-shadow: var(--shadow-glow);
}

.grid-bg {
  background-image: linear-gradient(hsl(205 80% 60% / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, hsl(205 80% 60% / 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.container-narrow {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  position: relative;
  padding: 6rem 1.5rem;
}

@media (min-width: 768px) {
  .section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: hsl(var(--primary) / 0.08);
  border: 1px solid hsl(var(--primary) / 0.25);
  color: hsl(var(--primary-glow));
}

.muted {
  color: hsl(var(--muted-foreground));
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: padding 0.35s var(--ease);
}

.site-header.is-scrolled {
  padding: 0.75rem 0;
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled .nav-bar {
  background: linear-gradient(180deg, rgba(13, 18, 28, 0.75), rgba(10, 14, 21, 0.55));
  backdrop-filter: blur(14px);
  border: 1px solid hsl(200 40% 20% / 0.35);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.brand .accent {
  color: hsl(var(--primary));
}

.nav-desktop {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.nav-desktop a:hover {
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: hsl(var(--foreground) / 0.95);
  color: hsl(var(--background));
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  .nav-cta {
    display: inline-flex;
  }
}

.menu-btn {
  display: flex;
  padding: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--border));
  background: transparent;
  color: inherit;
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }
}

.nav-mobile {
  display: none;
  margin-top: 0.5rem;
  border-radius: 1rem;
  padding: 1rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.nav-mobile a {
  color: hsl(var(--muted-foreground));
}

.nav-mobile a:hover {
  color: hsl(var(--foreground));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    hsl(var(--background) / 0.7),
    hsl(var(--background) / 0.85),
    hsl(var(--background))
  );
}

.hero-bg .grid {
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

.hero-glow.a {
  top: 25%;
  left: -5rem;
  width: 20rem;
  height: 20rem;
  background: hsl(var(--primary) / 0.2);
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-glow.b {
  bottom: 25%;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--secondary) / 0.2);
  filter: blur(140px);
  animation: pulse-glow 4s ease-in-out infinite 1s;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 56rem;
}

.hero h1 {
  margin: 1.5rem 0 0;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  animation: fade-up 0.8s var(--ease) both;
}

.hero .lead {
  margin-top: 2rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  line-height: 1.625;
  animation: fade-up 0.8s var(--ease) 0.12s both;
}

.hero .lead strong {
  color: hsl(var(--foreground));
  font-weight: 500;
}

.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fade-up 0.8s var(--ease) 0.24s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: scale(1.03);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.4);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--card) / 0.7);
}

.stats {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border) / 0.5);
  animation: fade-up 0.8s var(--ease) 0.36s both;
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-cell {
  background: hsl(var(--card) / 0.3);
  padding: 1.5rem;
}

.stat-cell .num {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.stat-cell .label {
  margin-top: 0.25rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: hsl(var(--muted-foreground));
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.scroll-hint span.bar {
  display: block;
  width: 1px;
  height: 2.5rem;
  margin: 0.5rem auto 0;
  background: linear-gradient(to bottom, hsl(var(--primary)), transparent);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section-head {
  max-width: 48rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin: 1.25rem 0 0;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.card-grid {
  margin-top: 4rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  border-radius: 1rem;
  padding: 1.75rem;
  transition: transform 0.35s var(--ease), border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card .top-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  opacity: 0.6;
  background: var(--gradient-border);
}

.card h3 {
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.team-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  object-fit: cover;
  background: linear-gradient(
    135deg,
    hsl(var(--primary) / 0.2),
    hsl(var(--card)),
    hsl(var(--secondary) / 0.2)
  );
}

.team-link {
  display: block;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.team-link:hover .team-photo,
.team-link:focus-visible .team-photo {
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.65);
}

.team-link:focus-visible {
  border-radius: 0.75rem;
}

.team-link:hover h3,
.team-link:focus-visible h3 {
  color: hsl(var(--primary));
}

.big-stat {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 3rem;
  font-weight: 700;
}

.icon-box {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.2);
}

.step-num {
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  position: relative;
}

.step-num .glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: hsl(var(--primary) / 0.2);
  filter: blur(24px);
  z-index: -1;
}

ul.checks {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

ul.checks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

ul.checks li::before {
  content: "";
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: hsl(var(--primary));
}

/* Contact */
.contact-shell {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border) / 0.5);
}

.contact-shell .bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  padding: 2rem;
}

@media (min-width: 1024px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    padding: 3.5rem;
  }
}

.form-field label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}

.form-field input,
.form-field textarea {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--input) / 0.6);
  color: hsl(var(--foreground));
  font: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: hsl(var(--primary));
}

.form-field + .form-field {
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--primary-glow));
  min-height: 1.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid hsl(var(--border) / 0.6);
  margin-top: 2.5rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
