/* ==========================================================================
   PSYCHOLOGY & TRUST OPTIMIZATION CSS
   Deep psychological principles for conversion optimization
   ========================================================================== */

/* ==========================================================================
   1. TRUST BADGE SYSTEM
   ========================================================================== */

.trust-bar {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 0.75rem 0;
  overflow: hidden;
}

.trust-bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #888;
  font-size: 0.8rem;
  white-space: nowrap;
}

.trust-badge-item i {
  color: #c9a227;
  font-size: 1rem;
}

.trust-badge-item.verified {
  color: #4caf50;
}

.trust-badge-item.verified i {
  color: #4caf50;
}

/* ==========================================================================
   2. SOCIAL PROOF COUNTER
   ========================================================================== */

.social-proof-section {
  background: #111;
  padding: 3rem 0;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.proof-stat {
  position: relative;
}

.proof-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #c9a227;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.proof-stat-label {
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proof-stat-detail {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .social-proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .proof-stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .trust-bar-content {
    gap: 1rem;
  }
  
  .trust-badge-item {
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   3. TESTIMONIAL CARDS (WITH AUTHENTICITY MARKERS)
   ========================================================================== */

.testimonials-section {
  padding: 4rem 0;
  background: #0a0a0a;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-header h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.testimonials-header p {
  color: #888;
  font-size: 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonial-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: #c9a227;
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-rating {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: #c9a227;
  font-size: 0.9rem;
}

.testimonial-text {
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #333;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a227 0%, #a08020 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #111;
  font-size: 1.1rem;
}

.testimonial-info h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.testimonial-info p {
  color: #888;
  font-size: 0.8rem;
}

.testimonial-verified {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: #4caf50;
  margin-top: 0.25rem;
}

.testimonial-verified i {
  font-size: 0.65rem;
}

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

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

/* ==========================================================================
   4. ANXIETY REDUCERS
   ========================================================================== */

.anxiety-reducer {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.anxiety-reducer i {
  color: #4caf50;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.anxiety-reducer-content h4 {
  color: #4caf50;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.anxiety-reducer-content p {
  color: #aaa;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Risk Reversal Banner */
.risk-reversal {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.05) 100%);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0;
}

.risk-reversal-icon {
  width: 60px;
  height: 60px;
  background: rgba(201, 162, 39, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.risk-reversal-icon i {
  color: #c9a227;
  font-size: 1.5rem;
}

.risk-reversal h3 {
  color: #c9a227;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.risk-reversal p {
  color: #aaa;
  font-size: 0.9rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ==========================================================================
   5. PROCESS CLARITY (REDUCES UNCERTAINTY)
   ========================================================================== */

.process-timeline {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  width: 2px;
  height: calc(100% - 24px);
  background: linear-gradient(to bottom, #c9a227, #333);
}

.process-step-number {
  width: 48px;
  height: 48px;
  background: #c9a227;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #111;
  font-size: 1.25rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step-content h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step-content p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.6;
}

.process-step-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(201, 162, 39, 0.15);
  color: #c9a227;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

.process-step-time i {
  font-size: 0.7rem;
}

/* ==========================================================================
   6. CONTACT ASSURANCE
   ========================================================================== */

.contact-assurance {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.contact-assurance h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #888;
  font-size: 0.9rem;
}

.contact-method i {
  color: #c9a227;
}

.contact-method a {
  color: #c9a227;
  text-decoration: none;
}

.contact-method a:hover {
  text-decoration: underline;
}

/* Live Status Indicator */
.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #4caf50;
}

.live-status-dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

/* ==========================================================================
   7. AUTHORITY SIGNALS
   ========================================================================== */

.authority-strip {
  background: #0d0d0d;
  padding: 1.5rem 0;
  border-top: 1px solid #222;
}

.authority-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.authority-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.authority-icon {
  width: 50px;
  height: 50px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.authority-icon i {
  color: #c9a227;
  font-size: 1.25rem;
}

.authority-item span {
  color: #888;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   8. URGENCY & SCARCITY (ETHICAL)
   ========================================================================== */

.capacity-indicator {
  background: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.3);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.capacity-indicator i {
  color: #ff9800;
  font-size: 1.1rem;
}

.capacity-indicator span {
  color: #ff9800;
  font-size: 0.85rem;
}

/* ==========================================================================
   9. MOBILE OPTIMIZATIONS
   ========================================================================== */

@media (max-width: 768px) {
  .authority-content {
    gap: 1.5rem;
  }
  
  .contact-methods {
    flex-direction: column;
    gap: 1rem;
  }
  
  .process-step {
    gap: 1rem;
  }
  
  .process-step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .process-step:not(:last-child)::before {
    left: 19px;
    top: 40px;
  }
}

/* ==========================================================================
   10. DASHBOARD QUICK ACCESS
   ========================================================================== */

.admin-quick-access {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.admin-quick-access a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 162, 39, 0.9);
  color: #111;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.admin-quick-access a:hover {
  background: #c9a227;
  transform: translateY(-2px);
}

/* ==========================================================================
   11. FORM PSYCHOLOGY ENHANCEMENTS
   ========================================================================== */

.form-security-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem;
  background: rgba(76, 175, 80, 0.05);
  border-radius: 8px;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #888;
}

.security-item i {
  color: #4caf50;
  font-size: 0.85rem;
}

/* Progress Indicator */
.form-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.progress-step {
  flex: 1;
  height: 4px;
  background: #333;
  border-radius: 2px;
  position: relative;
}

.progress-step.active {
  background: #c9a227;
}

.progress-step.completed {
  background: #4caf50;
}

/* ==========================================================================
   12. CARRIER INCENTIVE PSYCHOLOGY
   ========================================================================== */

.incentive-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.incentive-card.gold {
  border-color: #c9a227;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, #1a1a1a 100%);
}

.incentive-card.gold::before {
  content: 'TOP TIER';
  position: absolute;
  top: 10px;
  right: -30px;
  background: #c9a227;
  color: #111;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 2rem;
  transform: rotate(45deg);
}

.incentive-card.silver {
  border-color: #b0b0b0;
  background: linear-gradient(135deg, rgba(176, 176, 176, 0.1) 0%, #1a1a1a 100%);
}

.incentive-card.bronze {
  border-color: #cd7f32;
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.1) 0%, #1a1a1a 100%);
}

.incentive-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.incentive-card.gold .incentive-icon { color: #c9a227; }
.incentive-card.silver .incentive-icon { color: #b0b0b0; }
.incentive-card.bronze .incentive-icon { color: #cd7f32; }

.incentive-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.incentive-score {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
}

.incentive-benefits {
  text-align: left;
  margin: 1rem 0;
}

.incentive-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #aaa;
  padding: 0.4rem 0;
}

.incentive-benefit i {
  color: #4caf50;
  font-size: 0.8rem;
}

/* ==========================================================================
   13. FLOATING HELP BUTTON
   ========================================================================== */

.help-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
}

.help-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 50%;
  color: #c9a227;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.help-float a:hover {
  background: #c9a227;
  color: #111;
  transform: scale(1.1);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 5rem 0;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto;
}

.step-icon i {
  font-size: 1.5rem;
  color: var(--gold);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.step-cta a {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.step-cta a:hover {
  color: #e5b92e;
}

.step-cta a i {
  margin-left: 0.25rem;
  transition: transform 0.2s;
}

.step-cta a:hover i {
  transform: translateX(3px);
}

.step-highlight {
  color: #22c55e;
  font-size: 0.9rem;
  font-weight: 500;
}

.step-highlight i {
  margin-right: 0.25rem;
}

.step-connector {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.5rem;
  padding-top: 4rem;
}

.steps-guarantee {
  margin-top: 3rem;
  text-align: center;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  padding: 1rem 2rem;
}

.guarantee-badge i {
  font-size: 2rem;
  color: #22c55e;
}

.guarantee-badge strong {
  display: block;
  color: #22c55e;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.guarantee-badge span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Mobile: Stack steps vertically */
@media (max-width: 900px) {
  .steps-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .step-connector {
    transform: rotate(90deg);
    padding: 0;
    margin: 1rem 0;
  }
  
  .step-card {
    max-width: 100%;
    width: 100%;
  }
}

/* ========================================
   ANIMATED COUNTERS
   ======================================== */

.proof-stat-number {
  transition: all 0.3s ease;
}

.proof-stat-number.counting {
  color: var(--gold);
}

/* ========================================
   ACCESSIBILITY: Reduced Motion Support
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .live-indicator,
  .live-indicator::before,
  .proof-stat-number {
    animation: none !important;
    transition: none !important;
  }
}

/* Trust bar mobile fix */
@media (max-width: 768px) {
  .trust-bar {
    margin-top: 60px !important;
  }
}
