@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-deep: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a28;
  --fg: #e8e6f0;
  --fg-muted: #8b8898;
  --accent: #7c3aed;
  --accent-glow: #a855f7;
  --accent-secondary: #06d6a0;
  --accent-warm: #f59e0b;
  --border: rgba(124, 58, 237, 0.15);
  --border-strong: rgba(124, 58, 237, 0.3);
}

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

body {
  background: var(--bg-deep);
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(124, 58, 237, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-glow);
  background: rgba(124, 58, 237, 0.08);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-secondary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 1.5rem;
  position: relative;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent-glow) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ===== PIPELINE ===== */
.pipeline {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 1rem;
}

.pipeline h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 600px;
}

.pipeline .subtitle {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 3.5rem;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent-glow);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.step-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== DIFFERENTIATORS ===== */
.diff {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.diff h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.diff-card {
  padding: 2.5rem;
  border-radius: 16px;
  position: relative;
}

.diff-card.old {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.diff-card.new {
  background: rgba(6, 214, 160, 0.04);
  border: 1px solid rgba(6, 214, 160, 0.15);
}

.diff-card .card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.diff-card.old .card-label { color: #ef4444; }
.diff-card.new .card-label { color: var(--accent-secondary); }

.diff-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.diff-card li {
  font-size: 0.95rem;
  color: var(--fg-muted);
  padding-left: 1.5rem;
  position: relative;
}

.diff-card.old li::before {
  content: '\2715';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-size: 0.8rem;
}

.diff-card.new li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
  font-size: 0.8rem;
}

/* ===== CLOSING ===== */
.closing {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.closing h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  position: relative;
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

/* ===== FOOTER ===== */
footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.footer-sub {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* ===== PRICING ===== */
.pricing {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.03) 50%, transparent 100%);
}

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

.pricing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.pricing-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  text-align: left;
  position: relative;
  transition: all 0.25s;
}

.pricing-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.pricing-card-featured {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.06);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.1);
}

.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.pricing-tier-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.4rem;
}

.pricing-dollar {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.pricing-period {
  font-size: 1rem;
  color: var(--fg-muted);
}

.pricing-clips {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent-secondary);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding-left: 1.4rem;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
  font-size: 0.8rem;
}

.pricing-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.pricing-cta-primary {
  background: var(--accent);
  color: #fff;
}

.pricing-cta-primary:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.pricing-cta-ghost {
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border-strong);
}

.pricing-cta-ghost:hover {
  color: var(--fg);
  border-color: var(--accent-glow);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 4rem 1.5rem 3rem;
  }

  .pipeline, .diff {
    padding: 3rem 1.5rem;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-steps {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 1.5rem;
  }

  .closing {
    padding: 4rem 1.5rem;
  }
}