/*
Theme Name: TKY
template: generatepress
*/

/* ============================================
   客户评价板块 / Testimonials Section Styles
   ============================================ */

/* Section Base */
.tky-testimonials {
  padding: 100px 0;
  background: var(--bg-secondary, #0a0e1a);
  position: relative;
  overflow: hidden;
}

.tky-testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Section Header */
.tky-section-header {
  margin-bottom: 60px;
}

.tky-section-header--center {
  text-align: center;
}

.tky-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  color: #818cf8;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.tky-section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.tky-text-gradient {
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tky-section-desc {
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Testimonials Grid */
.tky-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .tky-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tky-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonial Card */
.tky-testimonial-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tky-testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #d946ef);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tky-testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(99, 102, 241, 0.1);
}

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

/* Featured Card */
.tky-testimonial-card--featured {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.06));
  border-color: rgba(99, 102, 241, 0.25);
  grid-column: span 1;
}

@media (min-width: 1025px) {
  .tky-testimonial-card--featured {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 36px;
  }
  
  .tky-testimonial-card--featured .tky-testimonial-card__text {
    font-size: 17px;
    line-height: 1.8;
  }
}

.tky-testimonial-card__badge {
  position: absolute;
  top: 18px;
  right: 20px;
  padding: 4px 14px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
}

/* Quote Icon */
.tky-testimonial-card__quote-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
  color: #818cf8;
  font-size: 18px;
}

/* Rating Stars */
.tky-testimonial-card__rating {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  color: #fbbf24;
  font-size: 14px;
}

.tky-testimonial-card__rating .far.fa-star,
.tky-testimonial-card__rating .fas.fa-star-half-alt {
  opacity: 0.4;
}

/* Quote Text */
.tky-testimonial-card__text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
  position: relative;
}

/* Author Info */
.tky-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tky-testimonial-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(99, 102, 241, 0.3);
  flex-shrink: 0;
  background: rgba(99, 102, 241, 0.15);
}

.tky-testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tky-testimonial-card__info {
  display: flex;
  flex-direction: column;
}

.tky-testimonial-card__name {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.tky-testimonial-card__role {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  margin-top: 2px;
}

/* Bottom CTA */
.tky-testimonials-cta {
  text-align: center;
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tky-testimonials-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Button Styles */
.tky-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.tky-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.tky-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tky-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}
