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

:root {
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7c3aed;
  --purple-800: #6b21a8;
  --purple-900: #581c87;
  --purple-950: #3b0764;
  --bg-primary: #050208;
  --bg-secondary: #0a0515;
  --bg-card: rgba(15, 5, 30, 0.7);
  --text-primary: #f3e8ff;
  --text-secondary: #a78bfa;
  --text-muted: rgba(168, 132, 252, 0.6);
  --glow-purple: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 60px rgba(168, 85, 247, 0.1);
  --glow-purple-strong: 0 0 30px rgba(168, 85, 247, 0.5), 0 0 80px rgba(168, 85, 247, 0.2);
  --border-glow: 1px solid rgba(168, 85, 247, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

#binaryCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 2, 8, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border-glow);
  transition: var(--transition);
}

header.scrolled {
  background: rgba(5, 2, 8, 0.95);
  box-shadow: var(--glow-purple);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-300), var(--purple-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.twitter-link {
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
}

.twitter-link:hover {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.1);
}

.btn-connect {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.btn-connect:hover {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  box-shadow: var(--glow-purple);
  transform: translateY(-1px);
}

.btn-connect.connected {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.btn-connect.connected::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

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

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--purple-400);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
}

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

.mobile-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.1);
}

/* ===== WALLET MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--bg-secondary);
  border: var(--border-glow);
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: var(--glow-purple-strong);
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: var(--border-glow);
}

.modal-header h3 {
  font-size: 18px;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 400px;
  overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.5);
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  text-align: left;
}

.wallet-option:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateX(4px);
}

.wallet-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-400);
  background: rgba(168, 85, 247, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ===== WALLET NOTIFICATION ===== */
.wallet-notification {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(5, 2, 8, 0.95);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-notification.show {
  transform: translateX(0);
}

.notification-icon {
  width: 32px;
  height: 32px;
  background: rgba(74, 222, 128, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  font-weight: bold;
  font-size: 14px;
}

.notification-text {
  display: flex;
  flex-direction: column;
}

.notification-title {
  font-size: 13px;
  font-weight: 600;
  color: #4ade80;
}

.notification-address {
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse 6s ease-in-out infinite;
}

.hero-content {
  flex: 1;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 100px;
  font-size: 13px;
  color: var(--purple-300);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.title-line {
  display: block;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple-400), var(--purple-600), #e879f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 500px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-token {
  font-size: 28px;
  font-weight: 900;
  color: var(--purple-400);
  letter-spacing: 4px;
  margin-bottom: 32px;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  font-family: inherit;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: white;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-purple-strong);
}

.btn-secondary {
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple-300);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(168, 85, 247, 0.15);
}

.btn-ghost:hover {
  color: var(--purple-300);
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.05);
}

.hero-stats {
  display: flex;
  gap: 40px;
  animation: fadeInUp 0.6s ease 0.5s both;
}

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

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--purple-400);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== CATERPILLAR VISUAL ===== */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.caterpillar-container {
  position: relative;
  width: 340px;
  height: 400px;
}

.caterpillar-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.caterpillar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 6s ease-in-out infinite;
}

.head {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5), inset 0 -5px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.eye {
  width: 24px;
  height: 28px;
  background: radial-gradient(circle at 40% 35%, #f0abfc, #c026d3);
  border-radius: 50%;
  position: absolute;
  right: 14px;
  top: 18px;
  box-shadow: 0 0 15px rgba(240, 171, 252, 0.6);
  animation: blink 4s ease-in-out infinite;
}

.eye::after {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 5px;
}

.antenna {
  position: absolute;
  width: 3px;
  height: 40px;
  background: linear-gradient(to top, var(--purple-500), var(--purple-300));
  border-radius: 3px;
  top: -30px;
  z-index: 11;
}

.antenna::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--purple-400);
  border-radius: 50%;
  position: absolute;
  top: -5px;
  left: -3.5px;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.8);
}

.antenna.left {
  left: calc(50% - 20px);
  transform: rotate(-15deg);
  transform-origin: bottom;
  animation: antennaWave 3s ease-in-out infinite;
}

.antenna.right {
  left: calc(50% + 17px);
  transform: rotate(15deg);
  transform-origin: bottom;
  animation: antennaWave 3s ease-in-out infinite 0.5s;
}

.segment {
  width: 65px;
  height: 50px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.8), rgba(168, 85, 247, 0.6));
  border-radius: 50%;
  margin: -12px auto 0;
  position: relative;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  overflow: hidden;
}

.segment .binary-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: monospace;
  font-size: 16px;
  color: rgba(192, 132, 252, 0.3);
  font-weight: 700;
  pointer-events: none;
}

.s1 { width: 68px; animation: segmentPulse 2s ease-in-out infinite 0.1s; }
.s2 { width: 62px; animation: segmentPulse 2s ease-in-out infinite 0.2s; }
.s3 { width: 56px; animation: segmentPulse 2s ease-in-out infinite 0.3s; }
.s4 { width: 50px; animation: segmentPulse 2s ease-in-out infinite 0.4s; }
.s5 { width: 44px; animation: segmentPulse 2s ease-in-out infinite 0.5s; }
.s6 { width: 38px; animation: segmentPulse 2s ease-in-out infinite 0.6s; border-radius: 50% 50% 60% 60%; }

/* Floating binary particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  font-family: monospace;
  font-size: 14px;
  color: var(--purple-400);
  opacity: 0;
  animation: particleFloat 4s ease-in-out infinite;
}

.p1 { top: 20%; left: 10%; animation-delay: 0s; }
.p2 { top: 30%; right: 10%; animation-delay: 0.5s; }
.p3 { top: 50%; left: 5%; animation-delay: 1s; }
.p4 { top: 60%; right: 5%; animation-delay: 1.5s; }
.p5 { top: 70%; left: 15%; animation-delay: 2s; }
.p6 { top: 15%; right: 20%; animation-delay: 2.5s; }
.p7 { top: 80%; right: 15%; animation-delay: 3s; }
.p8 { top: 40%; left: 20%; animation-delay: 3.5s; }

/* ===== SECTIONS COMMON ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 100px;
  font-size: 13px;
  color: var(--purple-300);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 48px;
  line-height: 1.2;
}

/* ===== STORY ===== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.story-card {
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: 20px;
  padding: 36px 28px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.story-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--glow-purple);
}

.story-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.story-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple-300);
  margin-bottom: 12px;
}

.story-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== TECH ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-card {
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.tech-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--glow-purple);
}

.tech-card.featured {
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.06);
}

.tech-number {
  font-size: 72px;
  font-weight: 900;
  color: rgba(168, 85, 247, 0.06);
  position: absolute;
  top: -10px;
  right: 16px;
  line-height: 1;
  pointer-events: none;
}

.tech-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(168, 85, 247, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.tech-icon {
  font-size: 28px;
}

.tech-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple-300);
  margin-bottom: 4px;
}

.tech-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
  margin-bottom: 12px;
}

.tech-card p:last-of-type {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tech-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 6px;
  font-size: 12px;
  color: var(--purple-400);
  font-weight: 500;
}

/* ===== TOKENOMICS ===== */
.tokenomics-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.donut-chart {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

.donut-chart svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.chart-segment {
  transition: all 0.6s ease;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.3));
}

.chart-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.chart-total {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--purple-400);
}

.chart-label {
  font-size: 13px;
  color: var(--text-muted);
}

.token-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.token-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(168, 85, 247, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.08);
  border-radius: 12px;
  transition: var(--transition);
}

.token-item:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
}

.token-color {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
}

.token-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.token-name {
  font-size: 14px;
  font-weight: 500;
}

.token-pct {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-400);
}

.token-amount {
  font-size: 13px;
  color: var(--text-muted);
  font-family: monospace;
}

.tax-info {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.tax-box {
  flex: 1;
  text-align: center;
  padding: 16px;
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: 12px;
}

.tax-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.tax-value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--purple-400);
}

/* ===== ROADMAP ===== */
.roadmap-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple-500), rgba(168, 85, 247, 0.1));
}

.roadmap-phase {
  position: relative;
  padding-left: 60px;
  padding-bottom: 48px;
}

.roadmap-phase:last-child {
  padding-bottom: 0;
}

.phase-marker {
  position: absolute;
  left: 10px;
  top: 4px;
}

.phase-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid rgba(168, 85, 247, 0.3);
  position: relative;
}

.phase-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--purple-500);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.roadmap-phase.active .phase-dot {
  border-color: var(--purple-500);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.roadmap-phase.active .phase-dot::after {
  background: var(--purple-400);
  animation: pulse 2s ease-in-out infinite;
}

.phase-content {
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.phase-content:hover {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: var(--glow-purple);
}

.phase-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.phase-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.phase-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

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

.phase-content li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--purple-500);
  font-weight: 700;
  font-size: 16px;
}

.phase-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(168, 85, 247, 0.08);
  color: var(--text-muted);
  border: 1px solid rgba(168, 85, 247, 0.1);
}

.phase-status.current {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple-400);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.2);
}

/* ===== COMMUNITY ===== */
.community {
  padding-bottom: 60px;
}

.community-card {
  position: relative;
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.community-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.community-text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.community-highlight {
  font-size: 16px;
  color: var(--purple-300);
  font-weight: 600;
  margin-bottom: 32px;
}

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

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-social.twitter {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-social.twitter:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn-social.telegram {
  background: rgba(59, 153, 252, 0.1);
  color: #7cc4ff;
  border: 1px solid rgba(59, 153, 252, 0.2);
}

.btn-social.telegram:hover {
  background: rgba(59, 153, 252, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(59, 153, 252, 0.15);
}

.community-counter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.counter-item {
  display: flex;
  flex-direction: column;
}

.counter-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--purple-400);
}

.counter-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.counter-divider {
  width: 1px;
  height: 40px;
  background: rgba(168, 85, 247, 0.15);
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: var(--border-glow);
  background: rgba(5, 2, 8, 0.9);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .logo-icon {
  font-size: 24px;
}

.footer-brand .logo-text {
  font-size: 18px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-contract {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(168, 85, 247, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.1);
  border-radius: 12px;
  margin-bottom: 24px;
}

.contract-label {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.contract-address {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
}

.contract-address:hover {
  color: var(--purple-400);
}

.contract-address code {
  font-family: monospace;
  font-size: 14px;
  color: var(--purple-300);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.disclaimer {
  margin-top: 8px;
  font-size: 11px !important;
  opacity: 0.5;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

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

@keyframes blink {
  0%, 45%, 55%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); }
}

@keyframes antennaWave {
  0%, 100% { transform: rotate(-15deg); }
  50% { transform: rotate(-25deg); }
}

.antenna.right { animation-name: antennaWaveRight; }
@keyframes antennaWaveRight {
  0%, 100% { transform: rotate(15deg); }
  50% { transform: rotate(25deg); }
}

@keyframes segmentPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.3); }
  50% { box-shadow: 0 0 30px rgba(168, 85, 247, 0.5); }
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0.8); }
  20% { opacity: 0.6; }
  80% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-60px) scale(1.2); }
}

/* ===== SCROLL ANIMATIONS ===== */
.story-card, .tech-card, .roadmap-phase, .token-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.story-card.visible, .tech-card.visible, .roadmap-phase.visible, .token-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.story-card:nth-child(2), .tech-card:nth-child(2) { transition-delay: 0.1s; }
.story-card:nth-child(3), .tech-card:nth-child(3) { transition-delay: 0.2s; }
.roadmap-phase:nth-child(3) { transition-delay: 0.1s; }
.roadmap-phase:nth-child(4) { transition-delay: 0.2s; }
.roadmap-phase:nth-child(5) { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-visual {
    order: -1;
  }

  .caterpillar-container {
    width: 250px;
    height: 300px;
  }

  .head { width: 60px; height: 60px; }
  .eye { width: 18px; height: 22px; right: 10px; top: 14px; }
  .segment { height: 40px; margin-top: -10px; }
  .s1 { width: 56px; }
  .s2 { width: 50px; }
  .s3 { width: 44px; }
  .s4 { width: 40px; }
  .s5 { width: 36px; }
  .s6 { width: 32px; }

  .story-grid, .tech-grid {
    grid-template-columns: 1fr;
  }

  .tokenomics-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tax-info {
    flex-direction: column;
  }

  .community-card {
    padding: 40px 24px;
  }

  .community-counter {
    flex-direction: column;
    gap: 16px;
  }

  .counter-divider {
    width: 40px;
    height: 1px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-contract {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .hero { padding: 100px 16px 60px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .community-buttons { flex-direction: column; align-items: center; }
  .btn-social { width: 100%; justify-content: center; }
  .btn-connect span { display: none; }
  .btn-connect { padding: 10px 14px; }
}
