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

:root {
  --primary-color: #A2D2FF;
  --accent-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  --accent-glow: 0 0 30px rgba(37, 99, 235, 0.2);
}

body {
  font-family: 'Inter', sans-serif;
  color: #1F2937;
  overflow-x: hidden;
  background-color: #FFFFFF;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F3F4F6;
}
::-webkit-scrollbar-thumb {
  background: #A2D2FF;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7DB5E6;
}

/* Background Grid Pattern */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

.bg-dot-pattern {
  background-size: 24px 24px;
  background-image: radial-gradient(rgba(162, 210, 255, 0.25) 1px, transparent 1px);
}

/* Custom Gradient Text */
.text-gradient-accent {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism card */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Soft Premium Shadow */
.shadow-premium {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.03), 
              0 0 0 1px rgba(0, 0, 0, 0.015);
}

.shadow-premium-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.shadow-premium-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.06), 
              0 0 50px -10px rgba(162, 210, 255, 0.3),
              0 0 0 1px rgba(162, 210, 255, 0.2);
}

/* Glowing Border for Active State/Cards */
.glow-card {
  position: relative;
}
.glow-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, #A2D2FF, #3B82F6);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.glow-card:hover::after {
  opacity: 1;
}

/* Ripple Button Effect */
.ripple-button {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  background-color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Floating Shapes keyframes */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes float-medium {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-15px) rotate(-90deg) scale(1.05);
  }
}

@keyframes float-fast {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(0.95);
  }
}

.animate-float-1 {
  animation: float-slow 15s ease-in-out infinite;
}

.animate-float-2 {
  animation: float-medium 12s ease-in-out infinite;
}

.animate-float-3 {
  animation: float-fast 8s ease-in-out infinite;
}

/* Gradient Mesh Animation Background */
.mesh-gradient-bg {
  background-color: #ffffff;
  background-image: 
    radial-gradient(at 0% 0%, rgba(162, 210, 255, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(162, 210, 255, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(59, 130, 246, 0.05) 0px, transparent 50%);
  background-size: 200% 200%;
  animation: mesh-movement 20s ease infinite;
}

@keyframes mesh-movement {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Magnetic Button support class */
.magnetic-button {
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Accordion max-height transitions */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide Swiper default navigation shadow and customize styles */
.swiper-pagination-bullet-active {
  background: #3B82F6 !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* Glow gradient on dashboard mockup */
.dashboard-glow {
  position: relative;
}
.dashboard-glow::before {
  content: '';
  position: absolute;
  top: -5%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(162, 210, 255, 0.3) 0%, rgba(59, 130, 246, 0.1) 40%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}
