:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e6e3;
  --fg-muted: #8a8694;
  --fg-dim: #5a5668;
  --accent: #e8a849;
  --accent-glow: rgba(232, 168, 73, 0.15);
  --accent-warm: #d4763a;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(232,168,73,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212,118,58,0.06) 0%, transparent 50%);
}

.waveform {
  position: absolute;
  bottom: 15%;
  right: 8%;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  opacity: 0.12;
}

.waveform span {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 1.8s ease-in-out infinite;
}

.waveform span:nth-child(1)  { height: 24px; animation-delay: 0s; }
.waveform span:nth-child(2)  { height: 48px; animation-delay: 0.1s; }
.waveform span:nth-child(3)  { height: 36px; animation-delay: 0.2s; }
.waveform span:nth-child(4)  { height: 64px; animation-delay: 0.15s; }
.waveform span:nth-child(5)  { height: 28px; animation-delay: 0.3s; }
.waveform span:nth-child(6)  { height: 72px; animation-delay: 0.05s; }
.waveform span:nth-child(7)  { height: 40px; animation-delay: 0.25s; }
.waveform span:nth-child(8)  { height: 56px; animation-delay: 0.12s; }
.waveform span:nth-child(9)  { height: 32px; animation-delay: 0.35s; }
.waveform span:nth-child(10) { height: 80px; animation-delay: 0.08s; }
.waveform span:nth-child(11) { height: 44px; animation-delay: 0.22s; }
.waveform span:nth-child(12) { height: 60px; animation-delay: 0.18s; }
.waveform span:nth-child(13) { height: 36px; animation-delay: 0.28s; }
.waveform span:nth-child(14) { height: 52px; animation-delay: 0.1s; }
.waveform span:nth-child(15) { height: 28px; animation-delay: 0.32s; }
.waveform span:nth-child(16) { height: 68px; animation-delay: 0.06s; }
.waveform span:nth-child(17) { height: 40px; animation-delay: 0.2s; }
.waveform span:nth-child(18) { height: 56px; animation-delay: 0.14s; }
.waveform span:nth-child(19) { height: 32px; animation-delay: 0.26s; }
.waveform span:nth-child(20) { height: 76px; animation-delay: 0.04s; }
.waveform span:nth-child(21) { height: 48px; animation-delay: 0.16s; }
.waveform span:nth-child(22) { height: 36px; animation-delay: 0.24s; }
.waveform span:nth-child(23) { height: 64px; animation-delay: 0.09s; }
.waveform span:nth-child(24) { height: 28px; animation-delay: 0.3s; }
.waveform span:nth-child(25) { height: 44px; animation-delay: 0.19s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 32px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 540px;
}

/* === PROBLEM === */
.problem {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}

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

.problem-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 24px;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 64px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.problem-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: border-color 0.3s;
}

.problem-card:hover {
  border-color: rgba(232,168,73,0.2);
}

.problem-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* === FEATURES === */
.features {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}

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

.features-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 80px;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.feature-text p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
}

.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  min-height: 260px;
}

/* Viz bars */
.viz-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 160px;
}

.viz-bars .bar {
  width: 18px;
  background: linear-gradient(to top, var(--accent-warm), var(--accent));
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.feature-visual:hover .bar {
  opacity: 1;
}

/* Pipeline */
.pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pipe-stage {
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--fg-dim);
  border: 1px solid var(--border);
}

.pipe-stage.active {
  color: var(--fg-muted);
  border-color: rgba(232,168,73,0.15);
}

.pipe-stage.highlight {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.pipe-arrow {
  color: var(--fg-dim);
  font-size: 18px;
}

/* Revenue chart */
.revenue-chart {
  position: relative;
  width: 100%;
  height: 160px;
}

.chart-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.chart-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* === VISION === */
.vision {
  padding: 160px 40px;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(232,168,73,0.05) 0%, transparent 60%);
}

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

.vision h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 32px;
}

.vision-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto;
}

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

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.footer-line {
  font-size: 14px;
  color: var(--fg-dim);
  font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    padding: 100px 24px 60px;
  }

  .hero h1 {
    font-size: 44px;
    letter-spacing: -1px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .waveform {
    display: none;
  }

  .problem,
  .features,
  .vision {
    padding: 80px 24px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .problem-card {
    padding: 28px 24px;
  }

  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .feature-visual {
    padding: 32px;
    min-height: 200px;
  }

  .pipeline {
    gap: 6px;
  }

  .pipe-stage {
    padding: 8px 12px;
    font-size: 11px;
  }

  .pipe-arrow {
    font-size: 14px;
  }

  .vision {
    padding: 100px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 36px;
  }

  .problem h2,
  .vision h2 {
    font-size: 28px;
  }

  .feature-text h2 {
    font-size: 24px;
  }
}