/* =====================================================
   HERO SECTION - PREMIUM FINANCIAL ENHANCEMENTS
   Clean, elegant, mobile-first design
   ===================================================== */

/* =====================================================
   FLOATING CURRENCY SYMBOLS - Subtle & Elegant
   ===================================================== */

.hero-financial-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.currency-symbol {
  position: absolute;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.15);
  animation: float-gentle 20s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.currency-symbol:nth-child(1) {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  font-size: 2.5rem;
}

.currency-symbol:nth-child(2) {
  top: 25%;
  right: 15%;
  animation-delay: 3s;
  font-size: 3rem;
}

.currency-symbol:nth-child(3) {
  bottom: 30%;
  left: 8%;
  animation-delay: 6s;
  font-size: 2rem;
}

.currency-symbol:nth-child(4) {
  bottom: 20%;
  right: 12%;
  animation-delay: 9s;
  font-size: 2.8rem;
}

@keyframes float-gentle {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.1;
  }
  25% {
    transform: translateY(-20px) translateX(10px) rotate(5deg);
    opacity: 0.15;
  }
  50% {
    transform: translateY(-10px) translateX(-10px) rotate(-3deg);
    opacity: 0.12;
  }
  75% {
    transform: translateY(15px) translateX(5px) rotate(2deg);
    opacity: 0.08;
  }
}

/* =====================================================
   PAYMENT METHODS BAR - Professional & Clean
   ===================================================== */

.hero-payment-methods {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.8s ease-out 1s backwards;
}

.payment-methods-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.payment-methods-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.payment-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 38px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--gray-700);
  text-align: center;
}

.payment-logo:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: white;
}

/* Specific payment method styles */
.payment-logo.visa { color: #1434CB; }
.payment-logo.mastercard { color: #EB001B; }
.payment-logo.amex { color: #006FCF; }
.payment-logo.googlepay { 
  background: linear-gradient(135deg, #4285F4 0%, #34A853 50%, #FBBC05 75%, #EA4335 100%);
  color: white;
  font-weight: 700;
}
.payment-logo.applepay { 
  background: #000000;
  color: white;
  font-weight: 600;
}
.payment-logo.stripe { color: #635BFF; }
.payment-logo.paypal { color: #003087; }
.payment-logo.crypto { 
  background: linear-gradient(135deg, #627EEA 0%, #3C3C3D 100%);
  color: white;
}

/* =====================================================
   CRYPTO BADGE - Subtle & Professional
   ===================================================== */

.hero-crypto-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  margin-top: var(--spacing-md);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.crypto-badge-icon {
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.crypto-badge-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* =====================================================
   ANIMATED STATS - Live Counter Feel
   ===================================================== */

.hero-stat-number {
  position: relative;
  display: inline-block;
}

.hero-stat-number::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
}

.hero-stat-number.counting {
  animation: number-glow 1.5s ease-in-out;
}

@keyframes number-glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  }
}

/* =====================================================
   FINANCIAL DOT PATTERN - Subtle Background
   ===================================================== */

.hero-dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
}

/* =====================================================
   3D FLOATING CARD - Desktop Only (Clean)
   ===================================================== */

.hero-floating-card {
  position: absolute;
  width: 320px;
  height: 200px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  display: none; /* Hidden on mobile by default */
  animation: card-float 6s ease-in-out infinite;
}

.hero-floating-card.left {
  top: 20%;
  left: -10%;
  transform: rotate(-5deg);
}

.hero-floating-card.right {
  bottom: 15%;
  right: -10%;
  transform: rotate(5deg);
  animation-delay: 3s;
}

@keyframes card-float {
  0%, 100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-20px) rotate(-3deg);
  }
}

.floating-card-chip {
  width: 45px;
  height: 35px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.floating-card-number {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  color: white;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.floating-card-name {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =====================================================
   RESPONSIVE - MOBILE FIRST
   ===================================================== */

/* Desktop: Show all premium features */
@media (min-width: 1024px) {
  .hero-floating-card {
    display: block;
  }
  
  .currency-symbol {
    display: block;
  }
}

/* Tablet: Show some elements */
@media (min-width: 768px) and (max-width: 1023px) {
  .currency-symbol {
    font-size: 2rem;
  }
  
  .payment-methods-grid {
    gap: 1.25rem;
  }
  
  .payment-logo {
    width: 55px;
    height: 35px;
  }
}

/* Mobile: Ultra clean, essential only */
@media (max-width: 767px) {
  .hero-financial-elements {
    display: none; /* Hide floating currency on mobile */
  }
  
  .hero-dots {
    opacity: 0.15; /* More subtle on mobile */
  }
  
  .payment-methods-grid {
    gap: 0.75rem;
    max-width: 100%;
  }
  
  .payment-logo {
    width: 48px;
    height: 30px;
    font-size: 0.625rem;
  }
  
  .hero-payment-methods {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
  }
  
  .payment-methods-label {
    font-size: 0.75rem;
  }
  
  .hero-crypto-badge {
    font-size: 0.8125rem;
    padding: 0.4rem 0.875rem;
  }
}

/* Small mobile: Maximum simplicity */
@media (max-width: 480px) {
  .payment-logo {
    width: 42px;
    height: 28px;
    font-size: 0.5625rem;
    padding: 0.375rem;
  }
  
  .payment-methods-grid {
    gap: 0.625rem;
  }
  
  .payment-methods-label {
    font-size: 0.6875rem;
  }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */

.payment-logo:focus,
.hero-crypto-badge:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .currency-symbol,
  .hero-floating-card,
  .hero-stat-number.counting {
    animation: none;
  }
  
  .crypto-badge-pulse {
    animation: none;
  }
}
