@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: #0a0a0c;
  --bg-elevated: #111114;
  --bg-card: #16161a;
  --fg: #e8e6e3;
  --fg-muted: #8a8a8d;
  --accent: #d4a039;
  --accent-glow: rgba(212, 160, 57, 0.15);
  --accent-dim: #b8892e;
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1120px;
}

* { 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;
}

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), rgba(212, 160, 57, 0.12), var(--border), transparent);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid rgba(212, 160, 57, 0.25);
  border-radius: 4px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 800px;
  margin-bottom: 24px;
}

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

.hero-lede {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

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

.how-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 56px;
  max-width: 640px;
  line-height: 1.15;
}

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

.pipeline-step {
  background: var(--bg-card);
  padding: 40px 32px;
  position: relative;
}

.pipeline-step:first-child { border-radius: 12px 0 0 12px; }
.pipeline-step:last-child { border-radius: 0 12px 12px 0; }

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: rgba(212, 160, 57, 0.15);
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== FEATURES ===== */
.features-section {
  padding: 100px 24px;
  background: var(--bg-elevated);
  position: relative;
}

.features-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(212, 160, 57, 0.2);
}

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

.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== MARKETS ===== */
.markets-section {
  padding: 100px 24px;
}

.markets-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.market-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 60px;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  transition: border-color 0.3s;
}

.market-pill:hover {
  border-color: rgba(212, 160, 57, 0.3);
}

.market-pill .flag {
  font-size: 24px;
}

.market-note {
  color: var(--fg-muted);
  font-size: 15px;
  margin-top: 24px;
  max-width: 480px;
}

/* ===== CLOSING ===== */
.closing-section {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.15;
  position: relative;
}

.closing-subtitle {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

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

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.footer-note {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .pipeline {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .pipeline-step:first-child { border-radius: 12px 12px 0 0; }
  .pipeline-step:last-child { border-radius: 0 0 12px 12px; }

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

  .hero-stats {
    gap: 32px;
  }

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

  .markets-row {
    flex-direction: column;
  }

  .market-pill {
    justify-content: center;
  }
}