:root {
  --bg: #040810;
  --bg-card: #080f1e;
  --bg-card-hover: #0b1428;
  --fg: #e8edf5;
  --fg-muted: #6b7a94;
  --accent: #00e5ff;
  --accent-dim: rgba(0,229,255,0.12);
  --accent-orange: #ff7043;
  --accent-orange-dim: rgba(255,112,67,0.12);
  --border: rgba(255,255,255,0.07);
  --border-accent: rgba(0,229,255,0.25);
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-card);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-card); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

::selection { background: rgba(0,229,255,0.25); color: #fff; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4,8,16,0.85);
  backdrop-filter: blur(16px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--fg);
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); }
.nav-cta {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #33eeff; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 5rem 3rem 4rem;
  position: relative;
  overflow: hidden;
  gap: 4rem;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 0%, var(--bg) 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.hero-accent {
  color: var(--accent);
  position: relative;
}
.hero-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
  flex-wrap: wrap;
}
.proof-item { display: flex; align-items: center; gap: 0.4rem; }
.proof-sep { opacity: 0.3; }

/* ── SIM GRAPHIC (right side of hero) ── */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-graphic {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: spin-slow linear infinite;
}
.ring-1 { width: 280px; height: 280px; opacity: 0.15; animation-duration: 20s; }
.ring-2 { width: 200px; height: 200px; opacity: 0.25; animation-duration: 14s; animation-direction: reverse; }
.ring-3 { width: 120px; height: 120px; opacity: 0.4; animation-duration: 9s; }

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sim-core {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(0,229,255,0.6)); }
  50% { filter: drop-shadow(0 0 20px rgba(0,229,255,0.9)); }
}

.streamlines { position: absolute; inset: 0; }

.sl {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,229,255,0.2);
}
.sl-1 { width: 340px; height: 340px; top: 0; left: 0; animation: spin-slow 25s linear infinite; }
.sl-2 { width: 300px; height: 300px; top: 20px; left: 20px; animation: spin-slow 18s linear infinite reverse; }
.sl-3 { width: 260px; height: 260px; top: 40px; left: 40px; animation: spin-slow 22s linear infinite; }

/* ── STATS ── */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 3rem 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.stat {
  flex: 1;
  text-align: center;
  padding: 1rem 2rem;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ── SECTIONS (shared) ── */
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-family: var(--font-head);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--fg);
  max-width: 640px;
}
.section-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  margin-top: 0.75rem;
  max-width: 500px;
}

/* ── SERVICES ── */
.services {
  padding: 6rem 3rem;
  background: var(--bg);
}
.services .section-label,
.services .section-title,
.services .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.svc-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.svc-price {
  margin-top: 1.25rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* ── PROCESS ── */
.process {
  padding: 6rem 3rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process .section-label { margin-bottom: 1rem; }
.process .section-title { margin-bottom: 4rem; }

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}
.step-num {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.step h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.step p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.step-tools {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.step-tools li {
  font-size: 0.78rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.step-tools li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  padding-top: 3.5rem;
  flex-shrink: 0;
}
.conn-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--border-accent), var(--border));
}
.conn-arrow { margin-left: -4px; }

/* ── INFRASTRUCTURE ── */
.infrastructure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  padding: 6rem 3rem;
  background: var(--bg);
  align-items: center;
}
.infra-left .section-label { margin-bottom: 1rem; }
.infra-left .section-title { margin-bottom: 1.25rem; }
.infra-desc {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 440px;
}
.infra-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.infra-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
}
.ib-label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.ib-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.hpc-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.hpc-bar { display: grid; grid-template-columns: 100px 1fr 48px; align-items: center; gap: 1rem; }
.hpc-label { font-size: 0.78rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.hpc-track { height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.hpc-fill { height: 100%; background: var(--accent); border-radius: 3px; transition: width 1s ease; }
.fill-orange { background: var(--accent-orange); }
.fill-green { background: #00e676; }
.fill-purple { background: #b388ff; }
.hpc-val { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; color: var(--fg-muted); text-align: right; }

.infra-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.stack-item {
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* ── CLOSING ── */
.closing {
  padding: 8rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0,229,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.closing-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 2rem;
  font-family: var(--font-head);
}
.closing-statement {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--fg);
}
.closing-accent { color: var(--accent-orange); }
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-top: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.closing-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.cta-primary {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  background: var(--accent);
  color: var(--bg);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cta-primary:hover { background: #33eeff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,229,255,0.25); }
.cta-secondary {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  background: transparent;
  color: var(--fg-muted);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.cta-secondary:hover { color: var(--fg); border-color: var(--fg-muted); }

/* ── FOOTER ── */
.footer {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .nav-tagline { display: none; }

  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem 4rem; text-align: center; }
  .hero-sub { max-width: 100%; margin: 0 auto; }
  .hero-visual { display: none; }
  .hero-proof { justify-content: center; }

  .stats-row { flex-wrap: wrap; gap: 0; }
  .stat { flex: 0 0 50%; border-bottom: 1px solid var(--border); }
  .stat-divider { display: none; }

  .services { padding: 4rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }

  .process { padding: 4rem 1.5rem; }
  .process-steps { flex-direction: column; gap: 0; }
  .step-connector { display: none; }

  .infrastructure { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 3rem; }

  .closing { padding: 5rem 1.5rem; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
