/* ==========================================================================
   Lilitu ($LITU) — Landing page styles
   Refined: minimal gradients, hairline borders, monochrome accents
   ========================================================================== */

:root {
  /* Surfaces — deeper, more atmospheric */
  --bg-base: #06020e;
  --bg-deep: #0b0517;
  --bg-card: #110a23;
  --bg-card-2: #160d2c;
  --bg-elev: #1c1135;

  /* Borders — refined hairlines */
  --border: rgba(168, 132, 224, 0.08);
  --border-mid: rgba(168, 132, 224, 0.16);
  --border-strong: rgba(168, 132, 224, 0.30);
  --border-glow: rgba(196, 181, 253, 0.45);

  /* Purple accents — refined ladder */
  --accent: #a78bfa;
  --accent-strong: #c4b5fd;
  --accent-soft: #d8b4fe;
  --accent-deep: #7c3aed;
  --accent-deepest: #5b21b6;

  /* Text — refined contrast steps */
  --text: #f5f3fb;
  --text-mid: #c9bfe0;
  --text-muted: #8e83a8;
  --text-faint: #5d5478;
  --text-ghost: #3d3658;

  /* Status */
  --green: #4ade80;
  --green-soft: #86efac;
  --amber: #fbbf24;
  --red: #f87171;

  /* Shadows */
  --shadow-card: 0 1px 0 rgba(196, 181, 253, 0.04) inset, 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 1px 0 rgba(196, 181, 253, 0.08) inset, 0 18px 50px rgba(124, 58, 237, 0.18);
  --shadow-glow: 0 0 40px rgba(167, 139, 250, 0.25);

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Cinzel', 'Inter', serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Layout */
  --max: 1180px;
  --max-narrow: 920px;
  --gutter: clamp(20px, 4vw, 44px);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Easing */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Screen-reader-only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Selection */
::selection {
  background: rgba(167, 139, 250, 0.35);
  color: var(--text);
}

/* Custom scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 139, 250, 0.3) transparent;
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.2);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background: rgba(167, 139, 250, 0.4); background-clip: padding-box; }

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible { outline-offset: 4px; }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-mid);
  background: var(--bg-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01' on, 'cv02' on, 'cv03' on, 'cv04' on;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-strong); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
}
p { margin: 0; }
code { font-family: var(--font-mono); }

/* ---------- Background decoration (minimal) ---------- */
.bg-decoration {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 132, 224, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 132, 224, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 80%);
}
.bg-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.18) 0%, transparent 65%);
  filter: blur(60px);
  opacity: 0.7;
}
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0, var(--bg-base) 2px),
    repeating-linear-gradient(rgba(255,255,255,0.04), rgba(255,255,255,0.04));
}

/* Ambient floating particles (stars + sparkles) */
.bg-particles { position: absolute; inset: 0; }
.particle {
  position: absolute;
  background: var(--accent-strong);
  border-radius: 50%;
  opacity: 0;
  animation: twinkle var(--p-dur, 5s) ease-in-out infinite;
  animation-delay: var(--p-delay, 0s);
  box-shadow: 0 0 6px rgba(196, 181, 253, 0.6);
}
.particle.star {
  background: transparent;
  box-shadow: none;
  width: var(--p-size, 3px);
  height: var(--p-size, 3px);
}
.particle.star::before, .particle.star::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-strong);
  box-shadow: 0 0 8px rgba(196, 181, 253, 0.5);
}
.particle.star::before { transform: rotate(0deg); clip-path: polygon(50% 0, 55% 45%, 100% 50%, 55% 55%, 50% 100%, 45% 55%, 0 50%, 45% 45%); }
.particle.star::after { display: none; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: var(--p-opacity, 0.7); transform: scale(1); }
}
.particle.drift {
  animation: drift var(--p-dur, 14s) ease-in-out infinite, twinkle calc(var(--p-dur, 14s) / 3) ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(var(--p-x, 20px), var(--p-y, -16px)); }
}

/* ---------- Layout ---------- */
.section { position: relative; padding: 120px 0; z-index: 1; }
.section-alt {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.035) 50%, transparent 100%);
}
.section-alt::before, .section-alt::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid) 30%, var(--border-mid) 70%, transparent);
}
.section-alt::before { top: 0; }
.section-alt::after { bottom: 0; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section-head { max-width: 720px; margin-bottom: 72px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.section-head.center .kicker {
  justify-content: center;
}
.section-head.center .kicker::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 22px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-wrap: balance;
}
.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 640px;
  text-wrap: pretty;
}
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(7, 3, 15, 0.72);
  border-bottom: 1px solid var(--border);
  transition: background .2s ease, border-color .2s ease;
}
.nav.scrolled {
  background: rgba(7, 3, 15, 0.88);
  border-bottom-color: var(--border-mid);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.nav-brand:hover { color: var(--text); }
.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
}
.nav-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav-ticker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  padding: 3px 8px;
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .18s ease;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(0.6); }
.nav-links a.active {
  color: var(--text);
}
.nav-links a.active::after { transform: scaleX(1); }

/* Live nav ticker */
.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(168, 132, 224, 0.05);
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
  transition: opacity .25s ease, transform .25s ease;
}
.nav-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.nav-live-price { font-weight: 500; }
.nav-live-change { color: var(--text-muted); }
.nav-live-change.up { color: var(--green); }
.nav-live-change.down { color: #f87171; }
.nav-live.flash {
  animation: ticker-flash .6s ease;
}
@keyframes ticker-flash {
  0% { background: rgba(167, 139, 250, 0.18); }
  100% { background: rgba(168, 132, 224, 0.05); }
}

/* Scroll progress bar */
.nav-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-strong));
  transition: width .15s ease;
  pointer-events: none;
}
.nav-cta {
  padding: 10px 20px;
  background: var(--text);
  color: var(--bg-base);
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  letter-spacing: 0.005em;
  transition: transform .15s var(--ease), background .25s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.18);
}
.nav-cta:hover {
  transform: translateY(-1px);
  color: var(--bg-base);
  background: var(--accent-strong);
  box-shadow: 0 8px 28px rgba(167, 139, 250, 0.4);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  z-index: 1;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  background: rgba(168, 132, 224, 0.05);
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.hero-badge:hover {
  border-color: var(--border-strong);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.badge-dot.pulse { animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.5); }
  50% { opacity: 0.5; box-shadow: 0 0 0 4px rgba(167, 139, 250, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 108px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  position: relative;
}
.hero-title-main {
  color: var(--text);
  background: linear-gradient(180deg, var(--text) 0%, var(--text) 60%, var(--accent-strong) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-ticker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-ticker {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  padding: 5px 12px;
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.hero-network {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}
.hero-tagline {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero-sub {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 540px;
  text-wrap: pretty;
}

/* ---------- Live state badge ---------- */
.hero-badge.live { border-color: rgba(74, 222, 128, 0.28); }
.hero-badge.live .badge-dot { background: var(--green); }
.hero-badge.live .badge-dot.pulse {
  animation: pulse-live 1.8s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

/* ---------- Live stats section ---------- */
.section-stats { padding-top: 60px; padding-bottom: 100px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 22px;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(168, 132, 224, 0.05), transparent 70%),
    linear-gradient(180deg, #15092a 0%, #0e0721 100%);
  border: 1px solid rgba(168, 132, 224, 0.16);
  border-radius: 18px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
  min-width: 0;
  box-shadow:
    0 1px 0 rgba(196, 181, 253, 0.05) inset,
    0 10px 28px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.45), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.stat-card:hover {
  border-color: rgba(168, 132, 224, 0.30);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(196, 181, 253, 0.08) inset,
    0 14px 38px rgba(124, 58, 237, 0.18);
}
.stat-card:hover::before { opacity: 0.6; }
.stat-name {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.20em;
}
.stat-big {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
  line-height: 1.05;
  word-break: break-word;
}
.stat-delta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-delta.up { color: var(--green); }
.stat-delta.down { color: #f87171; }
.stat-big.up { color: var(--green); }
.stat-big.down { color: #f87171; }
.stat-card.loading .stat-big,
.stat-card.loading .stat-delta {
  color: var(--text-faint);
  opacity: 0.6;
}

/* Chart embed */
.chart-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(168, 132, 224, 0.04), transparent);
}
.chart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chart-link:hover { color: var(--accent-strong); }
.chart-frame {
  position: relative;
  width: 100%;
  height: 560px;
  background: var(--bg-deep);
}
.chart-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 1;
}

/* DexScreener iframe loading skeleton — visible until iframe load fires */
.chart-skeleton {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background:
    radial-gradient(ellipse at center, rgba(124, 58, 237, 0.06), transparent 60%),
    linear-gradient(180deg, #0c0618, #07030f);
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.chart-skeleton.hidden {
  opacity: 0;
  visibility: hidden;
}
.skeleton-pulse {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(167, 139, 250, 0.2);
  border-top-color: var(--accent);
  animation: skeleton-spin 1s linear infinite;
}
@keyframes skeleton-spin {
  to { transform: rotate(360deg); }
}
.skeleton-bars {
  display: flex;
  gap: 7px;
  height: 90px;
  align-items: flex-end;
}
.skeleton-bars span {
  width: 9px;
  background: linear-gradient(180deg, var(--accent), rgba(167, 139, 250, 0.2));
  border-radius: 4px 4px 0 0;
  animation: skeleton-bar 1.6s ease-in-out infinite;
  opacity: 0.6;
}
.skeleton-bars span:nth-child(1) { height: 35%; animation-delay: 0s; }
.skeleton-bars span:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.skeleton-bars span:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.skeleton-bars span:nth-child(4) { height: 45%; animation-delay: 0.3s; }
.skeleton-bars span:nth-child(5) { height: 90%; animation-delay: 0.4s; }
.skeleton-bars span:nth-child(6) { height: 70%; animation-delay: 0.5s; }
.skeleton-bars span:nth-child(7) { height: 55%; animation-delay: 0.6s; }
.skeleton-bars span:nth-child(8) { height: 75%; animation-delay: 0.7s; }
@keyframes skeleton-bar {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); }
  50% { opacity: 0.85; transform: scaleY(1); }
}
.skeleton-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}
.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
.stats-meta.error .meta-dot { background: #f87171; animation: none; }
.stats-meta.live .meta-dot { background: var(--green); }

/* Buttons */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: transform .15s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .3s var(--ease);
  border: 1px solid transparent;
  overflow: hidden;
}
.btn-primary {
  background: var(--text);
  color: var(--bg-base);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 8px 24px rgba(167, 139, 250, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: var(--bg-base);
  background: var(--accent-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 14px 32px rgba(167, 139, 250, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(168, 132, 224, 0.08);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

/* Status row */
.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  position: relative;
}
.hero-status::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}
.status-item { display: flex; flex-direction: column; gap: 6px; }
.status-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.20em;
}
.status-value {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status-value::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.status-live { color: var(--green); }
.status-live::before { box-shadow: 0 0 8px currentColor; }
.status-soon { color: var(--amber); }
.status-planned { color: var(--text-muted); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}
.hero-aura {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  will-change: transform, opacity;
  z-index: 0;
}
.hero-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(180deg, var(--border-strong) 0%, var(--border) 50%, var(--border-strong) 100%);
  transition: transform .14s var(--ease-out);
  will-change: transform;
  transform-style: preserve-3d;
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid var(--border);
  border-radius: 50%;
  pointer-events: none;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: -38px;
  border: 1px dashed var(--border-mid);
  border-radius: 50%;
  pointer-events: none;
  animation: rotate 80s linear infinite;
}
.hero-orbit {
  position: absolute;
  inset: -64px;
  border: 1px solid var(--border);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px 32px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(167, 139, 250, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-card-2);
  box-shadow: var(--shadow-card-hover);
}
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }

.card-icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(168, 132, 224, 0.10), rgba(168, 132, 224, 0.04));
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  color: var(--accent);
  margin-bottom: 24px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.card:hover .card-icon {
  border-color: var(--border-strong);
  color: var(--accent-strong);
}
.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.card-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 3px 9px;
  border: 1px solid rgba(251, 191, 36, 0.30);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.06);
}
.card-text {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
  position: relative;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 64px;
  counter-reset: step;
}
.step {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
  box-shadow: var(--shadow-card);
}
.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: var(--bg-card-2);
}
.step-number {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(168, 132, 224, 0.10), rgba(168, 132, 224, 0.03));
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.step:hover .step-number {
  color: var(--accent-strong);
  border-color: var(--border-strong);
}
.step-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-body p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.quote {
  position: relative;
  margin: 0;
  padding: 40px 44px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.quote::before {
  content: """;
  position: absolute;
  top: -16px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 88px;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
}
.quote p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

/* ---------- Tokenomics ---------- */
.token-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.token-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.token-stat:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
  background: var(--bg-card-2);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.stat-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}

.ca-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.ca-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}
.ca-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.ca-head .kicker { margin-bottom: 0; }
.ca-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mid);
  letter-spacing: 0.04em;
}
.ca-status.live { color: var(--green); }
.ca-display {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 18px;
  transition: border-color .25s var(--ease);
}
.ca-display:hover { border-color: var(--border-mid); }
.ca-display code {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  word-break: break-all;
  letter-spacing: 0.03em;
  font-feature-settings: 'zero' on;
}
.ca-copy {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ca-copy:hover:not(:disabled) {
  background: var(--text);
  color: var(--bg-base);
  border-color: var(--text);
}
.ca-copy:disabled { opacity: 0.4; cursor: not-allowed; }
.ca-warning {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 1px solid var(--border-mid);
}
.ca-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ca-actions .btn { padding: 9px 16px; font-size: 13px; }

.creator-buy {
  position: relative;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.creator-buy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 32px;
  background: var(--accent);
  transform: translateY(-50%);
  border-radius: 2px;
  opacity: 0.6;
}
.creator-buy h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.creator-buy p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- Quick Facts ---------- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.fact:hover {
  border-color: var(--border-mid);
  background: var(--bg-card-2);
}
.fact dt {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.20em;
  margin: 0;
}
.fact dd {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
  font-weight: 500;
}
.fact dd a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.fact dd a:hover { border-bottom-color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), background .25s var(--ease);
  overflow: hidden;
}
.faq-item[open] {
  border-color: var(--border-mid);
  background: var(--bg-card-2);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
  list-style: none;
  user-select: none;
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 11px;
  height: 11px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform .25s var(--ease), border-color .2s var(--ease);
  flex-shrink: 0;
  margin-left: 18px;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
  border-color: var(--accent);
}
.faq-item summary:hover { color: var(--accent-strong); }
.faq-item p {
  padding: 0 24px 22px;
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item p code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  background: rgba(168, 132, 224, 0.06);
  padding: 1px 6px;
  border-radius: 3px;
  word-break: break-all;
}
.faq-item p a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.faq-item p a:hover { border-bottom-color: var(--accent); }
.faq-item p strong { color: var(--text); font-weight: 600; }

/* ---------- The Bot section ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.tier-card {
  position: relative;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(168, 132, 224, 0.07), transparent 70%),
    linear-gradient(180deg, #15092a 0%, #0e0721 100%);
  border: 1px solid rgba(168, 132, 224, 0.18);
  border-radius: 18px;
  padding: 36px 32px 32px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
  box-shadow:
    0 1px 0 rgba(196, 181, 253, 0.06) inset,
    0 12px 32px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tier-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 132, 224, 0.32);
  box-shadow:
    0 1px 0 rgba(196, 181, 253, 0.10) inset,
    0 18px 50px rgba(124, 58, 237, 0.22);
}
.tier-card-featured {
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(167, 139, 250, 0.16), transparent 70%),
    linear-gradient(180deg, #1a0d35 0%, #0f0623 100%);
  border-color: rgba(167, 139, 250, 0.40);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.12) inset,
    0 16px 48px rgba(124, 58, 237, 0.22);
}
.tier-card-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24%;
  right: 24%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.tier-card-featured::after {
  content: "Most popular";
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  padding: 4px 10px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 999px;
  background: rgba(168, 132, 224, 0.10);
}
.tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tier-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: #f5f3fb;
  letter-spacing: -0.015em;
  line-height: 1;
}
.tier-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8e83a8;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.tier-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(168, 132, 224, 0.10);
  list-style: none;
  padding-left: 0;
}
.tier-perks li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(7, 3, 15, 0.4);
  border: 1px solid rgba(168, 132, 224, 0.10);
  border-radius: 10px;
}
.perk-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 600;
  color: #f5f3fb;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.tier-card-featured .perk-num {
  color: #c4b5fd;
}
.perk-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #8e83a8;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.3;
}
.tier-note {
  font-size: 14px;
  color: #b6a4d4;
  line-height: 1.6;
  margin: 0;
}

/* Bot meta: commands + side facts */
.bot-meta {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.commands {
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(168, 132, 224, 0.04), transparent 70%),
    linear-gradient(180deg, #15092a 0%, #0e0721 100%);
  border: 1px solid rgba(168, 132, 224, 0.16);
  border-radius: 18px;
  padding: 32px;
  box-shadow:
    0 1px 0 rgba(196, 181, 253, 0.05) inset,
    0 10px 28px rgba(0, 0, 0, 0.4);
}
.commands-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: #f5f3fb;
  margin-bottom: 22px;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.commands-title::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.commands-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
.commands-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(168, 132, 224, 0.08);
}
.commands-list li:last-child { border-bottom: none; }
.commands-list code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-strong);
  background: rgba(7, 3, 15, 0.5);
  border: 1px solid rgba(168, 132, 224, 0.20);
  border-radius: 5px;
  padding: 5px 10px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 130px;
  text-align: left;
}
.commands-list span {
  font-size: 14px;
  color: #b6a4d4;
  line-height: 1.5;
  flex: 1;
}

.bot-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bot-fact {
  position: relative;
  background:
    linear-gradient(180deg, #150a28 0%, #0e0721 100%);
  border: 1px solid rgba(168, 132, 224, 0.14);
  border-left: 2px solid var(--accent);
  border-radius: 10px;
  padding: 20px 22px;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.bot-fact:hover {
  background: linear-gradient(180deg, #1a0d35 0%, #110725 100%);
  transform: translateX(2px);
}
.fact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.20em;
  margin-bottom: 8px;
}
.bot-fact p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}
.bot-fact code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: rgba(168, 132, 224, 0.06);
  padding: 1px 6px;
  border-radius: 3px;
}

.bot-cta {
  display: flex;
  justify-content: center;
}

/* ---------- Roadmap ---------- */
.roadmap { position: relative; padding-left: 4px; }
.roadmap::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(180deg, var(--border-strong) 0%, var(--border-mid) 50%, var(--border) 100%);
}
.roadmap-phase {
  position: relative;
  padding-left: 68px;
  margin-bottom: 24px;
}
.roadmap-phase:last-child { margin-bottom: 0; }
.phase-marker {
  position: absolute;
  left: 0;
  top: 18px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  border-radius: 50%;
  z-index: 2;
}
.phase-marker::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: border-color .25s var(--ease);
}
.marker-dot {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  transition: all .25s var(--ease);
}
.phase-active .phase-marker::before { border-color: var(--border-strong); }
.phase-active .marker-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.14);
  animation: pulse-marker 2.4s ease-in-out infinite;
}
@keyframes pulse-marker {
  0%, 100% { box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.14); }
  50% { box-shadow: 0 0 0 8px rgba(167, 139, 250, 0.04); }
}
.phase-body {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
  box-shadow: var(--shadow-card);
}
.phase-body:hover {
  border-color: var(--border-mid);
  transform: translateX(3px);
  background: var(--bg-card-2);
}
.phase-active .phase-body {
  border-color: var(--border-strong);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
}
.phase-active .phase-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.phase-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.phase-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.phase-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.phase-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.phase-status.status-live {
  background: rgba(74, 222, 128, 0.08);
  color: var(--green);
  border: 1px solid rgba(74, 222, 128, 0.25);
}
.phase-status.status-soon {
  background: rgba(251, 191, 36, 0.06);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.22);
}
.phase-status.status-planned {
  background: rgba(168, 132, 224, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-mid);
}
.phase-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.phase-items { list-style: none; padding: 0; }
.phase-items li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.phase-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Community ---------- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.community-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  color: var(--text);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), box-shadow .3s var(--ease);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.community-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-50%);
  transition: width .35s var(--ease);
}
.community-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-card-2);
  color: var(--text);
  box-shadow: var(--shadow-card-hover);
}
.community-card:hover::after { width: 60%; }
.community-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(168, 132, 224, 0.10), rgba(168, 132, 224, 0.03));
  color: var(--accent);
  border: 1px solid var(--border-mid);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.community-card:hover .community-icon {
  color: var(--accent-strong);
  border-color: var(--border-strong);
}
.community-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.community-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.community-handle {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.community-card:hover .community-handle {
  color: var(--accent-strong);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: 72px 0 40px;
  border-top: 1px solid var(--border);
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.025) 100%);
}
.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 30%;
  right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
}
.footer-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}
.footer-tag {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: color .2s var(--ease);
  position: relative;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.footer-links a:hover {
  color: var(--text);
}
.footer-links a:hover::after { transform: scaleX(1); }
.footer-disclaimer {
  font-size: 12.5px;
  color: var(--text-faint);
  line-height: 1.8;
  max-width: 840px;
  margin-bottom: 20px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-live { display: none; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-ticker-row { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-status { justify-content: center; }
  .hero-frame { max-width: 320px; margin: 0 auto; }
  .card-grid.three { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .token-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; }
  .bot-meta { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: 1fr; }
  .chart-frame { height: 460px; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 22px var(--gutter);
    background: rgba(7, 3, 15, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }
  .nav.menu-open .nav-cta {
    display: inline-flex;
    margin: 8px var(--gutter) 18px;
  }
  .roadmap-phase { padding-left: 50px; }
  .roadmap::before { left: 14px; }
  .phase-marker { width: 30px; height: 30px; }
  .phase-status { margin-left: 0; }
  .phase-body { padding: 22px; }
  .ca-card { padding: 24px; }
  .chart-frame { height: 360px; }
  .skeleton-bars { height: 60px; }
  .stat-card { padding: 20px; border-radius: 14px; }
  .tier-card { padding: 28px 24px 24px; border-radius: 14px; }
  .tier-card-featured::after { top: 14px; right: 14px; font-size: 9px; padding: 3px 8px; }
  .commands { padding: 24px 22px; border-radius: 14px; }
  .commands-list li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 0; }
  .commands-list code { min-width: 0; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .token-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .hero-status { gap: 18px; }
  .ca-display { flex-direction: column; align-items: stretch; }
  .ca-display code { text-align: center; }
  .chart-frame { height: 300px; }
  .chart-head { padding: 14px 16px; }
  .faq-item summary { padding: 16px 18px; font-size: 15.5px; }
  .faq-item p { padding: 0 18px 18px; font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
