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

:root {
  --bg: #080b12;
  --bg-alt: #0d1420;
  --surface: #111827;
  --surface-2: #1a2235;
  --border: rgba(255,255,255,0.07);
  --fg: #f0f4ff;
  --fg-muted: #8b99b5;
  --fg-dim: #4d5e7a;
  --accent: #00d4a4;
  --accent-glow: rgba(0, 212, 164, 0.18);
  --accent-dim: rgba(0, 212, 164, 0.08);
  --text-main: #c8d4ec;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  font-size: 22px;
  color: var(--accent);
}
.logo-text {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--fg);
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

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

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

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.shape-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #00d4a4 0%, transparent 70%);
  top: -200px; right: -100px;
}
.shape-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #1a3a5c 0%, transparent 70%);
  bottom: -100px; left: -150px;
}
.shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #0066cc 0%, transparent 70%);
  top: 40%; left: 40%;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-content {
  position: relative;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 164, 0.2);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.3px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-main);
  max-width: 580px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  width: fit-content;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 28px;
}
.stat:first-child { padding-left: 0; }
.stat-num {
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 100px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== SECTION EYEBROW ===== */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ===== PROBLEM ===== */
.problem {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 48px;
}
.problem-inner { max-width: 1100px; margin: 0 auto; }

.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--fg);
  max-width: 620px;
  margin-bottom: 60px;
  letter-spacing: -0.8px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.problem-icon {
  font-size: 28px;
  color: #ff6b6b;
  margin-bottom: 16px;
}
.problem-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.problem-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== SOLUTION ===== */
.solution { padding: 100px 48px; }
.solution-inner { max-width: 1100px; margin: 0 auto; }

.solution-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.2;
  font-weight: 400;
  color: var(--fg);
  max-width: 640px;
  margin-bottom: 20px;
  letter-spacing: -0.6px;
}
.solution-body {
  font-size: 16px;
  color: var(--text-main);
  max-width: 580px;
  margin-bottom: 64px;
  line-height: 1.7;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.flow-step {
  position: relative;
  padding: 0 24px 0 0;
}
.flow-connector {
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0 24px;
  align-self: stretch;
  min-height: 40px;
  display: block;
}
.flow-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.flow-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.35;
}
.flow-content p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== FEATURES ===== */
.features {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 48px;
}
.features-inner { max-width: 1100px; margin: 0 auto; }

.features-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--fg);
  max-width: 500px;
  margin-bottom: 56px;
  letter-spacing: -0.6px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: rgba(0, 212, 164, 0.2);
  background: var(--surface-2);
}
.feature-icon-wrap {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== OUTCOMES ===== */
.outcomes { padding: 100px 48px; }
.outcomes-inner { max-width: 1100px; margin: 0 auto; }

.outcomes-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--fg);
  max-width: 560px;
  margin-bottom: 56px;
  letter-spacing: -0.6px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.outcome {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.outcome-metric {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.outcome-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.outcome-desc {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; }

.closing-stripe {
  width: 80px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 40px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.1;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.closing-body {
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 20px;
}
.closing-sub {
  font-size: 14px;
  color: var(--fg-dim);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px;
  background: var(--bg);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-copy {
  font-size: 12px;
  color: var(--fg-dim);
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .flow-connector { display: none; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 120px 24px 80px; }
  .problem, .solution, .features, .outcomes, .closing, .footer { padding-left: 24px; padding-right: 24px; }
  .hero-stats { flex-direction: column; gap: 20px; padding: 24px; }
  .stat { padding: 0; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
  .stat-divider { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: 1fr; }
}