/* Modern Testimonials Section */
.testimonials {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  margin-bottom: 4rem;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonials-header p {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid Layout */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Testimonial Cards */
.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  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;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-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);
}

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

/* Content */
.testimonial-content {
  margin-bottom: 1.5rem;
}

blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin: 0;
  font-style: italic;
  position: relative;
}

blockquote::before {
  content: '"';
  font-size: 2rem;
  color: #d1d5db;
  position: absolute;
  left: -0.5rem;
  top: -0.5rem;
  line-height: 1;
}

/* Footer */
.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
  transition: border-color 0.3s ease;
}

.testimonial-card:hover .author-avatar {
  border-color: #3b82f6;
}

.author-info {
  min-width: 0;
}

.author-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-style: normal;
}

.verified-badge {
  color: #3b82f6;
  flex-shrink: 0;
}

.author-handle {
  font-size: 0.75rem;
  color: #6b7280;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.platform-link {
  color: #6b7280;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.platform-link:hover {
  color: #000000;
}

/* CTA Section */
.testimonials-cta {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border: 2px dashed #d1d5db;
}

.testimonials-cta p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.testimonials-cta .action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.4);
}

.testimonials-cta .action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(59, 130, 246, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonials {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }

  .testimonials-header h2 {
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .testimonials-header h2 {
    font-size: 1.75rem;
  }

  .testimonials-header p {
    font-size: 1rem;
  }
}

/* Loading States */
.testimonial-card.loading {
  opacity: 0.7;
}

.testimonial-card.loading .author-avatar {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}