:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --fg-dim: #55556a;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.15);
  --accent-secondary: #00b8ff;
  --marker-cut: #ff4d6a;
  --marker-zoom: #00e5a0;
  --marker-text: #ffc044;
  --marker-transition: #00b8ff;
  --marker-beat: #c77dff;
  --font-display: 'Space Grotesk', 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 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 8% 80px;
  position: relative;
  background: 
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(0, 229, 160, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(0, 184, 255, 0.04) 0%, transparent 70%),
    var(--bg);
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 32px;
  padding: 8px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 4px;
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 28px;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.lede {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-bottom: 64px;
  transition: opacity 0.2s, transform 0.15s;
}
.hero-cta:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* ─── TIMELINE VISUAL ─── */
.timeline-visual {
  max-width: 900px;
  width: 100%;
  margin-top: 20px;
}

.timeline-track {
  position: relative;
  padding: 40px 0 20px;
}

.timeline-bar {
  height: 4px;
  background: var(--bg-card);
  border-radius: 2px;
  position: relative;
  overflow: visible;
}

.marker {
  position: absolute;
  top: -32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker::after {
  content: '';
  width: 2px;
  height: 24px;
  margin-top: 4px;
  border-radius: 1px;
}

.marker span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.marker-cut span { color: var(--marker-cut); background: rgba(255, 77, 106, 0.12); }
.marker-cut::after { background: var(--marker-cut); }

.marker-zoom span { color: var(--marker-zoom); background: rgba(0, 229, 160, 0.12); }
.marker-zoom::after { background: var(--marker-zoom); }

.marker-text span { color: var(--marker-text); background: rgba(255, 192, 68, 0.12); }
.marker-text::after { background: var(--marker-text); }

.marker-transition span { color: var(--marker-transition); background: rgba(0, 184, 255, 0.12); }
.marker-transition::after { background: var(--marker-transition); }

.marker-beat span { color: var(--marker-beat); background: rgba(199, 125, 255, 0.12); }
.marker-beat::after { background: var(--marker-beat); }

.timeline-waveform {
  height: 40px;
  margin-top: 16px;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(0, 229, 160, 0.08) 3px,
      rgba(0, 229, 160, 0.08) 4px
    );
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.timeline-waveform::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, 
      transparent 0%, 
      rgba(0, 229, 160, 0.15) 12%, 
      rgba(0, 229, 160, 0.05) 20%,
      rgba(0, 229, 160, 0.2) 28%,
      rgba(0, 229, 160, 0.08) 35%,
      rgba(0, 229, 160, 0.12) 41%,
      rgba(0, 229, 160, 0.04) 50%,
      rgba(0, 229, 160, 0.18) 58%,
      rgba(0, 229, 160, 0.1) 65%,
      rgba(0, 229, 160, 0.22) 72%,
      rgba(0, 229, 160, 0.06) 80%,
      rgba(0, 229, 160, 0.14) 89%,
      transparent 100%
    );
}

/* ─── PROCESS ─── */
.process {
  padding: 120px 8%;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

.process-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin-bottom: 72px;
}

.process-steps {
  display: grid;
  gap: 0;
  max-width: 900px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--fg-dim);
  line-height: 1;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-content p {
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ─── EXTRACTS ─── */
.extracts {
  padding: 120px 8%;
  background:
    radial-gradient(ellipse 50% 40% at 70% 50%, rgba(0, 184, 255, 0.04) 0%, transparent 70%),
    var(--bg);
}

.extracts-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 650px;
  margin-bottom: 64px;
}

.extracts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1000px;
}

.extract-card {
  background: var(--bg-card);
  padding: 36px 32px;
  transition: background 0.2s;
}

.extract-card:hover {
  background: var(--bg-elevated);
}

.extract-icon {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--accent);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 8px;
}

.extract-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.extract-card p {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ─── CLOSING ─── */
.closing {
  padding: 140px 8%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background:
    radial-gradient(ellipse 40% 50% at 50% 50%, rgba(0, 229, 160, 0.05) 0%, transparent 70%),
    var(--bg);
}

.closing-content {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 48px 8%;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-tagline {
  color: var(--fg-dim);
  font-size: 0.85rem;
  font-style: italic;
}

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

  .process,
  .extracts,
  .closing {
    padding: 80px 6%;
  }

  .step {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }

  .step-number {
    font-size: 2.2rem;
  }

  .extracts-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .marker span {
    font-size: 8px;
    padding: 3px 5px;
    letter-spacing: 1px;
  }

  .footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .timeline-visual {
    overflow-x: auto;
  }
}