/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07090f;
  --bg-2: #0d1117;
  --bg-3: #111827;
  --fg: #e8edf5;
  --fg-2: #8899aa;
  --fg-3: #4a5568;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --warn: #f59e0b;
  --warn-dim: rgba(245, 158, 11, 0.12);
  --ok: #22c55e;
  --ok-dim: rgba(34, 197, 94, 0.12);
  --border: rgba(255,255,255,0.06);
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,9,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--fg); }

/* ─── Hero ─── */
.hero {
  padding: 80px 24px 72px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Metric Panel */
.metric-panel {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
}
.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.panel-title { color: var(--fg-3); letter-spacing: 0.08em; font-size: 10px; }
.panel-status { margin-left: auto; color: var(--ok); font-size: 10px; }

.metrics-scroll {
  padding: 8px 0;
}
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.metric-row:last-child { border-bottom: none; }
.metric-label { color: var(--fg-2); font-size: 11px; letter-spacing: 0.06em; }
.metric-value { font-weight: 600; font-size: 13px; }
.metric-value.ok { color: var(--fg); }
.metric-value.warn { color: var(--warn); }
.delta { font-size: 11px; margin-left: 6px; font-weight: 500; }
.delta.up { color: var(--ok); }
.delta.warn { color: var(--warn); }

.panel-footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--fg-3);
  font-size: 10px;
}

/* Hero Right */
.hero-right {}
.hero-headline {
  font-family: var(--mono);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-lede {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 28px;
}
.hero-meta { display: flex; flex-direction: column; gap: 12px; }
.meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--fg-2);
}
.meta-icon { flex-shrink: 0; }

/* ─── Section Common ─── */
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--mono);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 48px;
}

/* ─── Monitor Strip ─── */
.monitor-strip {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}
.monitor-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.signal-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.signal-items {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
}
.signal-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.signal-dot.green { background: var(--ok); }
.signal-dot.yellow { background: var(--warn); }
.signal-time { color: var(--fg-3); min-width: 68px; }
.signal-text { color: var(--fg-2); flex: 1; }
.signal-tag {
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--ok-dim);
  color: var(--ok);
}
.signal-tag.warn { background: var(--warn-dim); color: var(--warn); }

/* ─── Alert Strip ─── */
.alert-strip {
  padding: 80px 24px;
  border-bottom: 1px solid var(--border);
}
.alert-inner { max-width: 1100px; margin: 0 auto; }
.alert-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.alert-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  gap: 14px;
}
.alert-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--warn-dim);
  border: 1px solid rgba(245,158,11,0.3);
  flex-shrink: 0;
  position: relative;
}
.alert-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border: 2px solid var(--warn);
  border-radius: 50%;
}
.alert-headline {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.alert-detail {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
}

/* ─── How It Works ─── */
.how-it-works {
  padding: 80px 24px;
  border-bottom: 1px solid var(--border);
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-card {}
.step-num {
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 600;
  color: var(--accent-dim);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  line-height: 1;
}
.step-card h3 {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.step-card p { font-size: 14px; color: var(--fg-2); line-height: 1.6; }

/* ─── Integrations ─── */
.integrations {
  padding: 72px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.int-inner { max-width: 1100px; margin: 0 auto; }
.int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.int-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.int-logo { width: 60px; height: 25px; }
.int-metric { font-size: 12px; color: var(--fg-2); font-family: var(--mono); }
.int-note { font-size: 13px; color: var(--fg-3); }

/* ─── Pricing ─── */
.pricing {
  padding: 80px 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.price-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(0,212,255,0.06) 0%, var(--bg-2) 100%);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
}
.price-tier {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-2);
  margin-bottom: 10px;
}
.price-amount {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 20px;
}
.price-period { font-size: 16px; color: var(--fg-2); font-weight: 400; }
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  font-size: 13px;
  color: var(--fg-2);
  padding-left: 18px;
  position: relative;
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ─── Objections ─── */
.objections {
  padding: 72px 24px;
  border-bottom: 1px solid var(--border);
}
.obj-inner { max-width: 1100px; margin: 0 auto; }
.obj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}
.obj-q {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.obj-a { font-size: 14px; color: var(--fg-2); line-height: 1.6; }

/* ─── Closing ─── */
.closing {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}
.closing-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.closing-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-family: var(--mono);
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 600;
  color: rgba(0,212,255,0.03);
  letter-spacing: -0.06em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.closing-headline {
  font-family: var(--mono);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.closing-body {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--fg-3);
}
.footer-links a { color: var(--fg-3); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--fg-2); }
.footer-sep { color: var(--fg-3); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-left { order: 2; }
  .hero-right { order: 1; }
  .alert-examples { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .obj-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .header-nav { gap: 16px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 16px 56px; }
  .int-grid { grid-template-columns: 1fr; }
  .alert-strip, .how-it-works, .pricing, .objections, .closing { padding: 56px 16px; }
}