/* ============================================
   TESTIMONIALS SECTION — What founders say
   ============================================ */

.testi-section {
  padding: 8rem 0;
  background: #fcfbfe;
  position: relative;
  overflow: hidden;
}

.testi-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* ── Header ── */
.testi-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: #6366f1;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.testi-badge:hover {
  transform: translateY(-1px);
  background: rgba(99, 102, 241, 0.1);
}

.testi-badge .badge-icon {
  width: 0.95rem;
  height: 0.95rem;
  color: #6366f1;
  flex-shrink: 0;
}

.testi-title {
  font-size: 3.25rem;
  font-weight: 850;
  color: #0f172a;
  margin: 1.5rem 0 1rem 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .testi-title {
    font-size: 2.5rem;
  }
}

.testi-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testi-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  font-weight: 400;
  max-width: 32rem;
  line-height: 1.5;
  margin: 0 auto;
}

/* ── Testimonial Grid ── */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Card ── */
.testi-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.08);
}

.card-top-content {
  display: flex;
  flex-direction: column;
}

/* Large decorative quote mark */
.testi-quote {
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}

.quote-purple { color: #6366f1; }
.quote-blue { color: #3b82f6; }
.quote-green { color: #10b981; }
.quote-orange { color: #f97316; }

/* Quote text */
.testi-text {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.65;
  font-weight: 500;
  margin: 0 0 2rem 0;
}

/* Author row */
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  padding-top: 1.25rem;
}

.testi-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.avatar-purple { background: #6366f1; }
.avatar-blue { background: #3b82f6; }
.avatar-green { background: #10b981; }
.avatar-orange { background: #f97316; }

.testi-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
  line-height: 1.3;
}

.testi-role {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.3;
}

/* ── Bottom Proof Row ── */
.testi-footer-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 4rem;
}

@media (max-width: 340px) {
.testi-inner {
    padding: 0rem;
   
}
}
@media (max-width: 480px) {
  .testi-footer-proof {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

.proof-avatars {
  display: flex;
  align-items: center;
}

.proof-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid #fcfbfe;
  margin-left: -10px;
  overflow: hidden;
  flex-shrink: 0;
}

.proof-avatar:first-child {
  margin-left: 0;
}

.proof-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.proof-badge-star {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fcfbfe;
  margin-left: -10px;
  flex-shrink: 0;
}

.proof-badge-star .star-icon {
  width: 0.85rem;
  height: 0.85rem;
  color: #ffffff;
}

.proof-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
}

.proof-text strong {
  color: #4f46e5;
}

/* ── Dark Mode Overrides ── */
body.dark-mode .testi-section {
  background: #09090b;
}

body.dark-mode .testi-badge {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

body.dark-mode .testi-badge .badge-icon {
  color: #a78bfa;
}

body.dark-mode .testi-title {
  color: #f8fafc;
}

body.dark-mode .testi-subtitle {
  color: #94a3b8;
}

body.dark-mode .testi-card {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

body.dark-mode .testi-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

body.dark-mode .testi-text {
  color: #a1a1aa;
}

body.dark-mode .testi-author {
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .testi-name {
  color: #f8fafc;
}

body.dark-mode .testi-role {
  color: #71717a;
}

body.dark-mode .proof-avatar {
  border-color: #09090b;
}

body.dark-mode .proof-badge-star {
  border-color: #09090b;
  background: #8b5cf6;
}

body.dark-mode .proof-text {
  color: #94a3b8;
}

body.dark-mode .proof-text strong {
  color: #a78bfa;
}

