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

/* ===== OKLCH DESIGN TOKENS ===== */
:root {
  /* Zinc scale */
  --zinc-50: oklch(0.985 0 0);
  --zinc-100: oklch(0.967 0.001 286.375);
  --zinc-200: oklch(0.92 0.004 286.32);
  --zinc-300: oklch(0.871 0.006 286.286);
  --zinc-400: oklch(0.705 0.015 286.067);
  --zinc-500: oklch(0.552 0.016 285.938);
  --zinc-600: oklch(0.442 0.017 285.786);
  --zinc-700: oklch(0.372 0.013 285.805);
  --zinc-800: oklch(0.274 0.006 286.033);
  --zinc-900: oklch(0.21 0.006 285.885);
  --zinc-950: oklch(0.141 0.005 285.823);

  /* Emerald */
  --emerald-400: oklch(0.765 0.177 163.223);
  --emerald-500: oklch(0.696 0.17 162.48);

  /* Sky */
  --sky-400: oklch(0.746 0.16 232.661);
  --sky-500: oklch(0.685 0.169 237.323);

  /* Amber */
  --amber-400: oklch(0.828 0.143 77.171);
  --amber-500: oklch(0.769 0.188 70.08);

  /* Semantic tokens */
  --background: oklch(0.12 0.005 285.823);
  --background-alt: oklch(0.145 0.005 285.823);
  --foreground: oklch(0.985 0 0);
  --muted: oklch(0.552 0.016 285.938);
  --muted-foreground: oklch(0.442 0.017 285.786);
  --border: oklch(0.274 0.006 286.033 / 0.5);
  --accent: var(--sky-400);
  --accent-bright: oklch(0.82 0.14 232);
  --accent-glow: oklch(0.746 0.16 232.661 / 0.15);
  --accent-subtle: oklch(0.746 0.16 232.661 / 0.06);
  --green: var(--emerald-400);
  --amber: var(--amber-400);
  --surface: oklch(0.985 0 0 / 0.03);
  --glass: oklch(0.746 0.16 232.661 / 0.04);
  --glass-border: oklch(0.746 0.16 232.661 / 0.08);
  --glass-hover: oklch(0.746 0.16 232.661 / 0.07);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Spacing */
  --radius: 0.625rem;
  --radius-lg: 0.75rem;

  /* Animation */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.22, 1.36, 0.36, 1);

  /* Glow */
  --glow-accent: 0 0 60px oklch(0.746 0.16 232.661 / 0.08);
  --glow-accent-strong: 0 0 80px oklch(0.746 0.16 232.661 / 0.15);
}

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

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--background);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== VIGNETTE ===== */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, oklch(0.08 0.005 285.823 / 0.6) 100%);
}

/* ===== PARTICLE CANVAS ===== */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== NOISE TEXTURE ===== */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: oklch(0.12 0.005 285.823 / 0.6);
  backdrop-filter: blur(24px) saturate(1.3);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, border-color 0.4s;
}

.nav-inner {
  width: 100%;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--foreground);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 500;
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--foreground); }

.btn-nav {
  background: var(--accent-subtle) !important;
  color: var(--accent) !important;
  padding: 8px 20px !important;
  border-radius: 100px !important;
  border: 1px solid oklch(0.746 0.16 232.661 / 0.15) !important;
  transition: all 0.25s !important;
}

.btn-nav:hover {
  background: oklch(0.746 0.16 232.661 / 0.12) !important;
  border-color: oklch(0.746 0.16 232.661 / 0.25) !important;
}

.btn-ca {
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  letter-spacing: 0.05em !important;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--foreground);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 999;
  background: oklch(0.12 0.005 285.823 / 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 24px 40px;
  gap: 20px;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.746 0.16 232.661 / 0.15), transparent);
}

.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 800px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, oklch(0.746 0.16 232.661 / 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 45% 55%, oklch(0.765 0.177 163.223 / 0.03) 0%, transparent 60%);
  pointer-events: none;
  animation: glow-breathe 8s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.hero-content {
  position: relative;
  max-width: 800px;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 130px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--foreground);
  margin-bottom: 20px;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 48px;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-logo {
  width: 200px;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 50px oklch(0.746 0.16 232.661 / 0.2)) drop-shadow(0 0 100px oklch(0.746 0.16 232.661 / 0.08));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-fade 2s ease-in-out infinite;
}

@keyframes scroll-fade {
  0%, 100% { opacity: 0.3; height: 48px; }
  50% { opacity: 0.8; height: 64px; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--foreground);
  color: var(--background);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  padding: 14px 32px;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px oklch(0.985 0 0 / 0.15), 0 0 60px oklch(0.985 0 0 / 0.05);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  padding: 14px 32px;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
}

.btn-ghost:hover {
  background: oklch(0.985 0 0 / 0.05);
  border-color: oklch(0.985 0 0 / 0.15);
  box-shadow: 0 0 30px oklch(0.985 0 0 / 0.03);
}

/* ===== SECTIONS ===== */
.section {
  padding: 140px 0;
  position: relative;
  z-index: 2;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-dark {
  background: var(--background-alt);
}

.section-dark::before {
  background: linear-gradient(90deg, transparent, oklch(0.746 0.16 232.661 / 0.1), transparent);
}

.section-header {
  margin-bottom: 64px;
}

.label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
  display: block;
  font-family: var(--font-mono);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--foreground);
}

/* ===== GLASS ===== */
.glass {
  background: oklch(0.985 0 0 / 0.02);
  border: 1px solid oklch(0.985 0 0 / 0.06);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease);
  position: relative;
}

.glass:hover {
  background: oklch(0.985 0 0 / 0.04);
  border-color: oklch(0.746 0.16 232.661 / 0.2);
  box-shadow: var(--glow-accent), inset 0 1px 0 oklch(0.985 0 0 / 0.05);
  transform: translateY(-2px);
}

/* ===== TEXT UTILS ===== */
.text-lg { font-size: 22px; line-height: 1.8; margin-bottom: 12px; }
.text-md { font-size: 16px; line-height: 1.8; margin-bottom: 12px; }
.dim { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.text-accent { color: var(--accent); }
.accent-text { color: var(--accent-bright) !important; }

.accent-line {
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin-top: 24px;
}

.accent-glow {
  color: var(--accent-bright);
  text-shadow: 0 0 40px var(--accent-glow);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

/* ===== COMPATIBLE MARQUEE ===== */
.compat-section {
  position: relative;
  z-index: 2;
  padding: 64px 0;
  overflow: hidden;
}

.compat-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.compat-label {
  display: block;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
  font-weight: 500;
  font-family: var(--font-mono);
  margin-bottom: 40px;
}

.marquee-wrap {
  position: relative;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity 0.3s;
  opacity: 0.4;
}

.marquee-item:hover {
  opacity: 0.8;
}

.marquee-item span {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--zinc-400);
}

.compat-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(1) brightness(1.8);
  transition: filter 0.3s;
}

.marquee-item:hover .compat-logo {
  filter: grayscale(0) brightness(1);
}

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

.marquee-track:hover {
  animation-play-state: paused;
}

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-card {
  background: var(--background-alt);
  padding: 48px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.stat-card:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

.stat-value {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.02em;
  color: var(--foreground);
}

.stat-unit {
  font-size: 28px;
  color: var(--accent);
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--font-mono);
}

/* ===== FEATURES ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: oklch(0.746 0.16 232.661 / 0.08);
  border: 1px solid oklch(0.746 0.16 232.661 / 0.1);
  color: var(--accent);
  margin-bottom: 24px;
  box-shadow: 0 0 20px oklch(0.746 0.16 232.661 / 0.05);
}

.feature-num {
  display: block;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: var(--foreground);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ===== PROTOCOL FLOW ===== */
.protocol-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.protocol-step {
  display: flex;
  gap: 32px;
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 48px;
}

.step-num-lg {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.step-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
  min-height: 40px;
}

.step-content {
  flex: 1;
  padding-bottom: 48px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--foreground);
}

.code-block {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  background: oklch(0.08 0.005 285.823 / 0.8);
  border: 1px solid oklch(0.985 0 0 / 0.06);
  border-radius: var(--radius);
  padding: 32px 24px 20px;
  max-width: 500px;
  backdrop-filter: blur(12px);
  position: relative;
}

.code-block::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(0.63 0.237 25.331 / 0.7);
  box-shadow: 14px 0 0 oklch(0.828 0.143 77.171 / 0.7), 28px 0 0 oklch(0.765 0.177 163.223 / 0.7);
}

.code-method { color: var(--green); font-weight: 500; }
.code-status { color: var(--accent-bright); font-weight: 500; }
.code-header { color: var(--accent); }
.code-comment { color: var(--zinc-600); }
.code-key { color: var(--accent); }
.code-string { color: var(--green); }
.code-num { color: var(--amber); }

/* ===== WHY SPLIT ===== */
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

/* ===== USE CASES ===== */
.usecase-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.usecase-row {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}

.usecase-row:last-child { border-bottom: none; }
.usecase-row:hover { background: var(--surface); }

.usecase-agent {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--foreground);
  width: 240px;
  flex-shrink: 0;
}

.usecase-divider {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 24px;
}

.usecase-desc {
  font-size: 14px;
  color: var(--muted);
  flex-shrink: 0;
}

/* ===== TOKENOMICS ===== */
.token-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.token-table {
  padding: 8px;
}

.token-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid oklch(0.746 0.16 232.661 / 0.05);
}

.token-row:last-child { border-bottom: none; }

.token-row.highlight {
  background: oklch(0.746 0.16 232.661 / 0.04);
  border-radius: var(--radius);
  border-bottom: none;
}

.token-key {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--font-mono);
}

.token-val {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ca-address {
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  letter-spacing: 0.02em;
  color: var(--accent);
  cursor: pointer;
  transition: color 0.2s, text-shadow 0.2s;
  word-break: break-all;
  text-align: right;
  max-width: 280px;
}

.ca-address:hover {
  color: var(--accent-bright);
  text-shadow: 0 0 20px var(--accent-glow);
}

.ca-address.copied {
  color: var(--green);
}

.sol-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9945FF, #14F195);
}

.token-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.token-code {
  padding: 24px;
  overflow-x: auto;
}

.token-code pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* ===== ECOSYSTEM ===== */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.eco-card {
  padding: 40px 32px;
  position: relative;
}

.eco-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.2em;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  color: var(--muted);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.eco-badge.active {
  color: var(--accent);
  border-color: oklch(0.746 0.16 232.661 / 0.25);
  background: oklch(0.746 0.16 232.661 / 0.06);
}

.eco-badge.soon {
  color: var(--amber);
  border-color: oklch(0.828 0.143 77.171 / 0.2);
  background: oklch(0.828 0.143 77.171 / 0.06);
}

.eco-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--foreground);
}

.eco-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== ROADMAP ===== */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.roadmap-phase {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: all 0.3s;
}

.roadmap-phase:hover {
  border-color: oklch(0.985 0 0 / 0.1);
  background: oklch(0.985 0 0 / 0.02);
}

.phase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.phase-num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--font-mono);
}

.phase-status {
  font-size: 9px;
  letter-spacing: 0.15em;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  color: var(--muted);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
}

.phase-status.done {
  color: var(--green);
  border-color: oklch(0.765 0.177 163.223 / 0.2);
  background: oklch(0.765 0.177 163.223 / 0.06);
}

.phase-status.current {
  color: var(--accent);
  border-color: oklch(0.746 0.16 232.661 / 0.2);
  background: oklch(0.746 0.16 232.661 / 0.06);
}

.roadmap-phase h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  color: var(--foreground);
}

.roadmap-phase ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-phase li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.roadmap-phase li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}

/* ===== FOOTER CTA ===== */
.section-cta {
  text-align: center;
  background: var(--background-alt);
  padding: 160px 0;
  position: relative;
  z-index: 2;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-logo {
  width: 120px;
  height: auto;
  margin-bottom: 48px;
  opacity: 0.8;
  filter: drop-shadow(0 0 40px oklch(0.746 0.16 232.661 / 0.18)) drop-shadow(0 0 80px oklch(0.746 0.16 232.661 / 0.06));
  animation: float 6s ease-in-out infinite;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== FOOTER ===== */
footer {
  padding: 40px 0;
  position: relative;
  z-index: 2;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.footer-logo-img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--foreground); }

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: oklch(0.552 0.016 285.938 / 0.5);
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.746 0.16 232.661 / 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

@media (hover: none) {
  .cursor-glow { display: none; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ===== ANIMATIONS ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .section { padding: 100px 0; }
  .section-cta { padding: 120px 0; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:first-child { border-radius: var(--radius-lg) 0 0 0; }
  .stat-card:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
  .stat-card:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); }
  .stat-card:last-child { border-radius: 0 0 var(--radius-lg) 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .why-split { grid-template-columns: 1fr; gap: 48px; }
  .token-layout { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }

  .usecase-row { flex-wrap: wrap; gap: 8px; }
  .usecase-agent { width: 100%; }
  .usecase-divider { display: none; }

  .hero { padding: 120px 24px 80px; }
  .hero-title { font-size: clamp(48px, 12vw, 80px); }
  .hero-logo { width: 140px; }

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

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-radius: 0 !important; }
  .stat-card:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; }
  .stat-card:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important; }
  .stat-value { font-size: 36px; }
}
