/*
  MOND Token Animated Smooth Landing Page
  Files: index.html + assets/style.css + assets/script.js
  Focus: same premium animations, but optimized for smooth scrolling.
  Performance approach: transform/opacity animations, requestAnimationFrame JS, no heavy animation CDN.
*/

:root {
  --bg: #02030b;
  --bg-2: #060b20;
  --panel: rgba(10, 18, 46, 0.64);
  --panel-2: rgba(17, 28, 72, 0.72);
  --line: rgba(83, 226, 255, 0.22);
  --line-strong: rgba(83, 226, 255, 0.48);
  --text: #f6f9ff;
  --muted: #aab8de;
  --cyan: #17e7ff;
  --blue: #297bff;
  --purple: #9d48ff;
  --pink: #f33dff;
  --gold: #fff0a7;
  --radius: 26px;
  --font-main: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-tech: 'Rajdhani', system-ui, sans-serif;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

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

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.7;
  background:
    radial-gradient(circle at 16% 12%, rgba(23, 231, 255, 0.18), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(157, 72, 255, 0.20), transparent 28%),
    radial-gradient(circle at 50% 110%, rgba(243, 61, 255, 0.13), transparent 32%),
    linear-gradient(135deg, #02030b 0%, #06102a 48%, #090219 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

/* ------------------------- Animated background ------------------------- */
#nodeCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 231, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 72, 255, 0.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 72%);
  animation: gridDrift 22s linear infinite;
}

.scan-line {
  position: fixed;
  inset: -30% 0 auto 0;
  height: 34%;
  z-index: -3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(23, 231, 255, 0.08), transparent);
  transform: translateY(-60%);
  animation: scanMove 8s ease-in-out infinite;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(23, 231, 255, 0.17), transparent 62%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 220ms ease;
  will-change: transform;
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.34;
  z-index: -2;
  pointer-events: none;
  will-change: transform;
}

.blob-cyan {
  width: 330px;
  height: 330px;
  left: -120px;
  top: 18%;
  background: var(--cyan);
  animation: blobFloatA 13s ease-in-out infinite;
}

.blob-purple {
  width: 360px;
  height: 360px;
  right: -140px;
  top: 26%;
  background: var(--purple);
  animation: blobFloatB 15s ease-in-out infinite;
}

.blob-pink {
  width: 300px;
  height: 300px;
  left: 44%;
  bottom: -140px;
  background: var(--pink);
  animation: blobFloatC 16s ease-in-out infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 76px 76px, 76px 76px; }
}

@keyframes scanMove {
  0%, 100% { transform: translateY(-70%); opacity: 0; }
  12%, 84% { opacity: 0.85; }
  50% { transform: translateY(430%); opacity: 0.55; }
}

@keyframes blobFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(42px, -36px, 0) scale(1.06); }
}

@keyframes blobFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-50px, 44px, 0) scale(1.08); }
}

@keyframes blobFloatC {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(34px, -46px, 0) scale(1.04); }
}

/* ------------------------- Header ------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  padding: 16px 0;
  transition: padding 240ms ease, background 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(2, 4, 16, 0.82);
  border-bottom: 1px solid rgba(23, 231, 255, 0.16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}

.brand-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
}

.brand-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(23, 231, 255, 0.4);
  box-shadow: 0 0 18px rgba(23, 231, 255, 0.28);
  animation: logoPulse 2.6s ease-in-out infinite;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(23, 231, 255, 0.58));
}

.brand b {
  color: var(--cyan);
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.12); opacity: 1; }
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(83, 226, 255, 0.15);
  border-radius: 999px;
  background: rgba(7, 14, 36, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  overflow: hidden;
  transition: color 190ms ease, background 190ms ease, box-shadow 190ms ease, transform 190ms ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: translateX(-120%);
  transition: transform 460ms ease;
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: translateX(120%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(23, 231, 255, 0.10);
  box-shadow: inset 0 0 0 1px rgba(23, 231, 255, 0.18), 0 0 18px rgba(23, 231, 255, 0.10);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(23, 231, 255, 0.26);
  border-radius: 14px;
  background: rgba(10, 17, 40, 0.74);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(23, 231, 255, 0.15);
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  border-radius: 3px;
  background: var(--cyan);
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------- Shared UI ------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--cyan);
  font-family: var(--font-tech);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  box-shadow: 0 0 18px rgba(23, 231, 255, 0.5);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.whitepaper-copy h2,
.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.section-heading p,
.whitepaper-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  overflow: hidden;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.28) 18%, transparent 36%);
  transform: translateX(-130%);
}

.btn:hover::before {
  animation: btnShine 720ms ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: #04101b;
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
  box-shadow: 0 12px 34px rgba(23, 231, 255, 0.21), 0 0 34px rgba(157, 72, 255, 0.16);
}

.btn-outline {
  color: var(--text);
  border-color: rgba(83, 226, 255, 0.34);
  background: rgba(10, 18, 46, 0.56);
  box-shadow: inset 0 0 0 1px rgba(157, 72, 255, 0.12), 0 12px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: rgba(23, 231, 255, 0.72);
  box-shadow: 0 0 28px rgba(23, 231, 255, 0.18);
}

@keyframes btnShine {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

.glass-card,
.road-card,
.token-card,
.contact-form,
.whitepaper-panel,
.trust-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(83, 226, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(14, 26, 68, 0.72), rgba(7, 12, 34, 0.58)),
    radial-gradient(circle at 16% 0%, rgba(23, 231, 255, 0.12), transparent 34%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  will-change: transform;
}

.glass-card::before,
.road-card::before,
.token-card::before,
.contact-form::before,
.whitepaper-panel::before,
.trust-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(23, 231, 255, 0.12), transparent);
  transform: translateX(-120%);
  transition: transform 600ms ease;
}

.glass-card:hover::before,
.road-card:hover::before,
.token-card:hover::before,
.contact-form:hover::before,
.whitepaper-panel:hover::before,
.trust-card:hover::before {
  transform: translateX(120%);
}

.tilt-card:hover {
  border-color: rgba(83, 226, 255, 0.34);
  box-shadow: var(--shadow), 0 0 34px rgba(23, 231, 255, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ------------------------- Hero ------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 142px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 13% 46% auto auto;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 231, 255, 0.18), transparent 68%);
  filter: blur(6px);
  animation: heroPulse 4.4s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 38px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.5vw, 7.7rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #ffffff, var(--cyan), var(--purple), var(--pink), #ffffff);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 38px rgba(23, 231, 255, 0.18);
  animation: textFlow 5s ease-in-out infinite;
}

.hero-subtitle {
  font-family: var(--font-tech);
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: #e9edff;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
}

.trust-card {
  border-radius: 22px;
  padding: 18px 16px;
}

.trust-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
}

.trust-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.coin-stage {
  position: relative;
  width: min(510px, 92vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.coin-stage::before {
  content: '';
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 231, 255, 0.16), rgba(157, 72, 255, 0.08) 45%, transparent 72%);
  filter: blur(15px);
  animation: auraPulse 3.8s ease-in-out infinite;
}

.main-coin {
  position: relative;
  z-index: 4;
  width: min(430px, 82vw);
  height: auto;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(23, 231, 255, 0.24));
  animation: coinFloat 5.2s ease-in-out infinite, coinGlow 3.4s ease-in-out infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform, filter;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(83, 226, 255, 0.28);
  box-shadow: 0 0 24px rgba(23, 231, 255, 0.16), inset 0 0 28px rgba(157, 72, 255, 0.10);
  transform-style: preserve-3d;
  will-change: transform;
}

.ring-one {
  width: 96%;
  height: 96%;
  border-top-color: rgba(23, 231, 255, 0.72);
  animation: rotateFast 13s linear infinite;
}

.ring-two {
  width: 82%;
  height: 82%;
  border-right-color: rgba(243, 61, 255, 0.72);
  transform: rotateX(68deg);
  animation: rotateReverse 17s linear infinite;
}

.ring-three {
  width: 68%;
  height: 68%;
  border-bottom-color: rgba(157, 72, 255, 0.72);
  transform: rotateY(62deg);
  animation: rotateFast 21s linear infinite;
}

.satellite {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  z-index: 5;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan), 0 0 34px rgba(23, 231, 255, 0.48);
  animation: satellitePulse 2s ease-in-out infinite;
}

.sat-one { top: 9%; left: 50%; animation-delay: 0s; }
.sat-two { right: 10%; top: 48%; background: var(--purple); box-shadow: 0 0 18px var(--purple); animation-delay: .3s; }
.sat-three { bottom: 15%; left: 22%; background: var(--pink); box-shadow: 0 0 18px var(--pink); animation-delay: .6s; }
.sat-four { top: 30%; left: 10%; animation-delay: .9s; }

.coin-shine {
  position: absolute;
  z-index: 6;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.24), transparent 52%);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translateX(-80%) rotate(18deg);
  animation: coinShine 4.8s ease-in-out infinite;
}

.holo-base {
  position: absolute;
  z-index: 1;
  bottom: 2%;
  width: 72%;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(23, 231, 255, 0.36), rgba(157, 72, 255, 0.18) 45%, transparent 72%);
  filter: blur(6px);
  transform: rotateX(72deg);
  animation: holoPulse 2.8s ease-in-out infinite;
}

@keyframes textFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.12); opacity: 0.8; }
}

@keyframes coinFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotateZ(-1deg); }
  50% { transform: translate3d(0, -18px, 0) rotateZ(1.2deg); }
}

@keyframes coinGlow {
  0%, 100% { filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 28px rgba(23, 231, 255, 0.24)); }
  50% { filter: drop-shadow(0 28px 54px rgba(0, 0, 0, 0.58)) drop-shadow(0 0 44px rgba(157, 72, 255, 0.36)); }
}

@keyframes auraPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 0.95; }
}

@keyframes rotateFast {
  from { transform: rotateZ(0deg) rotateX(62deg); }
  to { transform: rotateZ(360deg) rotateX(62deg); }
}

@keyframes rotateReverse {
  from { transform: rotateZ(360deg) rotateY(58deg); }
  to { transform: rotateZ(0deg) rotateY(58deg); }
}

@keyframes satellitePulse {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50% { transform: scale(1.55); opacity: 1; }
}

@keyframes coinShine {
  0%, 72%, 100% { transform: translateX(-95%) rotate(18deg); opacity: 0; }
  18%, 45% { opacity: 0.9; }
  55% { transform: translateX(95%) rotate(18deg); opacity: 0; }
}

@keyframes holoPulse {
  0%, 100% { transform: rotateX(72deg) scaleX(0.88); opacity: 0.45; }
  50% { transform: rotateX(72deg) scaleX(1.05); opacity: 0.9; }
}

/* ------------------------- About ------------------------- */
.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glass-card {
  min-height: 270px;
  padding: 30px;
  border-radius: var(--radius);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.glass-card:hover {
  transform: translateY(-8px);
}

.card-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 20px;
  color: white;
  font-family: var(--font-display);
  font-size: 2rem;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), transparent 32%), linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 28px rgba(23, 231, 255, 0.24);
  animation: iconFloat 3.6s ease-in-out infinite;
}

.glass-card:nth-child(2) .card-icon { animation-delay: .25s; }
.glass-card:nth-child(3) .card-icon { animation-delay: .5s; }

.glass-card h3,
.road-card h3 {
  font-family: var(--font-display);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.glass-card p,
.road-card p {
  color: var(--muted);
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

/* ------------------------- Whitepaper ------------------------- */
.whitepaper-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 34px;
}

.whitepaper-copy p {
  margin-bottom: 28px;
}

.whitepaper-panel {
  border-radius: 32px;
  padding: 26px;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.panel-glow {
  position: absolute;
  inset: 12% 10% auto auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(243, 61, 255, 0.22);
  filter: blur(38px);
  animation: panelGlow 4s ease-in-out infinite;
}

.feature-list {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 16px;
  list-style: none;
}

.feature-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border: 1px solid rgba(83, 226, 255, 0.14);
  border-radius: 18px;
  color: #dfe8ff;
  background: rgba(4, 10, 28, 0.48);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-list li:hover {
  transform: translateX(8px);
  border-color: rgba(83, 226, 255, 0.34);
  background: rgba(14, 25, 62, 0.62);
}

.feature-list li::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(23, 231, 255, 0.11), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.feature-list li:hover::after {
  transform: translateX(120%);
}

.feature-list span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--cyan);
  font-family: var(--font-display);
  background: rgba(23, 231, 255, 0.08);
  border: 1px solid rgba(23, 231, 255, 0.24);
  box-shadow: inset 0 0 18px rgba(23, 231, 255, 0.08);
}

@keyframes panelGlow {
  0%, 100% { transform: scale(0.9); opacity: 0.55; }
  50% { transform: scale(1.18); opacity: 0.95; }
}

/* ------------------------- Roadmap ------------------------- */
.roadmap-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 34px 0 8px;
}

.roadmap-track::before {
  content: '';
  position: absolute;
  top: 67px;
  left: 9%;
  right: 9%;
  height: 3px;
  border-radius: 999px;
  background: rgba(83, 226, 255, 0.14);
}

.roadmap-track::after {
  content: '';
  position: absolute;
  top: 67px;
  left: 9%;
  width: 0%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink));
  box-shadow: 0 0 20px rgba(23, 231, 255, 0.46);
  transition: width 1.4s cubic-bezier(.22, 1, .36, 1);
}

.roadmap-track.in-view::after {
  width: 82%;
}

.roadmap-item {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.road-node {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07101c;
  font-family: var(--font-display);
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 24px rgba(23, 231, 255, 0.32), 0 0 46px rgba(157, 72, 255, 0.24);
  animation: nodePulse 2.5s ease-in-out infinite;
}

.roadmap-item:nth-child(2) .road-node { animation-delay: .2s; }
.roadmap-item:nth-child(3) .road-node { animation-delay: .4s; }
.roadmap-item:nth-child(4) .road-node { animation-delay: .6s; }
.roadmap-item:nth-child(5) .road-node { animation-delay: .8s; }

.road-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 22px;
  text-align: center;
}

@keyframes nodePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 24px rgba(23, 231, 255, 0.32), 0 0 46px rgba(157, 72, 255, 0.24); }
  50% { transform: scale(1.08); box-shadow: 0 0 34px rgba(23, 231, 255, 0.50), 0 0 64px rgba(157, 72, 255, 0.38); }
}

/* ------------------------- Tokenomics ------------------------- */
.tokenomics-grid {
  display: grid;
  grid-template-columns: 0.92fr 0.92fr 1.16fr;
  align-items: center;
  gap: 30px;
}

.token-chart {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}

.chart-orbit {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  border: 1px dashed rgba(83, 226, 255, 0.34);
  animation: rotateFlat 18s linear infinite;
}

.chart-circle {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    conic-gradient(from 180deg, var(--cyan), var(--purple), var(--pink), var(--cyan));
  box-shadow: 0 0 44px rgba(23, 231, 255, 0.20), 0 0 72px rgba(157, 72, 255, 0.17);
  animation: chartBreathe 3.6s ease-in-out infinite;
}

.chart-circle::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #060b20;
  box-shadow: inset 0 0 34px rgba(23, 231, 255, 0.18);
}

.chart-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.chart-inner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text);
}

.chart-inner span {
  color: var(--muted);
  font-family: var(--font-tech);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.token-cards {
  display: grid;
  gap: 16px;
}

.token-card {
  padding: 20px 22px;
  border-radius: 20px;
}

.token-card span {
  display: block;
  color: var(--cyan);
  font-family: var(--font-tech);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.token-card strong {
  display: block;
  font-size: 1.06rem;
}

@keyframes rotateFlat {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes chartBreathe {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.035); filter: brightness(1.12); }
}

/* ------------------------- Contact ------------------------- */
.contact-grid {
  display: grid;
/*  grid-template-columns: 0.85fr 1.15fr;  */
  align-items: center;
  gap: 36px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.socials a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(83, 226, 255, 0.22);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 800;
  background: rgba(9, 17, 44, 0.56);
  transition: transform 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.socials a:hover {
  transform: translateY(-6px) rotate(3deg);
  color: white;
  box-shadow: 0 0 28px rgba(23, 231, 255, 0.20);
}

.contact-form {
  border-radius: 30px;
  padding: 30px;
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--cyan);
  font-family: var(--font-tech);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(83, 226, 255, 0.18);
  border-radius: 18px;
  color: var(--text);
  outline: none;
  padding: 15px 16px;
  background: rgba(4, 9, 26, 0.72);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(23, 231, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(23, 231, 255, 0.08), 0 0 24px rgba(23, 231, 255, 0.10);
  transform: translateY(-1px);
}

.form-message {
  min-height: 22px;
  color: var(--cyan);
  font-weight: 600;
}

/* ------------------------- Footer ------------------------- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(83, 226, 255, 0.14);
  background: rgba(2, 4, 16, 0.68);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer-inner span {
  color: var(--cyan);
  font-family: var(--font-tech);
  letter-spacing: 0.08em;
}

/* ------------------------- Reveal animations ------------------------- */
.reveal {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 760ms;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal[data-animate="fade-up"] { transform: translate3d(0, 42px, 0); }
.reveal[data-animate="slide-right"] { transform: translate3d(-42px, 0, 0); }
.reveal[data-animate="slide-left"] { transform: translate3d(42px, 0, 0); }
.reveal[data-animate="zoom-in"] { transform: translate3d(0, 30px, 0) scale(0.94); }

.reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* ------------------------- Responsive ------------------------- */
@media (max-width: 1080px) {
  .nav-link {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .hero-grid,
  .whitepaper-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .tokenomics-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.left {
    max-width: 760px;
    text-align: center;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    z-index: 1002;
  }

  .nav-links {
    position: fixed;
    top: 84px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 10px;
    border-radius: 24px;
    padding: 18px;
    background: rgba(3, 6, 22, 0.94);
    transform: translate3d(0, -18px, 0) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .nav-link {
    justify-content: center;
    width: 100%;
    font-size: 1rem;
  }

  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .roadmap-track {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 18px;
  }

  .roadmap-track::before {
    top: 34px;
    bottom: 30px;
    left: 50px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .roadmap-track::after {
    top: 34px;
    left: 50px;
    width: 3px;
    height: 0%;
    transition: height 1.4s cubic-bezier(.22, 1, .36, 1);
  }

  .roadmap-track.in-view::after {
    width: 3px;
    height: 88%;
  }

  .roadmap-item {
    grid-template-columns: 68px 1fr;
    justify-items: stretch;
    align-items: center;
  }

  .road-card {
    text-align: left;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 30px, 1180px);
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 17vw, 4.4rem);
  }

  .hero-actions,
  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .coin-stage {
    width: min(370px, 92vw);
  }

  .main-coin {
    width: min(320px, 82vw);
  }

  .chart-circle {
    width: 238px;
    height: 238px;
  }

  .chart-orbit {
    width: 285px;
    height: 285px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .blob {
    filter: blur(48px);
    opacity: 0.22;
  }

  .bg-grid {
    background-size: 58px 58px;
  }
}

/* Lower animation intensity for users/devices that request reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none !important;
  }
}
