:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --fg-primary: #e8e6e1;
  --fg-secondary: #9a9890;
  --fg-muted: #5a584f;
  --accent: #d4a24e;
  --accent-glow: rgba(212, 162, 78, 0.15);
  --accent-bright: #f0c060;
  --green: #4ade80;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  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;
  background: radial-gradient(ellipse at 50% 20%, rgba(212, 162, 78, 0.06) 0%, transparent 60%),
              var(--bg-primary);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, var(--accent) 0.5px, transparent 0),
    radial-gradient(1px 1px at 40% 70%, var(--fg-muted) 0.5px, transparent 0),
    radial-gradient(1px 1px at 60% 10%, var(--accent) 0.5px, transparent 0),
    radial-gradient(1px 1px at 80% 50%, var(--fg-muted) 0.5px, transparent 0),
    radial-gradient(1px 1px at 10% 60%, var(--accent) 0.5px, transparent 0),
    radial-gradient(1px 1px at 70% 85%, var(--fg-muted) 0.5px, transparent 0),
    radial-gradient(1px 1px at 35% 45%, var(--accent) 0.5px, transparent 0),
    radial-gradient(1px 1px at 90% 25%, var(--fg-muted) 0.5px, transparent 0);
  opacity: 0.4;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(212, 162, 78, 0.3);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

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

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

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

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

.hero .lede {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--fg-secondary);
  max-width: 580px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* === SWARM GRID === */
.swarm-section {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  position: relative;
}

.swarm-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 162, 78, 0.2), transparent);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--fg-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
  font-size: 1.05rem;
}

.swarm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(212, 162, 78, 0.08);
  border: 1px solid rgba(212, 162, 78, 0.08);
}

.swarm-cell {
  background: var(--bg-secondary);
  padding: 2rem;
  transition: background 0.3s ease;
}

.swarm-cell:hover {
  background: var(--bg-card);
}

.swarm-cell .cell-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.swarm-cell h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg-primary);
}

.swarm-cell p {
  font-size: 0.88rem;
  color: var(--fg-secondary);
  line-height: 1.55;
}

/* === HOW IT WORKS === */
.how-section {
  padding: 6rem 2rem;
  background: var(--bg-primary);
}

.flow-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.flow-step:last-child {
  border-bottom: none;
}

.flow-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(212, 162, 78, 0.15);
  line-height: 1;
}

.flow-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.flow-content p {
  color: var(--fg-secondary);
  font-size: 0.95rem;
  max-width: 500px;
}

/* === CRYPTO BANNER === */
.crypto-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(212, 162, 78, 0.03) 50%, var(--bg-primary) 100%);
  text-align: center;
}

.crypto-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.crypto-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-secondary);
  background: var(--bg-card);
  letter-spacing: 0.04em;
}

.crypto-badge .badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* === CLOSING === */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  background: var(--bg-primary);
  position: relative;
}

.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.closing-sub {
  color: var(--fg-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* === FOOTER === */
footer {
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-family: var(--font-mono);
}

footer a {
  color: var(--fg-secondary);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .swarm-grid {
    grid-template-columns: 1fr;
  }

  .flow-step {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

  .flow-number {
    font-size: 2rem;
  }

  .crypto-badge-row {
    gap: 0.5rem;
  }

  footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}