/* ——— Colors & base ——— */
:root {
  --bg: #ffffff;
  --bg-2: #e8f5ff;
  --text: #0f172a; /* slate-900 */
  --muted: #64748b; /* slate-500 */
  --primary: #c026d3; /* fuchsia-700 */
  --primary-2: #7c3aed; /* violet-600 */
  --accent: #06b6d4; /* cyan-500 */
  --card: #ffffff;
  --border: #e2e8f0;
  --success: #10b981;
  --warn: #f59e0b;
  --shadow: rgba(15, 23, 42, 0.08);
  --shadow-lg: rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fafbfc 0%, #e0f2fe 100%) fixed;
  background-attachment: fixed;
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

h1, h2, h3, h4 { font-family: Montserrat, ui-sans-serif, system-ui, sans-serif; }

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0; z-index: 50;
  backdrop-filter: blur(12px) saturate(180%);
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px var(--shadow);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo { font-weight: 800; letter-spacing: 1px; color: var(--text); text-decoration: none; display: inline-block; transition: transform .2s ease; }
.logo:hover { transform: scale(1.05); }
.logo-img { height: 42px; width: auto; display: block; }
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 600; transition: color .2s ease; position: relative; }
.nav nav a:hover { color: var(--text); }
.nav nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s ease; }
.nav nav a:hover::after { transform: scaleX(1); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 20px; border-radius: 14px;
  border: 1px solid var(--border); color: var(--text); background: #ffffff;
  text-decoration: none; cursor: pointer; font-weight: 700;
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px var(--shadow);
}
.btn:hover { transform: translateY(-2px); border-color: #cbd5e1; box-shadow: 0 4px 12px var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(124,58,237,.4), 0 2px 8px rgba(124,58,237,.2);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(124,58,237,.5), 0 4px 12px rgba(124,58,237,.3); transform: translateY(-2px); }
.btn-ghost { background: rgba(241, 245, 249, 0.8); color: var(--text); border-color: var(--border); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(241, 245, 249, 1); }

/* ——— Hero ——— */
.hero { position: relative; isolation: isolate; padding: 40px 0; }
.hero-inner { padding: 120px 0 60px; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.title { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -2px; margin: 0 0 16px; font-weight: 800; line-height: 1.1; }
.subtitle { font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--muted); margin: 0 0 32px; font-weight: 500; max-width: 600px; }
.neon { background: linear-gradient(120deg, var(--accent), var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 20px rgba(124,58,237,.25)); animation: shimmer 3s ease-in-out infinite; background-size: 200% 100%; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: center; margin-bottom: 48px; }

.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero .glow { position: absolute; filter: blur(100px); opacity: .4; }
.glow-a { width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(192,38,211,.35), transparent 60%); right: -80px; top: -40px; display: none; }
.glow-b { width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(6,182,212,.25), transparent 70%); left: -80px; bottom: -80px; }
.float { position: absolute; width: min(26vw, 300px); opacity: .85; animation: float 8s ease-in-out infinite; z-index: 0; filter: drop-shadow(0 20px 40px rgba(0,0,0,.08)); }
.float-a { right: 3%; top: 18%; animation-delay: .2s; }
.float-b { left: 3%; top: 18%; animation-delay: 1.1s; }
@keyframes float { 0%,100%{ transform: translateY(0) rotate(0deg); } 50%{ transform: translateY(-16px) rotate(2deg); } }

/* ——— Marquee ——— */
.ticker { margin-top: 0; overflow: hidden; mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); display: flex; padding: 16px 0; background: rgba(255,255,255,.4); backdrop-filter: blur(8px); border-radius: 16px; }
.ticker-track { display: flex; white-space: nowrap; animation: marquee 40s linear infinite; color: #0369a1; opacity: 1; flex-shrink: 0; font-weight: 700; }
.ticker-track span { padding: 0 20px; letter-spacing: .14em; font-weight: 700; display: inline-block; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-100%);} }

/* ——— Sections ——— */
.section { padding: 80px 0; border-top: none; }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 24px; font-weight: 800; letter-spacing: -1px; }

.grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } .hide-sm { display:none; } .float { display:none; } }

.card { background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: 0 4px 20px var(--shadow), 0 1px 3px rgba(15, 23, 42, 0.05); transition: all .3s ease; }
.card:hover { box-shadow: 0 8px 30px var(--shadow-lg), 0 2px 8px rgba(15, 23, 42, 0.08); transform: translateY(-2px); }

.stats { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; gap: 16px; }
.stat { padding: 12px; border-radius: 12px; transition: background .2s ease; }
.stat:hover { background: rgba(6, 182, 212, 0.05); }
.stat .k { display:block; font-size: 2.5rem; color: var(--accent); font-weight: 900; margin-bottom: 4px; }
.stat .label { color: var(--muted); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }

.checklist { padding-left: 0; list-style: none; }
.checklist li { margin: 8px 0; position: relative; padding-left: 26px; }
.checklist li::before { content: "✔"; position: absolute; left: 0; color: var(--success); }

/* ——— Tokenomics ——— */
.tokenomics .cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.tokenomics .card { min-height: 140px; display: flex; flex-direction: column; justify-content: center; }
.tokenomics h3 { margin: 0 0 10px; font-size: 1.2rem; color: var(--primary); }
.tokenomics p { margin: 0; line-height: 1.6; }
@media (max-width: 900px){ .tokenomics .cards{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .tokenomics .cards{ grid-template-columns: 1fr; } }

/* ——— Roadmap ——— */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.steps li { background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border: 2px solid var(--border); border-radius: 20px; padding: 24px 28px; position: relative; box-shadow: 0 2px 12px var(--shadow); transition: all .3s ease; }
.steps li:hover { border-color: var(--accent); box-shadow: 0 4px 20px var(--shadow-lg); transform: translateY(-2px); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: -14px; background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%); color: #fff; font-weight: 900; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(124,58,237,.3); }
.steps h4 { margin: 8px 0 8px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px){ .steps { grid-template-columns: 1fr; } }

/* ——— Gallery ——— */
.gallery .scroller { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: #eef6ff; }
.gallery .track { display: flex; gap: 18px; padding: 14px; animation: scroll 40s linear infinite; }
.gallery .track.duplicate { position: absolute; inset: 0; transform: translateX(100%); }
.gallery img { height: 200px; width: auto; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 6px 20px rgba(0,0,0,.06); }
@keyframes scroll { from { transform: translateX(0);} to { transform: translateX(-100%);} }

/* ——— How ——— */
.how .howto { margin: 0 0 20px; line-height: 1.8; }
.how .howto li { margin-bottom: 8px; }
.how .howto a { color: var(--primary); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; transition: border-color .2s ease; }
.how .howto a:hover { border-bottom-color: var(--primary); }
.ca-box { display: flex; gap: 12px; align-items: center; background: rgba(248, 250, 252, 0.8); backdrop-filter: blur(8px); border: 1px solid var(--border); padding: 14px 16px; border-radius: 14px; max-width: 100%; overflow: auto; box-shadow: 0 2px 8px var(--shadow); }
#ca-text { color: var(--text); font-weight: 600; }
.disclaimer { color: var(--muted); font-size: .95rem; margin-top: 16px; font-style: italic; }
.note ul { margin: 8px 0 0; padding-left: 20px; line-height: 1.8; }
.note ul li { margin-bottom: 8px; }

/* ——— Footer ——— */
.footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); margin-top: 40px; background: rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .95rem; }
