@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --lemon-400: #CCFF00;
  --lemon-500: #B8E600;
  --emerald-400: #34D399;
  --cyan-400: #22D3EE;
  --violet-400: #A78BFA;
  --amber-400: #FBBF24;
  --obsidian-950: #07080B;
  --obsidian-900: #0D0F15;
  --obsidian-850: #13161F;
  --obsidian-800: #181B22;
  --obsidian-750: #212529;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  background-color: #07080B;
  color: #FFFFFF;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  touch-action: manipulation;
}

code, kbd, samp, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #07080B; }
::-webkit-scrollbar-thumb { background: #212529; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #CCFF00; }

/* Glassmorphism */
.glass-panel {
  background: rgba(13, 15, 21, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(33, 37, 41, 0.85);
}

/* Glow Utilities */
.shadow-lemon-glow   { box-shadow: 0 0 25px rgba(204,255,0,0.35); }
.shadow-lemon-glow-sm{ box-shadow: 0 0 12px rgba(204,255,0,0.25); }
.shadow-lemon-glow-lg{ box-shadow: 0 0 50px rgba(204,255,0,0.55); }
.shadow-emerald-glow { box-shadow: 0 0 30px rgba(16,185,129,0.3); }
.shadow-cyan-glow    { box-shadow: 0 0 30px rgba(6,182,212,0.3); }
.shadow-purple-glow  { box-shadow: 0 0 30px rgba(139,92,246,0.3); }
.shadow-amber-glow   { box-shadow: 0 0 30px rgba(245,158,11,0.3); }

/* ============================================================
   PAGE LOADER OVERLAY & PHONE RING ANIMATIONS
   ============================================================ */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #06080D;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
#page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Phone Ring Vibrating & Wobble */
@keyframes phone-ring {
  0%, 100% { transform: rotate(0deg) scale(1); }
  10%      { transform: rotate(-24deg) scale(1.12); }
  20%      { transform: rotate(24deg) scale(1.12); }
  30%      { transform: rotate(-18deg) scale(1.08); }
  40%      { transform: rotate(18deg) scale(1.08); }
  50%      { transform: rotate(-12deg) scale(1.05); }
  60%      { transform: rotate(12deg) scale(1.05); }
  70%      { transform: rotate(-6deg) scale(1.02); }
  80%      { transform: rotate(6deg) scale(1.02); }
  90%      { transform: rotate(0deg) scale(1); }
}
.phone-ringing {
  animation: phone-ring 0.95s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* Sound wave ripples on left & right of phone */
@keyframes sound-wave-l {
  0%   { opacity: 0; transform: translateX(0) scale(0.6); }
  50%  { opacity: 0.9; }
  100% { opacity: 0; transform: translateX(-16px) scale(1.3); }
}
@keyframes sound-wave-r {
  0%   { opacity: 0; transform: translateX(0) scale(0.6); }
  50%  { opacity: 0.9; }
  100% { opacity: 0; transform: translateX(16px) scale(1.3); }
}
.sound-wave-left, .sound-wave-right {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 26px;
  border-radius: 9999px;
  border: 2.5px solid #07080B;
  pointer-events: none;
}
.sound-wave-left {
  left: 6px;
  margin-top: -13px;
  border-right: none;
  animation: sound-wave-l 0.95s ease-out infinite;
}
.sound-wave-right {
  right: 6px;
  margin-top: -13px;
  border-left: none;
  animation: sound-wave-r 0.95s ease-out infinite;
}

/* Burst shockwaves */
@keyframes ring-burst {
  0%   { transform: scale(1);   opacity: 0.9; }
  100% { transform: scale(3.0); opacity: 0; }
}
.ring-burst {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(204,255,0,0.5);
  animation: ring-burst 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.ring-burst.delay-1 { animation-delay: 0.4s; }
.ring-burst.delay-2 { animation-delay: 0.8s; }

/* Loader progress bar fill */
@keyframes loader-bar {
  0%   { width: 0%; }
  25%  { width: 35%; }
  55%  { width: 68%; }
  85%  { width: 92%; }
  100% { width: 100%; }
}
.loader-bar-fill { animation: loader-bar 2.4s ease-out forwards; }

/* Loader text dots */
@keyframes dot-blink {
  0%,80%,100% { opacity: 0; }
  40%         { opacity: 1; }
}
.dot1 { animation: dot-blink 1.3s infinite 0s; }
.dot2 { animation: dot-blink 1.3s infinite 0.2s; }
.dot3 { animation: dot-blink 1.3s infinite 0.4s; }

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
@keyframes marquee {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.animate-marquee:hover { animation-play-state: paused; }

/* ============================================================
   SECTION-SPECIFIC UNIQUE BACKGROUNDS & THEMES
   ============================================================ */

/* 1. HERO SECTION: Electric Lemon & Emerald Cyber Void */
.section-hero {
  background-color: #06080D;
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(204, 255, 0, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 60%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(6, 182, 212, 0.06) 0%, transparent 45%);
}

/* 2. CALLING DAPP SECTION: Matrix Emerald & Cyber Jade */
.section-calling {
  background-color: #040E0A;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(5, 150, 105, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, rgba(6,8,13,0.95) 0%, rgba(4,14,10,0.95) 15%, rgba(4,14,10,0.95) 85%, rgba(6,7,20,0.95) 100%);
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

/* 3. ECOSYSTEM SECTION: Deep Cosmic Cobalt & Electric Indigo */
.section-ecosystem {
  background-color: #060714;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(99, 102, 241, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 20% 70%, rgba(6, 182, 212, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(4,14,10,0.95) 0%, rgba(6,7,20,0.95) 20%, rgba(6,7,20,0.95) 80%, rgba(12,10,4,0.95) 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

/* 4. TOKEN SALE TERMINAL SECTION: Solar Amber & Cyber Gold */
.section-sale {
  background-color: #0C0A04;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(204, 255, 0, 0.10) 0%, transparent 60%),
    radial-gradient(circle at 10% 85%, rgba(245, 158, 11, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, rgba(6,7,20,0.95) 0%, rgba(12,10,4,0.95) 15%, rgba(12,10,4,0.95) 85%, rgba(11,5,20,0.95) 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

/* 5. TOKENOMICS SECTION: Royal Amethyst & Purple Nebula */
.section-tokenomics {
  background-color: #0B0514;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 75%, rgba(217, 70, 239, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(12,10,4,0.95) 0%, rgba(11,5,20,0.95) 20%, rgba(11,5,20,0.95) 80%, rgba(6,8,13,0.95) 100%);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

/* 6. TRUST & SECURITY / FAQ SECTION: Deep Obsidian Dual Tone */
.section-trust {
  background-color: #06080D;
  background-image:
    radial-gradient(circle at 50% 10%, rgba(204, 255, 0, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   GRID PATTERNS & AMBIENT OVERLAYS
   ============================================================ */
.grid-pattern-hero {
  background-image: linear-gradient(rgba(204,255,0,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(204,255,0,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.grid-pattern-emerald {
  background-image: linear-gradient(rgba(16,185,129,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(16,185,129,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.grid-pattern-indigo {
  background-image: linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
}
.grid-pattern-amber {
  background-image: linear-gradient(rgba(245,158,11,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(245,158,11,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.grid-pattern-purple {
  background-image: linear-gradient(rgba(139,92,246,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(139,92,246,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ============================================================
   SCROLL-REVEAL ENTRANCE TRANSITIONS
   ============================================================ */

/* 1. Standard Fade & Slide Up */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Slide from Left with Spring */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 3. Slide from Right with Spring */
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 4. Zoom & Depth Pop-in */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* 5. 3D Perspective Flip Up */
.reveal-flip {
  opacity: 0;
  transform: perspective(1000px) rotateX(25deg) translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-flip.visible {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translateY(0);
}

/* 6. Staggered Children Cascade */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.06s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.14s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.22s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.30s; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.38s; }
.reveal-stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.46s; }
.reveal-stagger.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:0.54s; }
.reveal-stagger.visible > *:nth-child(8) { opacity:1; transform:none; transition-delay:0.62s; }

/* ============================================================
   DYNAMIC ANIMATIONS & INTERACTIVE EFFECTS
   ============================================================ */

/* Floating orb */
@keyframes float-orb {
  0%,100% { transform: translateY(0px) scale(1); }
  50%     { transform: translateY(-22px) scale(1.05); }
}
.float-orb { animation: float-orb 6s ease-in-out infinite; }

/* Card Pulse Glow */
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 25px rgba(204,255,0,0.15); }
  50%     { box-shadow: 0 0 55px rgba(204,255,0,0.40); }
}
.pulse-glow-card { animation: pulse-glow 3.5s ease-in-out infinite; }

/* Call Ring Halo */
@keyframes call-ring {
  0%   { transform: scale(1); opacity: 0.9; box-shadow: 0 0 0 0 rgba(204,255,0,0.6); }
  70%  { transform: scale(1.06); opacity: 0.7; box-shadow: 0 0 0 22px rgba(204,255,0,0); }
  100% { transform: scale(1); opacity: 0.9; box-shadow: 0 0 0 0 rgba(204,255,0,0); }
}
.call-ring { animation: call-ring 2.2s ease-out infinite; }

/* Audio Waveform Bars */
@keyframes wave-bar {
  0%,100% { height: 6px; }
  50%     { height: var(--h, 28px); }
}
.wave-bar {
  display: inline-block;
  width: 4px;
  background: linear-gradient(180deg, #CCFF00, #34D399);
  border-radius: 4px;
  animation: wave-bar 0.8s ease-in-out infinite;
}
.wave-bar:nth-child(1) { --h:12px; animation-delay: 0s; }
.wave-bar:nth-child(2) { --h:30px; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { --h:18px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { --h:36px; animation-delay: 0.05s; }
.wave-bar:nth-child(5) { --h:24px; animation-delay: 0.15s; }
.wave-bar:nth-child(6) { --h:40px; animation-delay: 0.25s; }
.wave-bar:nth-child(7) { --h:16px; animation-delay: 0.18s; }
.wave-bar:nth-child(8) { --h:32px; animation-delay: 0.08s; }
.wave-bar:nth-child(9) { --h:14px; animation-delay: 0.3s; }
.wave-bar:nth-child(10){ --h:26px; animation-delay: 0.12s; }

/* Orbit Spin Rings */
@keyframes spin-slow { to { transform: rotate(360deg); } }
.spin-slow { animation: spin-slow 9s linear infinite; }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }
.spin-reverse { animation: spin-reverse 13s linear infinite; }

/* Data Scan Line */
@keyframes scan-line {
  0%   { top: 0%; opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(204,255,0,0.8), transparent);
  animation: scan-line 3s linear infinite;
}

/* Gradient Shimmer Text */
@keyframes shimmer-text {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.shimmer-text {
  background: linear-gradient(135deg, #CCFF00 0%, #34D399 25%, #FFFFFF 50%, #CCFF00 75%, #A3E635 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 6s ease infinite;
}

.shimmer-text-cyan {
  background: linear-gradient(135deg, #22D3EE 0%, #818CF8 30%, #FFFFFF 50%, #22D3EE 75%, #06B6D4 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 6s ease infinite;
}

.shimmer-text-purple {
  background: linear-gradient(135deg, #C084FC 0%, #F472B6 30%, #FFFFFF 50%, #C084FC 75%, #A855F7 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 6s ease infinite;
}

/* ============================================================
   CARD HOVER EFFECTS WITH COLOR ACCENTS
   ============================================================ */
.feature-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
}

.feature-card.lemon-hover::before {
  background: radial-gradient(circle at 50% 0%, rgba(204,255,0,0.08) 0%, transparent 70%);
}
.feature-card.lemon-hover:hover {
  border-color: rgba(204,255,0,0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(204,255,0,0.15);
}
.feature-card.lemon-hover:hover::before { opacity: 1; }

.feature-card.green-hover::before {
  background: radial-gradient(circle at 50% 0%, rgba(16,185,129,0.1) 0%, transparent 70%);
}
.feature-card.green-hover:hover {
  border-color: rgba(16,185,129,0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(16,185,129,0.18);
}
.feature-card.green-hover:hover::before { opacity: 1; }

.feature-card.cyan-hover::before {
  background: radial-gradient(circle at 50% 0%, rgba(6,182,212,0.1) 0%, transparent 70%);
}
.feature-card.cyan-hover:hover {
  border-color: rgba(6,182,212,0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(6,182,212,0.18);
}
.feature-card.cyan-hover:hover::before { opacity: 1; }

.feature-card.purple-hover::before {
  background: radial-gradient(circle at 50% 0%, rgba(139,92,246,0.1) 0%, transparent 70%);
}
.feature-card.purple-hover:hover {
  border-color: rgba(139,92,246,0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(139,92,246,0.18);
}
.feature-card.purple-hover:hover::before { opacity: 1; }

.feature-card.amber-hover::before {
  background: radial-gradient(circle at 50% 0%, rgba(245,158,11,0.1) 0%, transparent 70%);
}
.feature-card.amber-hover:hover {
  border-color: rgba(245,158,11,0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(245,158,11,0.18);
}
.feature-card.amber-hover:hover::before { opacity: 1; }

/* Progress bar animation in tokenomics */
@keyframes fill-bar {
  from { width: 0 !important; }
}
.animate-fill { animation: fill-bar 1.5s cubic-bezier(.2,.8,.2,1) forwards; }
