:root {
  --bg: #080c14;
  --bg-card: #0e1624;
  --bg-card-alt: #121b2e;
  --fg: #dde3ef;
  --fg-muted: #7a8599;
  --fg-dim: #4a5568;
  --accent: #00C2FF;
  --accent-dim: rgba(0, 194, 255, 0.12);
  --accent-glow: rgba(0, 194, 255, 0.08);
  --warning: #f5a623;
  --warning-dim: rgba(245, 166, 35, 0.15);
  --success: #27c96a;
  --success-dim: rgba(39, 201, 106, 0.12);
  --danger: #f04b4b;
  --danger-dim: rgba(240, 75, 75, 0.15);
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.1);
  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::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;
  overflow-x: hidden;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,194,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,194,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.6; box-shadow: 0 0 16px var(--accent); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 60px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
}

/* Pipeline Card */
.hero-visual {
  max-width: 720px;
}

.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.pipeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.pipeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.pipeline-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.pipeline-status {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
}

.pipeline-status.healthy {
  background: var(--success-dim);
  color: var(--success);
}

.pipeline-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  gap: 3px;
  margin-bottom: 20px;
}

.bar-seg {
  height: 100%;
  border-radius: 3px;
}

.bar-seg.healthy { background: var(--success); }
.bar-seg.warning { background: var(--warning); }
.bar-seg.danger { background: var(--danger); }

.pipeline-alerts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.alert-warning {
  background: var(--warning-dim);
  border: 1px solid rgba(245,166,35,0.2);
  color: #f5d99a;
}

.alert-success {
  background: var(--success-dim);
  border: 1px solid rgba(39,201,106,0.2);
  color: #a8f0c6;
}

.alert-info {
  background: var(--accent-dim);
  border: 1px solid rgba(0,194,255,0.15);
  color: #a8e4f7;
}

.alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.alert-dot.warning { background: var(--warning); box-shadow: 0 0 6px var(--warning); }
.alert-dot.success { background: var(--success); box-shadow: 0 0 6px var(--success); }
.alert-dot.info { background: var(--accent); box-shadow: 0 0 6px var(--accent); }

/* ─── FEATURES ─── */
.features {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, #0b1220 100%);
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 80px;
}

.feature-card--main {
  grid-row: span 2;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(0,194,255,0.2);
}

.feature-card--main {
  padding: 32px;
}

.feature-icon {
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-display);
}

/* VS section */
.vs-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.vs-header {
  margin-bottom: 24px;
}

.vs-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
}

.vs-title-old, .vs-title-new {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--fg-muted);
}

.vs-title-new { color: var(--accent); }

.vs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vs-list li {
  font-size: 0.85rem;
  color: var(--fg-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.vs-list li::before {
  content: '—';
  color: var(--fg-dim);
  flex-shrink: 0;
  font-size: 0.75rem;
}

.vs-list--new li::before { color: var(--accent); content: '✓'; }
.vs-list--new li { color: var(--fg); }

.vs-arrow {
  display: flex;
  align-items: center;
  padding-top: 30px;
}

/* ─── CLOSING ─── */
.closing {
  padding: 120px 0 100px;
  background: var(--bg);
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.closing-statement {
  margin-bottom: 80px;
}

.closing-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 500;
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 860px;
  margin-bottom: 20px;
  font-style: italic;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.closing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.closing-stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.closing-stat-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.closing-product-note {
  padding-top: 40px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--fg-dim);
  max-width: 600px;
}

/* ─── FOOTER ─── */
.footer {
  background: #060a10;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--fg); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--fg-dim);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .feature-card--main {
    grid-row: auto;
    grid-column: span 2;
  }
  .vs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vs-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; }
  .hero-content, .features-inner, .closing-inner, .footer-inner, .footer-bottom { padding: 0 24px; }
  .hero-headline { font-size: 2.4rem; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card--main { grid-column: auto; }
  .closing-grid { grid-template-columns: 1fr; gap: 32px; }
  .closing-stat-number { font-size: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 32px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .section-title { font-size: 1.5rem; }
  .pipeline-header { flex-direction: column; align-items: flex-start; gap: 6px; }
}