:root {
  --bg-dark: #0B1E2D;
  --bg-card: #0F2638;
  --bg-section: #0D1F2E;
  --accent: #20C4B7;
  --accent-dim: rgba(32, 196, 183, 0.12);
  --text-bright: #F2F7FA;
  --text-dim: #7A9BB0;
  --text-muted: #4A6B82;
  --border: rgba(32, 196, 183, 0.15);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg-dark);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--text-bright);
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

/* HERO */
.hero {
  padding: 80px 48px 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(32,196,183,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
}
.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-bright);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* DATA NETWORK VIZ */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.data-network-viz {
  position: relative;
  width: 360px;
  height: 360px;
}
.node {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
.node-hub {
  width: 48px; height: 48px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  opacity: 1;
  box-shadow: 0 0 24px rgba(32,196,183,0.5);
  z-index: 2;
}
.node-1 { width: 16px; height: 16px; top: 60px; left: 80px; }
.node-2 { width: 12px; height: 12px; top: 40px; left: 200px; }
.node-3 { width: 20px; height: 20px; bottom: 80px; left: 40px; }
.node-4 { width: 14px; height: 14px; bottom: 60px; right: 100px; }
.node-5 { width: 18px; height: 18px; top: 140px; right: 30px; }
.node-6 { width: 10px; height: 10px; top: 220px; left: 150px; }
.line {
  position: absolute;
  background: rgba(32,196,183,0.25);
  height: 1px;
  transform-origin: left center;
}
.line-1 { width: 90px; top: 108px; left: 88px; transform: rotate(25deg); }
.line-2 { width: 140px; top: 88px; left: 88px; transform: rotate(15deg); }
.line-3 { width: 70px; bottom: 148px; left: 52px; transform: rotate(65deg); }
.line-4 { width: 110px; bottom: 128px; right: 108px; transform: rotate(-35deg); }
.line-5 { width: 60px; top: 156px; right: 36px; transform: rotate(-80deg); }
.line-6 { width: 80px; top: 228px; left: 158px; transform: rotate(170deg); }
.pulse-ring {
  position: absolute;
  width: 80px; height: 80px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(32,196,183,0.4);
  animation: pulse 2.5s ease-out infinite;
}
@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}
.data-stream {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
}
.data-stream-2 { bottom: 60px; background: rgba(255,180,60,0.1); border-color: rgba(255,180,60,0.2); }
.data-stream-3 { bottom: 96px; background: rgba(100,160,255,0.1); border-color: rgba(100,160,255,0.2); }
.stream-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.data-stream-2 .stream-label { color: #FFB43C; }
.data-stream-3 .stream-label { color: #64A0FF; }

/* DATAFLOW SECTION */
.dataflow {
  padding: 80px 48px;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}
.section-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}
.dataflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.dataflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 0.2s;
}
.dataflow-card:hover { border-color: rgba(32,196,183,0.35); }

/* Data flow visuals */
.df-visual {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.df-visual-cleansing { flex-direction: column; gap: 16px; }
.clean-icon svg { width: 48px; height: 48px; }
.clean-pipeline {
  display: flex;
  gap: 6px;
  align-items: center;
}
.pipe-seg {
  width: 32px; height: 4px;
  border-radius: 2px;
  background: rgba(32,196,183,0.2);
}
.pipe-active { background: var(--accent); }

.df-visual-master { }
.master-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.mg-cell {
  width: 28px; height: 28px;
  border-radius: 4px;
  background: rgba(32,196,183,0.15);
  border: 1px solid rgba(32,196,183,0.2);
}
.mg-cell-active {
  background: var(--accent);
  opacity: 0.7;
  border-color: var(--accent);
}

.df-visual-ai { }
.ai-core {
  position: relative;
  width: 80px; height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.4;
}
.ai-ring-1 { width: 80px; height: 80px; animation: spin 6s linear infinite; }
.ai-ring-2 { width: 56px; height: 56px; animation: spin 4s linear infinite reverse; opacity: 0.6; }
.ai-ring-3 { width: 32px; height: 32px; animation: spin 3s linear infinite; opacity: 0.8; }
.ai-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.df-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
}
.df-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* INFRA SECTION */
.infra {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}
.infra-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.infra-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.infra-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 32px;
}
.infra-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
}
.infra-stat-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.isb-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.isb-row:last-child { border-bottom: none; }
.isb-label { color: var(--text-muted); }
.isb-val { color: var(--text-bright); font-weight: 500; text-align: right; }

/* CLOSING */
.closing {
  padding: 96px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.closing-sub {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* FOOTER */
.footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
}
.footer-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* MOBILE */
@media (max-width: 768px) {
  .navbar, .hero, .dataflow, .infra, .closing, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-inner, .infra-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-stats { gap: 24px; }
  .dataflow-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .data-network-viz { width: 280px; height: 280px; }
}