:root {
  --bg: #0a0a0c;
  --bg-elevated: #111115;
  --bg-card: #16161b;
  --fg: #e8e6e3;
  --fg-muted: #8a8a8f;
  --accent: #3bf0a0;
  --accent-dim: #2bc47f;
  --accent-glow: rgba(59, 240, 160, 0.12);
  --border: #222228;
  --radius: 12px;
  --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;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 40px;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

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

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 24px;
}

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

.hero .lede {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.5;
}

/* Search bar mockup */
.search-demo {
  width: 100%;
  max-width: 620px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.search-demo .search-icon {
  color: var(--fg-muted);
  flex-shrink: 0;
  font-size: 20px;
}

.search-demo .search-text {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--fg-muted);
  white-space: nowrap;
  overflow: hidden;
}

.search-demo .search-text .typed {
  color: var(--fg);
  font-weight: 500;
}

.search-demo .platform-tags {
  display: flex;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.search-demo .platform-tags span {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  background: var(--bg-card);
  color: var(--fg-muted);
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* ===== PROBLEM ===== */
.problem {
  padding: 100px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 700px;
}

.problem .subtext {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

.tab-count {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.tab-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s;
}

.tab-item:hover {
  border-color: #333;
}

.tab-item .number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.tab-item .label {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 100px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  max-width: 600px;
}

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

.step {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
}

.step .step-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

/* ===== PLATFORMS ===== */
.platforms {
  padding: 100px 24px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

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

.platforms h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.platforms .subtext {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto 56px;
}

.platform-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 750px;
  margin: 0 auto;
}

.platform-chip {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  transition: border-color 0.2s, background 0.2s;
}

.platform-chip:hover {
  border-color: var(--accent-dim);
  background: var(--accent-glow);
}

.platform-chip.coming-soon {
  color: var(--fg-muted);
  border-style: dashed;
}

.platform-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
}

.platform-divider::before,
.platform-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

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

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin: 0 auto 20px;
  position: relative;
}

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

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

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

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .tab-count {
    grid-template-columns: 1fr 1fr;
  }
  .search-demo .platform-tags {
    display: none;
  }
  footer .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .tab-count {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 20px 40px;
    min-height: 80vh;
  }
}