/* =========================
   TESTIMONIALS — TESLA DARK
   ========================= */

.testimonials {
  background: #050505;
  padding: 120px 0 160px;
  position: relative;
  overflow: hidden;
  color: #e9e9e9;
}

/* Radial system glow (matches Core Benefits) */
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 50%,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 30%,
    rgba(255, 255, 255, 0.00) 60%
  );
  pointer-events: none;
  z-index: 0;
}

/* Content above glow */
.testimonials-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* TRACK */
.testimonial-track {
  overflow: hidden;
  width: 100%;
}

/* MOVING ROW */
.testimonial-row {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: ticker 70s linear infinite;
}

/* =========================
   TESTIMONIAL CARD — DARK GLASS
   ========================= */

.testimonial-card {
  width: 320px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  width:68px;
  height:1px;
  transform:translateX(-50%);
  background:rgba(255,255,255,0.68);
  pointer-events:none;
  border-radius: inherit;
  z-index:0;
}
.testimonial-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,0.62), rgba(255,255,255,0.62)) 0 50%/1px 36px no-repeat,
    linear-gradient(rgba(255,255,255,0.62), rgba(255,255,255,0.62)) 100% 50%/1px 36px no-repeat;
  border-radius: inherit;
  z-index:0;
}
.testimonial-card > *{
  position: relative;
  z-index: 1;
}

/* Quote mark */
.testimonial-card .quote {
  font-size: 26px;
  color: rgba(255,255,255,0.35);
}

/* Body text */
.testimonial-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(233,233,233,0.92);
  margin: 12px 0 22px;
}

/* USER */
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-user .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 18px rgba(0,0,0,0.34);
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.18), rgba(255,255,255,0) 58%),
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

.testimonial-user .avatar--silver {
  color: #f2f5fa;
  border-color: rgba(215, 226, 244, 0.28);
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.28), rgba(255,255,255,0.02) 58%),
    linear-gradient(145deg, rgba(205, 217, 235, 0.22), rgba(86, 99, 122, 0.14));
}

.testimonial-user .avatar--navy {
  border-color: rgba(120, 148, 224, 0.25);
  background:
    radial-gradient(circle at 25% 20%, rgba(121, 158, 255, 0.22), rgba(121,158,255,0.02) 58%),
    linear-gradient(145deg, rgba(12, 26, 58, 0.78), rgba(7, 11, 22, 0.88));
}

.testimonial-user .avatar--slate {
  border-color: rgba(172, 180, 201, 0.22);
  background:
    radial-gradient(circle at 26% 22%, rgba(255,255,255,0.16), rgba(255,255,255,0.02) 56%),
    linear-gradient(145deg, rgba(59, 67, 88, 0.72), rgba(16, 21, 33, 0.88));
}

.testimonial-user .avatar--charcoal {
  border-color: rgba(255,255,255,0.20);
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,0.13), rgba(255,255,255,0.01) 54%),
    linear-gradient(145deg, rgba(44, 44, 44, 0.82), rgba(9, 9, 9, 0.92));
}

/* Name */
.testimonial-user strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
}

/* Role */
.testimonial-user span {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

/* =========================
   PARTNER LOGOS — SUBTLE SUPPORT
   ========================= */

.partner-logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 80px;
  opacity: 0.65;
}

.logo-pill img {
  filter: brightness(1.1);
}

/* =========================
   MOTION
   ========================= */

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

/* =========================
   TRANSITION INTO NEXT SECTION
   ========================= */

.section-transition-to-black {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: #050505;
  clip-path: polygon(
    0% 70%,
    42% 70%,
    54% 12%,
    100% 12%,
    100% 100%,
    0% 100%
  );
}
