/* ====================================
   GLASSMORPHISM DESIGN SYSTEM
   Modern Crypto Trading Platform
==================================== */

:root {
  /* Modern Purple & Blue Color Palette */
  --glass-primary: rgba(139, 92, 246, 0.8);
  --glass-secondary: rgba(79, 70, 229, 0.9);
  --glass-accent: rgba(168, 85, 247, 1);
  --glass-cyan: rgba(14, 165, 233, 1);
  --glass-purple: rgba(147, 51, 234, 1);
  --glass-indigo: rgba(99, 102, 241, 1);
  --glass-violet: rgba(196, 181, 253, 1);
  
  /* Glass Background Colors */
  --glass-bg-primary: rgba(139, 92, 246, 0.12);
  --glass-bg-secondary: rgba(79, 70, 229, 0.08);
  --glass-bg-tertiary: rgba(99, 102, 241, 0.05);
  
  /* Glass Border Colors */
  --glass-border: rgba(168, 85, 247, 0.25);
  --glass-border-light: rgba(139, 92, 246, 0.15);
  --glass-border-accent: rgba(168, 85, 247, 0.4);
  
  /* Modern Purple & Blue Gradients */
  --gradient-main: linear-gradient(135deg, #0e0030 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-secondary: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #00d5e9 0%, #4500ac 50%, #ad66ff 100%);
  --gradient-dark: linear-gradient(135deg, #0a0e1a 0%, #001029 30%, #010022 60%, #0d0b27 100%);
  
  /* Shadows */
  --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.37);
  --shadow-glass-hover: 0 15px 35px rgba(31, 38, 135, 0.5);
  --shadow-neon: 0 0 20px rgba(59, 130, 246, 0.5);
  --shadow-neon-hover: 0 0 30px rgba(59, 130, 246, 0.8);
  
  /* Animations */
  --animation-duration: 0.3s;
  --animation-easing: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Blur Effects */
  --blur-light: blur(10px);
  --blur-medium: blur(20px);
  --blur-heavy: blur(40px);
}

/* ====================================
   GLOBAL STYLES & RESETS
==================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--gradient-dark);
  color: #ffffff;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ====================================
   PARTICLE BACKGROUND CANVAS
==================================== */

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.6;
}

/* ====================================
   GLASSMORPHISM BASE COMPONENTS
==================================== */

.glass-container {
  background: var(--glass-bg-primary);
  backdrop-filter: var(--blur-medium);
  -webkit-backdrop-filter: var(--blur-medium);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}

.glass-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.glass-card {
  background: var(--glass-bg-secondary);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  border: 1px solid var(--glass-border-light);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--animation-duration) var(--animation-easing);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glass-hover);
  border-color: var(--glass-border-accent);
  background: var(--glass-bg-primary);
}



.glass-card:hover::before {
  animation: glass-shine 0.6s ease-in-out;
}

/* Mouse-tracking edge animations */
.glass-card-tracked {
  position: relative;
  overflow: hidden;
}

.glass-card-tracked::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--mouse-angle, 0deg),
    transparent 0deg,
    var(--glass-accent) 45deg,
    var(--glass-cyan) 90deg,
    var(--glass-purple) 135deg,
    transparent 180deg,
    transparent 360deg);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.glass-card-tracked:hover::after {
  opacity: 1;
}

/* Glowing edge effect */
.glass-card-glow {
  position: relative;
  background: var(--glass-bg-secondary);
  backdrop-filter: var(--blur-light);
  border: 1px solid var(--glass-border-light);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.glass-card-glow::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: inherit;
  background: conic-gradient(from var(--mouse-angle, 0deg),
    transparent,
    var(--glass-accent),
    var(--glass-cyan),
    var(--glass-purple),
    transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: edge-glow-rotate 3s linear infinite;
}

.glass-card-glow:hover::before {
  opacity: 0.8;
}

/* Lightning bolt-style edge animation */
.glass-card-lightning {
  position: relative;
  background: var(--glass-bg-secondary);
  backdrop-filter: var(--blur-light);
  border: 1px solid var(--glass-border-light);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.glass-card-lightning::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--glass-accent) 0%,
    transparent 30%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  filter: blur(20px);
}

.glass-card-lightning:hover::before {
  opacity: 0.3;
}

.glass-card-lightning::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(45deg,
    transparent 30%,
    var(--glass-accent) 50%,
    transparent 70%);
  opacity: 0;
  transform: translateX(-100%) translateY(var(--mouse-y-offset, 0%)) rotate(15deg);
  transition: all 0.3s ease;
  pointer-events: none;
}

.glass-card-lightning:hover::after {
  opacity: 0.6;
  transform: translateX(100%) translateY(var(--mouse-y-offset, 0%)) rotate(15deg);
  animation: lightning-sweep 0.6s ease-out;
}

/* ====================================
   NAVIGATION GLASSMORPHISM
==================================== */

.glass-navbar {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: var(--blur-medium);
  -webkit-backdrop-filter: var(--blur-medium);
  border-bottom: 1px solid var(--glass-border-light);
  transition: all var(--animation-duration) ease;
}

.glass-navbar.scrolled {
  background: rgba(0, 0, 0, 0.8);
  box-shadow: var(--shadow-glass);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  /* background: var(--gradient-accent); */
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.8) !important;
  transition: color 0.3s ease, background-color 0.3s ease;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
}

.nav-link:hover {
  color: var(--glass-cyan) !important;
  background: var(--glass-bg-secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.4s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 60%;
}

/* Smooth menu toggle animation */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  transition: transform 0.3s ease;
}

.navbar-toggler:hover {
  transform: scale(1.05);
}

.navbar-collapse {
  transition: height 0.35s ease;
}

/* ====================================
   BUTTON GLASSMORPHISM
==================================== */

.btn-glass {
  background: var(--glass-bg-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--animation-duration) var(--animation-easing);
  position: relative;
  overflow: hidden;
}

.btn-glass:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glass-hover);
  border-color: var(--glass-accent);
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

.btn-glass-primary {
  background: var(--gradient-accent);
  border: none;
  box-shadow: var(--shadow-neon);
  color: #ffffff !important
}

.btn-glass-outline {
  background: transparent;
  border: 2px solid var(--glass-accent);
  color: var(--glass-accent);
}

.btn-glass-outline:hover {
  background: var(--glass-accent);
  color: white;
}

/* ====================================
   FLOATING ELEMENTS
==================================== */

.floating-element {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
  animation: gentle-float 8s ease-in-out infinite;
}

.floating-crypto-icon {
  font-size: 2rem;
  color: var(--glass-accent);
  animation: gentle-float 10s ease-in-out infinite;
}

/* ====================================
   MODERN HERO SECTION
==================================== */

.hero-modern {
  background: linear-gradient(135deg, rgba(0, 12, 41, 0.95), rgba(0, 14, 37, 0.9));
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Geometric Background Elements */
.hero-geometry {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.geometric-shape {
  position: absolute;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.05));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -50px;
  transform: rotate(45deg);
  animation: float-rotate 20s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: -30px;
  transform: rotate(-30deg);
  animation: float-rotate 25s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 20%;
  transform: rotate(60deg);
  animation: float-rotate 30s ease-in-out infinite;
}

.geometric-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2), rgba(59, 130, 246, 0.1));
  filter: blur(1px);
}

.orb-1 {
  width: 100px;
  height: 100px;
  top: 30%;
  left: 10%;
  animation: gentle-pulse 8s ease-in-out infinite;
}

.orb-2 {
  width: 150px;
  height: 150px;
  bottom: 30%;
  right: 15%;
  animation: gentle-pulse 12s ease-in-out infinite;
  animation-delay: -4s;
}

.orb-3 {
  width: 80px;
  height: 80px;
  top: 70%;
  left: 30%;
  animation: gentle-pulse 10s ease-in-out infinite;
  animation-delay: -2s;
}

/* Modern Badge */
.modern-badge {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 50px;
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.badge-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
  animation: badge-glow 3s ease-in-out infinite;
}

.badge-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* Hero Typography */
.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.title-line {
  display: block;
  color: #ffffff;
  opacity: 0;
  transform: translateY(30px);
  animation: title-reveal 1s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-highlight {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4, #3b82f6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 3s ease-in-out infinite, title-reveal 1s ease-out 0.4s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0;
}

/* Modern Buttons */
.btn-modern {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(168, 85, 247, 0.5);
  backdrop-filter: blur(20px);
}

.btn-modern:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-primary:hover {
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
  background: linear-gradient(135deg, #9333ea, #2563eb);
}

.btn-outline:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.8);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-modern:active .btn-ripple {
  width: 300px;
  height: 300px;
}

/* Hero Metrics */
.hero-metrics {
  margin-top: 2rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 400px;
}

.metric-card {
  position: relative;
  padding: 1.5rem 1rem;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(139, 92, 246, 0.1);
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.metric-card:hover .metric-glow {
  opacity: 1;
}

/* Dashboard Mockup */
.hero-visual {
  position: relative;
  z-index: 2;
}

.dashboard-mockup {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.dashboard-card {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.card-header {
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.card-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
}

.chart-container {
  position: relative;
  height: 120px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #06b6d4, #3b82f6);
  border-radius: 2px;
  animation: chart-draw 2s ease-out;
}

.chart-line::before {
  content: '';
  position: absolute;
  top: -20px;
  right: 24%;
  width: 8px;
  height: 40px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  border-radius: 8px 8px 8px 8px;
  animation: chart-bar 2s ease-out 0.5s both;
}

.chart-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}

.chart-dot {
  width: 8px;
  height: 8px;
  background: rgba(168, 85, 247, 0.5);
  border-radius: 50%;
  animation: dot-pulse 2s ease-in-out infinite;
}

.chart-dot.active {
  background: #8b5cf6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

.chart-dot:nth-child(2) { animation-delay: 0.5s; }
.chart-dot:nth-child(3) { animation-delay: 1s; }
.chart-dot:nth-child(4) { animation-delay: 1.5s; }

.card-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.stat-item.positive {
  color: #10b981;
}

/* Floating Crypto Cards */
.crypto-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  animation: float-card 6s ease-in-out infinite;
}

.crypto-btc {
  top: 20%;
  right: -20px;
  animation-delay: 0s;
}

.crypto-eth {
  bottom: 30%;
  left: -30px;
  animation-delay: -3s;
  background: rgba(2, 246, 250, 0.052);
}

.crypto-card:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: rgb(85, 207, 247);
}

.crypto-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f59e0b;
}

.crypto-card.crypto-eth .crypto-icon {
  color: #06b6d4;
}

.crypto-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.crypto-price {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.crypto-change {
  font-size: 0.75rem;
  font-weight: 600;
}

.crypto-change.positive {
  color: #10b981;
}

/* Profit Indicator */
.profit-indicator {
  position: absolute;
  top: 50%;
  right: -40px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  animation: float-card 8s ease-in-out infinite;
  animation-delay: -4s;
}

.profit-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.profit-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.profit-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #10b981;
}

/* Floating Icons */
.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(168, 85, 247, 0.8);
  animation: gentle-float 8s ease-in-out infinite;
}

.icon-1 {
  top: 15%;
  left: 6%;
  animation-delay: 0s;
  color: #f59e0b;
}

.icon-2 {
  top: 90%;
  left: 30%;
  animation-delay: -2s;
  color: #06b6d4;
}

.icon-3 {
  bottom: 10%;
  right: 5%;
  animation-delay: -4s;
  color: #8b5cf6;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* SECTION BACKGROUNDS */
.hero-glass {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8)),
              radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3), transparent),
              radial-gradient(circle at 80% 20%, rgba(119, 128, 255, 0.184), transparent),
              radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2), transparent);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.stats-glass {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 16, 42, 0.997)),
              radial-gradient(circle at 60% 30%, rgba(0, 7, 19, 0.99), transparent);
  position: relative;
}

.features-glass {
  background: linear-gradient(135deg, rgb(10, 14, 29), rgb(16, 19, 31)),
              radial-gradient(circle at 80% 70%, rgba(31, 0, 59, 0.941), transparent);
  position: relative;
}

/* ====================================
   ANIMATED ELEMENTS
==================================== */

.stats-number {
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  transition: filter 0.3s ease;
}

.stats-number:hover {
  filter: brightness(1.1);
}

.feature-icon-glass {
  width: 80px;
  height: 80px;
  background: var(--glass-bg-primary);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--animation-duration) ease;
  position: relative;
  overflow: hidden;
}

.feature-icon-glass:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glass-hover);
  border-color: var(--glass-accent);
}

.testimonial-glass {
  background: var(--glass-bg-secondary);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  border: 1px solid var(--glass-border-light);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all var(--animation-duration) ease;
}

.testimonial-glass:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glass-hover);
  border-color: var(--glass-border-accent);
}

.testimonial-glass::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--glass-accent);
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* ====================================
   PRICING CARDS
==================================== */

.pricing-card {
  background: var(--glass-bg-primary);
  backdrop-filter: var(--blur-medium);
  -webkit-backdrop-filter: var(--blur-medium);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  transition: all var(--animation-duration) ease;
  overflow: hidden;
}

.pricing-card.featured {
  border: 2px solid var(--glass-accent);
  transform: scale(1.05);
  box-shadow: var(--shadow-neon);
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-glass-hover);
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.07);
}

/* ====================================
   KEYFRAME ANIMATIONS
==================================== */

@keyframes gentle-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glass-shine {
  0% { opacity: 0; transform: translateX(-100%) translateY(-100%) rotate(-45deg); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateX(100%) translateY(100%) rotate(-45deg); }
}

@keyframes edge-glow-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes lightning-sweep {
  0% {
    transform: translateX(-100%) translateY(var(--mouse-y-offset, 0%)) rotate(15deg);
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(100%) translateY(var(--mouse-y-offset, 0%)) rotate(15deg);
    opacity: 0;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
  }
}

@keyframes border-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes particle-float {
  0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.3; }
  50% { transform: translateY(-100px) translateX(50px); opacity: 0.8; }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Modern Hero Animations */
@keyframes float-rotate {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

@keyframes gentle-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

@keyframes badge-glow {
  0%, 100% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
}

@keyframes title-reveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradient-flow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes chart-draw {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes chart-bar {
  0% {
    height: 0px;
    opacity: 0;
  }
  100% {
    height: 40px;
    opacity: 1;
  }
}

@keyframes dot-pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes float-card {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ====================================
   LOADING ANIMATIONS
==================================== */

.loading-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-animation.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-glass {
  width: 80px;
  height: 80px;
  border: 4px solid var(--glass-border);
  border-top: 4px solid var(--glass-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  background: var(--glass-bg-primary);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ====================================
   RESPONSIVE DESIGN
==================================== */

@media (max-width: 768px) {
  .glass-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .feature-icon-glass {
    width: 60px;
    height: 60px;
  }
  
  .pricing-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .floating-element {
    display: none;
  }
  
  /* Modern Hero Responsive Styles */
  .hero-modern .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-modern {
    padding: 14px 28px;
    font-size: 0.95rem;
    text-align: center;
    justify-content: center;
  }
  
  .metrics-grid {
    gap: 0.75rem;
    max-width: 100%;
  }
  
  .metric-card {
    padding: 1rem 0.75rem;
  }
  
  .metric-value {
    font-size: 1.25rem;
  }
  
  .dashboard-mockup {
    max-width: 90%;
    margin-top: 2rem;
  }
  
  .dashboard-card {
    padding: 1.5rem;
  }
  
  .card-value {
    font-size: 1.75rem;
  }
  
  .chart-container {
    height: 80px;
  }
  
  .crypto-card {
    display: none;
  }
  
  .profit-indicator {
    display: none;
  }
  
  .floating-icons .float-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .geometric-shape {
    display: none;
  }
  
  .geometric-orb {
    width: 60px !important;
    height: 60px !important;
  }
}

@media (max-width: 576px) {
  .hero-glass {
    min-height: 80vh;
  }
  
  .hero-modern {
    min-height: 90vh;
  }
  
  .btn-glass {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.5rem;
  }
  
  /* Mobile-specific Hero Styles */
  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .modern-badge {
    padding: 10px 20px;
  }
  
  .badge-text {
    font-size: 0.8rem;
  }
  
  .btn-modern {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .metric-card {
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  
  .metric-value {
    font-size: 1.1rem;
  }
  
  .metric-label {
    font-size: 0.7rem;
  }
  
  .dashboard-card {
    padding: 1rem;
  }
  
  .card-value {
    font-size: 1.5rem;
  }
  
  .chart-container {
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .chart-dots {
    display: none;
  }
  
  .floating-icons {
    display: none;
  }
  
  .geometric-orb {
    display: none;
  }
  
  .hero-visual {
    margin-top: 2rem;
  }
}

/* ====================================
   MODERN SPACING & LAYOUT UTILITIES
==================================== */

.py-6 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.bg-gradient {
  background: var(--gradient-accent) !important;
}

.opacity-50 {
  opacity: 0.5 !important;
}

.opacity-75 {
  opacity: 0.75 !important;
}

.opacity-90 {
  opacity: 0.9 !important;
}

/* Enhanced visibility for dark theme */
.text-light.opacity-75 {
  color: rgba(248, 249, 250, 0.75) !important;
}

.text-light.opacity-90 {
  color: rgba(248, 249, 250, 0.9) !important;
}

/* Modern badge styling */
.badge.bg-gradient {
  background: var(--gradient-accent) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--blur-light);
  box-shadow: var(--shadow-glass);
}

/* Enhanced feature icons */
.feature-icon-glass.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Better text contrast for readability */
.text-white {
  color: #ffffff !important;
}

.text-light {
  color: #f8f9fa !important;
}

/* Enhanced glassmorphism for modern sections */
.glass-container {
  transition: all 0.3s ease;
}

.glass-container:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glass-hover);
}

/* Modern section spacing */
section {
  position: relative;
  overflow: hidden;
}

/* Enhanced button styling */
.btn-glass-primary,
.btn-glass-outline {
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: all 0.3s ease;
}

.btn-glass-primary:hover,
.btn-glass-outline:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glass-hover);
}

/* Better focus states for accessibility */
.btn-glass-primary:focus,
.btn-glass-outline:focus {
  outline: 2px solid var(--glass-accent);
  outline-offset: 3px;
}

/* Enhanced pricing card styling */
.pricing-card {
  transition: all 0.4s ease;
}

.pricing-card:hover {
  border-color: var(--glass-accent);
}

/* Modern testimonial styling */
.testimonial-glass {
  position: relative;
  overflow: hidden;
}

.testimonial-glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), transparent);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.testimonial-glass:hover::after {
  opacity: 1;
}

/* Enhanced footer styling */
.footer-glass {
  position: relative;
}

.footer-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* Better link hover effects */
a.glass-hover-scale:hover {
  color: var(--glass-accent) !important;
  transition: all 0.3s ease;
}

/* Enhanced form styling */
.form-control.bg-transparent {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

.form-control.bg-transparent:focus {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--glass-accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(168, 85, 247, 0.25) !important;
  color: #ffffff !important;
}

.form-control.bg-transparent::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Modern section dividers */
.section-divider {
  background: linear-gradient(90deg, transparent, var(--glass-accent), transparent);
  height: 1px;
  margin: 5rem auto;
  width: 60%;
  opacity: 0.5;
}

/* ====================================
   ACCESSIBILITY & REDUCED MOTION
==================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-element {
    animation: none;
  }
  
  #particles-canvas {
    display: none;
  }
}

/* ====================================
   GLASS MORPHISM UTILITIES
==================================== */

.glass-text-gradient {
  background: linear-gradient(135deg, rgb(139, 92, 246), rgb(6, 182, 212), rgb(59, 130, 246)) 0% 0% / 200% 200% text;;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-border-gradient {
  border: 2px solid transparent;
  background: linear-gradient(45deg, var(--glass-accent), var(--glass-cyan)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.glass-hover-scale {
  transition: transform 0.3s ease;
}

.glass-hover-scale:hover {
  transform: scale(1.02);
}

.glass-hover-rotate {
  transition: transform 0.3s ease;
}

.glass-hover-rotate:hover {
  transform: rotate(2deg);
}

/* Soft color transitions for interactive elements */
.glass-interactive {
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.3s ease;
}

.glass-interactive:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-accent);
}

/* Gentle focus states for better UX */
.btn-glass:focus,
.glass-card:focus-within {
  outline: 2px solid var(--glass-accent);
  outline-offset: 2px;
  transition: outline 0.2s ease;
}

/* Optimized loading states */
.loading-shimmer {
  background: linear-gradient(90deg,
    var(--glass-bg-secondary) 25%,
    var(--glass-bg-primary) 50%,
    var(--glass-bg-secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.glass-shadow-neon {
  box-shadow: var(--shadow-neon);
}

.glass-shadow-neon:hover {
  box-shadow: var(--shadow-neon-hover);
/* Apply Bank-Grade Security card animation to other cards */
.card-section .card {
  animation: float-rotate 6s ease-in-out infinite;
  animation-delay: 0s;
}

.card-section .card:nth-child(2) {
  animation-delay: -2s;
}

.card-section .card:nth-child(3) {
  animation-delay: -4s;
}

@keyframes float-rotate {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}
/* Remove text-muted class and ensure all text is white */
body {
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}

span, p, a, button {
  color: inherit !important;
}

/* Override any existing text-muted classes */
.text-muted {
  color: unset !important;
}
/* Remove text-muted class and set all text to white */
body {
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6,
span, p, a, button {
  color: #ffffff !important;
}

/* Remove any remaining text-muted styles */
.text-muted {
  color: unset !important;
}
/* Ensure all text is white */
body {
  color: #ffffff;
}

/* Override any inherited text colors */
body span,
body p,
body a,
body button,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  color: #ffffff !important;
}

/* General text color override */
.text-white,
badge,
progress-bar,
form-control {
  color: #ffffff !important;
}
/* Change all text colors to white */
body {
  color: #ffffff !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}

span, p, a, button {
  color: #ffffff !important;
}
/* Apply Bank-Grade Security card animation to other cards */
.card-section .card {
  animation: float-rotate 6s ease-in-out infinite;
  animation-delay: 0s;
}

.card-section .card:nth-child(2) {
  animation-delay: -2s;
}

.card-section .card:nth-child(3) {
  animation-delay: -4s;
}

@keyframes float-rotate {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}
}