/* ============================================================
   XMoney — $XMONEY
   Space, cash, and the white X. Cyan / Solana green / violet.
   ============================================================ */

:root {
  --ink:       #050812;
  --ink-2:     #0a1020;
  --panel:     #10182c;
  --panel-2:   #162038;
  --line:      #24304a;

  --cyan:      #2ee6ff;
  --cyan-2:    #7af4ff;
  --green:     #14f195;
  --violet:    #9945ff;
  --violet-2:  #c084fc;

  --paper:     #eef3fb;
  --muted:     #93a0b8;

  --font-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1120px;
  --r: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: uppercase;
}

a { color: inherit; }

::selection { background: var(--cyan); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap--narrow { max-width: 800px; }

.glowbar {
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--violet));
}

/* ── buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn--accent {
  background: linear-gradient(100deg, var(--green), var(--cyan) 55%, #7aa7ff);
  color: #041018;
  box-shadow: 0 8px 28px rgba(46, 230, 255, .22);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(153, 69, 255, .28); }
.btn--accent:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(8, 14, 28, .45);
  color: var(--paper);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

.btn--sm { padding: 10px 16px; font-size: 12px; }
.btn--lg { padding: 16px 28px; font-size: 14px; }

/* ── nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 22px;
  background: rgba(5, 8, 18, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(36, 48, 74, .9);
}
.nav.is-stuck { box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }

.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: var(--paper);
  letter-spacing: -.02em;
}
.nav__brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(46, 230, 255, .45);
}

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  transition: color .15s ease;
}
.nav__links a:not(.btn):hover { color: var(--cyan); }
.nav__cta { margin-left: 4px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: .2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 48px 0 56px;
  background: #050812;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 8, 18, .9) 0%, rgba(5, 8, 18, .62) 40%, rgba(5, 8, 18, .12) 68%, rgba(5, 8, 18, .28) 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
  display: grid;
  grid-template-columns: minmax(0, 640px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(46, 230, 255, .65);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(46, 230, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 255, 0); }
}

.hero__title { margin-bottom: 18px; }
.hero__title-line { display: block; }
.hero__title-line:first-child {
  font-size: clamp(15px, 2vw, 20px);
  letter-spacing: .22em;
  color: var(--muted);
  font-weight: 500;
}
.hero__title-line--big {
  margin-top: 6px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: .9;
  letter-spacing: -.04em;
  background: linear-gradient(100deg, #fff 10%, var(--cyan) 45%, var(--violet-2) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tag {
  font-size: 18px;
  color: #c5d0e4;
  margin: 0 0 26px;
  max-width: 42ch;
}
.hero__tag strong { color: var(--paper); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.ca {
  background: rgba(16, 24, 44, .82);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  max-width: 540px;
  box-shadow: inset 0 0 0 1px rgba(46, 230, 255, .04);
}
.ca__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.ca__chain {
  background: linear-gradient(90deg, var(--green), var(--cyan));
  color: #041018;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .08em;
  font-size: 10px;
}
.ca__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: #070b16;
  border: 1px solid #2a3a58;
  border-radius: 12px;
  padding: 11px 12px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color .15s ease;
}
.ca__row:hover { border-color: var(--cyan); }
.ca__row code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 13px;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.ca__btn {
  flex: none;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
}
.ca__row.is-copied .ca__btn { background: var(--green); }
.ca__warn { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.ca__warn a { color: var(--cyan); text-decoration: none; font-weight: 700; }
.ca__warn a:hover { text-decoration: underline; }
.ca.is-pending .ca__row { cursor: default; }
.ca.is-pending .ca__row code {
  color: var(--cyan);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .01em;
}


/* ── marquee ───────────────────────────────────────────────── */
.marquee {
  background: linear-gradient(90deg, #06281f, #072033 40%, #1a0d33);
  color: var(--paper);
  border-block: 1px solid var(--line);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  animation: scroll 28s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
}
.marquee b { color: var(--cyan); font-weight: 500; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── sections ──────────────────────────────────────────────── */
.section { padding: 88px 0; position: relative; }
.section--story { background: var(--ink); }
.section--spec { background: var(--ink-2); border-block: 1px solid var(--line); }
.section--buy { background: var(--ink); }
.section--faq { background: var(--ink-2); border-block: 1px solid var(--line); }
.section--join { background: var(--ink); padding-top: 28px; padding-bottom: 88px; }

.sec-head { margin-bottom: 42px; max-width: 680px; }
.sec-head h2 { font-size: clamp(32px, 5vw, 56px); }
.sec-sub { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

.story {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.steps { list-style: none; margin: 0; padding: 0; }
.step {
  position: relative;
  padding: 0 0 28px 72px;
}
.step:last-child { padding-bottom: 0; }
.step__no {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #070b16;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 13px;
  border-radius: 14px;
  border: 1px solid rgba(46, 230, 255, .4);
}
.step h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.02em; text-transform: none; }
.step p { margin: 0; color: #b7c3d8; }
.step strong { color: var(--cyan); }

.story__side { display: grid; justify-items: center; }
.mark-frame {
  margin: 0;
  width: min(100%, 380px);
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 40%, rgba(46, 230, 255, .16), transparent 62%),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.mark-frame img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.mark-frame figcaption {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--muted);
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.spec {
  background: rgba(7, 11, 22, .55);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .18s ease, transform .18s ease;
}
.spec:hover { border-color: rgba(46, 230, 255, .55); transform: translateY(-3px); }
.spec--hero {
  border-color: rgba(46, 230, 255, .7);
  background:
    radial-gradient(420px 160px at 0% 0%, rgba(20, 241, 149, .12), transparent 60%),
    rgba(7, 11, 22, .75);
}
.spec__k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec__v {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--paper);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.spec--hero .spec__v {
  background: linear-gradient(90deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.spec__n { font-size: 14.5px; color: #9aabc4; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 18px 20px;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: rgba(153, 69, 255, .6); transform: translateY(-3px); }
.card__no {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--green), var(--cyan));
  color: #041018;
  font-family: var(--font-display);
  font-size: 14px;
}
.card h3 { font-size: 16px; margin: 0 0 8px; text-transform: none; letter-spacing: -.02em; }
.card p { margin: 0; font-size: 15px; color: #a9b6cc; }
.card strong { color: var(--paper); }

.buy-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.faq details {
  background: rgba(7, 11, 22, .55);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq details[open] { border-color: rgba(46, 230, 255, .45); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 20px;
  position: relative;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.02em;
  text-transform: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  translate: 0 -54%;
  font-size: 22px;
  color: var(--cyan);
}
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 20px 18px; color: #b7c3d8; font-size: 15.5px; }

.join {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(153, 69, 255, .2), transparent 70%),
    radial-gradient(420px 200px at 100% 100%, rgba(20, 241, 149, .12), transparent 70%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 36px;
}
.join h2 {
  font-size: clamp(28px, 4vw, 42px);
  background: linear-gradient(90deg, var(--paper), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.join p { margin: 10px 0 0; color: #b7c3d8; font-size: 17px; max-width: 46ch; }
.join__links { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #070b16;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: .16s ease;
}
.social svg { width: 16px; height: 16px; fill: var(--cyan); }
.social:hover {
  border-color: transparent;
  background: linear-gradient(100deg, var(--green), var(--cyan));
  color: #041018;
  transform: translateY(-2px);
}
.social:hover svg { fill: #041018; }

.footer { background: #070b16; padding: 42px 0 36px; }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(46, 230, 255, .4);
}
.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -.02em;
}
.footer__brand span { display: block; font-size: 13px; color: var(--muted); }
.footer__brand a {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
}
.footer__brand a:hover { text-decoration: underline; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.footer__nav a:hover { color: var(--cyan); }

.disclaimer {
  margin: 22px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #7e8da8;
}
.disclaimer strong { color: var(--muted); }
.copyright { margin: 14px 0 0; font-size: 12.5px; color: #66768f; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(5, 8, 18, .4) 0%, rgba(5, 8, 18, .72) 48%, rgba(5, 8, 18, .88) 100%);
  }
  .hero__bg { object-position: 68% center; }
  .story { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .mark-frame { width: min(100%, 320px); }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 11, 22, .98);
    border-bottom: 1px solid var(--line);
    padding: 8px 22px 18px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 14px 0 0; border-bottom: 0 !important; text-align: center; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 36px 0 40px; }
  .hero__title-line--big { font-size: clamp(36px, 12vw, 56px); }
  .specs, .cards { grid-template-columns: 1fr; }
  .hero__actions .btn, .buy-cta .btn { width: 100%; }
  .join { padding: 26px 20px; }
  .join__links { width: 100%; }
  .social { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .eyebrow .dot { animation: none; }
}
