body {
  font-family: "Inter", sans-serif;
}

.gradient-bg {
  background: linear-gradient(135deg, #1e293b 0%, #1d2735 50%, #222f41 100%);
}

.card-3d {
  transform: perspective(1000px) rotateX(5deg);
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-3d:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.cube-3d {
  width: 60px;
  height: 60px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate 20s infinite linear;
}

.cube-face {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  border: 2px solid #1e40af;
}

.cube-face.front {
  transform: rotateY(0deg) translateZ(30px);
}
.cube-face.back {
  transform: rotateY(180deg) translateZ(30px);
}
.cube-face.right {
  transform: rotateY(90deg) translateZ(30px);
}
.cube-face.left {
  transform: rotateY(-90deg) translateZ(30px);
}
.cube-face.top {
  transform: rotateX(90deg) translateZ(30px);
}
.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(30px);
}

@keyframes rotate {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

.stats-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.stats-number {
  background: linear-gradient(135deg, #1e293b, #334155);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.feature-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  background: linear-gradient(145deg, #ffffff, #ffffff);
}

.feature-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.feature-icon:hover {
  box-shadow: 0 6px 20px 0 rgba(59, 130, 246, 0.5);
}

.testimonials-section {
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 40px;
  margin-top: 40px;
}

.testimonials-container {
  overflow: hidden;
  position: relative;

  padding: 20px 0;
  margin-bottom: 30px;
}

.testimonials-track {
  display: flex;
  gap: 40px;
  width: max-content;
}

.track-1 {
  animation: scrollLeft 60s linear infinite;
}

.track-2 {
  animation: scrollRight 45s linear infinite;
}

.testimonial {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 28px;
  min-width: 400px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
  border-left: 3px solid #3b82f6;
}

.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  border-left-color: #2563eb;
}

.testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial:hover::before {
  opacity: 1;
}

/* Second row styling with different accent */
.testimonials-container:nth-child(3) .testimonial {
  border-left-color: #8b5cf6;
}

.testimonials-container:nth-child(3) .testimonial:hover {
  border-left-color: #7c3aed;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.testimonials-container:nth-child(3) .testimonial::before {
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
}

.testimonials-container:nth-child(3) .avatar {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
}

.testimonials-container:nth-child(3) .company {
  color: #8b5cf6;
}

.quote {
  font-size: 15px;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 16px;
  font-style: italic;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 2px;
}

.info p {
  font-size: 12px;
  color: #6b7280;
}

.company {
  color: #3b82f6;
  font-weight: 500;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.testimonials-track:hover {
  animation-play-state: paused;
}

/* Gradient fade edges */
.testimonials-container::before,
.testimonials-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-container::before {
  left: 0;
  background: linear-gradient(90deg, #fafafa, transparent);
}

.testimonials-container::after {
  right: 0;
  background: linear-gradient(270deg, #fafafa, transparent);
}

@media (max-width: 768px) {
  .testimonial {
    min-width: 300px;
    padding: 20px 24px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
}
