:root {
  color-scheme: dark;
  --gradient-primary: linear-gradient(135deg, #34d399 0%, #22d3ee 50%, #8b5cf6 100%);
  --gradient-alt: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 50%, #ec4899 100%);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.09), transparent 22%), radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.12), transparent 28%), #060b14;
  animation: backgroundShift 15s ease infinite;
  position: relative;
  overflow-x: hidden;
}

@keyframes backgroundShift {
  0%, 100% {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.09), transparent 22%), radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.12), transparent 28%), #060b14;
  }
  50% {
    background: radial-gradient(circle at top left, rgba(139, 92, 246, 0.08), transparent 25%), radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.12), transparent 32%), #060b14;
  }
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.shadow-glow {
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24), 0 0 40px rgba(34, 211, 238, 0.12);
}

button,
a,
input {
  transition: all 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  color: #020617;
  animation: gradientShift 6s ease infinite;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 40px rgba(52, 211, 153, 0.3);
}

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

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.stat-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
  backdrop-filter: blur(18px);
  padding: 1.75rem 1.5rem;
  border-radius: 1.75rem;
  transition: all 300ms ease;
  position: relative;
  overflow: hidden;
  animation: statCardEntry 0.8s ease both;
}

@keyframes statCardEntry {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: cardShimmer 4s infinite;
  opacity: 0;
}

.stat-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 20px 50px rgba(34, 211, 238, 0.15), inset 0 0 30px rgba(34, 211, 238, 0.05);
  transform: translateY(-4px);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card p:first-child {
  color: #94a3b8;
  font-weight: 600;
}

.stat-card p:last-child {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

@keyframes cardShimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.testimonial-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(25, 35, 55, 0.6));
  backdrop-filter: blur(18px);
  border-radius: 2rem;
  padding: 1.5rem;
  transition: all 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
  opacity: 0;
  transition: opacity 400ms ease;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 40px 80px rgba(34, 211, 238, 0.2), inset 0 1px 30px rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.3);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.star-badge {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  color: #020617;
}

.avatar-frame {
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 300ms ease;
  position: relative;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.1);
}

.testimonial-card:hover .avatar-frame {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 15px 40px rgba(34, 211, 238, 0.2);
  transform: scale(1.05);
}

#vouch-list article {
  animation: fadeInUp 0.65s ease both;
}

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

@media (max-width: 640px) {
  .btn-primary {
    width: 100%;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease 200ms, transform 700ms ease 200ms;
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.6);
  }
}

.stat-card:nth-child(1) {
  animation-delay: 0ms;
}

.stat-card:nth-child(2) {
  animation-delay: 100ms;
}

