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

:root {
  --navy-950: #060d1a;
  --navy-900: #0a1628;
  --navy-800: #0f2140;
  --navy-700: #163058;
  --blue-500: #2b6de8;
  --blue-400: #4d8af0;
  --blue-300: #7aa8f5;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f7;
  --gray-200: #dde3ec;
  --gray-400: #8b95a5;
  --gray-600: #5a6478;
  --gray-800: #2d3544;
  --white: #ffffff;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
}

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(6, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  padding: 12px 24px;
  font-size: 0.9375rem;
}

.btn-primary:hover {
  background: var(--blue-400);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

.btn-link {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 8px;
  font-size: 0.9375rem;
}

.btn-link:hover {
  color: var(--white);
}

/* Hero */

.hero {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 40%, var(--navy-800) 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(43, 109, 232, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(43, 109, 232, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-proof {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  position: relative;
  width: 320px;
  height: 320px;
}

.hero-node {
  position: absolute;
  border-radius: 16px;
  background: rgba(43, 109, 232, 0.12);
  border: 1px solid rgba(77, 138, 240, 0.3);
}

.hero-node-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 109, 232, 0.2);
  border-color: rgba(77, 138, 240, 0.5);
  color: var(--blue-300);
}

.hero-node-center svg {
  width: 56px;
  height: 56px;
}

.hero-node-1 {
  top: 20px;
  right: 30px;
  width: 64px;
  height: 64px;
}

.hero-node-2 {
  bottom: 40px;
  right: 10px;
  width: 48px;
  height: 48px;
}

.hero-node-3 {
  bottom: 60px;
  left: 10px;
  width: 56px;
  height: 56px;
}

.hero-line {
  position: absolute;
  background: linear-gradient(90deg, rgba(77, 138, 240, 0.5), rgba(77, 138, 240, 0.1));
  height: 2px;
  transform-origin: left center;
}

.hero-line-1 {
  top: 52px;
  left: 160px;
  width: 100px;
  transform: rotate(-20deg);
}

.hero-line-2 {
  bottom: 88px;
  left: 66px;
  width: 120px;
  transform: rotate(15deg);
}

.hero-line-3 {
  bottom: 108px;
  left: 160px;
  width: 90px;
  transform: rotate(-35deg);
}

/* Stats bar */

.stats-bar {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--white);
}

.section-dark {
  background: var(--gray-50);
}

.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-500);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--navy-900);
  margin-bottom: 16px;
  max-width: 640px;
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 640px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* Cards */

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  border-color: var(--blue-300);
  box-shadow: 0 8px 32px rgba(43, 109, 232, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(43, 109, 232, 0.1);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Schema */

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

.schema-group h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.schema-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
}

.schema-table thead {
  background: var(--gray-100);
}

.schema-table th,
.schema-table td {
  padding: 10px 14px;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-200);
}

.schema-table th {
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.schema-table tr:last-child td {
  border-bottom: none;
}

.schema-table code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: var(--navy-800);
  background: rgba(43, 109, 232, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.schema-table td:last-child {
  color: var(--gray-600);
  font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
}

/* Sample download */

.sample-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sample-copy p:not(.section-eyebrow) {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

.sample-preview {
  background: var(--navy-950);
  border-radius: 12px;
  padding: 24px;
  overflow: hidden;
}

.sample-code {
  margin: 0;
  overflow-x: auto;
}

.sample-code code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  white-space: pre;
}

/* Coverage grid */

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

.coverage-grid-compact {
  grid-template-columns: 1fr;
  gap: 16px;
}

.coverage-grid-compact .coverage-item {
  padding: 20px;
}

.coverage-grid-compact .coverage-value {
  font-size: 1.75rem;
}

.coverage-grid-compact .coverage-item h3 {
  font-size: 0.9375rem;
}

.coverage-grid-compact .coverage-item p {
  font-size: 0.8125rem;
}

/* Coverage map */

.map-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.map-panel {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
}

.coverage-map {
  width: 100%;
  height: auto;
}

.map-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-legend {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
}

.map-legend h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.map-legend ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.legend-swatch {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.legend-high {
  background: #2b6de8;
  opacity: 0.9;
}

.legend-med {
  background: #4d8af0;
  opacity: 0.65;
}

.legend-low {
  background: #7aa8f5;
  opacity: 0.45;
}

.legend-none {
  background: #dde3ec;
}

.coverage-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px;
}

.coverage-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-500);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}

.coverage-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.coverage-item p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Features split */

.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.features-copy p:last-child {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.features-list li {
  padding-left: 20px;
  border-left: 3px solid var(--blue-500);
}

.features-list strong {
  display: block;
  font-size: 1rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.features-list span {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* CTA */

.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
  text-align: center;
}

.cta-inner h2 {
  color: var(--white);
  max-width: none;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.55);
  padding-top: 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 280px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner,
  .features-split,
  .schema-layout,
  .sample-layout,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .cards-grid,
  .coverage-grid {
    grid-template-columns: 1fr;
  }

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

  .nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}
