/* ============================================================
   Pricar AI — pricar.tech
   Apple-inspired dark interface
   ============================================================ */

:root {
  --bg: #000000;
  --bg-elev: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-muted: #86868b;
  --text-dim: #6e6e73;
  --accent: #ffffff;
  --accent-blue: #0a84ff;
  --radius: 22px;
  --radius-sm: 14px;
  --easing: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s var(--easing);
}
/* When the mobile menu is open, the nav stays on top so the X (close)
   remains tappable, but its border vanishes for a cleaner look. */
body.menu-open .nav { border-bottom-color: transparent; background: rgba(0,0,0,0.92); }

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px; letter-spacing: -0.02em;
}

.nav__logo {
  font-size: 22px;
  background: linear-gradient(135deg, #fff, #888);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.6s var(--easing), filter 0.4s var(--easing);
  filter: drop-shadow(0 0 8px rgba(45,226,213,0.20));
}
.nav__brand:hover .brand-mark,
.footer__brand:hover .brand-mark {
  transform: scale(1.06);
  filter: drop-shadow(0 0 16px rgba(45,226,213,0.55));
}
.footer__brand .brand-mark { width: 22px; height: 22px; }

.nav__links {
  display: flex; align-items: center; gap: 32px;
  font-size: 13px; color: var(--text-muted);
  font-weight: 400;
}
.nav__links a { transition: color 0.3s var(--easing); }
.nav__links a:hover { color: var(--text); }

.nav__burger {
  display: none;
  background: none; border: none; cursor: pointer; padding: 0;
  width: 40px; height: 40px;
  position: relative;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}
.nav__burger span {
  position: absolute;
  left: 9px;
  width: 22px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--easing), opacity 0.25s var(--easing), top 0.35s var(--easing);
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 19.5px; }
.nav__burger span:nth-child(3) { top: 25px; }
body.menu-open .nav__burger span {
  background: #2DE2D5;
  box-shadow: 0 0 8px rgba(45, 226, 213, 0.55);
}
body.menu-open .nav__burger span:nth-child(1) {
  top: 19.5px; transform: rotate(45deg);
}
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) {
  top: 19.5px; transform: rotate(-45deg);
}

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px 28px 36px;
  padding-bottom: calc(36px + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--easing), transform 0.45s var(--easing), visibility 0s linear 0.35s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.35s var(--easing), transform 0.45s var(--easing), visibility 0s linear 0s;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.3s var(--easing), transform 0.3s var(--easing);
  opacity: 0;
  transform: translateY(12px);
}
body.menu-open .mobile-menu__links a {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--easing), transform 0.5s var(--easing), color 0.3s var(--easing);
}
body.menu-open .mobile-menu__links a:nth-child(1) { transition-delay: 0.08s; }
body.menu-open .mobile-menu__links a:nth-child(2) { transition-delay: 0.12s; }
body.menu-open .mobile-menu__links a:nth-child(3) { transition-delay: 0.16s; }
body.menu-open .mobile-menu__links a:nth-child(4) { transition-delay: 0.20s; }
body.menu-open .mobile-menu__links a:nth-child(5) { transition-delay: 0.24s; }
body.menu-open .mobile-menu__links a:nth-child(6) { transition-delay: 0.28s; }
body.menu-open .mobile-menu__links a:nth-child(7) { transition-delay: 0.32s; }
.mobile-menu__links a:active { color: #2DE2D5; }
.mobile-menu__num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  font-feature-settings: 'tnum';
  min-width: 22px;
}
.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 28px;
}
.mobile-menu__cta { width: 100%; padding: 16px 22px; font-size: 15px; }
.mobile-menu__legal {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0;
}

/* Lock background scroll without layout shift while menu is open. */
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500;
  padding: 12px 22px; border-radius: 980px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--easing);
  letter-spacing: -0.01em;
}

.btn--primary {
  background: #fff; color: #000;
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,255,255,0.15); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { background: rgba(255,255,255,0.14); }

.btn--link {
  background: transparent; color: var(--text);
  padding: 12px 4px;
}
.btn--link:hover { color: var(--text-muted); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
  z-index: -2;
}

.hero__orb {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  z-index: -1;
  animation: float 18s ease-in-out infinite;
}
.hero__orb--1 {
  top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(80,80,80,0.7), transparent 70%);
}
.hero__orb--2 {
  bottom: -160px; right: -120px;
  background: radial-gradient(circle, rgba(10,132,255,0.35), transparent 70%);
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(40px,-30px) scale(1.06); }
}

.hero__content { position: relative; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 980px;
  margin-bottom: 28px;
}

.hero__title {
  font-size: clamp(48px, 8vw, 104px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
}

.gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #8e8e93 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.5;
}

.hero__cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero__stats {
  display: flex; gap: 56px; justify-content: center; flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero__stats div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero__stats strong {
  font-size: 36px; font-weight: 600;
  background: linear-gradient(180deg, #fff, #888);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__stats span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 140px 0;
  position: relative;
}
.section--narrow { padding: 100px 0; }
.section--dark { background: linear-gradient(180deg, #050505, #000); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 28px;
  max-width: 900px;
}
.muted { color: var(--text-muted); }

.section__lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 64px;
  line-height: 1.55;
}

/* ============================================================
   LAYER DIAGRAM
   ============================================================ */
.layer-diagram {
  margin-top: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.layer-row {
  width: 100%;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 14px;
  color: var(--text);
}
.layer-row--user { max-width: 220px; font-weight: 600; }
.layer-row--user span { letter-spacing: -0.01em; }
.layer-row--pricar {
  max-width: 520px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-color: var(--border-strong);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 22px 28px;
  position: relative;
  overflow: hidden;
}
.layer-row--pricar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at 50% 0%, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}
.layer-row--providers {
  gap: 8px;
  padding: 14px 18px;
}
.layer-row--providers span {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 980px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
  transition: all 0.3s var(--easing);
}
.layer-row--providers span:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.05);
}
.layer-arrow {
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1;
}

/* ============================================================
   CATEGORY BLOCKS
   ============================================================ */
.cat-block { margin-top: 72px; }
.cat-block:first-of-type { margin-top: 40px; }

.cat-head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.cat-tag {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.cat-head h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-right: 12px;
}
.cat-head p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.55;
  flex: 1 1 320px;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all 0.4s var(--easing);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,0%), rgba(255,255,255,0.06), transparent 40%);
  opacity: 0; transition: opacity 0.4s var(--easing);
  pointer-events: none;
}
.card:hover { background: var(--bg-card-hover); border-color: var(--border-strong); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }

.card--wide { grid-column: span 2; }
.card { padding: 32px; }
.card h3 { font-size: 18px; }
.card p { font-size: 14px; }

.card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  color: var(--text);
}
.card__icon svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px;
}
.card p { color: var(--text-muted); font-size: 15px; line-height: 1.55; }

/* ============================================================
   ENGINE
   ============================================================ */
.engine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 8px;
}
.features li {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; color: var(--text);
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.features li span {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #fff, #555);
  flex-shrink: 0;
}

.engine__visual {
  position: relative;
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.ring--1 { width: 90%; height: 90%; border-color: rgba(255,255,255,0.1); }
.ring--2 { width: 65%; height: 65%; border-color: rgba(255,255,255,0.14); animation-duration: 22s; animation-direction: reverse; }
.ring--3 { width: 40%; height: 40%; border-color: rgba(255,255,255,0.18); animation-duration: 16s; }
.ring::before {
  content: '';
  position: absolute; top: -3px; left: 50%;
  width: 6px; height: 6px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,0.7);
  transform: translateX(-50%);
}
.core {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #555 60%, #111 100%);
  box-shadow: 0 0 80px rgba(255,255,255,0.3);
}

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

/* ============================================================
   CONTRACT ADDRESS BLOCK
   ============================================================ */
.contract {
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.contract__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contract__ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
}
.contract__symbol {
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.14em;
}
.contract__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: 0.6;
}
.contract__chain { color: var(--text-dim); }
.contract__verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2DE2D5;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.contract__verified svg {
  width: 12px;
  height: 12px;
}

.contract__addr-btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--text);
  transition: border-color 0.2s var(--easing), background 0.2s var(--easing);
  -webkit-tap-highlight-color: transparent;
}
.contract__addr-btn:hover {
  border-color: rgba(45, 226, 213, 0.35);
  background: rgba(45, 226, 213, 0.04);
}
.contract__addr-btn:active { transform: translateY(0.5px); }
.contract__addr-btn:focus-visible {
  outline: none;
  border-color: rgba(45, 226, 213, 0.55);
  box-shadow: 0 0 0 3px rgba(45, 226, 213, 0.18);
}
.contract__addr {
  flex: 1;
  min-width: 0;
  font-family: 'SF Mono', 'JetBrains Mono', 'Menlo', monospace;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contract__copy-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color 0.2s var(--easing);
}
.contract__addr-btn:hover .contract__copy-icon { color: #2DE2D5; }
.contract__copy-icon svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s var(--easing), transform 0.2s var(--easing);
}
.contract__icon-check {
  opacity: 0;
  transform: scale(0.7);
  color: #2DE2D5;
}
.contract__addr-btn.is-copied .contract__icon-copy {
  opacity: 0;
  transform: scale(0.7);
}
.contract__addr-btn.is-copied .contract__icon-check {
  opacity: 1;
  transform: scale(1);
}

.contract__feedback {
  position: absolute;
  top: -28px;
  right: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #2DE2D5;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(45, 226, 213, 0.4);
  padding: 4px 9px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.18s var(--easing), transform 0.18s var(--easing);
}
.contract__addr-btn.is-copied .contract__feedback {
  opacity: 1;
  transform: translateY(0);
}

.contract__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
  padding: 0 4px;
}
.contract__links a {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s var(--easing);
}
.contract__links a:hover { color: #2DE2D5; }

.footer__addr {
  font-family: 'SF Mono', 'JetBrains Mono', 'Menlo', monospace;
  color: var(--text-muted);
  transition: color 0.3s var(--easing);
}
.footer__addr:hover { color: #2DE2D5; }

@media (max-width: 560px) {
  .contract { padding: 16px; }
  .contract__meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contract__addr { font-size: 11px; }
  .contract__addr-btn { padding: 12px 14px; gap: 10px; }
}

/* ============================================================
   TOKEN GRID
   ============================================================ */
.token-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.token-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  transition: all 0.3s var(--easing);
}
.token-card:hover { background: var(--bg-card-hover); border-color: var(--border-strong); }
.token-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.token-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.pillar {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.pillar h4 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.pillar p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
  counter-reset: step;
}
@media (max-width: 1200px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
.roadmap li {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  position: relative;
  transition: all 0.3s var(--easing);
}
.roadmap li:hover { background: var(--bg-card-hover); border-color: var(--border-strong); transform: translateY(-2px); }
.roadmap__phase {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 18px;
}
.roadmap h4 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.roadmap p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: 160px 0;
  text-align: center;
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, rgba(10,132,255,0.12), transparent 60%),
    #000;
  border-top: 1px solid var(--border);
}
.cta__inner { max-width: 760px; margin: 0 auto; }
.cta h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600; letter-spacing: -0.035em; line-height: 1.08;
  margin-bottom: 24px;
}
.cta p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 40px;
}
.cta__form {
  display: flex; gap: 12px; max-width: 520px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.cta__form input {
  flex: 1; min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 980px;
  color: var(--text);
  padding: 14px 22px;
  font: inherit; font-size: 14px;
  outline: none;
  transition: border-color 0.3s var(--easing);
}
.cta__form input::placeholder { color: var(--text-dim); }
.cta__form input:focus { border-color: var(--border-strong); background: rgba(255,255,255,0.05); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { transition: color 0.3s var(--easing); }
.footer__links a:hover { color: var(--text); }
.footer__legal { width: 100%; text-align: center; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 12px; }
.footer__chain { opacity: 0.6; margin-left: 6px; font-size: 11px; letter-spacing: 0.04em; }
.footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.02em;
  transition: color 0.3s var(--easing), border-color 0.3s var(--easing), background 0.3s var(--easing), transform 0.3s var(--easing);
}
.footer__social-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.footer__social-link:hover {
  color: #2DE2D5;
  border-color: rgba(45, 226, 213, 0.4);
  background: rgba(45, 226, 213, 0.06);
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .footer__inner { justify-content: center; text-align: center; }
  .footer__links { justify-content: center; gap: 20px; }
  .footer__social { width: 100%; justify-content: center; }
}

.mobile-menu__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.mobile-menu__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s var(--easing), border-color 0.3s var(--easing), background 0.3s var(--easing);
}
.mobile-menu__social a svg {
  width: 18px;
  height: 18px;
}
.mobile-menu__social a:active,
.mobile-menu__social a:hover {
  color: #2DE2D5;
  border-color: rgba(45, 226, 213, 0.45);
  background: rgba(45, 226, 213, 0.08);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--easing), transform 0.9s var(--easing);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .services, .engine, .token-grid, .pillars, .roadmap {
    grid-template-columns: 1fr;
  }
  .card--wide { grid-column: span 1; }
  .engine { gap: 48px; }
  .engine__visual { max-width: 360px; margin: 0 auto; }
  .section { padding: 100px 0; }
  .hero { padding: 120px 0 60px; }
  .hero__stats { gap: 32px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .nav__cta { display: none; }
  .nav__inner { padding: 14px 20px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__stats strong { font-size: 28px; }
  .cta__form input { width: 100%; }
  /* Prevent iOS Safari from auto-zooming on input focus. */
  input, select, textarea { font-size: 16px !important; }
}

/* ============================================================
   SELECTION & SCROLLBAR
   ============================================================ */
::selection { background: rgba(255,255,255,0.18); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #1a1a1a; border-radius: 10px; border: 2px solid #000; }
::-webkit-scrollbar-thumb:hover { background: #2a2a2a; }
