*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #070b14;
  --card: rgba(148, 180, 255, 0.055);
  --card-border: rgba(148, 180, 255, 0.14);
  --text: #e8edf7;
  --muted: #8b96ad;
  --teal: #2dd4bf;
  --teal-deep: #0d9488;
  --violet: #a78bfa;
  --violet-deep: #7c3aed;
  --radius: 22px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { color: #04211d; background: var(--teal); }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { color: inherit; border: 0; background: none; font: inherit; cursor: pointer; }

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(13, 148, 136, 0.22), transparent 60%),
    radial-gradient(50% 45% at 90% 10%, rgba(124, 58, 237, 0.2), transparent 60%),
    radial-gradient(45% 40% at 50% 100%, rgba(45, 212, 191, 0.1), transparent 60%),
    var(--bg);
}
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(232, 237, 247, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 100%);
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 100%);
}
.blob {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(90px);
  pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob.b1 { width: 520px; height: 520px; left: -160px; top: -120px; background: #0d9488; }
.blob.b2 { width: 460px; height: 460px; right: -140px; top: 120px; background: #6d28d9; animation-delay: -8s; }
.blob.b3 { width: 380px; height: 380px; left: 32%; bottom: -180px; background: #155e75; animation-delay: -14s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }
#fireworksCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.82;
  pointer-events: none;
}
header, main, footer { position: relative; z-index: 1; }

nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(148, 180, 255, 0.1);
  background: rgba(7, 11, 20, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1180px; margin: auto; padding: 14px 22px; }
.logo { display: flex; align-items: center; gap: 11px; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(140deg, var(--teal-deep), var(--violet-deep));
  box-shadow: 0 6px 22px rgba(13, 148, 136, 0.45);
  font-size: 0.95rem;
}
.accent { color: var(--teal); }
.nav-links { display: none; align-items: center; gap: 30px; color: #c3cbdc; font-size: 0.9rem; font-weight: 500; }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--teal); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.language-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--card-border); border-radius: 999px; background: rgba(7, 11, 20, 0.62); }
.language-switch button { min-width: 36px; padding: 6px 9px; border-radius: 999px; color: #9ba7bd; font-size: 0.72rem; font-weight: 800; line-height: 1; transition: color 0.2s, background 0.2s, box-shadow 0.2s; }
.language-switch button:hover { color: var(--teal); }
.language-switch button.active { color: #04211d; background: var(--teal); box-shadow: 0 3px 12px rgba(45, 212, 191, 0.3); }
.burger { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--card-border); border-radius: 13px; background: var(--card); }
#mobileMenu { display: none; padding: 14px 22px 20px; border-top: 1px solid rgba(148, 180, 255, 0.1); background: rgba(7, 11, 20, 0.97); }
#mobileMenu a { display: block; padding: 12px 4px; border-bottom: 1px solid rgba(148, 180, 255, 0.06); color: #c3cbdc; font-size: 0.95rem; }
#mobileMenu a:hover { color: var(--teal); }

.wrap { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
section { padding: 96px 0; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--teal); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.eyebrow.vio { color: var(--violet); }
h1 { font-size: clamp(2.3rem, 6.5vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.grad-text { color: var(--teal); background: linear-gradient(120deg, var(--teal) 10%, var(--violet) 90%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sub { max-width: 620px; color: var(--muted); font-size: 1.05rem; }
.center { text-align: center; }
.center .sub { margin: 16px auto 0; }
.card { border: 1px solid var(--card-border); border-radius: var(--radius); background: var(--card); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color 0.25s, transform 0.25s; }
.card:hover { transform: translateY(-3px); border-color: rgba(45, 212, 191, 0.45); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.show { opacity: 1; transform: none; }

.hero { position: relative; padding: 170px 0 90px; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; padding: 8px 18px; border: 1px solid rgba(45, 212, 191, 0.35); border-radius: 999px; color: #7ee8db; background: var(--card); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55); } 70% { box-shadow: 0 0 0 12px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }
.hero h1 { max-width: 880px; margin: auto; }
.hero-sub { margin: 26px auto 0; }
.breath { position: absolute; left: 50%; top: 110px; z-index: -1; width: 560px; height: 560px; max-width: 100vw; transform: translateX(-50%); pointer-events: none; }
.breath span { position: absolute; inset: 0; border: 1px solid rgba(45, 212, 191, 0.16); border-radius: 50%; animation: breathe 7s ease-in-out infinite; }
.breath span:nth-child(2) { border-color: rgba(167, 139, 250, 0.13); animation-delay: 1.1s; }
.breath span:nth-child(3) { border-color: rgba(45, 212, 191, 0.09); animation-delay: 2.2s; }
@keyframes breathe { 0%, 100% { opacity: 0.5; transform: scale(0.82); } 50% { opacity: 1; transform: scale(1.06); } }
.hero-ctas { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; }
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 38px; border-radius: 999px; font-size: 1.05rem; transition: 0.2s; }
.btn-primary { color: #04211d; background: linear-gradient(120deg, #34e3cd, #2dd4bf); box-shadow: 0 10px 34px rgba(45, 212, 191, 0.35); font-weight: 800; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(45, 212, 191, 0.5); }
.btn-ghost { color: #fff; border: 1px solid var(--card-border); background: var(--card); font-weight: 600; }
.btn-ghost:hover { background: rgba(148, 180, 255, 0.1); }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 960px; margin: 76px auto 0; }
.metric { padding: 26px 18px; text-align: center; }
.metric .num { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.metric:nth-child(odd) .num { color: var(--teal); }
.metric:nth-child(even) .num { color: var(--violet); }
.metric .lbl { margin-top: 6px; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }

.cards3 { display: grid; gap: 22px; margin-top: 56px; }
.feature { padding: 34px 28px; }
.ficon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 17px; }
.ficon.teal { color: var(--teal); background: rgba(45, 212, 191, 0.12); }
.ficon.vio { color: var(--violet); background: rgba(167, 139, 250, 0.12); }
.feature h3 { margin-bottom: 10px; font-size: 1.2rem; }
.feature p { color: var(--muted); font-size: 0.92rem; }
.feature strong { color: var(--teal); }

.token-wrap { max-width: 900px; }
.supply-card { margin-top: 52px; padding: 44px 28px; border-color: rgba(45, 212, 191, 0.3); background: linear-gradient(160deg, rgba(45, 212, 191, 0.08), rgba(124, 58, 237, 0.07)); text-align: center; }
.supply-card .lbl { color: #7ee8db; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; }
.supply-card .num { margin-top: 10px; font-size: clamp(2rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
.split { margin-top: 38px; }
.sub-split { margin-top: 6px; }
.split-label { margin-bottom: 16px; color: var(--muted); font-size: 0.88rem; text-align: center; }
.bar { display: flex; width: 100%; height: 58px; overflow: hidden; border: 1px solid rgba(148, 180, 255, 0.12); border-radius: 18px; font-size: 0.95rem; font-weight: 800; }
.bar > div { display: flex; align-items: center; justify-content: center; transform-origin: left; animation: grow 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.seg-team { width: 5%; min-width: 66px; color: #fff; background: linear-gradient(120deg, #7c3aed, #a78bfa); }
.seg-comm { width: 95%; color: #04211d; background: linear-gradient(120deg, #0d9488, #2dd4bf); animation-delay: 0.15s !important; }
.seg-ico { width: 30%; color: #2d1a00; background: linear-gradient(120deg, #f59e0b, #fbbf24); }
.seg-rew { width: 70%; color: #04202e; background: linear-gradient(120deg, #0284c7, #38bdf8); animation-delay: 0.15s !important; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.legend .card { padding: 18px 20px; font-size: 0.9rem; }
.legend .card:hover { transform: none; }
.dot { display: inline-block; width: 11px; height: 11px; margin-right: 9px; border-radius: 50%; vertical-align: -1px; }
.dot.vio { background: #a78bfa; } .dot.teal { background: #2dd4bf; } .dot.amber { background: #fbbf24; } .dot.sky { background: #38bdf8; }
.legend .amt { margin-top: 4px; color: var(--muted); font-size: 0.85rem; }
.arrow-down { display: flex; justify-content: center; margin: 26px 0 2px; color: var(--muted); }

.phases { display: grid; gap: 20px; margin-top: 56px; }
.phase { position: relative; padding: 28px 24px; }
.ptag { display: inline-block; margin-bottom: 16px; padding: 5px 14px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.ptag.t { color: var(--teal); background: rgba(45, 212, 191, 0.12); }
.ptag.v { color: var(--violet); background: rgba(167, 139, 250, 0.12); }
.phase h3 { font-size: 1.08rem; }
.phase p { margin-top: 8px; color: var(--muted); font-size: 0.87rem; }

footer { padding: 34px 0; color: #6b7690; font-size: 0.78rem; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.foot a { transition: color 0.2s; }
.foot a:hover { color: #c3cbdc; }

@media (min-width: 640px) { .hero-ctas { flex-direction: row; justify-content: center; } }
@media (min-width: 700px) { .foot { flex-direction: row; justify-content: space-between; } }
@media (min-width: 860px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .cards3 { grid-template-columns: repeat(3, 1fr); }
  .phases { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  section { padding: 72px 0; }
  .hero { padding-top: 140px; }
  .metrics, .legend { grid-template-columns: 1fr; }
  .bar { font-size: 0.82rem; }
  .logo { font-size: 0.95rem; }
  .logo-mark { width: 36px; height: 36px; }
  .nav-inner { padding-inline: 12px; }
  .nav-right { gap: 6px; }
  .language-switch button { min-width: 31px; padding: 6px; font-size: 0.66rem; }
}
@media (max-width: 410px) {
  .logo > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
