/* ==========================================================================
   TechExpresso Enterprise Authority & Social Proof Stylesheet
   Palette: Ice-Blue #EEF4FA, Signature Blue #0062B1, Cyan #38BDF8, Dark Navy #070D18
   ========================================================================== */

.te-partners-wrapper,
.te-social-proof-wrapper,
.te-full-authority-block {
  width: 100%;
  box-sizing: border-box;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1E293B;
  position: relative;
  margin: 50px auto;
}

.te-authority-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* Header */
.te-authority-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px auto;
}

.te-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 98, 177, 0.08);
  border: 1px solid rgba(0, 98, 177, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.te-auth-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0062B1;
  box-shadow: 0 0 8px rgba(0, 98, 177, 0.6);
  display: inline-block;
}

.te-auth-badge-text {
  font-size: 11.5px;
  font-weight: 800;
  color: #0062B1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.te-auth-title {
  font-size: 34px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 14px 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.te-auth-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: #64748B;
  margin: 0 auto;
}

/* Dark mode adjustments if on dark container */
.tech-dark-block .te-auth-title {
  color: #FFFFFF !important;
}
.tech-dark-block .te-auth-subtitle {
  color: #94A3B8 !important;
}

/* Partners Grid */
.te-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.te-partner-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 24px;
  box-sizing: border-box;
  box-shadow: 0 6px 20px rgba(0, 98, 177, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.te-partner-card:hover {
  transform: translateY(-5px);
  border-color: #0062B1;
  box-shadow: 0 16px 36px rgba(0, 98, 177, 0.14);
}

.te-partner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.te-partner-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 98, 177, 0.06);
  border: 1px solid rgba(0, 98, 177, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.te-partner-badge {
  font-size: 11px;
  font-weight: 700;
  color: #0062B1;
  background: rgba(0, 98, 177, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.te-partner-name {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.te-partner-cat {
  font-size: 12.5px;
  font-weight: 600;
  color: #0062B1;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.te-partner-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 18px 0;
  flex-grow: 1;
}

.te-partner-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  font-size: 12.5px;
  font-weight: 700;
  color: #0F172A;
}

.te-metric-check {
  color: #10B981;
  font-weight: 900;
  font-size: 14px;
}

/* Metrics Banner */
.te-metrics-banner {
  background: linear-gradient(145deg, #090F1E 0%, #0F1E36 60%, #0A1426 100%);
  border: 1.5px solid rgba(0, 98, 177, 0.45);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(0, 98, 177, 0.15);
  box-sizing: border-box;
}

.te-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.te-metric-card {
  text-align: center;
  padding: 10px 14px;
  box-sizing: border-box;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.te-metric-card:last-child {
  border-right: none;
}

.te-metric-number {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #38BDF8 0%, #0062B1 80%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.te-metric-label {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.te-metric-subtext {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.45;
}

/* Testimonials Grid */
.te-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 35px;
}

.te-testimonial-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 24px;
  box-sizing: border-box;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.te-testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #0062B1;
  box-shadow: 0 16px 36px rgba(0, 98, 177, 0.12);
}

.te-test-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.te-stars-row {
  display: flex;
  gap: 3px;
  color: #F59E0B;
  font-size: 16px;
}

.te-test-tag {
  font-size: 11px;
  font-weight: 700;
  color: #0062B1;
  background: rgba(0, 98, 177, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
}

.te-test-quote {
  margin: 0 0 20px 0;
  padding: 0;
  border: none;
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
  font-style: italic;
  flex-grow: 1;
}

.te-test-footer {
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
}

.te-test-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.te-test-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0062B1;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 98, 177, 0.3);
}

.te-test-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
}

.te-verified-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.te-test-role {
  font-size: 12px;
  color: #64748B;
  line-height: 1.35;
}

.te-test-metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0062B1;
}

.te-test-metric-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0062B1;
}

/* Trust Action Bar */
.te-trust-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 14px;
  padding: 20px 28px;
  box-sizing: border-box;
}

.te-trust-action-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #0F172A;
  font-size: 14.5px;
}

.te-trust-action-text span {
  color: #64748B;
  font-size: 13.5px;
}

.te-trust-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0062B1;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 9px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 98, 177, 0.35);
}

.te-trust-action-btn:hover {
  background: #004e8c;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 98, 177, 0.5);
  color: #FFFFFF !important;
}

/* Laser Divider */
.te-laser-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  margin: 60px auto;
  height: 2px;
}

.te-laser-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #0062B1 50%, transparent 100%);
}

.te-laser-glow {
  position: absolute;
  width: 30%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #38BDF8 50%, transparent 100%);
  filter: blur(1px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .te-partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .te-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .te-metric-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
  }
  .te-metric-card:nth-child(3),
  .te-metric-card:nth-child(4) {
    border-bottom: none;
  }
  .te-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .te-partners-grid {
    grid-template-columns: 1fr;
  }
  .te-metrics-grid {
    grid-template-columns: 1fr;
  }
  .te-metric-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .te-metric-card:last-child {
    border-bottom: none;
  }
  .te-auth-title {
    font-size: 26px;
  }
  .te-trust-action-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .te-trust-action-btn {
    width: 100%;
  }
}