/* ─── REUSABLE COMPONENT STYLES ──────────────────────────────────────────── */

/* ── NAVBAR ──────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
#navbar.scrolled {
  background: rgba(13,0,38,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139,0,255,0.20);
  box-shadow: 0 4px 24px rgba(0,0,0,0.40);
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #fff;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 14px rgba(139,0,255,0.55);
  animation: pulseGlow 3s ease-in-out infinite;
  overflow: hidden;
}
.nav-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.nav-logo .logo-text { display: inline; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--text-secondary);
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

/* mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(13,0,38,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139,0,255,0.20);
  padding: 20px 24px 28px;
  z-index: 999;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open { display: flex; animation: fadeInDown .25s ease forwards; }
.mobile-menu a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color .2s;
}
.mobile-menu a:hover { color: #fff; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: flex; }
}

/* ── STAT COUNTER CARD ───────────────────────────────────────────────────── */
.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}
.stat-card .stat-icon {
  font-size: 28px;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(139,0,255,0.12);
  border: 1px solid rgba(139,0,255,0.30);
  flex-shrink: 0;
}
.stat-card .stat-value {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-card .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ── FEATURE CARD ────────────────────────────────────────────────────────── */
.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  cursor: default;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left .5s ease;
}
.feature-card:hover::before { left: 140%; }
.feature-card:hover { transform: translateY(-6px); }

.feature-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.accent-amber .feature-icon-wrap  { background: rgba(255,193,7,0.12);  border: 1px solid rgba(255,193,7,0.35);  }
.accent-orange .feature-icon-wrap { background: rgba(255,152,0,0.12);  border: 1px solid rgba(255,152,0,0.35);  }
.accent-purple .feature-icon-wrap { background: rgba(139,0,255,0.12);  border: 1px solid rgba(139,0,255,0.35);  }
.accent-blue   .feature-icon-wrap { background: rgba(0,102,255,0.12);  border: 1px solid rgba(0,102,255,0.35);  }

.feature-micro { margin-bottom: 6px; }
.feature-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature-desc  { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 16px; }

/* ── STEP CARD ───────────────────────────────────────────────────────────── */
.step-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 18px rgba(139,0,255,0.55);
}
.step-icon-bg {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: rgba(139,0,255,0.10);
  border: 1px solid rgba(139,0,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-desc  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Step connector line (desktop) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 54px;
  left: calc(12.5% + 22px);
  right: calc(12.5% + 22px);
  height: 2px;
  background: linear-gradient(90deg, rgba(139,0,255,0.50), rgba(0,102,255,0.50));
  z-index: 0;
}

/* ── TOKENOMICS FLOW ─────────────────────────────────────────────────────── */
.token-flow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(13,0,38,.95), rgba(10,26,58,.90));
  border: 1px solid rgba(139,0,255,0.20);
  transition: border-color .25s;
}
.token-flow-row:hover { border-color: rgba(139,0,255,0.50); }

.token-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.token-arrow {
  font-size: 20px;
  flex-shrink: 0;
}
.token-rate {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}
.token-rate strong { display: block; color: var(--text-secondary); font-size: 13px; }

/* ── LIVE FEED CARD ──────────────────────────────────────────────────────── */
.live-feed-card {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(26,0,64,.90), rgba(10,26,58,.90));
  border: 1px solid rgba(139,0,255,0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: slideInRight .5s ease forwards;
}
.live-feed-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(76,175,80,.8);
  flex-shrink: 0;
  animation: pulseGlow 2s ease-in-out infinite;
}
.live-feed-address {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  flex: 1;
}
.live-feed-action {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── PROGRESS BAR ────────────────────────────────────────────────────────── */
.progress-track {
  height: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 8px;
  background: var(--grad-progress);
  box-shadow: 0 0 8px rgba(139,0,255,0.5);
  transition: width .5s ease;
}
