/* =========================
   GLOBAL FONTS
========================= */
* {
  font-family: 'Inter', sans-serif;
}

.font-display {
  font-family: 'Space Grotesk', sans-serif;
}

/* =========================
   CUSTOM SCROLLBAR
========================= */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  border-radius: 5px;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(59,130,246,0.3); }
  50% { box-shadow: 0 0 40px rgba(59,130,246,0.6); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes count-up {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

/* =========================
   ANIMATION HELPERS
========================= */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
}

.animate-slide-up {
  animation: slide-up 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fade-in 0.5s ease-out forwards;
}

/* =========================
   GLASS EFFECTS
========================= */
.glass {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.glass-dark {
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

/* =========================
   GRADIENT TEXT
========================= */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================
   HERO BACKGROUND
========================= */
.hero-pattern {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(59,130,246,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139,92,246,0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(236,72,153,0.1) 0%, transparent 50%);
}

/* =========================
   CARD EFFECTS
========================= */
.card-hover {
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}
.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* =========================
   PROGRESS BAR
========================= */
.progress-bar {
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}

/* =========================
   SECTIONS
========================= */
.section {
  display: none;
  opacity: 0;
}
.section.active {
  display: block;
  animation: slide-up 0.5s ease-out forwards;
}

/* =========================
   PARTICLES
========================= */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s infinite;
}

/* =========================
   TIMELINE
========================= */
.timeline-line {
  background: linear-gradient(180deg, #3b82f6, #8b5cf6, #ec4899);
}

/* =========================
   COUNTERS
========================= */
.counter {
  display: inline-block;
}

/* =========================
   MOBILE MENU
========================= */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}
.mobile-menu.open {
  transform: translateX(0);
}

/* =========================
   RIPPLE EFFECT
========================= */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}
.ripple:active::after {
  transform: scale(2);
  opacity: 1;
  transition: 0s;
}

/* =========================
   SKELETON LOADING
========================= */
.skeleton {
  background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =========================
   EU GRADIENT
========================= */
.eu-gradient {
  background: linear-gradient(135deg,#003399 0%,#003399 50%,#ffcc00 50%,#ffcc00 100%);
}
