/* ======================== RESET & BASE ======================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0f;
  --bg-subtle: #0f0f18;
  --bg-card: #12121e;
  --bg-card-hover: #1a1a2e;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.1);
  --text: #e4e4ed;
  --text-muted: #8a8a9f;
  --text-dim: #5a5a6f;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99,102,241,0.15);
  --green: #22c55e;
  --red: #ef4444;
  --orange: #f59e0b;
  --pink: #ec4899;
  --cyan: #06b6d4;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--pink), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ======================== NAV ======================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.nav.scrolled { padding: 10px 0; }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center;
}
.logo-svg {
  height: 32px; width: auto;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--text-muted);
  border-radius: 2px; transition: 0.3s;
}

/* ======================== HERO ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 24px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 100%);
}
.glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}
.glow-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; left: -100px; }
.glow-2 { width: 400px; height: 400px; background: var(--pink); top: 0; right: -100px; animation-delay: -3s; }
.glow-3 { width: 300px; height: 300px; background: var(--cyan); bottom: -100px; left: 30%; animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 820px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent-glow);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px; margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem; font-weight: 600;
  border-radius: 10px;
  transition: all 0.25s;
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 4px 30px rgba(99,102,241,0.5);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
}

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-value {
  font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em;
  color: white;
}
.stat-suffix { font-size: 1.5rem; font-weight: 600; color: var(--accent-light); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.stat-divider {
  width: 1px; height: 40px;
  background: var(--border-strong);
}

/* Terminal */
.hero-visual {
  position: relative; z-index: 1;
  width: 100%; max-width: 680px;
  margin: 48px auto 0;
}
.terminal-window {
  background: #0d0d14;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.terminal-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #28c840; }
.terminal-title {
  margin-left: auto;
  font-size: 0.75rem; font-family: var(--mono);
  color: var(--text-dim);
}
.terminal-body {
  padding: 16px 20px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.8;
  min-height: 200px;
  color: var(--text-muted);
}
.terminal-line { white-space: pre-wrap; }
.t-prompt { color: var(--green); }
.t-cmd { color: var(--text); }
.t-info { color: var(--accent-light); }
.t-success { color: var(--green); }
.t-warn { color: var(--orange); }
.t-dim { color: var(--text-dim); }

/* ======================== LOGO STRIP ======================== */
.logos-strip {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.logos-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.logos-row {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 32px;
}
.logo-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
}
.logo-item:hover {
  opacity: 1;
  border-color: var(--border);
  background: rgba(255,255,255,0.02);
}

/* ======================== SECTIONS ======================== */
.section { padding: 120px 0; }
.section-dark { background: var(--bg-subtle); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.section-badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent-glow);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ======================== PROBLEM ======================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.problem-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}
.problem-card:hover {
  border-color: rgba(239,68,68,0.3);
  transform: translateY(-3px);
}
.problem-icon { font-size: 2rem; margin-bottom: 16px; }
.problem-card h3 {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 8px;
}
.problem-card p {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.6;
}

/* ======================== FEATURES ======================== */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 120px;
}
.feature-showcase:last-child { margin-bottom: 0; }
.feature-showcase.reverse { direction: rtl; }
.feature-showcase.reverse > * { direction: ltr; }

.feature-number {
  font-size: 0.85rem; font-weight: 700;
  color: var(--accent); font-family: var(--mono);
  margin-bottom: 12px;
}
.feature-text h3 {
  font-size: 1.75rem; font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.feature-text > p {
  font-size: 1rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 24px;
}
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text-muted);
}
.check-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--green); margin-top: 1px; }

/* Feature visual cards */
.metric-card-group { display: flex; flex-direction: column; gap: 16px; }
.metric-card {
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.metric-header { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.metric-value { font-size: 1.75rem; font-weight: 800; color: white; }
.metric-value small { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.metric-value.success { color: var(--green); }
.metric-sub { font-size: 0.8rem; color: var(--green); margin-top: 4px; }
.metric-bar { height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; margin-top: 12px; overflow: hidden; }
.metric-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--pink)); border-radius: 3px; }
.metric-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag {
  padding: 4px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600; font-family: var(--mono);
}
.tag-blue { background: rgba(99,102,241,0.15); color: var(--accent-light); }
.tag-green { background: rgba(34,197,94,0.15); color: var(--green); }
.tag-purple { background: rgba(168,85,247,0.15); color: #a855f7; }
.tag-orange { background: rgba(245,158,11,0.15); color: var(--orange); }
.tag-pink { background: rgba(236,72,153,0.15); color: var(--pink); }
.tag-cyan { background: rgba(6,182,212,0.15); color: var(--cyan); }
.tag-gray { background: rgba(255,255,255,0.06); color: var(--text-muted); }

/* Vector viz */
.vector-viz {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.vector-title {
  font-size: 0.85rem; font-weight: 700; margin-bottom: 20px;
  font-family: var(--mono);
}
.vector-dims { display: flex; flex-direction: column; gap: 10px; }
.dim-bar { display: flex; align-items: center; gap: 12px; }
.dim-label {
  min-width: 110px;
  font-size: 0.75rem; font-family: var(--mono);
  color: var(--text-dim);
}
.dim-track {
  flex: 1; height: 24px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px; overflow: hidden;
}
.dim-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 4px;
  display: flex; align-items: center; justify-content: flex-end; padding-right: 8px;
  transition: width 1s ease;
}
.dim-fill.anomaly { background: linear-gradient(90deg, var(--red), #f87171); }
.dim-val { font-size: 0.65rem; font-family: var(--mono); color: white; font-weight: 600; }
.vector-alert {
  margin-top: 16px; padding: 10px 14px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-xs);
  font-size: 0.8rem; font-family: var(--mono);
  color: #fca5a5;
  display: flex; align-items: center; gap: 8px;
}
.alert-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* RCA card */
.rca-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.rca-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.rca-badge {
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
}
.rca-badge.critical { background: rgba(239,68,68,0.15); color: var(--red); }
.rca-time { font-size: 0.75rem; font-family: var(--mono); color: var(--green); }
.rca-title { font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.rca-section { margin-bottom: 16px; }
.rca-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-dim); margin-bottom: 6px;
}
.rca-content { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.rca-content.action { color: var(--accent-light); }
.rca-tags { display: flex; gap: 8px; }
.rca-tag {
  padding: 4px 10px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 600;
  background: rgba(99,102,241,0.12); color: var(--accent-light);
}
.rca-evidence { font-family: var(--mono); font-size: 0.78rem; color: var(--text-muted); }
.evidence-item { padding: 4px 0; }

/* Automation flow */
.automation-flow {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  flex-wrap: wrap;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.flow-step {
  text-align: center; padding: 16px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 80px;
  transition: all 0.3s;
}
.flow-step.active { border-color: rgba(99,102,241,0.3); background: rgba(99,102,241,0.05); }
.flow-step.done { border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.05); }
.flow-icon { font-size: 1.5rem; margin-bottom: 4px; }
.flow-label { font-size: 0.75rem; font-weight: 700; }
.flow-detail { font-size: 0.65rem; color: var(--text-dim); margin-top: 2px; }
.flow-arrow { color: var(--text-dim); font-size: 1.2rem; }

/* Slack message */
.slack-message {
  padding: 20px;
  background: #1a1d21;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.06);
}
.slack-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.slack-avatar {
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; color: white;
}
.slack-name { font-weight: 700; font-size: 0.9rem; }
.slack-ts { font-size: 0.7rem; color: var(--text-dim); margin-left: 8px; }
.slack-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; }
.slack-fields {
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  font-size: 0.82rem; color: var(--text-muted);
  margin-bottom: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.slack-buttons { display: flex; gap: 8px; }
.slack-btn {
  padding: 6px 16px; border-radius: 4px;
  font-size: 0.8rem; font-weight: 600;
  border: none; cursor: pointer; transition: 0.2s;
}
.slack-btn.approve { background: #2eb67d; color: white; }
.slack-btn.reject { background: #36373d; color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1); }
.risk-low { color: var(--green); font-weight: 700; }
.risk-medium { color: var(--orange); font-weight: 700; }

/* ======================== EXAMPLE SLIDER ======================== */
.example-slider {
  position: relative;
  width: 100%;
}
.slider-track {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.slider-slide {
  display: none;
  animation: sliderFadeIn 0.4s ease;
}
.slider-slide.active {
  display: block;
}
@keyframes sliderFadeIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}
.slider-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.slider-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text);
  border-color: var(--accent);
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}
.slider-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* RCA badge variants */
.rca-badge.warning { background: rgba(245,158,11,0.15); color: var(--orange); }

/* Forecast card */
.forecast-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.forecast-header { font-size: 0.85rem; font-weight: 700; font-family: var(--mono); margin-bottom: 16px; }
.forecast-chart { margin-bottom: 12px; }
.forecast-svg { width: 100%; height: auto; }
.forecast-legend { display: flex; gap: 20px; }
.legend-item { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-dot.purple { background: var(--accent); }
.legend-dot.red { background: var(--red); }

/* RBAC visual */
.rbac-visual {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.rbac-title { font-size: 0.85rem; font-weight: 700; font-family: var(--mono); margin-bottom: 20px; }
.rbac-tiers { display: flex; flex-direction: column; gap: 14px; }
.rbac-tier { display: flex; flex-direction: column; gap: 4px; }
.rbac-role { font-size: 0.85rem; font-weight: 700; }
.rbac-perms { font-size: 0.72rem; color: var(--text-dim); }
.rbac-bar {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--pink));
  margin-top: 4px;
}

/* ======================== ARCHITECTURE ======================== */
.arch-diagram {
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.arch-layer { width: 100%; text-align: center; }
.arch-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-dim); margin-bottom: 12px;
}
.arch-nodes {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.arch-node {
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.arch-node:hover { transform: translateY(-2px); }
.arch-node.source { background: rgba(6,182,212,0.08); border-color: rgba(6,182,212,0.2); color: var(--cyan); }
.arch-node.stream { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); color: var(--orange); min-width: 300px; }
.arch-node.service {
  background: var(--bg-card); border-color: var(--border);
  text-align: left; min-width: 200px;
}
.arch-node.service.highlight { border-color: rgba(99,102,241,0.3); background: rgba(99,102,241,0.06); }
.arch-node-title { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.arch-node-desc { font-size: 0.7rem; color: var(--text-dim); font-weight: 400; }
.arch-node.data {
  background: rgba(99,102,241,0.06); border-color: rgba(99,102,241,0.2);
  text-align: left; min-width: 180px;
}
.arch-node.action { background: rgba(34,197,94,0.06); border-color: rgba(34,197,94,0.2); color: var(--green); }
.arch-arrow-down {
  color: var(--text-dim);
  padding: 8px 0;
}

/* ======================== INTEGRATIONS ======================== */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.integ-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.integ-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.integ-icon { font-size: 2rem; margin-bottom: 16px; }
.integ-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.integ-type {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent-light); margin-bottom: 12px;
}
.integ-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ======================== PERFORMANCE ======================== */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 72px;
}
.perf-card {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s;
}
.perf-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-3px);
}
.perf-value {
  font-size: 2.5rem; font-weight: 900; letter-spacing: -0.02em;
  background: linear-gradient(135deg, white, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.perf-unit { font-size: 0.75rem; color: var(--text-dim); margin-top: 2px; }
.perf-label { font-size: 0.9rem; font-weight: 700; margin-top: 12px; }
.perf-detail { font-size: 0.78rem; color: var(--text-dim); margin-top: 4px; }

.scale-title {
  text-align: center; font-size: 1.1rem; font-weight: 700;
  margin-bottom: 24px;
}
.tiers-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s;
}
.tier.highlighted {
  border-color: var(--accent);
  background: rgba(99,102,241,0.06);
  position: relative;
}
.tier.highlighted::before {
  content: 'Recommended';
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  padding: 3px 12px;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--accent); color: white;
  border-radius: 100px;
}
.tier-name { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.tier-range { font-size: 0.85rem; color: var(--accent-light); margin-bottom: 8px; }
.tier-config { font-size: 0.78rem; color: var(--text-dim); font-family: var(--mono); }

/* ======================== TECH STACK ======================== */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.stack-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.stack-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.stack-category {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent-light); margin-bottom: 8px;
}
.stack-item { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.stack-why { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; }

/* ======================== DEPLOYMENT CTA ======================== */
.deploy-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.deploy-code {
  background: #0d0d14;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.code-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.code-filename { margin-left: auto; font-size: 0.75rem; font-family: var(--mono); color: var(--text-dim); }
.code-body {
  padding: 20px; font-size: 0.82rem; line-height: 2;
  font-family: var(--mono); overflow-x: auto;
}
.code-body code { white-space: pre; }
.code-comment { color: var(--green); }
.code-prompt { color: var(--green); }

.deploy-features h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 24px; }
.deploy-list { display: flex; flex-direction: column; gap: 20px; }
.deploy-item { display: flex; gap: 14px; }
.deploy-icon { font-size: 1.5rem; flex-shrink: 0; }
.deploy-item strong { font-size: 0.95rem; display: block; margin-bottom: 2px; }
.deploy-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ======================== FOOTER ======================== */
.footer {
  padding: 72px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; margin-top: 12px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 0.88rem; color: var(--text-dim);
  padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-dim);
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 992px) {
  .feature-showcase { grid-template-columns: 1fr; gap: 40px; }
  .feature-showcase.reverse { direction: ltr; }
  .deploy-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .arch-node.service, .arch-node.stream { min-width: auto; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,15,0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .nav-toggle { display: flex; }
  .hero { padding: 100px 20px 40px; min-height: auto; }
  .hero-stats { gap: 20px; }
  .stat-value { font-size: 1.75rem; }
  .stat-divider { display: none; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }
  .tiers-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .perf-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-nodes { gap: 10px; }
  .arch-node { padding: 10px 14px; font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .perf-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .slider-controls { gap: 10px; }
  .slider-btn { width: 32px; height: 32px; }
}

/* ======================== ANIMATIONS ======================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

