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

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --fg: #f0f0f0;
  --fg-muted: #888888;
  --accent: #00ff88;
  --accent-alt: #ff3366;
  --accent-yellow: #ffcc00;
  --gradient-main: linear-gradient(135deg, #00ff88 0%, #00ccff 100%);
  --gradient-hot: linear-gradient(135deg, #ff3366 0%, #ffcc00 100%);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(0,255,136,0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(255,51,102,0.05) 0%, transparent 50%);
  animation: drift 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -1%) rotate(1deg); }
  66% { transform: translate(-1%, 2%) rotate(-1deg); }
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0,255,136,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  background: rgba(0,255,136,0.05);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero h1 .text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .text-hot {
  background: var(--gradient-hot);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.hero-tag {
  padding: 0.35rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero-tag:nth-child(odd) { border-color: rgba(0,255,136,0.15); }
.hero-tag:nth-child(even) { border-color: rgba(255,51,102,0.15); }

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: 6rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 3.5rem;
  max-width: 700px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flow-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.flow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,255,136,0.2);
}

.flow-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.flow-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

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

/* ===== NICHES ===== */
.niches-section {
  padding: 6rem 2rem;
  background: var(--bg-elevated);
}

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

.niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.niche-card {
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  transition: all 0.3s ease;
}

.niche-card:hover {
  border-color: rgba(255,51,102,0.25);
  transform: translateY(-2px);
}

.niche-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.niche-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.niche-card p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ===== PRODUCTS STRIP ===== */
.products-section {
  padding: 6rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.product-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.product-pill {
  flex-shrink: 0;
  padding: 1rem 1.8rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.product-pill:hover { border-color: var(--accent); color: var(--accent); }

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

.closing-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,255,136,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.closing-section .closing-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

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

.footer-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.footer-name .accent { color: var(--accent); }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 85vh; padding: 1.5rem; }
  .hero-tags { gap: 0.4rem; }
  .hero-tag { font-size: 0.7rem; padding: 0.25rem 0.6rem; }
  .niche-grid { grid-template-columns: 1fr; }
}