/* ==========================================================================
   COPPERA CONNECT – Premium Luxury Blockchain & AI Website
   Theme: Metallic Gold (#FFD700), Luxury Gold (#D99A17), Deep Black (#050505),
          Dark Navy (#061329), Electric Blue (#087BFF), White (#FFFFFF)
   ========================================================================== */

:root {
  --gold-metallic: #FFD700;
  --gold-luxury: #D99A17;
  --gold-dark: #B8860B;
  --gold-light: #FFF1A8;
  --gold-gradient: linear-gradient(135deg, #FFE47A 0%, #FFD700 30%, #D99A17 70%, #B8860B 100%);
  --gold-shimmer: linear-gradient(90deg, #D99A17 0%, #FFD700 25%, #FFF6BF 50%, #FFD700 75%, #D99A17 100%);
  --blue-electric: #087BFF;
  --blue-glow: rgba(8, 123, 255, 0.4);
  --deep-black: #050505;
  --dark-navy: #061329;
  --navy-card: rgba(6, 19, 41, 0.75);
  --navy-card-hover: rgba(10, 31, 68, 0.85);
  --border-gold: rgba(217, 154, 23, 0.25);
  --border-gold-active: rgba(255, 215, 0, 0.6);
  --border-blue: rgba(8, 123, 255, 0.3);
  --text-primary: #FFFFFF;
  --text-muted: #94A3B8;
  --text-gold: #FFD700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D99A17, #087BFF);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFD700;
}

/* Smooth Scrolling & Base */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--deep-black);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Typography Accent */
.font-heading {
  font-family: 'Space Grotesk', 'Orbitron', sans-serif;
  letter-spacing: -0.02em;
}

.font-tech {
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.05em;
}

/* Metallic Gold Text Gradients */
.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold-shimmer {
  background: var(--gold-shimmer);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shineText 4s linear infinite;
}

@keyframes shineText {
  to {
    background-position: 200% center;
  }
}

.text-blue-gradient {
  background: linear-gradient(135deg, #60A5FA 0%, #087BFF 50%, #0052B4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism Cards */
.glass-panel {
  background: var(--navy-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 0 rgba(255, 215, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: var(--border-gold-active);
  background: var(--navy-card-hover);
  box-shadow: 0 20px 40px -15px rgba(8, 123, 255, 0.25), 0 0 25px rgba(217, 154, 23, 0.2), inset 0 1px 0 0 rgba(255, 215, 0, 0.3);
  transform: translateY(-4px);
}

.glass-panel-blue {
  background: rgba(6, 19, 41, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-blue);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 0 rgba(8, 123, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-blue:hover {
  border-color: var(--blue-electric);
  box-shadow: 0 20px 40px -15px rgba(8, 123, 255, 0.35), 0 0 20px rgba(8, 123, 255, 0.25);
  transform: translateY(-4px);
}

/* Premium Pill Buttons */
.btn-gold-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  color: #061329;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(217, 154, 23, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  overflow: hidden;
  text-decoration: none;
  z-index: 1;
}

.btn-gold-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-gold-pill:hover::before {
  left: 100%;
}

.btn-gold-pill:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6), 0 0 20px rgba(217, 154, 23, 0.5);
  color: #000000;
}

.btn-login-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 19, 41, 0.6);
  color: #FFD700;
  border: 1px solid var(--gold-luxury);
  border-radius: 9999px;
  padding: 0.7rem 1.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-login-pill:hover {
  background: rgba(217, 154, 23, 0.15);
  border-color: #FFD700;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(217, 154, 23, 0.35), 0 0 15px rgba(255, 215, 0, 0.2);
}

/* Glow Badges */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 154, 23, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: #FFD700;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(217, 154, 23, 0.15);
}

.badge-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8, 123, 255, 0.12);
  border: 1px solid rgba(8, 123, 255, 0.35);
  color: #60A5FA;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* Animated Golden Border Pulse */
.gold-border-glow {
  position: relative;
}

.gold-border-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(8, 123, 255, 0.2), rgba(217, 154, 23, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Floating Gold Coins Keyframes */
@keyframes floatCoin {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

.animate-float-coin {
  animation: floatCoin 5s ease-in-out infinite;
}

.animate-float-coin-delayed {
  animation: floatCoin 6s ease-in-out infinite 2s;
}

/* Pulse Glow Keyframe */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(217, 154, 23, 0.2), 0 0 40px rgba(8, 123, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.45), 0 0 60px rgba(8, 123, 255, 0.25);
  }
}

.pulse-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}

/* Radar & Grid Background Effects */
.bg-digital-grid {
  background-image: 
    linear-gradient(to right, rgba(217, 154, 23, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(8, 123, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-radial-gradient {
  background: radial-gradient(circle at 50% 50%, rgba(6, 19, 41, 0.8) 0%, #050505 100%);
}

.bg-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.55) 0%,
    rgba(6, 19, 41, 0.5) 50%,
    rgba(5, 5, 5, 0.85) 100%
  );
}

/* Animated Golden Line Border (for Footer & Section dividers) */
.gold-gradient-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #D99A17 20%, #FFD700 50%, #087BFF 80%, transparent);
  position: relative;
  overflow: hidden;
}

.gold-gradient-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #FFFFFF, transparent);
  animation: moveLight 3s infinite linear;
}

@keyframes moveLight {
  0% { left: -50%; }
  100% { left: 150%; }
}

/* Mouse Follow Ambient Glow */
.mouse-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 123, 255, 0.12) 0%, rgba(217, 154, 23, 0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  filter: blur(20px);
}

/* Custom Interactive Globe Canvas */
#networkCanvas, #heroParticlesCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Section Header Styling */
.section-tag {
  color: var(--gold-metallic);
  font-family: 'Orbitron', monospace;
  font-size: 0.825rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Feature Number Counters */
.gold-card-number {
  font-family: 'Orbitron', monospace;
  font-weight: 800;
  color: rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
}

.glass-panel:hover .gold-card-number {
  color: rgba(255, 215, 0, 0.75);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Responsive Image Container */
.img-glow-wrap {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(217, 154, 23, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(8, 123, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-glow-wrap:hover {
  border-color: rgba(255, 215, 0, 0.7);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 215, 0, 0.3), 0 0 35px rgba(8, 123, 255, 0.3);
  transform: translateY(-4px) scale(1.01);
}

.img-glow-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-glow-wrap:hover img {
  transform: scale(1.04);
}

/* Mobile Nav Drawer */
#mobile-menu {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

#mobile-menu.menu-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#mobile-menu.menu-closed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Scroll indicator animation */
@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}

.animate-scroll-bounce {
  animation: scrollBounce 2s infinite;
}

/* Form Styles */
.form-input {
  background: rgba(6, 19, 41, 0.6);
  border: 1px solid rgba(217, 154, 23, 0.25);
  border-radius: 0.75rem;
  color: #FFFFFF;
  padding: 0.875rem 1.25rem;
  width: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.form-input:focus {
  outline: none;
  border-color: #FFD700;
  background: rgba(10, 31, 68, 0.85);
  box-shadow: 0 0 20px rgba(217, 154, 23, 0.3), 0 0 10px rgba(8, 123, 255, 0.2);
}

.form-input::placeholder {
  color: #64748B;
}

/* AI Currency Ecosystem Hub Styles */
.ai-globe-core {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 215, 0, 0.35) 0%, rgba(8, 123, 255, 0.25) 45%, rgba(6, 19, 41, 0.92) 78%, #050505 100%);
  box-shadow:
    0 0 50px rgba(8, 123, 255, 0.35),
    0 0 80px rgba(217, 154, 23, 0.2),
    inset 0 0 35px rgba(255, 215, 0, 0.25);
}

.ai-globe-grid {
  background-image:
    radial-gradient(circle at center, transparent 48%, rgba(255, 215, 0, 0.16) 49%, transparent 50%),
    linear-gradient(to right, rgba(8, 123, 255, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 215, 0, 0.12) 1px, transparent 1px);
  background-size: 100% 100%, 26px 26px, 26px 26px;
}

.ai-node-ring-gold {
  border: 1.5px solid rgba(255, 215, 0, 0.65);
  background: radial-gradient(circle, rgba(255, 215, 0, 0.16) 0%, rgba(6, 19, 41, 0.9) 75%);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.25), inset 0 0 12px rgba(255, 215, 0, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-node-item:hover .ai-node-ring-gold {
  border-color: #FFD700;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5), inset 0 0 16px rgba(255, 215, 0, 0.3);
  transform: scale(1.08);
}

.ai-node-ring-blue {
  border: 1.5px solid rgba(8, 123, 255, 0.65);
  background: radial-gradient(circle, rgba(8, 123, 255, 0.18) 0%, rgba(6, 19, 41, 0.9) 75%);
  box-shadow: 0 0 22px rgba(8, 123, 255, 0.28), inset 0 0 12px rgba(8, 123, 255, 0.18);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-node-item:hover .ai-node-ring-blue {
  border-color: #60A5FA;
  box-shadow: 0 0 30px rgba(8, 123, 255, 0.55), inset 0 0 16px rgba(8, 123, 255, 0.3);
  transform: scale(1.08);
}

.ai-connector-line-left {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.55), rgba(8, 123, 255, 0.15));
}

.ai-connector-line-right {
  background: linear-gradient(90deg, rgba(8, 123, 255, 0.15), rgba(255, 215, 0, 0.55));
}

/* Reduced Motion Respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

