:root {
  --bg: #0b1020;
  --bg-alt: #0f1530;
  --panel: #141b38;
  --border: #25304f;
  --text: #e7ecf6;
  --muted: #9aa6c4;
  --accent: #6d8cff;
  --accent-2: #36e0c0;
  --max: 1120px;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 70% -10%, rgba(109, 140, 255, 0.18), transparent 60%),
              radial-gradient(900px 500px at 0% 0%, rgba(54, 224, 192, 0.10), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; line-height: 1.15; margin: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-2);
  margin: 0 0 14px;
}

.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.brand-mark { color: var(--accent-2); font-size: 1.25rem; }
.brand-name { font-family: "Space Grotesk", sans-serif; letter-spacing: 0.02em; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color 0.18s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(109, 140, 255, 0.12);
}
.nav-cta:hover { border-color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #08122a;
  box-shadow: 0 10px 30px rgba(109, 140, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* Hero */
.hero { padding: 92px 0 64px; }
.hero-title { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 700; letter-spacing: -0.01em; }
.hero-lead { max-width: 680px; font-size: 1.15rem; color: var(--muted); margin: 22px 0 0; }
.hero-lead strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }

.hero-stats {
  list-style: none; display: flex; flex-wrap: wrap; gap: 40px;
  margin: 56px 0 0; padding: 28px 0 0; border-top: 1px solid var(--border);
}
.hero-stats li { display: flex; flex-direction: column; }
.stat-num { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--text); }
.stat-label { color: var(--muted); font-size: 0.92rem; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
.section-lead { max-width: 720px; color: var(--muted); font-size: 1.08rem; margin: 16px 0 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s, border-color 0.18s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card.subtle { background: rgba(20, 27, 56, 0.5); }
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* Split layout */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split.reverse .split-visual { order: -1; }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; }
.check-list li { position: relative; padding: 9px 0 9px 30px; color: var(--text); border-bottom: 1px solid var(--border); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }

/* Orbit visual */
.split-visual { display: flex; justify-content: center; }
.orbit {
  position: relative; width: 320px; height: 320px; border-radius: 50%;
  border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
}
.orbit::before {
  content: ""; position: absolute; width: 210px; height: 210px; border-radius: 50%;
  border: 1px dashed var(--border);
}
.orbit-core {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #08122a; font-family: "Space Grotesk", sans-serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 50px rgba(109, 140, 255, 0.5);
}
.node {
  position: absolute; background: var(--panel); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--text);
  white-space: nowrap;
}
.node.n1 { top: -12px; left: 50%; transform: translateX(-50%); }
.node.n2 { right: -28px; top: 50%; transform: translateY(-50%); }
.node.n3 { bottom: -12px; left: 50%; transform: translateX(-50%); }
.node.n4 { left: -22px; top: 50%; transform: translateY(-50%); }

/* Panel mock */
.panel-mock {
  width: 100%; max-width: 380px; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.panel-bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.2); }
.panel-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.panel-bar span:first-child { background: #ff5f57; }
.panel-bar span:nth-child(2) { background: #febc2e; }
.panel-bar span:nth-child(3) { background: #28c840; }
.panel-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.panel-row { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--muted); padding: 10px 12px; background: rgba(0,0,0,0.18); border-radius: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }
.dot.warn { background: #febc2e; box-shadow: 0 0 10px #febc2e; }

/* Contact */
.contact-inner { text-align: center; }
.contact-inner .section-lead { margin-left: auto; margin-right: auto; }
.contact-inner .btn { margin-top: 30px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg-alt); }
.footer-inner { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.footer-tag { color: var(--muted); margin: 4px 0 0; }
.footer-copy { color: var(--muted); font-size: 0.86rem; margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
    padding: 8px 24px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; }
  .nav-cta { display: inline-block; margin-top: 8px; }

  .cards, .cards.three { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-visual { order: 0; }
  .hero-stats { gap: 28px; }
}
