/* AI Endorsement Section Styles */
:root {
  --primary-magenta: #e741b5;
  --primary-purple: #4B2E83;
  --primary-lilac: #917FB3;
  --accent-orange: #ff7f50;
  --accent-blue: #00b9f1;
  --bg-dark: #1b1c26;
  --bg-darkest: #131327;
  --card-bg: rgba(27, 28, 38, 0.94);
  --text-primary: #fff;
  --text-secondary: #bfc1d6;
  --text-muted: #7e7f99;
}

.ai-endorsement {
  margin: 4rem 0;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--primary-magenta);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 1;
}

.section-subheader {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  text-align: center;
}

.section-subheader i {
  font-size: 2rem;
  color: var(--primary-magenta);
  margin-bottom: 1rem;
  text-shadow: 0 0 15px var(--accent-blue);
}

.section-subheader h3 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin: 0;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.section-subheader h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-purple), var(--primary-magenta));
  border-radius: 3px;
}

.ai-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.ai-rating-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.rating-circle {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
}

.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
}

.circle-bg {
  fill: none;
  stroke: rgba(231, 65, 181, 0.1);
  stroke-width: 3;
}

.circle {
  fill: none;
  stroke: var(--primary-magenta);
  stroke-width: 3;
  stroke-linecap: round;
  animation: progress 1.5s ease-out forwards;
}

@keyframes progress {
  0% {
    stroke-dasharray: 0, 100;
  }
}

.percentage {
  fill: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7em;
  font-weight: bold;
  text-anchor: middle;
}

.rating-text {
  font-size: 1.1rem;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}

.ai-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 1.5rem;
  padding: 0 1rem 1rem 1rem;
}

.ai-testimonial-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #131327;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #4b2e83;
  box-shadow: 0 5px 15px rgba(0,0,0,.3);
  min-width: 300px;
}

/* Setas laterais */
.ai-carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

.ai-carousel-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--primary-magenta);
  background: rgba(231, 65, 181, 0.08);
  color: var(--primary-magenta);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ai-carousel-controls button:hover {
  background: var(--primary-magenta);
  color: var(--bg-darkest);
}


.ai-testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.ai-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-primary);
  font-weight: 600;
}

.ai-logo i {
  color: var(--primary-magenta);
  font-size: 1.3rem;
}

.ai-rating {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.ai-score {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-magenta);
  font-family: 'Space Grotesk', sans-serif;
}

.ai-score-max {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.ai-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
  position: relative;
  padding-left: 1.2rem;
  border-left: 3px solid var(--primary-magenta);
}

.ai-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.ai-prev, .ai-next {
  background: transparent;
  border: 1px solid rgba(231, 65, 181, 0.3);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ai-prev:hover, .ai-next:hover {
  background: rgba(231, 65, 181, 0.1);
  border-color: var(--primary-magenta);
}

.ai-dots {
  display: flex;
  gap: 0.5rem;
}

.ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(231, 65, 181, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ai-dot.active {
  background: var(--primary-magenta);
  transform: scale(1.2);
}

.ai-endorsement-cta {
  text-align: center;
  margin-top: 2rem;
}

.ai-cta-text {
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 500;
}
