:root {
  --bg-primary: #0a0b0d;
  --bg-secondary: #12141a;
  --bg-tertiary: #1a1d24;
  --text-primary: #f4f5f7;
  --text-secondary: #8b8f9a;
  --text-muted: #5a5e6a;
  --accent-cyan: #00d4aa;
  --accent-cyan-dim: rgba(0, 212, 170, 0.15);
  --accent-gold: #f5a623;
  --accent-gold-dim: rgba(245, 166, 35, 0.15);
  --border-color: rgba(255, 255, 255, 0.08);
  --gradient-mesh: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 170, 0.12), transparent),
                   radial-gradient(ellipse 60% 40% at 100% 0%, rgba(0, 212, 170, 0.06), transparent);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Bricolage Grotesque', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grid Background Pattern */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.mesh-gradient {
  position: fixed;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: 0;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(10, 11, 13, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.3s ease;
}

nav.nav-hidden {
  transform: translateY(-100%);
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  flex: 1;
}

.logo-img {
  width: 142px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.25s ease;
  letter-spacing: 0.02em;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.4s ease;
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 170, 0.35);
}

.nav-cta i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.nav-cta:hover i {
  transform: translateX(3px);
}

/* Mobile CTA in menu - hidden on desktop */
.nav-cta-mobile-wrapper {
  display: none;
}

/* Sections */
section {
  position: relative;
  z-index: 1;
  padding: 8rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: 
    radial-gradient(circle at 50% 30%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 70%, rgba(245, 166, 35, 0.08) 0%, transparent 40%);
  pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Runic Background Circles */
.hero-runes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.rune-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 170, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rune-circle.outer {
  width: 700px;
  height: 700px;
  border: 1px solid rgba(0, 212, 170, 0.06);
  animation: runeRotate 30s linear infinite, glowOuter 4s ease-in-out infinite;
}

@keyframes glowOuter {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  15%, 35% { box-shadow: 0 0 30px 2px rgba(0, 212, 170, 0.08), inset 0 0 20px 1px rgba(0, 212, 170, 0.03); }
}


.rune-circle.middle {
  width: 500px;
  height: 500px;
  border: 1px solid rgba(0, 212, 170, 0.12);
  animation: runeRotate 20s linear infinite reverse, glowMiddle 4s ease-in-out infinite;
}

@keyframes glowMiddle {
  0%, 20%, 100% { box-shadow: 0 0 0 0 transparent; }
  35%, 55% { box-shadow: 0 0 25px 2px rgba(0, 212, 170, 0.1), inset 0 0 15px 1px rgba(0, 212, 170, 0.04); }
}


.rune-circle.inner {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(0, 212, 170, 0.15);
  animation: runeRotate 15s linear infinite, glowInner 4s ease-in-out infinite;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.03) 0%, transparent 70%);
}

@keyframes glowInner {
  0%, 40%, 100% { box-shadow: 0 0 0 0 transparent; }
  55%, 75% { box-shadow: 0 0 20px 2px rgba(0, 212, 170, 0.12), inset 0 0 12px 1px rgba(0, 212, 170, 0.05); }
}

@keyframes runeRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Orbiting Asteroids - Dynamic floating effect */
.orbit-field {
  position: absolute;
  width: 800px;
  height: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.asteroid {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 212, 170, 0.5), rgba(0, 212, 170, 0.15));
  box-shadow: 0 0 6px rgba(0, 212, 170, 0.35), 0 0 12px rgba(0, 212, 170, 0.15);
  top: 50%;
  left: 50%;
}

/* Each asteroid has unique size, orbital radius, speed, and drift pattern */
.asteroid.a1 {
  width: 6px;
  height: 6px;
  animation: orbit1 25s linear infinite, drift1 8s ease-in-out infinite, twinkle 3s ease-in-out infinite;
}

.asteroid.a2 {
  width: 4px;
  height: 4px;
  animation: orbit2 32s linear infinite reverse, drift2 6s ease-in-out infinite, twinkle 4s ease-in-out infinite 0.5s;
}

.asteroid.a3 {
  width: 8px;
  height: 8px;
  animation: orbit3 28s linear infinite, drift3 10s ease-in-out infinite, twinkle 5s ease-in-out infinite 1s;
}

.asteroid.a4 {
  width: 3px;
  height: 3px;
  animation: orbit4 22s linear infinite reverse, drift1 7s ease-in-out infinite 2s, twinkle 3.5s ease-in-out infinite;
}

.asteroid.a5 {
  width: 5px;
  height: 5px;
  animation: orbit5 35s linear infinite, drift2 9s ease-in-out infinite 1s, twinkle 4.5s ease-in-out infinite 0.3s;
}

.asteroid.a6 {
  width: 4px;
  height: 4px;
  animation: orbit6 20s linear infinite reverse, drift3 5s ease-in-out infinite, twinkle 3s ease-in-out infinite 1.5s;
}

.asteroid.a7 {
  width: 7px;
  height: 7px;
  animation: orbit7 38s linear infinite, drift1 11s ease-in-out infinite 3s, twinkle 6s ease-in-out infinite;
}

.asteroid.a8 {
  width: 3px;
  height: 3px;
  animation: orbit8 18s linear infinite reverse, drift2 4s ease-in-out infinite 0.5s, twinkle 2.5s ease-in-out infinite;
}

.asteroid.a9 {
  width: 5px;
  height: 5px;
  animation: orbit9 30s linear infinite, drift3 8s ease-in-out infinite 2s, twinkle 4s ease-in-out infinite 0.8s;
}

.asteroid.a10 {
  width: 4px;
  height: 4px;
  animation: orbit10 26s linear infinite reverse, drift1 6s ease-in-out infinite 1.5s, twinkle 3.5s ease-in-out infinite 0.2s;
}

.asteroid.a11 {
  width: 6px;
  height: 6px;
  animation: orbit11 40s linear infinite, drift2 12s ease-in-out infinite, twinkle 5s ease-in-out infinite 2s;
}

.asteroid.a12 {
  width: 3px;
  height: 3px;
  animation: orbit12 15s linear infinite reverse, drift3 3s ease-in-out infinite 1s, twinkle 2s ease-in-out infinite;
}

/* Orbit paths - elliptical with varying radii */
@keyframes orbit1 {
  0% { transform: translate(-50%, -50%) rotate(0deg) translateX(320px) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg) translateX(320px) rotate(-360deg); }
}

@keyframes orbit2 {
  0% { transform: translate(-50%, -50%) rotate(45deg) translateX(280px) rotate(-45deg); }
  100% { transform: translate(-50%, -50%) rotate(405deg) translateX(280px) rotate(-405deg); }
}

@keyframes orbit3 {
  0% { transform: translate(-50%, -50%) rotate(90deg) translateX(350px) rotate(-90deg); }
  100% { transform: translate(-50%, -50%) rotate(450deg) translateX(350px) rotate(-450deg); }
}

@keyframes orbit4 {
  0% { transform: translate(-50%, -50%) rotate(180deg) translateX(240px) rotate(-180deg); }
  100% { transform: translate(-50%, -50%) rotate(540deg) translateX(240px) rotate(-540deg); }
}

@keyframes orbit5 {
  0% { transform: translate(-50%, -50%) rotate(270deg) translateX(380px) rotate(-270deg); }
  100% { transform: translate(-50%, -50%) rotate(630deg) translateX(380px) rotate(-630deg); }
}

@keyframes orbit6 {
  0% { transform: translate(-50%, -50%) rotate(30deg) translateX(200px) rotate(-30deg); }
  100% { transform: translate(-50%, -50%) rotate(390deg) translateX(200px) rotate(-390deg); }
}

@keyframes orbit7 {
  0% { transform: translate(-50%, -50%) rotate(150deg) translateX(360px) rotate(-150deg); }
  100% { transform: translate(-50%, -50%) rotate(510deg) translateX(360px) rotate(-510deg); }
}

@keyframes orbit8 {
  0% { transform: translate(-50%, -50%) rotate(210deg) translateX(180px) rotate(-210deg); }
  100% { transform: translate(-50%, -50%) rotate(570deg) translateX(180px) rotate(-570deg); }
}

@keyframes orbit9 {
  0% { transform: translate(-50%, -50%) rotate(300deg) translateX(300px) rotate(-300deg); }
  100% { transform: translate(-50%, -50%) rotate(660deg) translateX(300px) rotate(-660deg); }
}

@keyframes orbit10 {
  0% { transform: translate(-50%, -50%) rotate(120deg) translateX(260px) rotate(-120deg); }
  100% { transform: translate(-50%, -50%) rotate(480deg) translateX(260px) rotate(-480deg); }
}

@keyframes orbit11 {
  0% { transform: translate(-50%, -50%) rotate(240deg) translateX(340px) rotate(-240deg); }
  100% { transform: translate(-50%, -50%) rotate(600deg) translateX(340px) rotate(-600deg); }
}

@keyframes orbit12 {
  0% { transform: translate(-50%, -50%) rotate(60deg) translateX(160px) rotate(-60deg); }
  100% { transform: translate(-50%, -50%) rotate(420deg) translateX(160px) rotate(-420deg); }
}

/* Drift animations - subtle perpendicular movement for organic feel */
@keyframes drift1 {
  0%, 100% { margin-top: 0; margin-left: 0; }
  25% { margin-top: 15px; margin-left: -8px; }
  50% { margin-top: -10px; margin-left: 12px; }
  75% { margin-top: 8px; margin-left: -15px; }
}

@keyframes drift2 {
  0%, 100% { margin-top: 0; margin-left: 0; }
  33% { margin-top: -12px; margin-left: 18px; }
  66% { margin-top: 18px; margin-left: -10px; }
}

@keyframes drift3 {
  0%, 100% { margin-top: 0; margin-left: 0; }
  20% { margin-top: 20px; margin-left: 5px; }
  40% { margin-top: -8px; margin-left: -20px; }
  60% { margin-top: 12px; margin-left: 15px; }
  80% { margin-top: -15px; margin-left: -5px; }
}

/* Twinkle effect - subtle opacity/glow pulsing */
@keyframes twinkle {
  0%, 100% { opacity: 0.35; box-shadow: 0 0 4px rgba(0, 212, 170, 0.25), 0 0 8px rgba(0, 212, 170, 0.1); }
  50% { opacity: 0.7; box-shadow: 0 0 8px rgba(0, 212, 170, 0.5), 0 0 15px rgba(0, 212, 170, 0.25); }
}

/* Sword Container */
.hero-sword-container {
  position: relative;
  width: 320px;
  height: 320px;
  margin-bottom: 2rem;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.hero-sword-svg {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(0, 212, 170, 0.5));
  animation: swordFloat 4s ease-in-out infinite;
  z-index: 1;
}

.hero-sword-container.no-transition {
  transition: none;
}

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

.sword-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 212, 170, 0.35) 0%, rgba(0, 212, 170, 0.1) 40%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* The Sword */
.sword {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sword-blade {
  position: relative;
  width: 28px;
  height: 200px;
  background: linear-gradient(90deg,
    rgba(80, 100, 120, 0.9) 0%,
    rgba(150, 180, 200, 0.95) 20%,
    rgba(220, 235, 245, 1) 50%,
    rgba(150, 180, 200, 0.95) 80%,
    rgba(80, 100, 120, 0.9) 100%
  );
  clip-path: polygon(50% 0%, 100% 8%, 100% 100%, 50% 100%, 0% 100%, 0% 8%);
  box-shadow: 
    0 0 40px rgba(0, 212, 170, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
  animation: bladePulse 3s ease-in-out infinite;
}

.sword-blade::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 212, 170, 0.2) 100%
  );
  pointer-events: none;
}

@keyframes bladePulse {
  0%, 100% { box-shadow: 0 0 40px rgba(0, 212, 170, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 0 60px rgba(0, 212, 170, 0.7), inset 0 0 30px rgba(255, 255, 255, 0.5); }
}

.blade-edge {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(0, 212, 170, 0.6));
}

.blade-edge.left { left: 0; }
.blade-edge.right { right: 0; }

.blade-fuller {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 60%;
  background: linear-gradient(180deg, 
    rgba(0, 212, 170, 0.6) 0%,
    rgba(0, 212, 170, 0.3) 50%,
    rgba(0, 212, 170, 0.1) 100%
  );
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

.blade-runes {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.blade-runes span {
  font-size: 0.6rem;
  color: rgba(0, 212, 170, 0.8);
  text-shadow: 0 0 8px rgba(0, 212, 170, 0.8);
  animation: runeFlicker 3s ease-in-out infinite;
}

.blade-runes span:nth-child(2) { animation-delay: 0.5s; }
.blade-runes span:nth-child(3) { animation-delay: 1s; }
.blade-runes span:nth-child(4) { animation-delay: 1.5s; }
.blade-runes span:nth-child(5) { animation-delay: 2s; }

@keyframes runeFlicker {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.sword-guard {
  position: relative;
  width: 70px;
  height: 16px;
  background: linear-gradient(180deg, #c9a227 0%, #8b6914 50%, #5c4510 100%);
  border-radius: 3px;
  box-shadow: 0 0 15px rgba(245, 166, 35, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sword-guard::before,
.sword-guard::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.8) 0%, rgba(0, 212, 170, 0.3) 100%);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(0, 212, 170, 0.6);
}

.sword-guard::before { left: 8px; }
.sword-guard::after { right: 8px; }

.guard-gem {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, #00ffcc 0%, #00d4aa 40%, #008866 100%);
  border-radius: 50%;
  box-shadow: 
    0 0 20px rgba(0, 212, 170, 0.8),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
  animation: gemPulse 2s ease-in-out infinite;
}

@keyframes gemPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 170, 0.8), inset 0 -2px 4px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.4); }
  50% { box-shadow: 0 0 35px rgba(0, 212, 170, 1), inset 0 -2px 4px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.6); }
}

.sword-grip {
  width: 14px;
  height: 50px;
  background: repeating-linear-gradient(
    180deg,
    #3d2914 0px,
    #3d2914 4px,
    #2a1c0d 4px,
    #2a1c0d 8px
  );
  border-radius: 2px;
  box-shadow: inset 2px 0 4px rgba(0, 0, 0, 0.3);
}

.sword-pommel {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 30% 30%, #d4a84b 0%, #8b6914 50%, #5c4510 100%);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.3);
  position: relative;
}

.sword-pommel::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.6) 0%, transparent 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 212, 170, 0.5);
}

/* Energy Particles */
.sword-energy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.energy-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-cyan);
  opacity: 0;
  animation: particleRise 3s ease-in-out infinite;
}

.energy-particle:nth-child(1) { left: 30%; animation-delay: 0s; }
.energy-particle:nth-child(2) { left: 70%; animation-delay: 0.5s; }
.energy-particle:nth-child(3) { left: 45%; animation-delay: 1s; }
.energy-particle:nth-child(4) { left: 55%; animation-delay: 1.5s; }
.energy-particle:nth-child(5) { left: 35%; animation-delay: 2s; }
.energy-particle:nth-child(6) { left: 65%; animation-delay: 2.5s; }

@keyframes particleRise {
  0% { 
    bottom: 30%;
    opacity: 0;
    transform: scale(0.5);
  }
  20% {
    opacity: 1;
    transform: scale(1);
  }
  80% {
    opacity: 0.8;
  }
  100% {
    bottom: 100%;
    opacity: 0;
    transform: scale(0.3);
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
  position: relative;
}

.hero h1 span {
  background: linear-gradient(180deg, 
    #ffffff 0%,
    #f0f0f0 30%,
    var(--accent-cyan) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  filter: drop-shadow(0 0 40px rgba(0, 212, 170, 0.3));
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-cyan) 20%, var(--accent-gold) 50%, var(--accent-cyan) 80%, transparent 100%);
  border-radius: 2px;
  opacity: 0.6;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  animation: fadeInUp 0.6s ease-out 0.2s both;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding: 0.85rem 1.6rem;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 212, 170, 0.08));
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 170, 0.5);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out 0.3s both;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.hero-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.35), rgba(0, 212, 170, 0.15));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-cta-btn:hover::before {
  opacity: 1;
}

.hero-cta-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  box-shadow: 0 0 24px rgba(0, 212, 170, 0.3), 0 4px 16px rgba(0, 212, 170, 0.2);
  transform: translateY(-2px);
}

.hero-cta-btn span,
.hero-cta-btn i {
  position: relative;
  z-index: 1;
}

.hero-cta-btn i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.hero-cta-btn:hover i {
  transform: translateX(3px);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 212, 170, 0.35);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: rgba(255, 255, 255, 0.15);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Headers */
.section-header {
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
}

/* Problem Headline Styling */
.problem-headline {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.headline-crypto {
  color: var(--text-primary);
}

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

.headline-equities {
  color: #4a7c59;
  font-weight: 400;
  font-size: 0.85em;
  letter-spacing: 0.05em;
  font-family: 'VT323', monospace;
  opacity: 0.9;
  position: relative;
  text-transform: uppercase;
}

/* Old eBay Listing Style — pixel retro */
.ebay-listing {
  color: #00cc00;
  font-family: 'VT323', monospace;
  font-style: normal;
  font-size: 0.75em;
  letter-spacing: 0.08em;
  text-decoration: none;
  opacity: 1;
  background: #0a0a0a;
  border: 2px inset #444;
  padding: 0.4em 0.8em;
  display: inline-block;
  image-rendering: pixelated;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
  text-transform: none;
  text-shadow: 0 0 8px rgba(0, 204, 0, 0.6);
  box-shadow:
    inset 0 0 30px rgba(0, 204, 0, 0.05),
    0 0 2px rgba(0, 0, 0, 0.8);
  position: relative;
  animation: neonBuzz 4s ease-in-out infinite;
  overflow: hidden;
  line-height: 1.6;
}

/* CRT scanline overlay */
.ebay-listing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
}

/* Subtle screen flicker */
.ebay-listing::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 204, 0, 0.03);
  animation: crtFlicker 0.1s infinite alternate;
  pointer-events: none;
}

@keyframes crtFlicker {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Neon flicker on the whole ebay-listing */
@keyframes neonBuzz {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 204, 0, 0.6);
  }
  20%, 24%, 55% {
    opacity: 0.4;
    text-shadow: none;
  }
}

.year-glitch {
  color: var(--accent-gold);
  font-weight: 400;
  position: relative;
  display: inline-block;
  font-family: 'VT323', monospace;
}

.year-glitch::before,
.year-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.year-glitch::before {
  color: #ff4444;
  animation: glitch-1 2s infinite linear alternate-reverse;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.year-glitch::after {
  color: #00ffff;
  animation: glitch-2 3s infinite linear alternate-reverse;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-2px, 1px); }
  94% { transform: translate(2px, -1px); }
  96% { transform: translate(-1px, 2px); }
  98% { transform: translate(1px, -2px); }
}

@keyframes glitch-2 {
  0%, 85%, 100% { transform: translate(0); }
  87% { transform: translate(2px, 1px); }
  89% { transform: translate(-2px, -1px); }
  91% { transform: translate(1px, 2px); }
  93% { transform: translate(-1px, -2px); }
}

/* Problem Cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  counter-reset: problem-counter;
}

.problem-card {
  background: linear-gradient(135deg, rgba(18, 20, 26, 0.9) 0%, rgba(26, 29, 36, 0.6) 100%);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  counter-increment: problem-counter;
}

.problem-card::before {
  content: counter(problem-counter, decimal-leading-zero);
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.5;
  letter-spacing: 0.05em;
}

.problem-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.problem-card:hover {
  border-color: rgba(245, 166, 35, 0.25);
  transform: translateY(-6px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(245, 166, 35, 0.08);
}

.problem-card:hover::after {
  opacity: 1;
}

.problem-card .icon {
  width: 56px;
  height: 56px;
  background: transparent;
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
  position: relative;
  transition: all 0.4s;
}

.problem-card .icon::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.problem-card:hover .icon {
  border-color: rgba(245, 166, 35, 0.5);
  background: var(--accent-gold-dim);
}

.problem-card:hover .icon::before {
  opacity: 1;
}

.problem-card .icon svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
}

.problem-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Solution Cards */
/* Solution Hero - Side by Side Layout */
.solution-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.solution-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at top left, rgba(0, 212, 170, 0.08), transparent);
  pointer-events: none;
}

.solution-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.solution-intro h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.solution-intro .intro-lead {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.solution-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 100px;
}

.feature-item i {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  opacity: 0.8;
}

.solution-intro .intro-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Orderbook Display */
.orderbook-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .solution-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .solution-features {
    gap: 0.4rem;
  }
}

/* Settlement Flow Visualization */
.settlement-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.flow-line {
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, var(--accent-cyan), transparent);
  position: relative;
  overflow: visible;
}

.flow-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--accent-cyan), 0 0 24px var(--accent-cyan);
  animation: flowDown 2s ease-in-out infinite;
}

.flow-particle:nth-child(1) { animation-delay: 0s; }
.flow-particle:nth-child(2) { animation-delay: 0.4s; }
.flow-particle:nth-child(3) { animation-delay: 0.8s; }
.flow-particle:nth-child(4) { animation-delay: 1.2s; }
.flow-particle:nth-child(5) { animation-delay: 1.6s; }

@keyframes flowDown {
  0% {
    top: -10px;
    opacity: 0;
    transform: translateX(-50%) scale(0.5);
  }
  20% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  100% {
    top: 80px;
    opacity: 0;
    transform: translateX(-50%) scale(0.5);
  }
}

.merkle-anchor {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.merkle-anchor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(0, 212, 170, 0.1), transparent 70%);
  pointer-events: none;
  transition: background 0.3s ease;
}

/* Block impact animation */
.merkle-anchor.block-impact {
  animation: containerImpact 0.5s ease-out;
}

.merkle-anchor.block-impact::before {
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.3), transparent 70%);
}

.merkle-anchor.block-impact::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
  opacity: 0;
  z-index: -1;
  animation: borderPulse 0.5s ease-out;
}

@keyframes containerImpact {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.02) translateX(-2px);
  }
  20% {
    transform: scale(1.015) translateX(2px);
  }
  30% {
    transform: scale(1.02) translateX(-1px);
  }
  40% {
    transform: scale(1.01) translateX(1px);
  }
  50% {
    transform: scale(1.015) translateX(-1px);
  }
  60% {
    transform: scale(1.01) translateX(1px);
  }
  70% {
    transform: scale(1.005);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes borderPulse {
  0% {
    opacity: 0.8;
    inset: -2px;
  }
  100% {
    opacity: 0;
    inset: -15px;
  }
}

.anchor-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  position: relative;
}

.merkle-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
  position: relative;
}

.merkle-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.merkle-node {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  position: relative;
  transition: all 0.3s ease;
}

.merkle-node:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.merkle-node.root-node {
  background: linear-gradient(135deg, var(--accent-cyan-dim), var(--bg-tertiary));
  border-color: var(--accent-cyan);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: rootPulse 3s ease-in-out infinite;
}

.merkle-node.root-node i {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}

.merkle-node.root-node span {
  color: var(--accent-cyan);
  font-weight: 600;
}

@keyframes rootPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 4px rgba(0, 212, 170, 0.2);
  }
}

.merkle-node.leaf {
  font-size: 0.7rem;
  padding: 0.4rem 0.75rem;
  background: var(--bg-primary);
}

.merkle-branches {
  width: 120px;
  height: 24px;
  position: relative;
}

.merkle-branches::before,
.merkle-branches::after {
  content: '';
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-cyan), var(--border-color));
}

.merkle-branches::before {
  left: 25%;
  transform: rotate(-20deg);
  transform-origin: top center;
}

.merkle-branches::after {
  right: 25%;
  transform: rotate(20deg);
  transform-origin: top center;
}

.merkle-branches.wide {
  width: 280px;
}

.merkle-branches.wide::before {
  left: 15%;
  transform: rotate(-15deg);
}

.merkle-branches.wide::after {
  right: 15%;
  transform: rotate(15deg);
}

.chain-blocks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.chain-block {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  position: relative;
}

.chain-block.active {
  background: linear-gradient(135deg, var(--accent-gold-dim), var(--bg-tertiary));
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  animation: blockGlow 2s ease-in-out infinite;
}

@keyframes blockGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.4);
  }
  50% {
    box-shadow: 0 0 15px 2px rgba(245, 166, 35, 0.2);
  }
}

.chain-block.pending {
  opacity: 0.5;
  border-style: dashed;
}

.chain-block.confirmed {
  opacity: 0.6;
}

.chain-block.just-confirmed {
  animation: blockConfirm 0.6s ease-out;
}

@keyframes blockConfirm {
  0% {
    transform: scale(1.1);
    box-shadow: 0 0 30px 10px rgba(245, 166, 35, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px 2px rgba(245, 166, 35, 0.2);
  }
}

.blocks-shifting .chain-block {
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Merkle tree animations */
.merkle-node.hash-update {
  animation: hashUpdate 0.5s ease-out;
}

@keyframes hashUpdate {
  0% {
    background: rgba(0, 212, 170, 0.3);
    transform: scale(1.05);
  }
  100% {
    background: var(--bg-tertiary);
    transform: scale(1);
  }
}

.merkle-node.root-node.hash-update {
  animation: rootHashUpdate 0.5s ease-out;
}

@keyframes rootHashUpdate {
  0% {
    box-shadow: 0 0 30px 8px rgba(0, 212, 170, 0.5);
    transform: scale(1.08);
  }
  100% {
    box-shadow: 0 0 20px 4px rgba(0, 212, 170, 0.2);
    transform: scale(1);
  }
}

.merkle-node.leaf-flash {
  animation: leafFlash 0.4s ease-out;
}

@keyframes leafFlash {
  0% {
    background: rgba(0, 212, 170, 0.4);
    border-color: var(--accent-cyan);
    transform: scale(1.1);
  }
  100% {
    background: var(--bg-primary);
    border-color: var(--border-color);
    transform: scale(1);
  }
}

.chain-connector {
  width: 24px;
  height: 2px;
  background: var(--border-color);
  position: relative;
}

.chain-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: var(--border-color);
}

@media (max-width: 600px) {
  .merkle-row.level-2 {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .merkle-branches.wide {
    width: 160px;
  }
  
  .chain-blocks {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .chain-connector {
    display: none;
  }
}

.orderbook {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.orderbook-header {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}

.orderbook-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.orderbook-title .ticker {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.55rem;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-weight: 500;
}

.pulse {
  width: 5px;
  height: 5px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.orderbook-price {
  text-align: right;
}

.current-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.price-change {
  font-size: 0.65rem;
  font-weight: 500;
}

.price-change.positive {
  color: var(--accent-cyan);
}

.price-change.negative {
  color: #ff4757;
}

.orderbook-body {
  padding: 0;
}

.orderbook-side {
  position: relative;
}

.side-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0.5rem 0.75rem;
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.side-header span:nth-child(2),
.side-header span:nth-child(3) {
  text-align: right;
}

.orders-list {
  max-height: 152px;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.orders-list::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

.order-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  position: relative;
  transition: background 0.15s ease;
}

.order-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.order-row .price {
  font-weight: 500;
}

.order-row .size,
.order-row .total {
  text-align: right;
  color: var(--text-secondary);
}

.order-row.ask .price {
  color: #ff4757;
}

.order-row.bid .price {
  color: var(--accent-cyan);
}

.order-row .depth-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.15;
  transition: width 0.3s ease;
}

.order-row.ask .depth-bar {
  right: 0;
  background: linear-gradient(90deg, transparent, #ff4757);
}

.order-row.bid .depth-bar {
  right: 0;
  background: linear-gradient(90deg, transparent, var(--accent-cyan));
}

.orderbook-spread {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.spread-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spread-value {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
}

.spread-percent {
  font-size: 0.6rem;
  color: var(--text-secondary);
}

.orderbook-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.625rem 0.75rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-tertiary);
}

.volume-indicator {
  text-align: center;
}

.volume-indicator .label {
  display: block;
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
}

.volume-indicator .value {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.volume-indicator .value.positive {
  color: var(--accent-cyan);
}

.volume-indicator .value.negative {
  color: #ff4757;
}

/* Flash animations for order updates */
@keyframes flashGreen {
  0% { background: rgba(0, 212, 170, 0.4); }
  100% { background: transparent; }
}

@keyframes flashRed {
  0% { background: rgba(255, 71, 87, 0.4); }
  100% { background: transparent; }
}

.order-row.flash-green {
  animation: flashGreen 0.2s ease;
}

.order-row.flash-red {
  animation: flashRed 0.2s ease;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.solution-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.solution-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.solution-card:hover::after {
  opacity: 1;
}

.solution-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-4px);
}

.solution-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.solution-card h4::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Market Opportunity */
.market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.market-stat {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.market-stat::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.05), transparent 70%);
  pointer-events: none;
}

.market-stat .number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.market-stat h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.market-stat p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Architecture */
.architecture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .architecture-grid {
    grid-template-columns: 1fr;
  }
}

.arch-layer {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
}

.arch-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  border-radius: 0 0 3px 3px;
}

.arch-layer.client::before {
  background: var(--accent-cyan);
}

.arch-layer.infra::before {
  background: var(--accent-gold);
}

.arch-layer.settlement::before {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
}

.arch-layer h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.arch-layer ul {
  list-style: none;
}

.arch-layer li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.arch-layer li:last-child {
  border-bottom: none;
}

.arch-layer li::before {
  content: '→';
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
}

/* Rollup Merkle Tree Visualization */
.rollup-merkle-viz {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.rollup-merkle-viz::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(0, 212, 170, 0.08), transparent),
    radial-gradient(circle at 20% 20%, rgba(245, 166, 35, 0.05), transparent 40%);
  pointer-events: none;
}

.rollup-viz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.rollup-viz-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.rollup-viz-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.1em;
}

.rollup-status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: rollupStatusPulse 1.5s ease-in-out infinite;
}

@keyframes rollupStatusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 8px 2px rgba(0, 212, 170, 0.4); }
}

.rollup-tree-container {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Data inputs layer */
.rollup-data-inputs {
  width: 100%;
  margin-bottom: 1rem;
  position: relative;
}

.rollup-data-stream {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, transparent, var(--accent-cyan));
}

.rollup-stream-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: rollupStreamFlow 0.9s ease-in infinite;
}

.rollup-stream-particle:nth-child(2) { animation-delay: 0.3s; }
.rollup-stream-particle:nth-child(3) { animation-delay: 0.6s; }

@keyframes rollupStreamFlow {
  0% { top: -10px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 30px; opacity: 0; }
}

.rollup-input-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.rollup-input-node {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s ease;
  min-width: 75px;
}

.rollup-input-node:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.15);
}

.rollup-node-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent-gold);
  opacity: 0.8;
}

.rollup-node-hash {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* SVG Tree Lines */
.rollup-tree-lines {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  height: 200px;
  pointer-events: none;
  z-index: 1;
}

.rollup-line {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 1.5;
  opacity: 0.6;
}

.rollup-line-l3 {
  stroke: url(#rollup-gradient-gold);
  animation: rollupLineGlow 2s ease-in-out infinite;
}

.rollup-line-l2 {
  stroke: var(--accent-cyan);
  opacity: 0.4;
  animation: rollupLineGlow 2s ease-in-out infinite 0.5s;
}

.rollup-line-l1 {
  stroke: var(--accent-cyan);
  opacity: 0.6;
  animation: rollupLineGlow 2s ease-in-out infinite 1s;
}

@keyframes rollupLineGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.rollup-pulse-dot {
  fill: var(--accent-cyan);
  filter: drop-shadow(0 0 4px var(--accent-cyan));
}

/* Tree Levels */
.rollup-tree-levels {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  position: relative;
  z-index: 2;
}

.rollup-level {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.rollup-level-2 {
  gap: 6rem;
}

.rollup-level-1 {
  gap: 4rem;
}

.rollup-hash-node {
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s ease;
  position: relative;
}

.rollup-hash-node::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.rollup-hash-node:hover::before {
  opacity: 0.3;
}

.rollup-hash-node:hover {
  transform: scale(1.05);
  border-color: transparent;
}

.rollup-hash-prefix {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.rollup-hash-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--text-secondary);
}

.rollup-hash-parent {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), var(--bg-tertiary));
}

/* Root Node */
.rollup-level-root {
  margin-top: 1rem;
}

.rollup-root-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rollup-root-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.2), transparent 70%);
  animation: rollupRootGlow 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes rollupRootGlow {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.rollup-root-inner {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  border: 2px solid var(--accent-cyan);
  border-radius: 16px;
  padding: 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 
    0 0 30px rgba(0, 212, 170, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rollup-root-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.rollup-root-hash {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}

.rollup-root-ring {
  position: absolute;
  inset: -8px;
  border: 1px solid var(--accent-cyan);
  border-radius: 20px;
  opacity: 0.3;
  animation: rollupRingPulse 2s ease-in-out infinite;
}

@keyframes rollupRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.1; }
}

/* Chain Anchor */
.rollup-chain-anchor {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  position: relative;
}

.rollup-anchor-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-gold));
  position: relative;
  margin-bottom: 1rem;
}

.rollup-anchor-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--accent-gold);
  animation: rollupAnchorPulse 1s ease-in-out infinite;
}

@keyframes rollupAnchorPulse {
  0% { top: 0; opacity: 1; }
  100% { top: 36px; opacity: 0; }
}

.rollup-l1-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-gold-dim), var(--bg-tertiary));
  border: 1px solid var(--accent-gold);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  animation: rollupL1Pulse 2s ease-in-out infinite;
}

@keyframes rollupL1Pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.4); }
  50% { box-shadow: 0 0 20px 4px rgba(245, 166, 35, 0.2); }
}

.rollup-l1-icon {
  font-size: 1rem;
  color: var(--accent-gold);
}

.rollup-l1-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Stats Footer */
.rollup-viz-footer {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.rollup-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.rollup-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.rollup-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 600px) {
  .rollup-merkle-viz {
    padding: 1.5rem;
  }
  
  .rollup-input-row {
    gap: 0.5rem;
  }
  
  .rollup-input-node {
    min-width: 60px;
    padding: 0.4rem 0.5rem;
  }
  
  .rollup-level-2 {
    gap: 2rem;
  }
  
  .rollup-level-1 {
    gap: 1.5rem;
  }
  
  .rollup-tree-lines {
    display: none;
  }
  
  .rollup-viz-footer {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .rollup-stat-value {
    font-size: 0.95rem;
  }
}

/* Verifiability Section */
.verify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.verify-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s;
}

.verify-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 40px rgba(0, 212, 170, 0.1);
}

.verify-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.verify-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Vaults Section */
.vaults-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .vaults-container {
    grid-template-columns: 1fr;
  }
}

.vault-visual {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(10, 11, 13, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.vault-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(0, 212, 170, 0.03), transparent 50%);
  pointer-events: none;
}

/* Attack Container */
.attack-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Attack Red Dot */
.attack-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #ff5555 0%, #ff2222 60%, #cc0000 100%);
  border-radius: 50%;
  box-shadow: 
    0 0 8px rgba(255, 50, 50, 0.9),
    0 0 16px rgba(255, 30, 30, 0.6);
  z-index: 5;
  transform: translate(-50%, -50%);
  animation: attackDotMove 1.2s linear forwards;
}

.attack-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 80, 80, 0.5), transparent 70%);
  animation: dotPulse 0.25s ease-in-out infinite;
}

@keyframes attackDotMove {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  95% {
    opacity: 1;
    transform: translate(calc(-50% + var(--end-x)), calc(-50% + var(--end-y))) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--end-x)), calc(-50% + var(--end-y))) scale(0);
  }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 0.4; }
}

/* Destruction burst particles when dot is killed */
.destruction-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ff4444;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 50, 50, 0.8);
  transform: translate(-50%, -50%);
  animation: destructionBurst 0.4s ease-out forwards;
  pointer-events: none;
}

@keyframes destructionBurst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0);
  }
}

/* Shield layers - positioned around vault core */
.vault-shield {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  pointer-events: none;
}

.vault-shield-outer {
  width: 240px;
  height: 240px;
  border-color: rgba(0, 212, 170, 0.12);
  animation: shieldRotate 20s linear infinite;
  background: 
    conic-gradient(from 0deg, transparent 0%, rgba(0, 212, 170, 0.08) 10%, transparent 20%, transparent 33%, rgba(0, 212, 170, 0.06) 43%, transparent 53%, transparent 66%, rgba(0, 212, 170, 0.08) 76%, transparent 86%);
}

.vault-shield-middle {
  width: 190px;
  height: 190px;
  border-color: rgba(0, 212, 170, 0.18);
  animation: shieldRotate 15s linear infinite reverse;
  background: 
    conic-gradient(from 45deg, transparent 0%, rgba(0, 212, 170, 0.08) 15%, transparent 30%, transparent 50%, rgba(0, 212, 170, 0.06) 65%, transparent 80%);
}

.vault-shield-inner {
  width: 145px;
  height: 145px;
  border-color: rgba(0, 212, 170, 0.25);
  border-width: 2px;
  animation: shieldPulse 2.5s ease-in-out infinite;
  box-shadow: 
    0 0 30px rgba(0, 212, 170, 0.12),
    0 0 60px rgba(0, 212, 170, 0.05),
    inset 0 0 30px rgba(0, 212, 170, 0.06);
  background: radial-gradient(circle, rgba(0, 212, 170, 0.02) 0%, transparent 70%);
}

@keyframes shieldRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes shieldPulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.12), inset 0 0 30px rgba(0, 212, 170, 0.06);
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.02);
    box-shadow: 0 0 50px rgba(0, 212, 170, 0.2), inset 0 0 40px rgba(0, 212, 170, 0.1);
  }
}

/* Shield impact effect */
.vault-shield.impact {
  animation: shieldImpact 0.5s ease-out !important;
}

.vault-shield-inner.impact {
  animation: shieldImpactInner 0.5s ease-out !important;
}

@keyframes shieldImpact {
  0% {
    box-shadow: 0 0 60px rgba(0, 212, 170, 0.9), 0 0 100px rgba(0, 212, 170, 0.4), inset 0 0 40px rgba(0, 212, 170, 0.5);
    border-color: rgba(0, 212, 170, 1);
    transform: translate(-50%, -50%) scale(1.06);
  }
  30% {
    transform: translate(-50%, -50%) scale(0.98);
  }
  100% {
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.12), inset 0 0 30px rgba(0, 212, 170, 0.06);
    border-color: rgba(0, 212, 170, 0.15);
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes shieldImpactInner {
  0% {
    box-shadow: 0 0 80px rgba(0, 212, 170, 1), 0 0 120px rgba(0, 212, 170, 0.5), inset 0 0 50px rgba(0, 212, 170, 0.6);
    border-color: rgba(0, 212, 170, 1);
    transform: translate(-50%, -50%) scale(1.1);
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
  }
  25% {
    transform: translate(-50%, -50%) scale(0.96);
  }
  100% {
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.12), 0 0 60px rgba(0, 212, 170, 0.05), inset 0 0 30px rgba(0, 212, 170, 0.06);
    border-color: rgba(0, 212, 170, 0.25);
    transform: translate(-50%, -50%) scale(1);
    background: radial-gradient(circle, rgba(0, 212, 170, 0.02) 0%, transparent 70%);
  }
}

/* Deflection/destruction particles container */
.deflection-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Vault Core - container for shields and icon */
.vault-core {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 250px;
}

/* Shields positioned within vault-core */
.vault-core .vault-shield {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vault-core-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 212, 170, 0.12) 0%, transparent 70%);
  animation: coreGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes coreGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.vault-core-ring {
  position: absolute;
  width: 115px;
  height: 115px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(0, 212, 170, 0.3);
  border-radius: 50%;
  animation: ringRotate 10s linear infinite;
}

.vault-core-ring::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-cyan);
}

@keyframes ringRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.vault-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 
    0 0 30px rgba(0, 212, 170, 0.25),
    inset 0 0 15px rgba(0, 212, 170, 0.08);
}

.vault-icon-wrapper svg {
  width: 36px;
  height: 36px;
  color: var(--accent-cyan);
}

/* Vault Status */
.vault-status {
  display: flex;
  gap: 2rem;
  z-index: 10;
  margin-top: 1rem;
}

.vault-status-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.status-dot.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.threat-counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  min-width: 24px;
  text-align: center;
}

/* Vault Label */
.vault-label {
  text-align: center;
  z-index: 10;
}

.vault-label-title {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-cyan);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.vault-label-sub {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
  .vault-visual {
    min-height: 350px;
    padding: 1.5rem;
  }
  
  .vault-core {
    width: 200px;
    height: 200px;
  }
  
  .vault-shield-outer { width: 190px; height: 190px; }
  .vault-shield-middle { width: 150px; height: 150px; }
  .vault-shield-inner { width: 115px; height: 115px; }
  
  .vault-core-ring {
    width: 95px;
    height: 95px;
  }
  
  .vault-icon-wrapper {
    width: 65px;
    height: 65px;
  }
  
  .vault-icon-wrapper svg {
    width: 28px;
    height: 28px;
  }
  
  .vault-status {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  
  .attack-dot {
    width: 10px;
    height: 10px;
  }
}

/* Shield ripple effect */
.shield-ripple {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rippleExpand 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleExpand {
  0% {
    width: 20px;
    height: 20px;
    opacity: 1;
    border-width: 3px;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
    border-width: 1px;
  }
}

/* Threat counter animation */
.threat-counter.counter-bump {
  animation: counterBump 0.2s ease-out;
}

@keyframes counterBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); color: #fff; }
  100% { transform: scale(1); }
}

/* Legacy vault icon - no longer used but kept for safety */
.vault-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent-cyan-dim), var(--accent-gold-dim));
  border: 2px solid var(--border-color);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--accent-cyan);
}

.vault-icon svg {
  width: 48px;
  height: 48px;
}

.vault-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vault-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.vault-feature .check {
  width: 24px;
  height: 24px;
  background: var(--accent-cyan-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.vault-feature .check svg {
  width: 14px;
  height: 14px;
}

.vault-feature h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.vault-feature p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Built for Traders */
.traders-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .traders-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.traders-stats-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trader-stat {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s;
  flex: 1;
}

.trader-stat:hover {
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

.trader-stat .value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-align: left;
}

.trader-stat-content {
  display: flex;
  flex-direction: column;
}

.trader-stat h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.trader-stat p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .trader-stat {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
  }
  
  .trader-stat .value {
    text-align: center;
  }
  
  .trader-stat-content {
    align-items: center;
  }
}

/* Why This Wins - Trilemma Triangle */
#wins .section-header {
  text-align: center;
}

#wins .section-title {
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trilemma-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.trilemma-triangle {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1.1;
  margin: 0 auto;
}

.trilemma-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.trilemma-outline {
  animation: triOutlinePulse 3s ease-in-out infinite;
}

@keyframes triOutlinePulse {
  0%, 100% { stroke-opacity: 0.6; filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.3)); }
  50% { stroke-opacity: 1; filter: drop-shadow(0 0 20px rgba(0, 212, 170, 0.6)); }
}

.trilemma-particle {
  filter: drop-shadow(0 0 6px currentColor);
  opacity: 0.9;
}

.trilemma-particle.p1 { animation-delay: 0s; }
.trilemma-particle.p2 { animation-delay: 1.33s; }
.trilemma-particle.p3 { animation-delay: 2.66s; }

.trilemma-inner-line {
  animation: innerLineFade 2s ease-in-out infinite;
}

.trilemma-inner-line:nth-child(5) { animation-delay: 0.2s; }
.trilemma-inner-line:nth-child(6) { animation-delay: 0.4s; }

@keyframes innerLineFade {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.5; }
}

/* Vertex Labels */
.trilemma-vertex {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  transition: all 0.3s ease;
}

.trilemma-vertex:hover {
  /* transform: scale(1.05); */
}

.trilemma-vertex:hover .vertex-icon {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.vertex-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: all 0.3s ease, box-shadow 1.5s ease-out;
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
}

/* Vertex lit state - when particle is near */
.trilemma-vertex.lit .vertex-icon {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 40px rgba(0, 212, 170, 0.8), 0 0 80px rgba(0, 212, 170, 0.5);
  transform: scale(1.15);
  transition: all 0.15s ease-out;
}

.trilemma-vertex.lit .vertex-label {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(0, 212, 170, 0.6);
  transition: all 0.15s ease-out;
}

/* Slow fade out when particle leaves */
.trilemma-vertex.fading .vertex-icon {
  transition: all 1.5s ease-out;
}

.trilemma-vertex.fading .vertex-label {
  transition: all 1.5s ease-out;
}

.vertex-icon svg {
  width: 24px;
  height: 24px;
}

.vertex-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  transition: color 1.5s ease-out, text-shadow 1.5s ease-out;
}

/* Vertex Positions */
.vertex-top {
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.vertex-right {
  bottom: 0%;
  right: -20px;
}

.vertex-left {
  bottom: 0%;
  left: -20px;
}

/* Center Hub */
.trilemma-center {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
}

.center-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
  animation: centerGlowPulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes centerGlowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.center-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 50%;
  animation: ringRotate 8s linear infinite;
}

.center-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

@keyframes ringRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.center-core {
  position: relative;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  box-shadow: 
    0 0 30px rgba(0, 212, 170, 0.3),
    inset 0 0 20px rgba(0, 212, 170, 0.1);
  transition: all 0.3s ease;
}

.center-core:hover {
  transform: scale(1.1);
  box-shadow: 
    0 0 50px rgba(0, 212, 170, 0.5),
    inset 0 0 30px rgba(0, 212, 170, 0.2);
}

.center-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.center-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

/* Tagline */
.trilemma-tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 2rem;
  text-align: center;
  max-width: 400px;
}

/* Responsive */
@media (max-width: 700px) {
  .trilemma-triangle {
    max-width: 400px;
  }
  
  .vertex-icon {
    width: 44px;
    height: 44px;
  }
  
  .vertex-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .vertex-label {
    font-size: 0.85rem;
  }
  
  .vertex-right {
    right: -10px;
  }
  
  .vertex-left {
    left: -10px;
  }
  
  .center-core {
    width: 70px;
    height: 70px;
  }
  
  .center-icon {
    font-size: 1.2rem;
  }
  
  .center-text {
    font-size: 0.5rem;
  }
  
  .center-ring {
    width: 90px;
    height: 90px;
  }
  
  .center-glow {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 500px) {
  .trilemma-triangle {
    max-width: 300px;
    aspect-ratio: 1;
  }
  
  .vertex-top {
    top: -15px;
  }
  
  .vertex-right {
    right: -5px;
    bottom: -8%;
  }
  
  .vertex-left {
    left: -5px;
    bottom: -8%;
  }
  
  .vertex-icon {
    width: 36px;
    height: 36px;
  }
  
  .vertex-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .vertex-label {
    font-size: 0.7rem;
  }
  
  .trilemma-tagline {
    font-size: 0.95rem;
    padding: 0 1rem;
  }
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s;
}

.team-card:hover {
  border-color: var(--accent-cyan);
}

.team-avatar {
  width: 100px;
  height: 100px;
  background: #ffffff;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  display: block;
  color: var(--bg-primary);
}

.team-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-card .role {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Advisors */
.advisors-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 4rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.advisors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .advisors-grid {
    grid-template-columns: 1fr;
  }
}

.advisor-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.advisor-avatar {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.advisor-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.advisor-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Roadmap */
.roadmap-container {
  margin-top: 4rem;
  position: relative;
}

/* Progress line connecting all phases */
.roadmap-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
  padding: 0 2rem;
}

.roadmap-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: var(--bg-tertiary);
  transform: translateY(-50%);
  border-radius: 3px;
}

.roadmap-progress::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 2rem;
  width: 25%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
  transform: translateY(-50%);
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}

.progress-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 3px solid var(--bg-tertiary);
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.progress-dot.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.6);
}

.progress-dot.completed {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Roadmap grid */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-progress {
    display: none;
  }
}

.roadmap-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(0, 212, 170, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.roadmap-card:hover::before {
  opacity: 1;
}

.roadmap-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 170, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 212, 170, 0.1);
}

.roadmap-card.current {
  border-color: var(--accent-cyan);
  background: linear-gradient(135deg, var(--bg-secondary), rgba(0, 212, 170, 0.05));
}

.roadmap-card.current::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.phase-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-cyan-dim), var(--accent-gold-dim));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.roadmap-card.current .phase-number {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold));
  color: var(--bg-primary);
}

.phase-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-weight: 500;
}

.phase-status.current {
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 170, 0.3);
}

.phase-status.upcoming {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.phase-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-tertiary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: all 0.3s;
  position: relative;
}

.phase-icon svg {
  width: 24px;
  height: 24px;
}

.roadmap-card:hover .phase-icon {
  background: var(--accent-cyan-dim);
  transform: scale(1.05);
}

.roadmap-card.current .phase-icon {
  background: var(--accent-cyan-dim);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.2);
}

.phase-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  position: relative;
}

.phase-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  position: relative;
}

.phase-features {
  list-style: none;
  position: relative;
}

.phase-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}

.phase-features li:last-child {
  border-bottom: none;
}

.phase-features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.roadmap-card.current .phase-features li svg {
  color: var(--accent-cyan);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 6rem 2rem 8rem;
  position: relative;
}

.cta-card {
  background: linear-gradient(180deg, rgba(20, 30, 45, 0.98) 0%, rgba(15, 22, 35, 0.99) 100%);
  border: 1px solid rgba(0, 245, 204, 0.2);
  border-radius: 32px;
  padding: 4rem 3rem 3.5rem;
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 
    0 4px 60px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(0, 212, 170, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 212, 170, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(245, 166, 35, 0.06), transparent);
  pointer-events: none;
}

/* Animated background elements */
.cta-bg-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: ctaOrbFloat 8s ease-in-out infinite;
}

.cta-orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.3), transparent 70%);
  top: -100px;
  left: -50px;
  animation-delay: 0s;
}

.cta-orb-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.25), transparent 70%);
  bottom: -80px;
  right: -50px;
  animation-delay: -3s;
}

.cta-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.2), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -5s;
}

@keyframes ctaOrbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -15px) scale(1.05);
  }
  66% {
    transform: translate(-15px, 10px) scale(0.95);
  }
}

.cta-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}

/* Badge */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 245, 204, 0.12);
  border: 1px solid rgba(0, 245, 204, 0.3);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-badge-dot {
  width: 8px;
  height: 8px;
  background: #00f5cc;
  border-radius: 50%;
  animation: ctaBadgePulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px #00f5cc;
}

@keyframes ctaBadgePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.8);
  }
}

.cta-badge-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #00f5cc;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.cta-eyebrow {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  position: relative;
  font-weight: 500;
}

/* Funding Display */
.cta-funding-display {
  position: relative;
  margin-bottom: 3rem;
}

.cta-funding-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-funding-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.75rem 2.5rem;
  border-radius: 20px;
  position: relative;
  min-width: 200px;
}

.cta-funding-box-raise {
  background: linear-gradient(135deg, rgba(0, 245, 204, 0.15) 0%, rgba(0, 212, 170, 0.08) 100%);
  border: 1px solid rgba(0, 245, 204, 0.4);
  box-shadow: 
    0 4px 30px rgba(0, 212, 170, 0.25),
    inset 0 1px 0 rgba(0, 245, 204, 0.2);
}

.cta-funding-box-glow {
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 245, 204, 0.5), transparent 50%);
  opacity: 0.6;
  filter: blur(25px);
  pointer-events: none;
}

.cta-funding-box-val {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-funding-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.cta-funding-box-raise .cta-funding-label {
  color: #00f5cc;
  text-shadow: 0 0 20px rgba(0, 245, 204, 0.3);
}

.cta-funding-amount {
  font-size: clamp(2.75rem, 8vw, 4rem);
  font-weight: 700;
  color: #00f5cc;
  letter-spacing: -0.02em;
  line-height: 1;
  position: relative;
  text-shadow: 0 0 40px rgba(0, 245, 204, 0.5);
}

.cta-funding-progress {
  width: 100%;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cta-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(0, 212, 170, 0.15);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.cta-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d4aa, #00f5cc);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0, 245, 204, 0.6);
  transition: width 0.5s ease;
}

.cta-progress-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: #00f5cc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-funding-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}

.cta-connector-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.cta-funding-valuation {
  font-size: clamp(2.75rem, 8vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Backers */
.cta-backers {
  position: relative;
  margin-bottom: 2.5rem;
}

.cta-backers-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cta-backers-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.cta-backers-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
}

.cta-backers-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cta-backer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cta-backer-logo:hover {
  transform: translateY(-2px);
}

.cta-backer-logo img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  filter: brightness(1.1);
  transition: opacity 0.3s ease;
}

.cta-backer-logo:hover img {
  opacity: 1;
}

/* Funds Allocation */
.cta-funds-allocation {
  position: relative;
  margin-bottom: 2.5rem;
}

.cta-allocation-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cta-allocation-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.cta-allocation-line {
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
}

.cta-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  position: relative;
}

.cta-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.05), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-feature:hover {
  border-color: rgba(0, 212, 170, 0.15);
  transform: translateY(-2px);
}

.cta-feature:hover::before {
  opacity: 1;
}

.cta-feature-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 245, 204, 0.15);
  border: 1px solid rgba(0, 245, 204, 0.2);
  border-radius: 10px;
  flex-shrink: 0;
}

.cta-feature-icon svg {
  width: 20px;
  height: 20px;
  color: #00f5cc;
}

.cta-feature-content {
  flex: 1;
  min-width: 0;
}

.cta-feature h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.cta-feature p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.5;
}

.cta-feature-percent {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: #00f5cc;
  background: rgba(0, 245, 204, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  flex-shrink: 0;
  align-self: flex-start;
}

/* CTA Action */
.cta-action {
  position: relative;
}

.cta-telegram {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #229ED9 0%, #1a8ac7 100%);
  color: white;
  padding: 1.1rem 2.25rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 20px rgba(34, 158, 217, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-telegram-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-telegram:hover .cta-telegram-glow {
  opacity: 1;
}

.cta-telegram:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 30px rgba(34, 158, 217, 0.4),
    0 0 60px rgba(34, 158, 217, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-telegram svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta-telegram .cta-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.cta-telegram:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-subtext {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-section {
    padding: 4rem 1rem 6rem;
  }
  
  .cta-card {
    padding: 3rem 1.5rem 2.5rem;
    border-radius: 24px;
  }
  
  .cta-funding-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .cta-funding-box {
    width: 100%;
    padding: 1.25rem 1.5rem;
    min-width: unset;
  }
  
  .cta-funding-connector {
    padding: 0.25rem 0;
  }
  
  .cta-features {
    grid-template-columns: 1fr;
  }
  
  .cta-feature {
    padding: 1rem;
  }
  
  .cta-telegram {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-color);
  padding: 3rem;
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo .logo-img {
  width: 160px;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  footer {
    padding: 2rem 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
  }
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transform-origin: center;
}

/* Hamburger to X transformation */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hover effect */
.mobile-menu-btn:hover .hamburger-line {
  background: var(--accent-cyan);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: linear-gradient(180deg, rgba(15, 17, 21, 0.98) 0%, rgba(10, 11, 13, 0.99) 100%);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 0;
    list-style: none;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 95;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }

  .nav-links a {
    display: block;
    padding: 1.25rem 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
    position: relative;
  }

  .nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--accent-cyan);
    border-radius: 2px;
    transition: height 0.25s ease;
  }

  .nav-links a:hover {
    color: var(--text-primary);
    padding-left: 1.5rem;
    background: rgba(0, 212, 170, 0.05);
  }

  .nav-links a:hover::before {
    height: 60%;
  }

  /* Hide desktop CTA on mobile */
  .nav-cta {
    display: none !important;
  }

  /* Show mobile CTA in menu */
  .nav-cta-mobile-wrapper {
    display: block !important;
    margin-top: 1.5rem;
  }

  .nav-cta-mobile {
    display: block !important;
    padding: 1rem 1.5rem !important;
    background: var(--accent-cyan) !important;
    color: var(--bg-primary) !important;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .nav-cta-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3);
  }

  /* Remove the default link styles for mobile CTA */
  .nav-cta-mobile-wrapper a::before {
    display: none !important;
  }

  nav {
    padding: 1rem 1.5rem;
  }

  section {
    padding: 5rem 1.5rem;
  }

  .hero {
    padding-top: 8rem;
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   LEVERAGE ENGINE OF POWER (Minimal)
   ============================================ */

.leverage-engine {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leverage-engine.power-mode {
  border-color: rgba(255, 100, 50, 0.3);
}

.leverage-engine.max-power {
  border-color: rgba(255, 50, 50, 0.5);
  animation: enginePulse 0.3s ease-in-out infinite;
}

@keyframes enginePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 50, 50, 0); }
  50% { box-shadow: 0 0 30px 0 rgba(255, 50, 50, 0.3); }
}

/* Red Glow Effect */
.leverage-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(255, 30, 30, 0), transparent);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
}

.leverage-glow.active {
  opacity: 1;
  background: radial-gradient(ellipse at center bottom, rgba(255, 50, 30, 0.15), transparent 70%);
}

.leverage-glow.intense {
  background: radial-gradient(ellipse at center bottom, rgba(255, 40, 20, 0.25), transparent 70%);
}

.leverage-glow.max {
  background: radial-gradient(ellipse at center, rgba(255, 30, 10, 0.35), rgba(255, 80, 0, 0.1) 50%, transparent 80%);
  animation: glowPulse 0.25s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Header layout */
.leverage-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  text-align: center;
}

.leverage-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.leverage-sublabel {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Leverage Display */
.leverage-display {
  transition: transform 0.1s ease;
}

.leverage-value {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  transition: all 0.2s ease;
}

.leverage-display.heated .leverage-value {
  color: #ff6b6b;
  text-shadow: 0 0 30px rgba(255, 50, 50, 0.5);
}

.leverage-display.critical .leverage-value {
  color: #ff3333;
  text-shadow: 0 0 40px rgba(255, 30, 30, 0.7);
}

.leverage-x {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-muted);
  vertical-align: top;
}

/* Caption */
.leverage-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-style: italic;
}

@media (max-width: 600px) {
  .leverage-value {
    font-size: 3.5rem;
  }
  
  .leverage-x {
    font-size: 1.5rem;
  }
  
  .leverage-engine {
    padding: 2rem 1.5rem;
  }
}

/* Leverage Bar Wrapper */
.leverage-bar-wrapper {
  position: relative;
  height: 20px;
  transition: transform 0.05s ease;
}

/* Shaking animations */
.leverage-bar-wrapper.shake-1 {
  animation: shake1 0.12s ease-in-out infinite;
}

.leverage-bar-wrapper.shake-2 {
  animation: shake2 0.08s ease-in-out infinite;
}

.leverage-bar-wrapper.shake-3 {
  animation: shake3 0.06s ease-in-out infinite;
}

.leverage-bar-wrapper.shake-4 {
  animation: shake4 0.04s ease-in-out infinite;
}

@keyframes shake1 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-1px); }
}

@keyframes shake2 {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-1.5px); }
  75% { transform: translateX(1.5px); }
}

@keyframes shake3 {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(-2px) rotate(-0.3deg); }
  75% { transform: translateX(2px) rotate(0.3deg); }
}

@keyframes shake4 {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  20% { transform: translateX(-3px) rotate(-0.5deg); }
  40% { transform: translateX(2px) rotate(0.4deg); }
  60% { transform: translateX(-2px) rotate(-0.3deg); }
  80% { transform: translateX(3px) rotate(0.5deg); }
}

/* Leverage Track */
.leverage-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.leverage-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan));
  border-radius: 10px;
  transition: width 0.1s ease, box-shadow 0.3s ease;
}

.leverage-fill.warm {
  background: linear-gradient(90deg, var(--accent-cyan), #f5a623);
}

.leverage-fill.hot {
  background: linear-gradient(90deg, #f5a623, #ff6b6b, #ff4444);
  box-shadow: 0 0 20px rgba(255, 80, 50, 0.6);
}

.leverage-fill.critical {
  background: linear-gradient(90deg, #ff6b6b, #ff3333, #ff0000);
  box-shadow: 0 0 30px rgba(255, 30, 30, 0.7);
  animation: fillPulse 0.25s ease-in-out infinite;
}

@keyframes fillPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

/* Slider */
.leverage-slider {
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  height: 32px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  z-index: 10;
}

.leverage-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  border: 2px solid rgba(255,255,255,0.5);
}

.leverage-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  border-radius: 50%;
  cursor: grab;
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.8);
}

.leverage-slider:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.08);
}

.leverage-slider:active::-moz-range-thumb {
  cursor: grabbing;
}

.leverage-engine.power-mode .leverage-slider::-webkit-slider-thumb {
  background: linear-gradient(145deg, #ffddcc, #ffaa88);
  border-color: rgba(255, 150, 100, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 100, 50, 0.5);
}

.leverage-engine.power-mode .leverage-slider::-moz-range-thumb {
  background: linear-gradient(145deg, #ffddcc, #ffaa88);
  border-color: rgba(255, 150, 100, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 100, 50, 0.5);
}

.leverage-engine.max-power .leverage-slider::-webkit-slider-thumb {
  background: linear-gradient(145deg, #ff9977, #ff5533);
  border-color: rgba(255, 80, 50, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 50, 50, 0.8);
  animation: thumbGlow 0.2s ease-in-out infinite;
}

.leverage-engine.max-power .leverage-slider::-moz-range-thumb {
  background: linear-gradient(145deg, #ff9977, #ff5533);
  border-color: rgba(255, 80, 50, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 50, 50, 0.8);
}

@keyframes thumbGlow {
  0%, 100% { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 50, 50, 0.8); }
  50% { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 50, 50, 1); }
}

/* Ticks */
.leverage-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0 0.25rem;
}

/* ============================================
   SCALE THROUGHPUT WIDGET
   ============================================ */

.scale-widget {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 0;
  margin-bottom: 3rem;
  overflow: hidden;
  position: relative;
}

.scale-widget::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(0, 212, 170, 0.06), transparent),
    radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.04), transparent 50%);
  pointer-events: none;
}

/* Header */
.scale-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.scale-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.scale-icon {
  font-size: 1rem;
}

.scale-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  background: var(--bg-tertiary);
}

.scale-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.scale-status-dot.idle {
  background: var(--text-muted);
}

.scale-status-dot.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: statusPulse 1s ease-in-out infinite;
}

.scale-status-dot.max {
  background: var(--accent-gold);
  box-shadow: 0 0 15px var(--accent-gold);
  animation: maxPulse 0.5s ease-in-out infinite;
}

@keyframes maxPulse {
  0%, 100% { box-shadow: 0 0 10px var(--accent-gold); }
  50% { box-shadow: 0 0 20px var(--accent-gold), 0 0 30px rgba(245, 166, 35, 0.5); }
}

.scale-status-text {
  color: var(--text-secondary);
}

/* Body */
.scale-body {
  padding: 2rem 1.5rem;
  position: relative;
}

/* Stream Section */
.scale-stream-section {
  margin-bottom: 2rem;
}

.stream-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.stream-visualizer {
  position: relative;
  height: 120px;
  background: var(--bg-tertiary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* Processing Lanes */
.processing-lanes {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 10px 0;
  pointer-events: none;
}

.processing-lane {
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 212, 170, 0.1) 20%, 
    rgba(0, 212, 170, 0.15) 50%, 
    rgba(0, 212, 170, 0.1) 80%, 
    transparent 100%
  );
  animation: laneGlow 2s ease-in-out infinite;
  animation-delay: calc(var(--lane-index) * 0.15s);
}

@keyframes laneGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Transaction Particles */
.tx-stream-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.tx-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  left: -10px;
  top: calc(15% + var(--lane) * 12%);
  background: hsl(var(--hue), 80%, 55%);
  box-shadow: 
    0 0 8px hsl(var(--hue), 80%, 55%),
    0 0 15px hsl(var(--hue), 80%, 55%);
  animation: particleFly var(--speed) ease-in forwards;
  --target-y: 50%;
}

.tx-particle::after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, hsl(var(--hue), 80%, 55%));
  opacity: 0.6;
  transition: opacity 0.1s;
}

@keyframes particleFly {
  0% {
    left: -10px;
    top: calc(15% + var(--lane) * 12%);
    opacity: 0;
    transform: scale(1);
  }
  15% {
    opacity: 1;
    transform: scale(1);
  }
  60% {
    top: calc(15% + var(--lane) * 12%);
    transform: scale(1);
  }
  85% {
    opacity: 1;
    transform: scale(0.8);
  }
  100% {
    left: calc(100% - 65px);
    top: 50%;
    opacity: 0;
    transform: scale(0);
  }
}

/* Matching Core */
.matching-core {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  --glow-intensity: 0;
}

.core-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, 
    rgba(0, 212, 170, calc(0.3 * var(--glow-intensity))), 
    transparent 70%
  );
  animation: coreGlowPulse 1.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes coreGlowPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
}

.core-inner {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  border: 2px solid var(--accent-cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 
    0 0 20px rgba(0, 212, 170, calc(0.3 * var(--glow-intensity))),
    inset 0 0 15px rgba(0, 212, 170, 0.1);
  transition: all 0.15s ease;
}

.matching-core.absorb .core-inner {
  box-shadow: 
    0 0 35px rgba(0, 212, 170, 0.7),
    inset 0 0 20px rgba(0, 212, 170, 0.2);
  transform: scale(1.05);
}

.matching-core.max-load .core-inner {
  border-color: var(--accent-gold);
  box-shadow: 
    0 0 30px rgba(245, 166, 35, 0.5),
    inset 0 0 20px rgba(245, 166, 35, 0.15);
}

.matching-core.max-load.absorb .core-inner {
  box-shadow: 
    0 0 45px rgba(245, 166, 35, 0.8),
    inset 0 0 25px rgba(245, 166, 35, 0.3);
}

.core-symbol {
  font-size: 1.25rem;
  color: var(--accent-cyan);
  transition: color 0.3s ease;
}

.matching-core.max-load .core-symbol {
  color: var(--accent-gold);
}

.core-ring {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 16px;
  animation: coreRingRotate 8s linear infinite;
}

.core-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

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

/* TPS Section */
.scale-tps-section {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-tertiary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.tps-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.tps-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tps-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(0, 212, 170, 0.4);
  transition: all 0.1s ease;
}

.tps-unit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.tps-bar-container {
  position: relative;
  height: 12px;
  background: var(--bg-primary);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.tps-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
  border-radius: 6px;
  transition: width 0.1s ease;
  box-shadow: 0 0 15px rgba(0, 212, 170, 0.5);
}

.tps-target {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Stats Row */
.scale-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.scale-stat {
  text-align: center;
  padding: 1rem;
  background: var(--bg-tertiary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.scale-stat-value {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.scale-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Footer */
.scale-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.scale-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* TradFi Subsection (within Market) */
.tradfi-section {
  max-width: 1000px;
  margin: 4rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.tradfi-title {
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.tradfi-section.visible .tradfi-title {
  opacity: 1;
  transform: translateY(0);
}

.tradfi-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* Ticker-style horizontal layout for 5 items */
.tradfi-ticker {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem 0.5rem;
  position: relative;
  overflow: hidden;
}

.tradfi-ticker::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(0, 212, 170, 0.03) 0%, 
    transparent 20%,
    transparent 80%,
    rgba(245, 166, 35, 0.03) 100%
  );
  pointer-events: none;
}

/* Shimmer scanning effect */
.tradfi-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 212, 170, 0.08) 45%,
    rgba(245, 166, 35, 0.08) 55%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0;
}

.tradfi-ticker.shimmer-active::after {
  opacity: 1;
  animation: tradfiShimmer 2.5s ease-in-out;
}

@keyframes tradfiShimmer {
  0% {
    left: -50%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/* Border glow animation */
.tradfi-ticker.border-glow {
  animation: tradfiTickerBorderGlow 1.5s ease-out;
}

@keyframes tradfiTickerBorderGlow {
  0% {
    border-color: var(--border-color);
    box-shadow: none;
  }
  30% {
    border-color: rgba(0, 212, 170, 0.5);
    box-shadow: 
      0 0 20px rgba(0, 212, 170, 0.15),
      inset 0 0 20px rgba(0, 212, 170, 0.05);
  }
  100% {
    border-color: var(--border-color);
    box-shadow: none;
  }
}

.tradfi-ticker-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: transform 0.2s ease;
  
  /* Animation initial state */
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.tradfi-ticker-item.animate-in {
  animation: tradfiItemReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tradfi-ticker-item:nth-child(1) { animation-delay: 0.1s; }
.tradfi-ticker-item:nth-child(3) { animation-delay: 0.25s; }
.tradfi-ticker-item:nth-child(5) { animation-delay: 0.4s; }
.tradfi-ticker-item:nth-child(7) { animation-delay: 0.55s; }

@keyframes tradfiItemReveal {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Divider animation */
.tradfi-ticker-divider {
  opacity: 0;
  transform: scaleY(0);
}

.tradfi-ticker-divider.animate-in {
  animation: tradfiDividerReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tradfi-ticker-divider:nth-child(2) { animation-delay: 0.2s; }
.tradfi-ticker-divider:nth-child(4) { animation-delay: 0.35s; }
.tradfi-ticker-divider:nth-child(6) { animation-delay: 0.5s; }

@keyframes tradfiDividerReveal {
  0% {
    opacity: 0;
    transform: scaleY(0);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Ticker value glow pulse after reveal */
.tradfi-ticker-item.animate-in .ticker-value {
  animation: tradfiValueGlow 2s ease-in-out 0.8s;
}

@keyframes tradfiValueGlow {
  0%, 100% {
    text-shadow: none;
    filter: brightness(1);
  }
  50% {
    text-shadow: 0 0 30px rgba(0, 212, 170, 0.6), 0 0 60px rgba(0, 212, 170, 0.3);
    filter: brightness(1.2);
  }
}

/* Number counter animation class */
.ticker-value.counting {
  animation: countPulse 0.05s ease-in-out;
}

@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.tradfi-ticker-item.animate-in:hover {
  transform: translateY(-4px) scale(1.02);
}

.tradfi-ticker-item.animate-in:hover .ticker-value {
  text-shadow: 0 0 25px rgba(0, 212, 170, 0.5), 0 0 50px rgba(0, 212, 170, 0.2);
  filter: brightness(1.15);
}

.tradfi-ticker-divider {
  width: 1px;
  background: linear-gradient(180deg, 
    transparent 10%,
    var(--border-color) 30%,
    rgba(0, 212, 170, 0.3) 50%,
    var(--border-color) 70%,
    transparent 90%
  );
  margin: 0.25rem 0;
  flex-shrink: 0;
}

.ticker-value {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 0.35rem;
  transition: text-shadow 0.2s ease;
}

.ticker-value.accent {
  background: linear-gradient(135deg, var(--accent-gold), #ffcc66);
  -webkit-background-clip: text;
  background-clip: text;
}

.ticker-value.quote {
  font-style: italic;
}

.ticker-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  max-width: 140px;
}

.tradfi-bottom-line {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(245, 166, 35, 0.1));
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 12px;
}

@media (max-width: 900px) {
  .tradfi-ticker {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .tradfi-ticker-item {
    flex: 1 1 calc(33.33% - 1rem);
    min-width: 140px;
    padding: 0.75rem;
  }
  
  .tradfi-ticker-divider {
    display: none;
  }
  
  .ticker-value {
    font-size: 1rem;
  }
  
  .ticker-label {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .tradfi-section {
    margin-top: 3rem;
    padding-top: 2rem;
  }

  .tradfi-title {
    font-size: 1.4rem;
  }
  
  .tradfi-ticker {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }
  
  .tradfi-ticker-item {
    flex: none;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    /* Mobile animation adjustment */
    transform: translateX(-30px);
  }
  
  .tradfi-ticker-item.animate-in {
    animation: tradfiItemRevealMobile 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  /* Staggered delays for mobile (items only, no dividers) */
  .tradfi-ticker-item:nth-child(1) { animation-delay: 0.1s; }
  .tradfi-ticker-item:nth-child(3) { animation-delay: 0.2s; }
  .tradfi-ticker-item:nth-child(5) { animation-delay: 0.3s; }
  .tradfi-ticker-item:nth-child(7) { animation-delay: 0.4s; }
  
  @keyframes tradfiItemRevealMobile {
    0% {
      opacity: 0;
      transform: translateX(-30px);
    }
    60% {
      opacity: 1;
      transform: translateX(5px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .tradfi-ticker-item:last-of-type {
    border-bottom: none;
  }
  
  .ticker-value {
    font-size: 1rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .ticker-label {
    font-size: 0.8rem;
    text-align: right;
    max-width: 55%;
  }
  
  .tradfi-lead {
    font-size: 1rem;
  }
  
  .tradfi-bottom-line {
    font-size: 0.95rem;
    padding: 0.875rem 1.25rem;
  }
}

/* Responsive */
@media (max-width: 700px) {
  .scale-widget {
    margin-bottom: 2rem;
  }
  
  .scale-body {
    padding: 1.5rem 1rem;
  }
  
  .tps-value {
    font-size: 2.5rem;
  }
  
  .scale-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .scale-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }
  
  .scale-stat-value {
    margin-bottom: 0;
  }
  
  .stream-visualizer {
    height: 100px;
  }
  
  .matching-core {
    width: 50px;
    height: 50px;
    right: 15px;
  }
  
  .core-inner {
    width: 36px;
    height: 36px;
  }
  
  .core-symbol {
    font-size: 1rem;
  }
  
  .core-ring {
    inset: -5px;
    border-radius: 12px;
  }
  
  .core-ring::before {
    width: 4px;
    height: 4px;
  }
}

/* Hero Responsive */
@media (max-width: 900px) {
  .rune-circle.outer {
    width: 500px;
    height: 500px;
  }
  
  .rune-circle.middle {
    width: 380px;
    height: 380px;
  }
  
  .rune-circle.inner {
    width: 220px;
    height: 220px;
  }
  
  .orbit-field {
    width: 550px;
    height: 550px;
  }
  
  .asteroid.a1 { animation: orbit1-sm 25s linear infinite, drift1 8s ease-in-out infinite, twinkle 3s ease-in-out infinite; }
  .asteroid.a2 { animation: orbit2-sm 32s linear infinite reverse, drift2 6s ease-in-out infinite, twinkle 4s ease-in-out infinite 0.5s; }
  .asteroid.a3 { animation: orbit3-sm 28s linear infinite, drift3 10s ease-in-out infinite, twinkle 5s ease-in-out infinite 1s; }
  .asteroid.a4 { animation: orbit4-sm 22s linear infinite reverse, drift1 7s ease-in-out infinite 2s, twinkle 3.5s ease-in-out infinite; }
  .asteroid.a5 { animation: orbit5-sm 35s linear infinite, drift2 9s ease-in-out infinite 1s, twinkle 4.5s ease-in-out infinite 0.3s; }
  .asteroid.a6 { animation: orbit6-sm 20s linear infinite reverse, drift3 5s ease-in-out infinite, twinkle 3s ease-in-out infinite 1.5s; }
  .asteroid.a7 { animation: orbit7-sm 38s linear infinite, drift1 11s ease-in-out infinite 3s, twinkle 6s ease-in-out infinite; }
  .asteroid.a8 { animation: orbit8-sm 18s linear infinite reverse, drift2 4s ease-in-out infinite 0.5s, twinkle 2.5s ease-in-out infinite; }
  .asteroid.a9 { animation: orbit9-sm 30s linear infinite, drift3 8s ease-in-out infinite 2s, twinkle 4s ease-in-out infinite 0.8s; }
  .asteroid.a10 { animation: orbit10-sm 26s linear infinite reverse, drift1 6s ease-in-out infinite 1.5s, twinkle 3.5s ease-in-out infinite 0.2s; }
  .asteroid.a11 { animation: orbit11-sm 40s linear infinite, drift2 12s ease-in-out infinite, twinkle 5s ease-in-out infinite 2s; }
  .asteroid.a12 { animation: orbit12-sm 15s linear infinite reverse, drift3 3s ease-in-out infinite 1s, twinkle 2s ease-in-out infinite; }
  
  @keyframes orbit1-sm { 0% { transform: translate(-50%, -50%) rotate(0deg) translateX(220px) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg) translateX(220px) rotate(-360deg); } }
  @keyframes orbit2-sm { 0% { transform: translate(-50%, -50%) rotate(45deg) translateX(190px) rotate(-45deg); } 100% { transform: translate(-50%, -50%) rotate(405deg) translateX(190px) rotate(-405deg); } }
  @keyframes orbit3-sm { 0% { transform: translate(-50%, -50%) rotate(90deg) translateX(250px) rotate(-90deg); } 100% { transform: translate(-50%, -50%) rotate(450deg) translateX(250px) rotate(-450deg); } }
  @keyframes orbit4-sm { 0% { transform: translate(-50%, -50%) rotate(180deg) translateX(160px) rotate(-180deg); } 100% { transform: translate(-50%, -50%) rotate(540deg) translateX(160px) rotate(-540deg); } }
  @keyframes orbit5-sm { 0% { transform: translate(-50%, -50%) rotate(270deg) translateX(260px) rotate(-270deg); } 100% { transform: translate(-50%, -50%) rotate(630deg) translateX(260px) rotate(-630deg); } }
  @keyframes orbit6-sm { 0% { transform: translate(-50%, -50%) rotate(30deg) translateX(140px) rotate(-30deg); } 100% { transform: translate(-50%, -50%) rotate(390deg) translateX(140px) rotate(-390deg); } }
  @keyframes orbit7-sm { 0% { transform: translate(-50%, -50%) rotate(150deg) translateX(245px) rotate(-150deg); } 100% { transform: translate(-50%, -50%) rotate(510deg) translateX(245px) rotate(-510deg); } }
  @keyframes orbit8-sm { 0% { transform: translate(-50%, -50%) rotate(210deg) translateX(120px) rotate(-210deg); } 100% { transform: translate(-50%, -50%) rotate(570deg) translateX(120px) rotate(-570deg); } }
  @keyframes orbit9-sm { 0% { transform: translate(-50%, -50%) rotate(300deg) translateX(200px) rotate(-300deg); } 100% { transform: translate(-50%, -50%) rotate(660deg) translateX(200px) rotate(-660deg); } }
  @keyframes orbit10-sm { 0% { transform: translate(-50%, -50%) rotate(120deg) translateX(175px) rotate(-120deg); } 100% { transform: translate(-50%, -50%) rotate(480deg) translateX(175px) rotate(-480deg); } }
  @keyframes orbit11-sm { 0% { transform: translate(-50%, -50%) rotate(240deg) translateX(230px) rotate(-240deg); } 100% { transform: translate(-50%, -50%) rotate(600deg) translateX(230px) rotate(-600deg); } }
  @keyframes orbit12-sm { 0% { transform: translate(-50%, -50%) rotate(60deg) translateX(110px) rotate(-60deg); } 100% { transform: translate(-50%, -50%) rotate(420deg) translateX(110px) rotate(-420deg); } }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 4rem;
  }
  
  .hero-sword-container {
    width: 440px;
    height: 440px;
  }
  
  .rune-circle.outer,
  .rune-circle.middle {
    display: none;
  }
  
  .rune-circle.inner {
    width: 200px;
    height: 200px;
  }
  
  .orbit-field {
    width: 350px;
    height: 350px;
  }
  
  /* Hide some asteroids on mobile, keep a few for subtle effect */
  .asteroid.a2,
  .asteroid.a4,
  .asteroid.a6,
  .asteroid.a8,
  .asteroid.a10,
  .asteroid.a12 {
    display: none;
  }
  
  .asteroid.a1 { animation: orbit1-xs 20s linear infinite, drift1 8s ease-in-out infinite, twinkle 3s ease-in-out infinite; }
  .asteroid.a3 { animation: orbit3-xs 25s linear infinite, drift3 10s ease-in-out infinite, twinkle 5s ease-in-out infinite 1s; }
  .asteroid.a5 { animation: orbit5-xs 30s linear infinite, drift2 9s ease-in-out infinite 1s, twinkle 4.5s ease-in-out infinite 0.3s; }
  .asteroid.a7 { animation: orbit7-xs 35s linear infinite, drift1 11s ease-in-out infinite 3s, twinkle 6s ease-in-out infinite; }
  .asteroid.a9 { animation: orbit9-xs 28s linear infinite, drift3 8s ease-in-out infinite 2s, twinkle 4s ease-in-out infinite 0.8s; }
  .asteroid.a11 { animation: orbit11-xs 32s linear infinite, drift2 12s ease-in-out infinite, twinkle 5s ease-in-out infinite 2s; }
  
  @keyframes orbit1-xs { 0% { transform: translate(-50%, -50%) rotate(0deg) translateX(140px) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg) translateX(140px) rotate(-360deg); } }
  @keyframes orbit3-xs { 0% { transform: translate(-50%, -50%) rotate(60deg) translateX(160px) rotate(-60deg); } 100% { transform: translate(-50%, -50%) rotate(420deg) translateX(160px) rotate(-420deg); } }
  @keyframes orbit5-xs { 0% { transform: translate(-50%, -50%) rotate(120deg) translateX(150px) rotate(-120deg); } 100% { transform: translate(-50%, -50%) rotate(480deg) translateX(150px) rotate(-480deg); } }
  @keyframes orbit7-xs { 0% { transform: translate(-50%, -50%) rotate(180deg) translateX(165px) rotate(-180deg); } 100% { transform: translate(-50%, -50%) rotate(540deg) translateX(165px) rotate(-540deg); } }
  @keyframes orbit9-xs { 0% { transform: translate(-50%, -50%) rotate(240deg) translateX(145px) rotate(-240deg); } 100% { transform: translate(-50%, -50%) rotate(600deg) translateX(145px) rotate(-600deg); } }
  @keyframes orbit11-xs { 0% { transform: translate(-50%, -50%) rotate(300deg) translateX(155px) rotate(-300deg); } 100% { transform: translate(-50%, -50%) rotate(660deg) translateX(155px) rotate(-660deg); } }
  
  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }
  
  .hero-subtitle {
    font-size: 0.75rem;
  }
}

/* ===================================
   COLLECTIBLES AS COLLATERAL SECTION
   =================================== */

#collateral {
  overflow: visible;
}

#collateral .section-header {
  text-align: center;
}

#collateral .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

.collateral-viz-container {
  margin: 4rem 0;
}

.collateral-visualization {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  min-height: 500px;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(18, 20, 26, 0.8) 0%, rgba(26, 29, 36, 0.4) 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
}

.collateral-bg-glow {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.6;
  transition: background 0.8s ease;
}

/* Trading Card Styles */
.collateral-card-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.collateral-card {
  position: relative;
  width: 280px;
  height: 380px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform-style: preserve-3d;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 16, 0.4);
}

.card-holographic {
  display: none;
}

.card-full-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Collectible type transitions */
.collateral-card {
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}

.collateral-card.transitioning {
  opacity: 0;
  transform: scale(0.92) translateY(10px) !important;
}

/* Default card type (trading card) */
.collateral-card.type-card {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Sneaker variant */
.collateral-card.type-sneaker {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Skin variant */
.collateral-card.type-skin {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Background glow variants */
.collateral-bg-glow.glow-card {
  background: radial-gradient(circle, rgba(245, 166, 35, 0.06) 0%, transparent 60%);
}

.collateral-bg-glow.glow-sneaker {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
}

.collateral-bg-glow.glow-skin {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.06) 0%, transparent 60%);
}

/* Echo card glow variants */
.collateral-card.type-sneaker ~ .leverage-badge {
  border-color: rgba(59, 130, 246, 0.5);
}

.collateral-card.type-skin ~ .leverage-badge {
  border-color: rgba(239, 68, 68, 0.5);
}

/* Leverage badge glow per type */
.leverage-badge.type-sneaker {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.leverage-badge.type-sneaker .leverage-badge-glow {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(147, 197, 253, 0.4) 100%);
}

.leverage-badge.type-sneaker .leverage-amount {
  background: linear-gradient(135deg, #3b82f6 0%, #93c5fd 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
}

.leverage-badge.type-skin {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(239, 68, 68, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.leverage-badge.type-skin .leverage-badge-glow {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.4) 0%, rgba(251, 146, 60, 0.4) 100%);
}

.leverage-badge.type-skin .leverage-amount {
  background: linear-gradient(135deg, #ef4444 0%, #fb923c 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.5));
}

/* Echo cards per type */
.leverage-echoes.type-sneaker .echo-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(147, 197, 253, 0.2) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

.leverage-echoes.type-skin .echo-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(251, 146, 60, 0.2) 100%);
  border-color: rgba(239, 68, 68, 0.3);
}

/* Income panel accent per type */
.income-panel.type-sneaker .income-status-dot {
  background: #3b82f6;
}

.income-panel.type-sneaker .income-header span {
  color: #3b82f6;
}

.income-panel.type-sneaker .income-value.highlight {
  color: #3b82f6;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.income-panel.type-sneaker .income-value.positive {
  color: #60a5fa;
}

.income-panel.type-skin .income-status-dot {
  background: #ef4444;
}

.income-panel.type-skin .income-header span {
  color: #ef4444;
}

.income-panel.type-skin .income-value.highlight {
  color: #ef4444;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.income-panel.type-skin .income-value.positive {
  color: #fb923c;
}

/* Comic variant - yellow/amber */
.collateral-card.type-comic {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.collateral-bg-glow.glow-comic {
  background: radial-gradient(circle, rgba(234, 179, 8, 0.06) 0%, transparent 60%);
}

.collateral-card.type-comic ~ .leverage-badge {
  border-color: rgba(234, 179, 8, 0.5);
}

.leverage-badge.type-comic {
  border-color: rgba(234, 179, 8, 0.5);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(234, 179, 8, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.leverage-badge.type-comic .leverage-badge-glow {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.4) 0%, rgba(253, 224, 71, 0.4) 100%);
}

.leverage-badge.type-comic .leverage-amount {
  background: linear-gradient(135deg, #eab308 0%, #fde047 50%, #facc15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(234, 179, 8, 0.5));
}

.leverage-echoes.type-comic .echo-card {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.3) 0%, rgba(253, 224, 71, 0.2) 100%);
  border-color: rgba(234, 179, 8, 0.3);
}

.income-panel.type-comic .income-status-dot {
  background: #eab308;
}

.income-panel.type-comic .income-header span {
  color: #eab308;
}

.income-panel.type-comic .income-value.highlight {
  color: #eab308;
  text-shadow: 0 0 10px rgba(234, 179, 8, 0.3);
}

.income-panel.type-comic .income-value.positive {
  color: #facc15;
}

/* Luxury variant - rose/pink */
.collateral-card.type-luxury {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.collateral-bg-glow.glow-luxury {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.06) 0%, transparent 60%);
}

.collateral-card.type-luxury ~ .leverage-badge {
  border-color: rgba(236, 72, 153, 0.5);
}

.leverage-badge.type-luxury {
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(236, 72, 153, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.leverage-badge.type-luxury .leverage-badge-glow {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.4) 0%, rgba(244, 114, 182, 0.4) 100%);
}

.leverage-badge.type-luxury .leverage-amount {
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 50%, #f9a8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.5));
}

.leverage-echoes.type-luxury .echo-card {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(244, 114, 182, 0.2) 100%);
  border-color: rgba(236, 72, 153, 0.3);
}

.income-panel.type-luxury .income-status-dot {
  background: #ec4899;
}

.income-panel.type-luxury .income-header span {
  color: #ec4899;
}

.income-panel.type-luxury .income-value.highlight {
  color: #ec4899;
  text-shadow: 0 0 10px rgba(236, 72, 153, 0.3);
}

.income-panel.type-luxury .income-value.positive {
  color: #f472b6;
}

/* PSA Grade badge */
.psa-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #00d4aa 0%, #00a080 100%);
  color: #000;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.4);
  z-index: 3;
}

/* Ownership Badge */
.ownership-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.2) 0%, rgba(0, 212, 170, 0.1) 100%);
  border: 1px solid var(--accent-cyan);
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  animation: badgePulse 2s ease-in-out infinite;
}

.ownership-badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

.ownership-badge span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.1em;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 170, 0.3); }
  50% { box-shadow: 0 0 30px rgba(0, 212, 170, 0.5); }
}

/* Leverage Echoes - Stacked cards showing amplification */
.leverage-echoes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.echo-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.3) 0%, rgba(245, 166, 35, 0.2) 100%);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 170, 0.3);
  opacity: 0;
  transform: translate(0, 0) scale(1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.leverage-echoes.active .echo-card.echo-1 {
  opacity: 0.15;
  transform: translate(12px, -12px) scale(1.02);
  transition-delay: 0.1s;
}

.leverage-echoes.active .echo-card.echo-2 {
  opacity: 0.12;
  transform: translate(24px, -24px) scale(1.04);
  transition-delay: 0.2s;
}

.leverage-echoes.active .echo-card.echo-3 {
  opacity: 0.09;
  transform: translate(36px, -36px) scale(1.06);
  transition-delay: 0.3s;
}

.leverage-echoes.active .echo-card.echo-4 {
  opacity: 0.06;
  transform: translate(48px, -48px) scale(1.08);
  transition-delay: 0.4s;
}

.leverage-echoes.active .echo-card.echo-5 {
  opacity: 0.03;
  transform: translate(60px, -60px) scale(1.10);
  transition-delay: 0.5s;
}

/* Leverage Badge */
.leverage-badge {
  position: absolute;
  bottom: -30px;
  right: -100px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(10, 11, 13, 0.95) 0%, rgba(18, 20, 26, 0.95) 100%);
  padding: 16px 24px;
  border-radius: 16px;
  border: 2px solid rgba(0, 212, 170, 0.5);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 212, 170, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.8s ease, box-shadow 0.8s ease;
  z-index: 10;
}

.leverage-badge.active {
  transform: translateY(0);
  opacity: 1;
}

.leverage-badge-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.4) 0%, rgba(245, 166, 35, 0.4) 100%);
  border-radius: 18px;
  filter: blur(15px);
  opacity: 0;
  z-index: -1;
  animation: badgeGlowPulse 2s ease-in-out infinite;
}

.leverage-badge.active .leverage-badge-glow {
  opacity: 1;
}

@keyframes badgeGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.leverage-badge-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.leverage-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #00ffcc 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 212, 170, 0.5));
}

.leverage-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.leverage-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, rgba(0, 212, 170, 0.8) 100%);
  border-radius: 12px;
  color: var(--bg-primary);
  animation: arrowBounce 1.5s ease-in-out infinite;
}

.leverage-arrow svg {
  width: 28px;
  height: 28px;
}

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

/* Money Stream */
.money-stream {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.money-coin {
  position: absolute;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ffd700 0%, #f5a623 50%, #cc8800 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  color: #5c4510;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    0 0 15px rgba(245, 166, 35, 0.4);
  animation: coinFloat 3s ease-out forwards;
}

.money-coin::before {
  content: '$';
}

@keyframes coinFloat {
  0% {
    opacity: 0;
    transform: scale(0) translateY(0);
  }
  20% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  100% {
    opacity: 0;
    transform: scale(0.5) translateY(-200px) rotate(360deg);
  }
}

/* Income Panel */
.income-panel {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(18, 20, 26, 0.95) 0%, rgba(26, 29, 36, 0.9) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  min-width: 280px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.income-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.income-status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: statusPulse 1.5s ease-in-out infinite;
  transition: background 0.6s ease;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(0, 212, 170, 0); }
}

.income-header span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  transition: color 0.6s ease;
}

.income-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.income-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.income-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.income-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.6s ease, text-shadow 0.6s ease;
}

.income-value.highlight {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(245, 166, 35, 0.3);
}

.income-value.positive {
  color: var(--accent-cyan);
}

.income-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.income-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Profit Indicators */
.profit-indicators {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.profit-popup {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
  animation: profitPopup 2s ease-out forwards;
  white-space: nowrap;
}

@keyframes profitPopup {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  20% {
    opacity: 1;
    transform: translateY(-10px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-60px) scale(0.8);
  }
}

/* Collateral Features */
.collateral-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.collateral-feature {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(18, 20, 26, 0.6) 0%, rgba(26, 29, 36, 0.3) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.collateral-feature:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.collateral-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.collateral-feature-icon svg {
  width: 22px;
  height: 22px;
}

.collateral-feature-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.collateral-feature-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Responsive styles for collateral section */
@media (max-width: 1024px) {
  .collateral-visualization {
    flex-direction: column;
    gap: 3rem;
    padding: 2rem;
  }

  .income-panel {
    width: 100%;
    max-width: 350px;
  }

  .collateral-features {
    grid-template-columns: 1fr;
  }

  .leverage-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 2rem;
  }

  .leverage-echoes.active .echo-card.echo-1 {
    transform: translate(10px, -10px) scale(1.02);
  }
  .leverage-echoes.active .echo-card.echo-2 {
    transform: translate(20px, -20px) scale(1.04);
  }
  .leverage-echoes.active .echo-card.echo-3 {
    transform: translate(30px, -30px) scale(1.06);
  }
  .leverage-echoes.active .echo-card.echo-4,
  .leverage-echoes.active .echo-card.echo-5 {
    opacity: 0 !important;
  }
}

@media (max-width: 768px) {
  .collateral-card {
    width: 220px;
    height: 300px;
  }

  .leverage-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 2rem;
    padding: 12px 20px;
  }

  .leverage-amount {
    font-size: 2rem;
  }

  .leverage-arrow {
    width: 40px;
    height: 40px;
  }

  .leverage-arrow svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .collateral-visualization {
    padding: 1.5rem;
    min-height: 400px;
  }

  .collateral-card {
    width: 180px;
    height: 260px;
  }

  .leverage-badge {
    padding: 10px 16px;
    gap: 10px;
  }

  .leverage-amount {
    font-size: 1.75rem;
  }

  .leverage-arrow {
    width: 36px;
    height: 36px;
  }

  .income-panel {
    padding: 16px;
    min-width: auto;
  }

  .income-value {
    font-size: 0.9rem;
  }

  .leverage-echoes.active .echo-card.echo-1 {
    transform: translate(8px, -8px) scale(1.02);
  }
  .leverage-echoes.active .echo-card.echo-2 {
    transform: translate(16px, -16px) scale(1.04);
  }
  .leverage-echoes.active .echo-card.echo-3 {
    transform: translate(24px, -24px) scale(1.06);
  }
  .leverage-echoes.active .echo-card.echo-4,
  .leverage-echoes.active .echo-card.echo-5 {
    display: none;
  }
}

/* ============================================
   WAITLIST SECTION
   ============================================ */

#waitlist {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
}

.waitlist-card {
  position: relative;
  width: 100%;
  max-width: 700px;
  padding: 3.5rem 3rem;
  background: linear-gradient(135deg, rgba(18, 20, 26, 0.95) 0%, rgba(12, 14, 18, 0.98) 100%);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 24px;
  overflow: hidden;
  text-align: center;
}

/* Background glow effect */
.waitlist-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.12) 0%, transparent 60%);
  pointer-events: none;
  animation: waitlistPulse 4s ease-in-out infinite;
}

@keyframes waitlistPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

/* Subtle grid pattern */
.waitlist-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 0.5;
}

/* Decorative corners */
.waitlist-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  pointer-events: none;
}

.waitlist-corner::before,
.waitlist-corner::after {
  content: '';
  position: absolute;
  background: var(--accent-cyan);
}

.waitlist-corner-tl {
  top: 0;
  left: 0;
}
.waitlist-corner-tl::before {
  top: 0;
  left: 0;
  width: 2px;
  height: 20px;
}
.waitlist-corner-tl::after {
  top: 0;
  left: 0;
  width: 20px;
  height: 2px;
}

.waitlist-corner-tr {
  top: 0;
  right: 0;
}
.waitlist-corner-tr::before {
  top: 0;
  right: 0;
  width: 2px;
  height: 20px;
}
.waitlist-corner-tr::after {
  top: 0;
  right: 0;
  width: 20px;
  height: 2px;
}

.waitlist-corner-bl {
  bottom: 0;
  left: 0;
}
.waitlist-corner-bl::before {
  bottom: 0;
  left: 0;
  width: 2px;
  height: 20px;
}
.waitlist-corner-bl::after {
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
}

.waitlist-corner-br {
  bottom: 0;
  right: 0;
}
.waitlist-corner-br::before {
  bottom: 0;
  right: 0;
  width: 2px;
  height: 20px;
}
.waitlist-corner-br::after {
  bottom: 0;
  right: 0;
  width: 20px;
  height: 2px;
}

/* Content */
.waitlist-content {
  position: relative;
  z-index: 1;
}

/* Badge */
.waitlist-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: 100px;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.waitlist-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Title */
.waitlist-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.waitlist-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Form */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-input-row {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.waitlist-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.waitlist-input-wrapper i {
  position: absolute;
  left: 1.25rem;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.3s ease;
}

.waitlist-input-wrapper input {
  width: 100%;
  padding: 1.1rem 1.25rem 1.1rem 1.25rem;
  background: rgba(10, 11, 13, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--text-primary);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.waitlist-input-wrapper input::placeholder {
  color: var(--text-muted);
}

.waitlist-input-wrapper input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(10, 11, 13, 1);
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1), 0 0 30px rgba(0, 212, 170, 0.08);
}

.waitlist-input-wrapper input:focus + i,
.waitlist-input-wrapper:focus-within i {
  color: var(--accent-cyan);
}

.waitlist-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.1rem 2rem;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #00b894 100%);
  border: none;
  border-radius: 14px;
  color: var(--bg-primary);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.waitlist-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.waitlist-submit:hover::before {
  left: 100%;
}

.waitlist-submit i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.waitlist-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 170, 0.35);
}

.waitlist-submit:hover i {
  transform: translateX(4px);
}

.waitlist-submit:active {
  transform: translateY(0);
}

.waitlist-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Checkbox Styles */
.waitlist-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  text-align: left;
  padding: 0.25rem 0;
  margin-top: 0.25rem;
}

.waitlist-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(10, 11, 13, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  margin-top: 1px;
}

.checkbox-custom::after {
  content: '';
  position: absolute;
  display: none;
  width: 5px;
  height: 10px;
  border: solid var(--bg-primary);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.waitlist-checkbox input[type="checkbox"]:checked ~ .checkbox-custom {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.4);
}

.waitlist-checkbox input[type="checkbox"]:checked ~ .checkbox-custom::after {
  display: block;
}

.waitlist-checkbox:hover .checkbox-custom {
  border-color: rgba(0, 212, 170, 0.5);
}

.checkbox-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Success State */
.waitlist-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 212, 170, 0.05) 100%);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: 16px;
}

.waitlist-success.show {
  display: flex;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.4);
}

.success-icon i {
  width: 28px;
  height: 28px;
  color: var(--bg-primary);
  stroke-width: 3;
}

.success-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.success-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.success-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.success-twitter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.success-twitter-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.twitter-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.twitter-follow-btn:hover {
  background: linear-gradient(135deg, #2a2a2a 0%, #111 100%);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.twitter-follow-btn:active {
  transform: translateY(0);
}

.twitter-follow-btn svg {
  flex-shrink: 0;
}

@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Features Row */
.waitlist-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.waitlist-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.waitlist-feature i {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
  opacity: 0.8;
}

/* Responsive Waitlist */
@media (max-width: 640px) {
  #waitlist {
    padding: 4rem 1rem;
  }

  .waitlist-card {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

  .waitlist-title {
    font-size: 1.75rem;
  }

  .waitlist-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .waitlist-input-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .waitlist-submit {
    width: 100%;
  }

  .waitlist-features {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .waitlist-corner {
    width: 24px;
    height: 24px;
  }
  
  .waitlist-corner::before {
    height: 12px !important;
  }
  
  .waitlist-corner::after {
    width: 12px !important;
  }
}

@media (max-width: 400px) {
  .waitlist-card {
    padding: 2rem 1.25rem;
  }

  .waitlist-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
}
