/* === FONTS === */
:root {
  --bg: #060d1a;
  --bg-2: #08111f;
  --bg-3: #0d1928;
  --surface: #0e1a2b;
  --surface-2: #132035;
  --border: rgba(0, 212, 168, 0.12);
  --border-subtle: rgba(255,255,255,0.06);
  --teal: #00d4a8;
  --teal-dim: rgba(0, 212, 168, 0.15);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --text: #e2eaf4;
  --text-2: #8ba3bf;
  --text-3: #4d6880;
  --font-head: 'Sora', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

/* === RESET === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--font-head); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6,13,26,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.875rem; color: var(--text-2); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* === HERO === */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 64px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,168,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,168,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,168,0.06) 0%, transparent 70%);
  top: 50%; left: 30%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; width: 100%;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-dim);
  border: 1px solid rgba(0,212,168,0.25);
  color: var(--teal);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem; line-height: 1.7; color: var(--text-2);
  max-width: 440px; margin-bottom: 40px;
}
.hero-stats-row {
  display: flex; align-items: center; gap: 24px;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value {
  font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600;
  color: var(--teal);
}
.stat-label { font-size: 0.75rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--border-subtle); }

/* === DASHBOARD SHELL === */
.dashboard-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 40px rgba(0,212,168,0.05);
}
.dash-topbar {
  background: var(--bg-2);
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-subtle); }
.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }
.dash-title { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); }
.dash-live { display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--teal); }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
.dash-body { display: flex; height: 400px; }
.dash-sidebar {
  width: 140px; border-right: 1px solid var(--border-subtle);
  padding: 16px 12px; display: flex; flex-direction: column; gap: 4px;
}
.sidebar-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 0.75rem; color: var(--text-3);
  cursor: pointer;
}
.sidebar-item.active { background: var(--teal-dim); color: var(--teal); }
.dash-main { flex: 1; padding: 16px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.dash-metrics { display: flex; gap: 8px; }
.metric-card {
  flex: 1; background: var(--bg-3); border: 1px solid var(--border-subtle);
  border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 2px;
}
.metric-label { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; }
.metric-value { font-family: var(--font-mono); font-size: 1rem; font-weight: 600; }
.metric-value.teal { color: var(--teal); }
.metric-delta { font-family: var(--font-mono); font-size: 0.65rem; }
.metric-delta.up { color: var(--teal); }
.metric-delta.down { color: var(--amber); }
.dash-funnel { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.funnel-stage { display: flex; align-items: center; gap: 8px; }
.stage-label { width: 80px; font-size: 0.7rem; color: var(--text-3); flex-shrink: 0; }
.stage-bar {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(0,212,168,0.4), rgba(0,212,168,0.1));
  flex: 1; border: 1px solid rgba(0,212,168,0.2);
}
.stage-count { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-2); width: 20px; text-align: right; }
.dash-activity { display: flex; flex-direction: column; gap: 6px; }
.activity-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); margin-bottom: 2px; }
.activity-item { display: flex; align-items: center; gap: 8px; }
.act-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.act-dot.teal { background: var(--teal); }
.act-dot.amber { background: var(--amber); }
.act-text { font-size: 0.72rem; color: var(--text-2); flex: 1; }
.act-time { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-3); }

/* === SECTION SHARED === */
.section-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--teal); font-weight: 600; margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.section-heading.left { text-align: left; }

/* === FEATURES === */
.features { padding: 120px 40px; max-width: 1200px; margin: 0 auto; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: rgba(0,212,168,0.3); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--teal-dim);
  border: 1px solid rgba(0,212,168,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.feature-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; margin-bottom: 16px; }
.feature-tag {
  display: inline-block;
  font-size: 0.65rem; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--teal); background: var(--teal-dim);
  padding: 3px 10px; border-radius: 100px;
}

/* === PIPELINE === */
.pipeline-section { padding: 100px 40px; background: var(--bg-2); }
.pipeline-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pipeline-desc { font-size: 0.95rem; color: var(--text-2); line-height: 1.7; margin-bottom: 40px; }
.pipeline-steps { display: flex; flex-direction: column; gap: 24px; }
.pipe-step { display: flex; gap: 20px; align-items: flex-start; }
.pipe-num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--teal); font-weight: 600; flex-shrink: 0; padding-top: 2px; }
.pipe-step h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.pipe-step p { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

/* Pipeline Visual */
.pipeline-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.pv-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.pv-header span { font-size: 0.875rem; font-weight: 600; }
.pv-sub { font-size: 0.75rem; color: var(--text-3); font-weight: 400; }
.pv-stages { display: flex; flex-direction: column; gap: 12px; }
.pv-stage { display: flex; flex-direction: column; gap: 6px; }
.pv-stage-header { display: flex; justify-content: space-between; align-items: center; }
.pv-label { font-size: 0.75rem; color: var(--text-2); }
.pv-count { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; }
.teal-text { color: var(--teal); }
.pv-bar {
  height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(0,212,168,0.5) 0%, rgba(0,212,168,0.1) 100%);
  border: 1px solid rgba(0,212,168,0.2);
}
.pv-bar.teal { background: linear-gradient(90deg, var(--teal), rgba(0,212,168,0.3)); }
.pv-legend { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.pv-legend span { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--text-3); }
.leg-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--teal); opacity: 0.5; }
.pv-rate { font-family: var(--font-mono); font-size: 0.75rem; color: var(--teal); }

/* === OUTCOMES === */
.outcomes { padding: 100px 40px; background: var(--bg); }
.outcomes-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-bottom: 60px; }
.outcome-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 32px; text-align: center;
}
.outcome-item:first-child { border-radius: 16px 0 0 16px; }
.outcome-item:last-child { border-radius: 0 16px 16px 0; }
.outcome-metric {
  font-family: var(--font-mono); font-size: 2.5rem; font-weight: 600;
  color: var(--teal); margin-bottom: 8px; line-height: 1;
}
.outcome-text { font-size: 0.85rem; color: var(--text-2); line-height: 1.5; }
.outcomes-quote { max-width: 600px; margin: 0 auto; }
.outcomes-quote blockquote {
  font-size: 1.1rem; color: var(--text-2); line-height: 1.7; font-style: italic;
}

/* === CLOSING === */
.closing { padding: 120px 40px; position: relative; overflow: hidden; }
.closing-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.closing-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,212,168,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 24px; text-align: center;
}
.closing-sub { font-size: 1.05rem; color: var(--text-2); line-height: 1.7; max-width: 560px; margin: 0 auto 48px; text-align: center; }
.closing-cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.closing-feature { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-2); }

/* === FOOTER === */
.footer { padding: 48px 40px; border-top: 1px solid var(--border-subtle); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; }
.footer-copy { font-size: 0.8rem; color: var(--text-3); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline-inner { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-inner { padding: 60px 24px; }
  .features { padding: 80px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome-item:first-child { border-radius: 16px 16px 0 0; }
  .outcome-item:last-child { border-radius: 0 0 16px 16px; }
  .nav-links { display: none; }
  .nav-inner { padding: 0 24px; }
  .closing-cta-row { gap: 16px; }
}