:root {
  --bg: #0b1f3a;
  --bg-alt: #0e2a4f;
  --ink: #f5f8ff;
  --muted: #c3d2f0;
  --accent: #4ba3ff;
  --accent-dark: #2f7bd6;
  --teal: #6dd6ff;
  --card: rgba(255, 255, 255, 0.06);
  --shadow: 0 20px 50px rgba(5, 12, 24, 0.45);
  --radius: 20px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Sora", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.bg-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: -2;
}

.bg-glow-1 {
  background: #3f8bff;
  top: -120px;
  left: -80px;
}

.bg-glow-2 {
  background: #49d1ff;
  bottom: 0;
  right: -120px;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(29, 28, 26, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 28, 26, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
  z-index: -3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 31, 58, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo span:last-child {
  font-size: 0.85rem;
  color: var(--teal);
  letter-spacing: 0.4em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.btn-small {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--ink);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  padding: 90px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

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

.hero-stats div {
  background: var(--card);
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-head);
  margin-bottom: 4px;
}

.hero-card {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h2 {
  font-family: var(--font-head);
  margin: 12px 0 8px;
}

.checklist {
  list-style: none;
  margin: 24px 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.link {
  font-weight: 600;
  color: var(--teal);
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section-title {
  max-width: 700px;
  margin-bottom: 36px;
}

.section-title h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-top: 10px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  color: var(--teal);
  font-weight: 600;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card,
.case {
  background: var(--card);
  padding: 26px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card h3,
.case h3 {
  font-family: var(--font-head);
  margin-bottom: 10px;
}

.card p,
.case p {
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  background: var(--card);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step span {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--accent);
}

.step h3 {
  margin: 10px 0 8px;
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.case-metric {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-metric strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 111, 106, 0.12);
  color: var(--teal);
  font-weight: 600;
  font-size: 0.75rem;
}

.highlight {
  background: linear-gradient(120deg, #0f2b55, #0b1f3a);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.highlight-text h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 12px 0 16px;
}

.highlight-cards {
  display: grid;
  gap: 16px;
}

.mini-card {
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: start;
}

.contact-info ul {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.contact-info a {
  color: var(--teal);
  font-weight: 600;
}

.contact-form {
  background: var(--card);
  padding: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-body);
  background: rgba(10, 20, 40, 0.7);
  color: var(--ink);
}

.contact-form button {
  border: none;
  cursor: pointer;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.site-footer {
  background: #081427;
  color: #eaf1ff;
  padding: 50px 0 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-inner h3 {
  font-family: var(--font-head);
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: rgba(234, 241, 255, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .highlight-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

.nav {
    position: fixed;
    top: 70px;
    right: 20px;
    background: rgba(10, 26, 48, 0.98);
    box-shadow: var(--shadow);
    border-radius: 18px;
    flex-direction: column;
    padding: 18px;
    gap: 14px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .grid-3,
  .process,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }
}
