:root {
  --bg: #03040a;
  --bg-card: #0a0c14;
  --cyan: #4fc3f7;
  --green: #34d399;
  --purple: #a78bfa;
  --text: #f4f4f5;
  --muted: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --font-display: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ── Header ── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s;
}

.header.scrolled {
  background: rgba(3, 4, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.nav a:hover {
  color: #fff;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #03040a url("../images/image1.png") center center / cover no-repeat;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 4, 10, 0.15) 0%,
    rgba(3, 4, 10, 0.05) 35%,
    rgba(3, 4, 10, 0.55) 75%,
    rgba(3, 4, 10, 0.92) 100%
  );
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 50% at 50% 100%, rgba(79, 195, 247, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-logo-wrap {
  display: none;
}

.hero-content {
  text-align: center;
  max-width: 640px;
  padding: 0 1rem 0.5rem;
}

.hero-content h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-content .tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 1.25rem;
  font-weight: 300;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

.hero-mission {
  display: none;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #38bdf8);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 195, 247, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ── Ticker ── */
.ticker {
  border-top: 1px solid rgba(79, 195, 247, 0.15);
  border-bottom: 1px solid rgba(79, 195, 247, 0.15);
  background: rgba(79, 195, 247, 0.04);
  padding: 0.6rem 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.ticker-track span {
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 0 2rem;
  white-space: nowrap;
}

.ticker-track .dot {
  color: rgba(79, 195, 247, 0.4);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Sections ── */
section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
}

.section-label {
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: "";
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.section-title .outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.85);
}

.section-desc {
  color: var(--muted);
  max-width: 560px;
  font-weight: 300;
  font-size: 1rem;
}

/* ── Vision ── */
.vision {
  background: linear-gradient(180deg, var(--bg) 0%, #050810 100%);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.vision-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: 4px;
}

.stat-card .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
  display: block;
}

.stat-card .label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

.vision-text p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

/* ── Tickets ── */
.tickets {
  background: #050810;
  border-top: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.step-card:hover {
  border-color: rgba(79, 195, 247, 0.35);
  transform: translateY(-4px);
}

.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: var(--cyan);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
}

/* ── Contract ── */
.contract-box {
  margin-top: 3rem;
  background: var(--bg-card);
  border: 1px solid rgba(79, 195, 247, 0.25);
  padding: 2rem;
  border-radius: 4px;
  text-align: center;
  max-width: 720px;
}

.contract-box label {
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.contract-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contract-row code {
  font-family: monospace;
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  color: #fff;
  word-break: break-all;
  flex: 1;
  min-width: 200px;
}

.contract-note {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Tokenomics ── */
.tokenomics {
  background: #050810;
  border-top: 1px solid var(--border);
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.token-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.token-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.token-row .key {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.token-row .key::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.token-row .val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.token-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.badge {
  font-family: monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--muted);
}

.badge.green { border-color: rgba(52, 211, 153, 0.4); color: var(--green); }

.token-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.orbit-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(135deg, var(--cyan), var(--green), var(--purple)) border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 60px rgba(79, 195, 247, 0.15);
}

.orbit-ring strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: block;
}

.orbit-ring span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Journey grid ── */
.journey {
  background: #03040a;
  border-top: 1px solid var(--border);
}

.journey-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.journey-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.35s, border-color 0.3s, box-shadow 0.3s;
}

.journey-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 195, 247, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.journey-card .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65) saturate(1.1);
  transition: transform 0.5s;
}

.journey-card:hover .bg {
  transform: scale(1.05);
}

.journey-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.journey-card .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  padding: 4px 8px;
  border: 1px solid;
  text-transform: uppercase;
  z-index: 2;
}

.journey-card .body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 2;
}

.journey-card .body h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.journey-card .body p {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
}

.journey-card .num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  z-index: 1;
}

/* ── Community ── */
.community {
  border-top: 1px solid var(--border);
}

.contact {
  background: linear-gradient(180deg, var(--bg) 0%, #050810 100%);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 4px;
  transition: border-color 0.3s;
  position: relative;
}

.community-card::before,
.community-card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(255, 255, 255, 0.15);
  border-style: solid;
}

.community-card::before {
  top: 8px;
  left: 8px;
  border-width: 1px 0 0 1px;
}

.community-card::after {
  bottom: 8px;
  right: 8px;
  border-width: 0 1px 1px 0;
}

.community-card:hover {
  border-color: rgba(79, 195, 247, 0.3);
}

.community-card .status {
  font-family: monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--green);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.community-card .status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.community-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.community-card p {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 4px;
}

.contact-card .label {
  font-family: monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.contact-card .value {
  font-family: monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.contact-card a.open {
  margin-top: 1rem;
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 280px;
  margin-top: 1rem;
  font-weight: 300;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  list-style: none;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: rgba(3, 4, 10, 0.9);
  color: #fff;
  cursor: pointer;
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 90;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 64px 0 0;
    background: rgba(3, 4, 10, 0.98);
    padding: 2rem;
    gap: 1.5rem;
  }
  .menu-btn { display: block; }
  .hero-bg {
    background-position: 65% center;
  }
  .hero-content .tagline {
    font-size: 0.85rem;
  }
  .vision-grid,
  .tokenomics-grid { grid-template-columns: 1fr; }
  .steps,
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid { grid-template-columns: 1fr; }
  .vision-stats { grid-template-columns: 1fr; }
}

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