/* ===================== Design tokens ===================== */
:root {
  --blue: #2775CA;
  --blue-light: #5FA8F5;
  --navy-900: #060D1B;
  --navy-800: #0B1730;
  --navy-700: #122148;
  --navy-600: #1A2E5C;
  --gold: #F2C14E;
  --gold-light: #FDE3A7;
  --cream: #FFF8EA;
  --burn: #FF6B5E;
  --text-primary: #F5F7FF;
  --text-muted: #A9B4D0;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 20px 40px -20px rgba(0, 0, 0, 0.55);
  --font-display: 'Rajdhani', system-ui, sans-serif;
  --font-script: 'Caveat', cursive;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

section[id],
header[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

.text-gradient {
  background: linear-gradient(90deg, var(--gold-light), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { cursor: not-allowed; opacity: 0.55; transform: none; }

.btn--primary {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(39, 117, 202, 0.65);
}
.btn--primary:hover { box-shadow: 0 16px 30px -10px rgba(39, 117, 202, 0.8); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn--small { padding: 10px 20px; font-size: 14px; }
.btn--wide { width: 100%; margin-top: 20px; }

/* ===================== Navbar ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6, 13, 27, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-light);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
}
.navbar__links a:not(.btn) { color: var(--text-muted); transition: color 0.15s ease; }
.navbar__links a:not(.btn):hover { color: var(--text-primary); }

.navbar__chain {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.navbar__toggle span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: 150px 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 38%;
  z-index: -2;
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,13,27,0.92) 0%, rgba(6,13,27,0.55) 45%, rgba(6,13,27,0.35) 100%),
    linear-gradient(180deg, rgba(6,13,27,0.2) 0%, rgba(6,13,27,0.55) 70%, var(--navy-900) 100%);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}

.hero__title {
  font-size: clamp(56px, 10vw, 108px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  background: linear-gradient(180deg, #ffffff 0%, #cfe0f7 45%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 0 rgba(39, 117, 202, 0.5));
  max-width: 800px;
}
.hero__title-sub {
  display: block;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: 6px;
  color: var(--gold-light);
  -webkit-text-fill-color: var(--gold-light);
  margin-top: 4px;
}

.hero__tagline {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--text-primary);
}

.hero__subtitle {
  margin-top: 20px;
  max-width: 560px;
  font-size: 17px;
  color: var(--text-muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero__sticky-note {
  display: inline-block;
  margin-top: 56px;
  margin-bottom: 56px;
  font-family: var(--font-script);
  font-size: 26px;
  line-height: 1.25;
  color: var(--gold-light);
  transform: rotate(-4deg);
}

/* Ticker */
.ticker {
  background: var(--blue);
  color: #fff;
  overflow: hidden;
  padding: 12px 0;
}
.ticker__track {
  display: flex;
  gap: 16px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 22s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== Sections ===================== */
.section { padding: 100px 0; }
.section--alt { background: var(--navy-800); }
.section--tight { padding: 64px 0 40px; }

.eyebrow {
  color: var(--blue-light);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 700px;
}
.section__lead {
  margin-top: 18px;
  max-width: 620px;
  color: var(--text-muted);
  font-size: 17px;
}

/* ===================== Feature row ===================== */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
}
.feature-card__icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(95, 168, 245, 0.12);
  color: var(--blue-light);
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 14px; }

.grid { display: grid; gap: 24px; margin-top: 48px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.card__icon {
  width: 56px; height: 56px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.card__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* ===================== Split banner (community) ===================== */
.split-banner {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 460px;
  background: var(--navy-900);
}
.split-banner__image {
  background-size: cover;
  background-position: center 35%;
  position: relative;
}
.split-banner__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 0%, rgba(6,13,27,0.15) 35%, transparent 100%);
}
.split-banner__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 64px 56px;
}
.split-banner__title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-primary);
}
.split-banner__panel p:not(.eyebrow) { color: var(--text-muted); font-size: 16px; max-width: 440px; }

/* ===================== Tri-panel (tokenomics / treasury / contract) ===================== */
.tri-panel {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.tri-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.tri-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tax-split { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.tax-split__ring {
  --p1: 60;
  --p2: 40;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(
    var(--blue) 0% calc(var(--p1) * 1%),
    var(--burn) calc(var(--p1) * 1%) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.tax-split__ring::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: var(--navy-800);
}
.tax-split__center { position: relative; display: flex; flex-direction: column; align-items: center; }
.tax-split__number { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.tax-split__caption { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.tax-split__legend { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.legend-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.legend-item strong { color: var(--text-primary); }
.legend-dot { width: 12px; height: 12px; border-radius: 4px; flex-shrink: 0; }
.legend-dot--treasury { background: var(--blue); }
.legend-dot--burn { background: var(--burn); }

.tri-card__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: var(--text-muted); }

.tri-card__stat { display: flex; align-items: baseline; gap: 10px; }
.tri-card__value { font-family: var(--font-display); font-size: 34px; font-weight: 700; }
.tri-card__change { font-size: 13px; color: var(--text-muted); }
.sparkline-placeholder {
  margin: 20px 0;
  height: 60px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px;
}
.tri-card__badge {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(95, 168, 245, 0.12);
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 600;
}

.contract-box__row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy-900);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.contract-box__row--tight { padding: 10px 14px; margin-bottom: 18px; }
.contract-box__row code { flex: 1; font-size: 12px; color: var(--gold-light); overflow-wrap: anywhere; }

.tri-card__rows { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.tri-card__rows div { display: flex; justify-content: space-between; font-size: 14px; }
.tri-card__rows span:first-child { color: var(--text-muted); }
.tri-card__rows span:last-child { font-weight: 600; text-align: right; }

.fine-print { margin-top: 24px; color: var(--text-muted); font-size: 13px; max-width: 720px; }

/* ===================== Roadmap ===================== */
.roadmap {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.roadmap__item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 24px;
}
.roadmap__phase {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.roadmap__item h3 { font-size: 18px; margin-bottom: 8px; }
.roadmap__item p { color: var(--text-muted); font-size: 14px; }

/* ===================== How to buy ===================== */
.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  position: relative;
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

.callout {
  margin-top: 40px;
  padding: 18px 24px;
  background: rgba(255, 107, 94, 0.1);
  border: 1px solid rgba(255, 107, 94, 0.3);
  border-radius: var(--radius-md);
  color: #FFD3CE;
  font-size: 14px;
  font-weight: 600;
}

/* ===================== Chart ===================== */
.chart-panel { margin-top: 40px; }
.chart-panel__placeholder {
  min-height: 260px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  color: var(--text-muted);
  padding: 24px;
}
.chart-panel__icon { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; }

/* ===================== FAQ ===================== */
.accordion { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.accordion__item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
}
.accordion__trigger span { font-size: 20px; color: var(--blue-light); transition: transform 0.2s ease; }
.accordion__item.is-open .accordion__trigger span { transform: rotate(45deg); }
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion__panel p { padding: 0 24px 20px; color: var(--text-muted); font-size: 15px; }

/* ===================== CTA banner ===================== */
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 90px 0;
  text-align: center;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 15%;
}
.cta-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--navy-900) 0%, rgba(6,13,27,0.65) 40%, rgba(6,13,27,0.65) 60%, var(--navy-900) 100%);
}
.cta-banner__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta-banner h2 {
  font-size: clamp(28px, 5vw, 46px);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================== Footer ===================== */
.footer { background: var(--navy-800); padding: 48px 0 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand .brand__name { display: block; }
.footer__brand p { color: var(--text-muted); font-size: 13px; margin-top: 2px; }

.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.footer__nav a:hover { color: var(--text-primary); }

.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.footer__social a:hover { color: var(--text-primary); background: rgba(255,255,255,0.1); }

.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.75;
  max-width: 900px;
}
.copyright { margin-top: 20px; font-size: 13px; color: var(--text-muted); }

/* ===================== Responsive ===================== */
@media (max-width: 960px) {
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .tri-panel { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split-banner { grid-template-columns: 1fr; }
  .split-banner__image { min-height: 280px; }
  .split-banner__image::after { background: linear-gradient(180deg, transparent 40%, var(--navy-900) 100%); }
  .split-banner__panel { padding: 40px 28px; }
}

@media (max-width: 720px) {
  section[id],
  header[id] {
    scroll-margin-top: 72px;
  }

  .navbar__inner { height: 56px; }
  .navbar__toggle { display: flex; }
  .navbar__chain { display: none; }
  .brand__logo { width: 32px; height: 32px; }
  .brand__name { font-size: 18px; }
  .navbar__links {
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: var(--navy-800);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: none;
  }
  .navbar__links.is-open { display: flex; }
  .navbar__links .btn { width: 100%; }

  .hero { padding-top: 80px; }
  .hero__title { font-size: 44px; letter-spacing: 1px; }
  .hero__title-sub { font-size: 18px; letter-spacing: 4px; }
  .pill { margin-bottom: 16px; }
  .hero__tagline { font-size: 12px; letter-spacing: 1.5px; margin-top: 14px; }
  .hero__subtitle { margin-top: 14px; font-size: 15px; }
  .hero__cta { margin-top: 22px; }
  .hero__sticky-note { margin-top: 24px; margin-bottom: 28px; font-size: 22px; }
  .section { padding: 64px 0; }
  .feature-row { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
