/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

/* Theme Tokens */
:root {
  --bg: #060E1A;
  --bg-alt: #0A1526;
  --surface: #0F1E32;
  --surface-2: #152540;
  --fg: #E4E8F0;
  --fg-muted: #8A9BB5;
  --fg-dim: #506378;
  --accent: #00BFA6;
  --accent-dim: rgba(0, 191, 166, 0.12);
  --border: rgba(0, 191, 166, 0.12);
  --font-head: 'Outfit', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
.text-accent { color: var(--accent); }
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(6, 14, 26, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-logo .accent { color: var(--accent); }
.nav-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--surface);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.data-field {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 191, 166, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 166, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 191, 166, 0.08);
}
.r1 { width: 600px; height: 600px; top: -100px; right: -100px; animation: pulse 6s ease-in-out infinite; }
.r2 { width: 900px; height: 900px; top: -250px; right: -250px; animation: pulse 6s ease-in-out infinite 2s; }
.r3 { width: 1200px; height: 1200px; top: -400px; right: -400px; animation: pulse 6s ease-in-out infinite 4s; }
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--accent);
  background: var(--accent-dim);
}
/* Data card */
.hero-right { display: flex; justify-content: center; }
.data-viz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  width: 100%;
  max-width: 360px;
  font-size: 0.8rem;
}
.viz-header {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.viz-nodes {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.25rem;
  justify-content: center;
}
.viz-node {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.72rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--fg-muted);
}
.viz-node.source { color: #6BA3D6; border-color: rgba(107, 163, 214, 0.2); background: rgba(107, 163, 214, 0.05); }
.viz-node.process { color: var(--accent); border-color: rgba(0, 191, 166, 0.25); background: var(--accent-dim); }
.viz-node.dest { color: #E8A87C; border-color: rgba(232, 168, 124, 0.2); background: rgba(232, 168, 124, 0.05); }
.viz-conn {
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 20px;
}
.viz-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--fg-dim);
  margin-bottom: 1.25rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-alt);
  border-radius: 6px;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.status-dot.on { box-shadow: 0 0 6px var(--accent); }
.viz-bar-row {
  display: grid;
  grid-template-columns: 42px 1fr 32px;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.viz-label { font-size: 0.65rem; color: var(--fg-dim); font-weight: 500; }
.viz-bar { height: 4px; background: var(--surface-2); border-radius: 2px; overflow: hidden; }
.viz-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #00E8C8); border-radius: 2px; }
.viz-pct { font-size: 0.65rem; color: var(--fg-dim); text-align: right; }

/* Manifesto */
.manifesto { padding: 6rem 2rem; }
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.manifesto-headline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.manifesto-quote {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-style: normal;
  line-height: 1.4;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}
.manifesto-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* Services */
.services { padding: 5rem 2rem; background: var(--bg-alt); }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
}
.svc-card {
  background: var(--surface);
  padding: 2rem;
  transition: background 0.2s;
}
.svc-card:hover { background: var(--surface-2); }
.svc-icon { margin-bottom: 1.25rem; }
.svc-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.svc-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.svc-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

/* Stats */
.stats { padding: 5rem 2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-item { text-align: center; flex: 1; }
.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
}
.stat-number .stat-unit { color: var(--accent); }
.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* Closing */
.closing { padding: 8rem 2rem; text-align: center; }
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--fg);
}
.footer-logo .accent { color: var(--accent); }
.footer-co { font-size: 0.75rem; color: var(--fg-dim); }
.footer-meta { font-size: 0.75rem; color: var(--fg-dim); }

/* Responsive */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { display: none; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { flex-wrap: wrap; gap: 2rem; }
  .stat-divider { display: none; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero { padding: 7rem 1.25rem 3rem; }
  .manifesto, .services, .stats, .closing { padding-left: 1.25rem; padding-right: 1.25rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}