/* Custom styles for YowaCrypto */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px #F7931A, 0 0 10px #F7931A, 0 0 15px #F7931A; }
  50% { box-shadow: 0 0 10px #F7931A, 0 0 20px #F7931A, 0 0 30px #F7931A; }
}

.glow-effect {
  animation: glow 2s ease-in-out infinite alternate;
}

/* Navbar scroll effect */
.navbar-scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(247, 147, 26, 0.2);
}

/* Custom gradient backgrounds */
.gradient-crypto {
  background: linear-gradient(135deg, #F7931A 0%, #FF8C00 100%);
}

.gradient-dark {
  background: linear-gradient(135deg, #0B1426 0%, #1E3A8A 100%);
}

.gradient-darker {
  background: linear-gradient(135deg, #050A14 0%, #0F172A 100%);
}

/* Button hover effects */
.btn-crypto {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-crypto:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(247, 147, 26, 0.3);
}

.btn-crypto::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

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

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Typography improvements */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #F7931A;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form styles */
.form-input {
  transition: all 0.3s ease;
}

.form-input:focus {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(247, 147, 26, 0.2);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-padding {
    padding: 3rem 1rem;
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #F7931A;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e8860f;
}

/* Custom animations for testimonials */
.testimonial-card {
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.02);
}

/* Pricing card special effects */
.pricing-featured {
  position: relative;
  z-index: 10;
}

.pricing-featured::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #F7931A, #FFD700, #F7931A);
  border-radius: 16px;
  z-index: -1;
  animation: border-animation 3s ease-in-out infinite;
}

@keyframes border-animation {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Service cards animations */
.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
  transform: translateY(-10px) rotateY(5deg);
}

/* Background patterns */
.bg-pattern {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(247, 147, 26, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(30, 58, 138, 0.1) 0%, transparent 50%);
}

/* Utility classes for mobile-first design */
.mobile-center {
  text-align: center;
}

@media (min-width: 768px) {
  .mobile-center {
    text-align: left;
  }
}

/* Icon animations */
.icon-bounce:hover {
  animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
  40%, 43% { transform: translateY(-10px); }
  70% { transform: translateY(-5px); }
  90% { transform: translateY(-2px); }
}

/* Progress indicators */
.progress-bar {
  height: 4px;
  background: linear-gradient(90deg, #F7931A 0%, #FFD700 100%);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Alert styles */
.alert-success {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.alert-error {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Mobile menu animation */
.mobile-menu-enter {
  animation: slideDown 0.3s ease-out;
}

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

/* Performance optimizations */
.will-change-transform {
  will-change: transform;
}

.will-change-opacity {
  will-change: opacity;
}

/* Dark theme optimizations */
body {
  background-color: #050A14;
  color: white;
}

.bg-pattern-dark {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(247, 147, 26, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(30, 58, 138, 0.05) 0%, transparent 50%);
}

/* Improved text contrast */
.text-shadow-dark {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}