:root {
  --bg: #07050d;
  --bg2: #0c1020;
  --text: #f6f1ff;
  --muted: #aaa4bd;
  --pink: #f318ff;
  --pink2: #a700ff;
  --cyan: #11f5ef;
  --cyan2: #00a8ff;
  --line: rgba(255,255,255,.10);
  --panel: rgba(12, 11, 25, .72);
  --shadow-pink: 0 0 35px rgba(243,24,255,.35);
  --shadow-cyan: 0 0 35px rgba(17,245,239,.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(113, 21, 156, .27), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(0, 185, 255, .18), transparent 30%),
    linear-gradient(180deg, #08050e 0%, #090b15 52%, #07050d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .055;
  z-index: 80;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 79;
  opacity: .16;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255,255,255,.025) 4px);
  mix-blend-mode: overlay;
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 380px;
  height: 380px;
  left: -190px;
  top: -190px;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,229,255,.09), rgba(242,27,255,.045) 38%, transparent 70%);
  filter: blur(4px);
  transform: translate3d(0,0,0);
}

.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; width: 38vw; aspect-ratio: 1; border-radius: 50%; filter: blur(85px); opacity: .12; animation: drift 14s ease-in-out infinite alternate; }
.orb-a { background: var(--pink); left: -14vw; top: 8vh; }
.orb-b { background: var(--cyan); right: -15vw; top: 28vh; animation-delay: -5s; }
.orb-c { background: #6924ff; left: 38vw; bottom: -28vw; animation-delay: -9s; }

@keyframes drift { to { transform: translate(8vw, 6vh) scale(1.15); } }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 4vw;
  background: rgba(6, 5, 12, .58);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; width: max-content; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .04em; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }

.nav { display: flex; gap: 30px; font-size: 12px; font-weight: 800; letter-spacing: .17em; color: #cac4d6; }
.nav a { transition: color .2s ease, text-shadow .2s ease; }
.nav a:hover { color: white; text-shadow: 0 0 14px var(--pink); }
.status { justify-self: end; color: #b8fefb; font-size: 11px; font-weight: 900; letter-spacing: .13em; border: 1px solid rgba(17,245,239,.22); background: rgba(17,245,239,.06); padding: 9px 11px; border-radius: 999px; }
.status i { display: inline-block; width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; margin-right: 7px; box-shadow: 0 0 12px var(--cyan); }

main, footer, .topbar { position: relative; z-index: 2; }
.section-pad { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  min-height: 100svh;
  padding-top: 130px;
  padding-bottom: 78px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: clamp(35px, 5vw, 82px);
}

.eyebrow, .section-kicker { font-size: 11px; letter-spacing: .23em; font-weight: 900; color: var(--cyan); text-shadow: 0 0 14px rgba(17,245,239,.45); }
.hero h1 { margin: 12px 0 12px; font-size: clamp(72px, 10vw, 150px); line-height: .78; letter-spacing: -.075em; font-weight: 1000; text-transform: uppercase; }
.glitch { position: relative; display: block; color: #fff; text-shadow: -4px 0 0 rgba(243,24,255,.75), 4px 0 0 rgba(17,245,239,.6), 0 0 30px rgba(255,255,255,.12); animation: titleFlicker 6s infinite; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: .45; overflow: hidden; pointer-events: none; }
.glitch::before { transform: translate(2px,-1px); color: var(--cyan); clip-path: inset(8% 0 62% 0); animation: glitchA 2.4s steps(2,end) infinite; }
.glitch::after { transform: translate(-3px,1px); color: var(--pink); clip-path: inset(61% 0 16% 0); animation: glitchB 2s steps(2,end) infinite; }
.cat-word { display: block; width: max-content; color: transparent; -webkit-text-stroke: 2px #fff; text-shadow: 0 0 22px rgba(243,24,255,.45), 0 0 36px rgba(17,245,239,.22); }
@keyframes titleFlicker { 0%, 91%, 94%, 100% { opacity: 1; } 92% { opacity: .68; } 93% { opacity: .9; } }
@keyframes glitchA { 0%,78%,100% { transform: translate(2px,-1px); } 80% { transform: translate(-7px,2px); } 84% { transform: translate(6px,-2px); } }
@keyframes glitchB { 0%,70%,100% { transform: translate(-3px,1px); } 73% { transform: translate(8px,-1px); } 76% { transform: translate(-8px,2px); } }

.hero-sub { max-width: 630px; color: #bbb5c8; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.55; margin: 28px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.btn {
  min-width: 128px;
  text-align: center;
  padding: 15px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .13em;
  background: rgba(255,255,255,.055);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn::before { content: ""; position: absolute; inset: 0; transform: translateX(-110%); background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent); transition: transform .4s ease; }
.btn:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.5); }
.btn:hover::before { transform: translateX(110%); }
.btn-pump { box-shadow: inset 0 0 0 1px rgba(243,24,255,.15), 0 0 24px rgba(243,24,255,.11); }
.btn-dex { box-shadow: inset 0 0 0 1px rgba(17,245,239,.15), 0 0 24px rgba(17,245,239,.09); }
.btn-twitter { background: linear-gradient(135deg, rgba(243,24,255,.15), rgba(17,245,239,.12)); }

.ca-box {
  width: min(630px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.11);
  padding: 13px 13px 13px 16px;
  background: rgba(255,255,255,.035);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.ca-box:hover { border-color: rgba(17,245,239,.42); background: rgba(17,245,239,.04); }
.ca-box > div { min-width: 0; }
.ca-label { display: block; color: #7f7991; font-size: 9px; font-weight: 900; letter-spacing: .18em; margin-bottom: 4px; }
.ca-box code { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #e7e3ef; font-size: 12px; }
.ca-box button { flex: 0 0 auto; color: #05080a; background: var(--cyan); border: 0; padding: 10px 12px; border-radius: 9px; font-weight: 950; cursor: pointer; box-shadow: 0 0 18px rgba(17,245,239,.2); }
.tiny-note { color: #6e687a; margin-top: 10px; font-size: 11px; }

.hero-visual { position: relative; min-width: 0; }
.image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.15);
  background: #0c0814;
  border-radius: 26px;
  padding: 10px;
  box-shadow: var(--shadow-pink), var(--shadow-cyan), inset 0 0 0 1px rgba(255,255,255,.05);
  transform-style: preserve-3d;
  transition: transform .15s linear;
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(130deg, var(--pink), transparent 32%, transparent 64%, var(--cyan));
  filter: blur(11px);
  opacity: .6;
}
.image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.frame-label { position: absolute; z-index: 4; top: 22px; left: 24px; padding: 7px 9px; font-size: 9px; letter-spacing: .14em; font-weight: 900; border: 1px solid rgba(255,255,255,.16); background: rgba(6,4,11,.58); backdrop-filter: blur(8px); border-radius: 6px; }
.frame-scan { position: absolute; z-index: 3; left: 10px; right: 10px; height: 2px; top: 14%; background: linear-gradient(90deg, transparent, rgba(17,245,239,.8), rgba(243,24,255,.8), transparent); filter: blur(.3px); opacity: .75; animation: scan 4.5s linear infinite; }
@keyframes scan { 0% { top: 14%; opacity: 0; } 8% { opacity: .8; } 90% { opacity: .55; } 100% { top: 88%; opacity: 0; } }
.corner { position: absolute; width: 18px; height: 18px; border-color: rgba(255,255,255,.8); z-index: 5; }
.corner-tl { top: 18px; left: 18px; border-top: 2px solid; border-left: 2px solid; }
.corner-tr { top: 18px; right: 18px; border-top: 2px solid; border-right: 2px solid; }
.corner-bl { bottom: 18px; left: 18px; border-bottom: 2px solid; border-left: 2px solid; }
.corner-br { bottom: 18px; right: 18px; border-bottom: 2px solid; border-right: 2px solid; }

.floating-chip { position: absolute; z-index: 7; padding: 9px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(6,5,12,.78); backdrop-filter: blur(9px); font-size: 9px; font-weight: 950; letter-spacing: .12em; box-shadow: 0 0 20px rgba(0,0,0,.4); animation: floaty 3.2s ease-in-out infinite; }
.chip-1 { left: -26px; top: 19%; color: #ff8fff; }
.chip-2 { right: -20px; top: 48%; color: #7cfff8; animation-delay: -.8s; }
.chip-3 { left: 8%; bottom: -15px; animation-delay: -1.7s; }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(-1deg); } }

.ticker-wrap { overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(90deg, rgba(243,24,255,.09), rgba(17,245,239,.06)); transform: rotate(-1deg) scale(1.015); }
.ticker { width: max-content; display: flex; align-items: center; gap: 28px; padding: 13px 0; animation: marquee 25s linear infinite; font-size: 11px; font-weight: 950; letter-spacing: .17em; }
.ticker b { color: var(--pink); text-shadow: 0 0 12px var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

.lore, .protocol, .terminal, .chart { padding-top: 130px; padding-bottom: 45px; }
.split { margin-top: 18px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.split h2, .center-title, .chart h2 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: .98; letter-spacing: -.045em; }
.split h2 span { color: var(--cyan); text-shadow: 0 0 24px rgba(17,245,239,.24); }
.lore-copy { color: #aaa5b6; font-size: 18px; line-height: 1.75; }
.lore-copy p:first-child { margin-top: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 70px; }
.stat-card { min-height: 190px; border: 1px solid rgba(255,255,255,.09); background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border-radius: 18px; padding: 24px; position: relative; overflow: hidden; }
.stat-card::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; right: -60px; top: -60px; background: var(--pink); filter: blur(45px); opacity: .13; }
.stat-card:nth-child(even)::after { background: var(--cyan); }
.stat-card span { font-size: clamp(42px, 5vw, 72px); font-weight: 1000; letter-spacing: -.06em; }
.stat-card p { color: #8f899c; line-height: 1.4; margin: 14px 0 0; font-size: 13px; }

.center-title { margin-top: 14px; max-width: 800px; }
.steps { margin-top: 55px; border-top: 1px solid rgba(255,255,255,.1); }
.step { display: grid; grid-template-columns: 120px 1fr; gap: 15px; align-items: start; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.1); transition: padding-left .25s ease, background .25s ease; }
.step:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(243,24,255,.055), transparent); }
.step-num { color: #605a70; font-size: 12px; font-weight: 900; letter-spacing: .15em; padding-top: 7px; }
.step h3 { margin: 0; font-size: clamp(24px, 4vw, 48px); letter-spacing: -.03em; }
.step p { margin: 8px 0 0; color: #918b9d; font-size: 15px; }

.terminal-box { border: 1px solid rgba(17,245,239,.22); background: rgba(3, 8, 12, .76); border-radius: 20px; overflow: hidden; box-shadow: 0 0 45px rgba(17,245,239,.07); }
.terminal-head { height: 46px; display: flex; gap: 7px; align-items: center; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.03); }
.terminal-head b { margin-left: auto; color: #6d8290; font-size: 10px; letter-spacing: .14em; }
.terminal-dot { width: 8px; height: 8px; border-radius: 50%; background: #443b4d; }
.terminal-dot:nth-child(1) { background: #ff4c9e; }
.terminal-dot:nth-child(2) { background: #bb43ff; }
.terminal-dot:nth-child(3) { background: #27e7df; }
.terminal-body { min-height: 260px; padding: 24px; color: #7bfaf3; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.8; white-space: pre-wrap; text-shadow: 0 0 10px rgba(17,245,239,.26); }

.chart-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.chart h2 { margin-top: 14px; }
.chart-badge { flex: 0 0 auto; font-size: 10px; font-weight: 900; letter-spacing: .14em; color: #a9a2b7; border: 1px solid rgba(255,255,255,.1); padding: 10px 13px; border-radius: 999px; }
.chart-badge span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); margin-right: 7px; box-shadow: 0 0 12px var(--pink); }
.chart-shell { margin-top: 34px; min-height: 620px; position: relative; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; overflow: hidden; background: #08070c; box-shadow: 0 0 55px rgba(243,24,255,.06); }
.chart-shell iframe { display: block; width: 100%; min-height: 620px; border: 0; background: #08070c; }
.chart-placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 20px; background: radial-gradient(circle at center, rgba(17,245,239,.06), transparent 34%), #08070c; }
.chart-placeholder.hidden { display: none; }
.chart-placeholder h3 { margin: 20px 0 6px; font-size: 18px; letter-spacing: .05em; }
.chart-placeholder p { color: #888294; margin: 0; }
.radar { width: 150px; aspect-ratio: 1; margin: 0 auto; border: 1px solid rgba(17,245,239,.2); border-radius: 50%; position: relative; background: repeating-radial-gradient(circle, transparent 0 22px, rgba(17,245,239,.08) 23px 24px); overflow: hidden; }
.radar::after { content: ""; position: absolute; inset: 50% 0 0 50%; transform-origin: left top; background: conic-gradient(from -25deg, rgba(17,245,239,.3), transparent 22%); animation: radar 2.3s linear infinite; }
@keyframes radar { to { transform: rotate(360deg); } }

.final-cta { padding-top: 135px; padding-bottom: 140px; text-align: center; }
.final-cta p { margin: 0 0 8px; font-size: 11px; font-weight: 950; letter-spacing: .25em; color: var(--pink); }
.final-cta h2 { margin: 0 auto 32px; font-size: clamp(46px, 7vw, 100px); line-height: .9; letter-spacing: -.06em; max-width: 900px; }
.back-top { display: inline-flex; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 4px; color: #c8c3d1; font-size: 12px; font-weight: 900; letter-spacing: .12em; }

footer { min-height: 80px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.07); color: #5e5968; font-size: 9px; font-weight: 900; letter-spacing: .13em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.8,.2,1); transition-delay: var(--delay, 0ms); }
.reveal.in { opacity: 1; transform: translateY(0); }

::selection { background: rgba(243,24,255,.7); color: white; }

@media (max-width: 930px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; width: min(650px, 100%); margin: 12px auto 0; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .section-pad { width: min(100% - 26px, 1180px); }
  .topbar { min-height: 62px; padding: 0 16px; }
  .status { display: none; }
  .hero { padding-top: 104px; gap: 44px; }
  .hero h1 { font-size: clamp(72px, 26vw, 118px); }
  .hero-sub { font-size: 16px; }
  .cta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .btn { min-width: 0; padding: 13px 8px; font-size: 11px; }
  .ca-box { align-items: stretch; }
  .ca-box button { padding-inline: 12px; }
  .floating-chip { font-size: 7px; }
  .chip-1 { left: -4px; }
  .chip-2 { right: -3px; }
  .stat-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; }
  .chart-head { align-items: start; flex-direction: column; }
  .chart-shell, .chart-shell iframe { min-height: 520px; }
  footer { flex-direction: column; justify-content: center; text-align: center; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
