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

:root {
  --bg:       #0a0a0a;
  --surface:  #111111;
  --border:   #1e1e1e;
  --border2:  #282828;
  --text:     #d0d0d0;
  --muted:    #666666;
  --accent:   #ffffff;
  --glow:     rgba(255,255,255,0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Noise texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── Grid background ── */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-badge {
  width: 26px; height: 26px;
  background: linear-gradient(135deg, #1e1e1e, #141414);
  border: 1px solid var(--border2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-family: 'Share Tech Mono', monospace;
  color: #555;
  letter-spacing: 0;
}

.nav-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
}

.nav-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 2px;
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  text-align: center;
}

/* Radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--border2);
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 8px;
}

.hero-title span {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.hero-description {
  max-width: 520px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #888;
  margin: 32px auto 48px;
}

.hero-description strong {
  color: #bbb;
  font-weight: 500;
}

/* ── Buttons ── */
.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 24px rgba(88,101,242,0.3);
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(88,101,242,0.4);
}

.btn-discord svg {
  width: 20px; height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.hero-note {
  margin-top: 18px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: #3a3a3a;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── Stats bar ── */
.stats-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(17,17,17,0.5);
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  padding: 24px 48px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:first-child { border-left: 1px solid var(--border); }

.stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  display: block;
}

.stat-label {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Share Tech Mono', monospace;
  margin-top: 2px;
  display: block;
}

/* ── Section ── */
section {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
  max-width: 480px;
}

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 64px;
}

.feature-card {
  background: var(--surface);
  padding: 32px;
  transition: background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glow);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.feature-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.7;
}

.feature-tag {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
}

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.step {
  position: relative;
  padding-left: 20px;
  border-left: 1px solid var(--border2);
}

.step-number {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: #333;
  margin-bottom: 10px;
}

.step-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.7;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-left {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: #333;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-right {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: #2a2a2a;
  letter-spacing: 1px;
}

/* ── Scanline divider ── */
.divider {
  position: relative;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
}

/* ── Scroll indicator ── */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 2s ease 1s both;
}

.scroll-hint-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.58rem;
  color: #2a2a2a;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, #2a2a2a, transparent);
  animation: scrollPulse 2s ease infinite;
}

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

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px) translateX(-50%); }
  to   { opacity: 1; transform: translateY(0)    translateX(-50%); }
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .stat-item { padding: 20px 24px; }
  nav { padding: 0 16px; }
  footer { flex-direction: column; align-items: flex-start; }
}
