:root {
  --bg: #0a0a0f;
  --bg-alt: #101019;
  --card: #15151f;
  --card-border: #23232f;
  --text: #f2f2f7;
  --muted: #9595a8;
  --accent: #ab9ff2;      /* Phantom-style purple */
  --accent-2: #6d5fd6;
  --navy: #1b2540;
  --good: #4ade80;
  --radius: 16px;
  --maxw: 1080px;
  font-synthesis: none;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 999px;
  padding: 10px 20px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: transform .12s ease, background .2s ease, border-color .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: #15121f; }
.btn-primary:hover { background: #bcb0f6; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--card-border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
  max-width: var(--maxw); margin: 0 auto;
  backdrop-filter: blur(12px);
}
.nav::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(10,10,15,.7); z-index: -1;
  border-bottom: 1px solid var(--card-border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-logo { width: 32px; height: 32px; border-radius: 50%; }
.ticker { color: var(--accent); font-size: 13px; vertical-align: super; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
#navBuy { margin-left: 8px; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  #navBuy { margin-left: auto; }
}

/* ===== Hero ===== */
.hero { position: relative; text-align: center; padding: 90px 24px 70px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(171,159,242,.22), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.hero-logo { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 22px; box-shadow: 0 0 0 1px var(--card-border); }
.hero h1 { font-size: clamp(40px, 8vw, 68px); letter-spacing: -1.5px; line-height: 1.05; }
.hero-ticker { color: var(--accent); font-weight: 600; margin-top: 6px; letter-spacing: .5px; }
.hero-tagline { color: var(--muted); font-size: 19px; margin: 18px auto 0; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

.mint-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 26px; padding: 8px 14px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 999px;
  cursor: pointer; max-width: 100%;
}
.mint-pill:hover { border-color: var(--accent); }
.mint-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.mint-pill code { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* ===== Stats ===== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: var(--maxw); margin: 10px auto 0; padding: 0 24px;
}
.stat-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 22px; text-align: center;
}
.stat-label { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.stat-value { display: block; font-size: 26px; font-weight: 700; margin-top: 8px; }
.stats-note { text-align: center; color: var(--muted); font-size: 13px; padding: 12px 24px 0; max-width: var(--maxw); margin: 0 auto; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ===== Sections ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 80px 24px; }
.section-alt { background: var(--bg-alt); max-width: none; }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -1px; margin-bottom: 20px; }
.lead { color: var(--muted); font-size: 18px; max-width: 720px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.feature { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; }
.feature-icon { font-size: 28px; color: var(--accent); }
.feature h3 { margin: 12px 0 8px; font-size: 19px; }
.feature p { color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .grid-3 { grid-template-columns: 1fr; } }

/* ===== Steps ===== */
.steps { list-style: none; counter-reset: step; display: grid; gap: 16px; margin-top: 36px; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 22px 22px 22px 76px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 22px; top: 22px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #15121f; font-weight: 800;
  display: grid; place-items: center;
}
.steps h3 { font-size: 18px; margin-bottom: 4px; }
.steps p { color: var(--muted); }
.buy-note { color: var(--muted); font-size: 14px; margin-top: 22px; padding: 14px; border-left: 3px solid var(--accent); background: var(--card); border-radius: 8px; }

/* ===== Timeline ===== */
.timeline { display: grid; gap: 18px; margin-top: 40px; }
.milestone {
  background: var(--card); border: 1px solid var(--card-border);
  border-left: 4px solid var(--card-border);
  border-radius: var(--radius); padding: 22px 24px;
}
.milestone.done { border-left-color: var(--good); }
.ms-tag { display: inline-block; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.milestone.done .ms-tag { color: var(--good); }
.milestone ul { padding-left: 20px; color: var(--muted); }
.milestone li { margin: 4px 0; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--card-border); padding: 50px 24px; text-align: center; }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links a { color: var(--muted); font-weight: 600; }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.explorer { margin-bottom: 18px; }
.disclaimer { color: var(--muted); font-size: 12.5px; max-width: 640px; margin: 0 auto 14px; }
.copyright { color: var(--muted); font-size: 13px; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--accent); color: #15121f; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
