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

:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-elevated: #1a1a26;
  --fg: #e8e8ed;
  --fg-muted: #8a8a9a;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --accent-glow: rgba(0, 212, 170, 0.25);
  --orange: #ff6b35;
  --orange-dim: rgba(255, 107, 53, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #fff;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), #00f0c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ===== PIPELINE VISUAL ===== */
.pipeline-flow {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 0;
}

.pipeline-node {
  padding: 8px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  white-space: nowrap;
  transition: all 0.3s;
}

.pipeline-node:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.pipeline-arrow {
  color: var(--accent);
  font-size: 18px;
  padding: 0 6px;
  opacity: 0.5;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  max-width: 600px;
  line-height: 1.15;
}

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

.how-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.3s;
}

.how-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.how-card-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.how-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

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

/* ===== NICHES ===== */
.niches-section {
  padding: 80px 0 100px;
}

.niches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.niche-tag {
  padding: 14px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  text-align: center;
  transition: all 0.3s;
}

.niche-tag:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
}

.niche-tag .niche-icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

/* ===== NUMBERS ===== */
.numbers-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.numbers-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.number-item .big-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.number-item .number-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 0;
  text-align: center;
}

.closing h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.closing p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

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

footer p {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

footer .footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--fg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
  .numbers-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero {
    min-height: auto;
    padding: 80px 0 60px;
  }
  .pipeline-flow {
    gap: 4px;
  }
  .pipeline-node {
    font-size: 11px;
    padding: 6px 10px;
  }
  .niches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== HERO CTA BUTTON ===== */
.hero-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 14px 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.1s;
  letter-spacing: -0.01em;
}

.btn-hero:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.hero-cta-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
  max-width: 240px;
  line-height: 1.5;
}