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

:root {
  --bg: #080e1a;
  --bg-2: #0d1626;
  --bg-3: #111e33;
  --fg: #e2e8f0;
  --fg-muted: #94a3b8;
  --fg-dim: #475569;
  --accent: #00d4a0;
  --accent-2: #a78bfa;
  --accent-3: #f97316;
  --accent-4: #60a5fa;
  --border: #1e2d45;
  --border-2: #1a2840;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.15; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-2);
  background: rgba(8,14,26,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 32px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--fg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 32px 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,212,160,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,212,160,0.08);
  border: 1px solid rgba(0,212,160,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 36px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  max-width: 800px;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--fg-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 64px;
}

.hero-stat-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 760px;
}

.hero-stat {
  flex: 1;
  padding: 24px 28px;
}

.hero-stat-value {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
}

.hero-stat-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  flex-shrink: 0;
}

/* ===== SHARED SECTIONS ===== */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 56px;
}

/* ===== OUTCOMES ===== */
.outcomes {
  padding: 100px 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}

.outcomes-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.outcome-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.outcome-card--monitor::before { background: linear-gradient(90deg, var(--accent), transparent); }
.outcome-card--predict::before { background: linear-gradient(90deg, var(--accent-2), transparent); }
.outcome-card--act::before { background: linear-gradient(90deg, var(--accent-3), transparent); }
.outcome-card--report::before { background: linear-gradient(90deg, var(--accent-4), transparent); }

.outcome-icon-wrap { margin-bottom: 20px; }

.outcome-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.outcome-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.outcome-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
}

.tag--cyan { background: rgba(0,212,160,0.1); color: var(--accent); }
.tag--purple { background: rgba(167,139,250,0.12); color: #a78bfa; }
.tag--orange { background: rgba(249,115,22,0.12); color: #f97316; }
.tag--blue { background: rgba(96,165,250,0.12); color: #60a5fa; }

/* ===== HOW ===== */
.how {
  padding: 100px 32px;
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.how-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
}

.flow-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
}

.flow-step:nth-child(1) { border-radius: 16px 0 0 0; }
.flow-step:nth-child(2) { border-radius: 0 16px 0 0; }
.flow-step:nth-child(3) { border-radius: 0 0 0 16px; }
.flow-step:nth-child(4) { border-radius: 0 0 16px 0; }

.flow-step + .flow-step {
  border-left: none;
  border-top: none;
}

.flow-step:nth-child(3),
.flow-step:nth-child(4) {
  border-top: none;
}

.flow-number {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(0,212,160,0.08);
  border: 1px solid rgba(0,212,160,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.flow-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.flow-body p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.flow-connector {
  display: none;
}

/* ===== DIFFERENTIATION ===== */
.diff {
  padding: 100px 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}

.diff-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.diff-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.diff-heading {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 24px;
  margin-top: 16px;
}

.diff-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.diff-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
}

.diff-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-muted);
}

.diff-pill::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: rgba(0,212,160,0.1);
  border: 1px solid rgba(0,212,160,0.2);
  border-radius: 4px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%2300d4a0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Comparison table */
.comparison-table {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.comp-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.comp-col {
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: center;
}

.comp-col:first-child { text-align: left; }

.comp-col--active {
  color: var(--accent);
  background: rgba(0,212,160,0.06);
}

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-2);
}

.comp-row:last-child { border-bottom: none; }

.comp-label {
  padding: 12px 20px;
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
}

.comp-cell {
  padding: 12px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
}

.comp-cell--active {
  background: rgba(0,212,160,0.05);
}

.comp-check { font-size: 12px; font-weight: 600; color: var(--accent); }
.comp-x { font-size: 12px; font-weight: 600; color: var(--fg-dim); }

/* ===== CLOSING ===== */
.closing {
  padding: 120px 32px;
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 40px;
}

.closing-headline {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

.closing-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  max-width: 700px;
}

.closing-stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.closing-stat-label {
  font-size: 15px;
  color: var(--fg-muted);
  text-align: left;
  line-height: 1.65;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border-2);
  padding: 40px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--fg);
  display: block;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-dim);
}

.footer-meta {
  font-size: 12px;
  color: var(--fg-dim);
}

.footer-meta a {
  color: var(--fg-muted);
  text-decoration: none;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 120px 20px 80px; }
  .hero-stat-row { flex-direction: column; }
  .hero-stat-sep { width: auto; height: 1px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .how-flow { grid-template-columns: 1fr; }
  .flow-step:nth-child(1) { border-radius: 16px 16px 0 0; }
  .flow-step:nth-child(2) { border-radius: 0; }
  .flow-step:nth-child(3) { border-radius: 0; }
  .flow-step:nth-child(4) { border-radius: 0 0 16px 16px; }
  .diff-layout { grid-template-columns: 1fr; gap: 48px; }
  .closing-stat { flex-direction: column; text-align: center; }
  .closing-stat-label { text-align: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .outcomes, .how, .diff, .closing { padding: 72px 20px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 32px; }
  .closing-headline { font-size: 32px; }
  .closing-stat-number { font-size: 48px; }
  .section-heading { font-size: 26px; }
}