:root {
  --bg: #0a0b0d;
  --bg-soft: #101216;
  --panel: #14171c;
  --line: #23272f;
  --text: #e8eaed;
  --muted: #9aa0a8;
  --faint: #6b7280;
  --accent: #6ea8fe;
  --accent-2: #b78cff;
  --accent-grad: linear-gradient(120deg, #6ea8fe 0%, #b78cff 100%);
  --radius: 16px;
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background atmosphere */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.18;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.glow-a {
  width: 480px;
  height: 480px;
  background: #2a4d8f;
  top: -120px;
  left: -80px;
}

.glow-b {
  width: 520px;
  height: 520px;
  background: #4b2f7a;
  bottom: -160px;
  right: -120px;
}

/* Layout */
main,
.nav,
.footer {
  position: relative;
  z-index: 1;
}

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 11, 13, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 20px;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--text) !important;
}

.nav-cta:hover {
  border-color: var(--accent);
}

/* HERO */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 24px 70px;
  text-align: center;
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 999px;
  display: inline-block;
  background: rgba(110, 168, 254, 0.06);
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 26px 0 22px;
}

.accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 36px 0 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-grad);
  color: #0a0b0d;
  box-shadow: 0 8px 30px rgba(110, 168, 254, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(110, 168, 254, 0.4);
}

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

.btn-ghost:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 18px;
  padding: 16px 34px;
}

/* Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.stat-num,
.stat-suffix {
  font-family: "Space Grotesk", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.stat-suffix {
  color: var(--accent);
}

.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--faint);
  letter-spacing: 0.04em;
}

/* Section heads */
.section-head {
  margin-bottom: 48px;
}

.kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

.section-head h2,
.platform-copy h2,
.contact-card h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 12px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: #171b21;
}

.card-icon {
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 16px;
}

.card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

/* Platform */
.platform-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.platform-copy p {
  color: var(--muted);
  margin-top: 16px;
}

.checklist {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: 15px;
}

.checklist li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Orbit visual */
.platform-visual {
  display: flex;
  justify-content: center;
}

.orbit {
  position: relative;
  width: 320px;
  height: 320px;
  display: grid;
  place-items: center;
}

.core {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 60px rgba(110, 168, 254, 0.6);
  animation: pulse 3s ease-in-out infinite;
}

.ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.ring-1 {
  width: 150px;
  height: 150px;
}
.ring-2 {
  width: 230px;
  height: 230px;
  border-style: dashed;
}
.ring-3 {
  width: 310px;
  height: 310px;
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}

.node-1 {
  animation: spin1 8s linear infinite;
}
.node-2 {
  background: var(--accent-2);
  box-shadow: 0 0 16px var(--accent-2);
  animation: spin2 12s linear infinite;
}
.node-3 {
  animation: spin3 16s linear infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.85;
  }
}

@keyframes spin1 {
  from {
    transform: rotate(0) translateX(75px) rotate(0);
  }
  to {
    transform: rotate(360deg) translateX(75px) rotate(-360deg);
  }
}
@keyframes spin2 {
  from {
    transform: rotate(0) translateX(115px) rotate(0);
  }
  to {
    transform: rotate(-360deg) translateX(115px) rotate(360deg);
  }
}
@keyframes spin3 {
  from {
    transform: rotate(0) translateX(155px) rotate(0);
  }
  to {
    transform: rotate(360deg) translateX(155px) rotate(-360deg);
  }
}

/* About */
.about-lead {
  max-width: 760px;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--text);
  line-height: 1.5;
}

/* Contact */
.contact {
  display: flex;
  justify-content: center;
}

.contact-card {
  text-align: center;
  background: linear-gradient(180deg, #14171c 0%, #0d0f13 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 64px 40px;
  width: 100%;
  max-width: 760px;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(110, 168, 254, 0.18), transparent 70%);
}

.contact-card > * {
  position: relative;
}

.contact-card p {
  color: var(--muted);
  margin-top: 12px;
}

.contact-card .btn {
  margin-top: 28px;
}

.contact-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--faint) !important;
  margin-top: 22px !important;
  letter-spacing: 0.05em;
}

/* Footer — unified, centered */
.footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 48px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.footer-brand .brand-name {
  font-size: 18px;
}

.footer-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--faint);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-address {
  font-size: 12.5px;
  color: var(--faint);
  line-height: 1.6;
}

.footer-copy {
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.03em;
  opacity: 0.8;
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .platform-visual {
    order: -1;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .copy {
    text-align: left;
  }
}
