:root {
  --bg: #05080f;
  --surface: #0d1525;
  --surface-alt: #111d30;
  --fg: #e8edf5;
  --fg-muted: #7a8899;
  --accent: #f0c040;
  --accent-dim: rgba(240, 192, 64, 0.12);
  --success: #34d399;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Grid texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 6rem 6rem;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 42ch;
  line-height: 1.7;
  font-weight: 300;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-feed {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-family: 'DM Mono', 'Courier New', monospace;
  color: var(--fg-muted);
}

.feed-item--success { color: var(--success); }

.feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.feed-dot--pulse {
  background: var(--accent);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.feed-item--active .feed-text { color: var(--fg); }

/* FEATURES */
.features {
  padding: 8rem 6rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, var(--bg), var(--surface) 50%, var(--bg));
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: rgba(240, 192, 64, 0.2); }

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 8rem 6rem;
  position: relative;
  z-index: 1;
}

.how-it-works-inner { max-width: 820px; margin: 0 auto; }

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.how-it-works h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1rem;
}

.how-desc {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 50ch;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 4rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--border);
  padding-left: 2rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

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

.step-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 0.2rem;
}

.step-content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* CLOSING */
.closing {
  padding: 10rem 6rem 8rem;
  position: relative;
  z-index: 1;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg), var(--surface));
}

.closing-inner { max-width: 780px; margin: 0 auto; }

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.closing p {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 55ch;
  margin: 0 auto 3rem;
  line-height: 1.75;
  font-weight: 300;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.tagline-accent {
  color: var(--accent);
}

/* FOOTER */
.site-footer {
  padding: 3rem 6rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}

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

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

/* RESPONSIVE */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; gap: 3rem; padding: 6rem 3rem 4rem; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .hero { padding: 5rem 1.5rem 3rem; }
  .features { padding: 5rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .how-it-works { padding: 5rem 1.5rem; }
  .closing { padding: 6rem 1.5rem 4rem; }
  .site-footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .step { gap: 1rem; }
}