/* ===========================================================
   $UBI | Universal Basic Income
   Design system adapted from Neiro (neiroeth.io) structure,
   reskinned blue / white / black with a retro-futurist
   globe & orbit mark + CRT scanline texture.
=========================================================== */

:root {
  --blue-900: #04102b;
  --blue-800: #0a1c4d;
  --blue-700: #0f2f8f;
  --blue-600: #1548d6;
  --blue-500: #2f6df5;
  --blue-400: #6fa3ff;
  --blue-100: #e8f0ff;
  --white: #ffffff;
  --cream: #f4efe0;
  --black: #0a0a0c;

  --font-display: 'Anton', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius-pill: 999px;
  --radius-lg: 28px;
  --border-thick: 3px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 14px;
}
.eyebrow--dark { color: var(--blue-600); }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 24px;
}
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  border: var(--border-thick) solid var(--black);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--black); }
.btn--sm { padding: 10px 22px; font-size: 0.9rem; }
.btn--primary { background: var(--blue-500); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { box-shadow: 4px 4px 0 var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light:hover { box-shadow: 4px 4px 0 var(--white); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: var(--border-thick) solid var(--blue-500);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo-mark { width: 34px; height: 34px; color: var(--blue-400); flex-shrink: 0; }
.logo-mark .orbit { color: var(--blue-500); }

.nav__links {
  display: flex;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav__links a { color: var(--white); opacity: 0.8; transition: opacity 0.15s; }
.nav__links a:hover { opacity: 1; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span { width: 24px; height: 2px; background: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 100% at 50% 100%, var(--blue-500) 0%, var(--blue-700) 45%, var(--blue-900) 100%);
  color: var(--white);
  padding: 100px 24px 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  min-height: 90vh;
  overflow: hidden;
}

.hero__scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
  opacity: 0.6;
}

.hero__sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkle { position: absolute; width: 22px; height: 22px; fill: var(--blue-400); opacity: 0.8; animation: twinkle 3.5s ease-in-out infinite; }
.sparkle.s1 { top: 10%; left: 8%; width: 34px; height: 34px; animation-delay: 0s; }
.sparkle.s2 { top: 20%; right: 12%; width: 18px; height: 18px; animation-delay: 0.7s; }
.sparkle.s3 { top: 55%; left: 4%; width: 16px; height: 16px; animation-delay: 1.4s; }
.sparkle.s4 { bottom: 12%; right: 8%; width: 28px; height: 28px; animation-delay: 2s; fill: var(--white); }
.sparkle.s5 { top: 42%; right: 30%; width: 14px; height: 14px; animation-delay: 2.6s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(15deg); }
}

.hero__content { position: relative; z-index: 2; max-width: 620px; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--white); }
.hero__title .outline {
  -webkit-text-stroke: 2px var(--white);
  color: var(--blue-900);
}
.hero__twist {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--blue-400);
  margin-top: 14px;
}
.hero__sub {
  margin-top: 22px;
  font-size: 1.05rem;
  max-width: 540px;
  color: var(--cream);
  opacity: 0.92;
}
.hero__sub strong { color: var(--white); }

.hero__actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.hero__ca {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  padding: 10px 10px 10px 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.hero__ca-label { color: var(--blue-400); font-weight: 700; }
.hero__ca-value {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
}
.hero__launchpad {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--blue-100);
  opacity: 0.85;
}
.hero__launchpad a { color: var(--blue-400); text-decoration: underline; text-underline-offset: 3px; }
.hero__launchpad a:hover { color: var(--white); }
.copy-btn {
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 700;
}
.copy-btn:hover { background: var(--blue-400); color: var(--white); }

.hero__coin { position: relative; z-index: 2; display: flex; justify-content: center; }
.coin { width: min(420px, 90%); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.coin__svg { width: 100%; height: auto; }
.coin__ring-outer { fill: var(--blue-900); stroke: var(--white); stroke-width: 3; }
.coin__ring-inner { fill: var(--blue-600); stroke: var(--blue-400); stroke-width: 1.5; }
.coin__globe { color: var(--cream); }
.coin__orbit { stroke: var(--blue-400); }
.coin__label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  fill: var(--cream);
  text-transform: uppercase;
}

/* ---------- Ticker Ribbon ---------- */
.ribbon {
  background: repeating-linear-gradient(-45deg, var(--blue-600) 0px, var(--blue-600) 40px, var(--black) 40px, var(--black) 80px);
  overflow: hidden;
  border-top: var(--border-thick) solid var(--black);
  border-bottom: var(--border-thick) solid var(--black);
  transform: rotate(-1.4deg) scale(1.03);
}
.ribbon__track {
  display: flex;
  width: max-content;
  animation: scroll 26s linear infinite;
  padding: 14px 0;
}
.ribbon__track span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding-right: 8px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Lore ---------- */
.lore { padding: 100px 24px; max-width: 1000px; margin: 0 auto; }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.quote-card {
  background: var(--blue-100);
  border-left: 6px solid var(--blue-500);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 28px 30px;
}
.quote-card p { font-size: 1.02rem; }
.quote-card cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-style: normal;
  color: var(--blue-700);
}
.hl { background: var(--blue-500); color: var(--white); padding: 0 6px; border-radius: 4px; }

/* ---------- Tweet card ---------- */
.quote-card--tweet {
  display: block;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.quote-card--tweet:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--blue-500);
}
.tweet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.tweet-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--white);
  flex-shrink: 0;
}
.tweet-who { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.tweet-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--blue-900);
  font-size: 0.95rem;
}
.tweet-check { width: 15px; height: 15px; color: var(--blue-500); flex-shrink: 0; }
.tweet-handle { font-family: var(--font-mono); font-size: 0.8rem; color: var(--blue-700); opacity: 0.75; }
.tweet-x, .tweet-link-icon { width: 18px; height: 18px; color: var(--blue-900); opacity: 0.6; flex-shrink: 0; }
.quote-card--tweet cite { color: var(--blue-500); font-weight: 700; }

.lore__pivot {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--blue-700);
  margin: 40px 0;
}

.quote-card--feature {
  background: var(--blue-900);
  color: var(--white);
  border-left: none;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  font-size: 1.15rem;
}
.quote-card--feature .hl { background: var(--white); color: var(--blue-900); }
.quote-card--feature cite { color: var(--blue-400); }

.lore__translation {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 1.05rem;
  color: #333;
}
.lore__callout {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-top: 44px;
  color: var(--blue-600);
}
.lore__launchpad {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #555;
  margin-top: 20px;
}
.lore__launchpad a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.lore__launchpad a:hover { color: var(--blue-500); }

/* ---------- Token ---------- */
.token { background: var(--black); color: var(--white); padding: 100px 24px; }
.token .eyebrow--dark { color: var(--blue-400); }
.token .section-head h2 { color: var(--white); }
.token__grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.token__stat {
  background: var(--blue-600);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.token__number {
  font-family: var(--font-display);
  font-size: 5rem;
  display: block;
  color: var(--white);
  -webkit-text-stroke: 1px var(--blue-900);
}
.token__stat p { margin-top: 16px; font-size: 0.98rem; color: var(--blue-100); }
.token__stat strong { color: var(--white); }

.token__list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.token__list li {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
  display: flex;
  gap: 10px;
}
.token__list li span { color: var(--blue-400); }

.token__note {
  text-align: center;
  max-width: 600px;
  margin: 40px auto 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Roadmap ---------- */
.roadmap { background: var(--blue-100); padding: 100px 24px; }
.roadmap .section-head h2 { color: var(--blue-900); }
.phases {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.phase {
  background: var(--white);
  border: var(--border-thick) solid var(--black);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
}
.phase__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--blue-400);
  -webkit-text-stroke: 1px var(--blue-900);
  display: block;
}
.phase h3 { font-size: 1.15rem; margin: 10px 0 10px; }
.phase p { font-size: 0.88rem; color: #333; }

/* ---------- Community ---------- */
.community { padding: 100px 24px; }
.community__card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--blue-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
}
.community__card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.community__card p { max-width: 620px; margin: 22px auto 0; color: var(--blue-100); font-size: 1.02rem; }
.community__actions { display: flex; justify-content: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding: 56px 24px 28px; }
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer__tag { font-family: var(--font-mono); font-size: 0.85rem; color: var(--blue-400); }
.footer__links { display: flex; gap: 24px; font-family: var(--font-mono); font-size: 0.85rem; }
.footer__links a { opacity: 0.75; }
.footer__links a:hover { opacity: 1; }
.footer__socials { display: flex; gap: 14px; }
.footer__socials a {
  width: 36px; height: 36px;
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.footer__disclaimer {
  max-width: 1100px;
  margin: 24px auto 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 130px; }
  .hero__content { max-width: 100%; }
  .hero__actions, .hero__ca { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__coin { order: -1; }
  .coin { width: min(280px, 70%); }

  .quote-grid { grid-template-columns: 1fr; }
  .token__grid { grid-template-columns: 1fr; }
  .phases { grid-template-columns: repeat(2, 1fr); }

  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.nav--open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    padding: 20px 24px;
    gap: 18px;
    border-bottom: var(--border-thick) solid var(--blue-500);
  }
}

@media (max-width: 560px) {
  .phases { grid-template-columns: 1fr; }
}
