/* CLEAN BOTTOM LAYOUT - Professional Homepage Design */
/* Removes chaos, creates visual hierarchy, enhances readability */

/* SECTION ORGANIZATION & SPACING */
.authority-reversal-content {
  max-width: 1200px;
  margin: 50px auto;
  padding: 40px 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.authority-reversal-content h2 {
  text-align: center;
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.3;
}

/* CLEAN TRUST BADGES */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.trust-badge {
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #000000;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  text-shadow: none;
  border: 2px solid rgba(255,215,0,0.8);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* LEAD TEXT CLEANUP */
.lead-text {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 40px auto;
  color: #ffffff;
  font-weight: 500;
}

.lead-text strong {
  color: #ffd700;
  font-weight: 700;
}

/* TESTIMONIALS REDESIGN */
.social-proof-section {
  margin: 60px 0;
  padding: 40px 20px;
  background: rgba(0,0,0,0.3);
  border-radius: 15px;
  border: 1px solid rgba(255,215,0,0.2);
}

.social-proof-section h3 {
  text-align: center;
  color: #ffd700;
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 40px;
  font-weight: 800;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: rgba(255,255,255,0.08);
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid #ffd700;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}

.testimonial-author {
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 8px;
}

.testimonial-details {
  font-size: 13px;
  opacity: 0.7;
  color: #ffffff;
}

/* SUCCESS METRICS CLEANUP */
.authority-success-metrics {
  background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,215,0,0.25));
  padding: 30px;
  border-radius: 15px;
  border: 2px solid rgba(255,215,0,0.3);
  text-align: center;
  margin: 40px 0;
}

.authority-success-metrics h4 {
  color: #ffd700;
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 25px;
  font-weight: 800;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.metric-item {
  padding: 15px;
}

.metric-number {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  color: #ffd700;
  margin-bottom: 8px;
  display: block;
}

.metric-label {
  font-size: 14px;
  opacity: 0.9;
  color: #ffffff;
}

/* EMERGENCY STATS REDESIGN */
.emergency-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 40px 0;
  padding: 30px;
  background: rgba(220, 53, 69, 0.15);
  border-radius: 15px;
  border: 2px solid rgba(220, 53, 69, 0.3);
}

.stat-card {
  text-align: center;
  padding: 20px 15px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
  display: block;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: #ff6b6b;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

/* AUTHORITY SECTION CLEANUP */
.authority-section {
  margin: 40px 0;
  padding: 30px;
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  border-left: 5px solid #ffd700;
}

.authority-section h3 {
  font-size: clamp(20px, 3vw, 28px);
  color: #ffd700;
  margin-bottom: 20px;
  font-weight: 700;
}

.authority-section p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

/* AI SUMMARY REDESIGN */
.ai-summary {
  background: linear-gradient(135deg, rgba(0,123,255,0.15), rgba(40,167,69,0.15));
  padding: 30px;
  border-radius: 15px;
  border: 2px solid rgba(40,167,69,0.3);
  margin: 40px 0;
}

.ai-summary h3 {
  color: #28a745;
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 700;
}

.ai-summary p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

/* EMERGENCY CONTACT SECTION */
.emergency-contact-section {
  background: linear-gradient(135deg, #dc3545, #c82333);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  margin: 50px 0;
  box-shadow: 0 10px 30px rgba(220,53,69,0.3);
}

.emergency-header h2 {
  color: #ffffff;
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 15px;
  font-weight: 800;
}

.urgent-text {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-bottom: 30px;
}

/* MULTI-REGION PHONES */
.multi-region-phones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.region-phone {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid rgba(255,255,255,0.2);
}

.region-phone h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.emergency-phone-link {
  color: #ffeb3b !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  background: rgba(0,0,0,0.3) !important;
  padding: 10px 15px !important;
  border-radius: 8px !important;
  display: inline-block !important;
  transition: all 0.3s ease !important;
}

.emergency-phone-link:hover {
  background: rgba(0,0,0,0.5) !important;
  transform: scale(1.05) !important;
}

/* AUTHORITY MESSAGE */
.authority-message {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
}

.authority-message p {
  margin: 8px 0;
  color: rgba(255,255,255,0.9);
  font-size: 16px;
}

.authority-message strong {
  color: #ffeb3b;
  font-weight: 700;
}

/* FAQ SECTION CLEANUP */
.authority-faq {
  max-width: 1000px;
  margin: 50px auto;
  padding: 40px 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.authority-faq h2 {
  text-align: center;
  color: #ffd700;
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 40px;
  font-weight: 800;
}

.faq-item {
  margin-bottom: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.faq-question {
  background: rgba(255,215,0,0.1);
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: #ffd700;
  border-bottom: 1px solid rgba(255,215,0,0.2);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(255,215,0,0.15);
}

.faq-answer {
  padding: 20px;
  display: none;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

/* FOOTER CLEANUP */
.footer {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 40px 30px;
  text-align: center;
  border-top: 3px solid rgba(255,215,0,0.3);
  margin-top: 60px;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.emergency-contact {
  font-size: clamp(18px, 3vw, 24px);
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

.emergency-contact a {
  color: #00d4ff !important;
  text-decoration: none !important;
  background: rgba(0,212,255,0.1) !important;
  padding: 8px 15px !important;
  border-radius: 6px !important;
  border: 2px solid rgba(0,212,255,0.3) !important;
}

.footer-framework {
  margin: 20px 0;
  color: rgba(255,255,255,0.9);
  font-size: 16px;
}

.footer-service-areas {
  font-size: 14px;
  opacity: 0.8;
  color: rgba(255,255,255,0.8);
  margin: 15px 0;
}

.footer-copyright {
  font-size: 12px;
  margin-top: 20px;
  opacity: 0.6;
  color: rgba(255,255,255,0.6);
}

/* HIDE DUPLICATE FOOTER */
.site-footer {
  display: none !important;
}

/* MOBILE RESPONSIVE IMPROVEMENTS */
@media (max-width: 768px) {
  .authority-reversal-content {
    margin: 30px 10px;
    padding: 20px 15px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .emergency-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 15px;
  }

  .multi-region-phones {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .emergency-contact-section {
    margin: 30px 10px;
    padding: 25px 20px;
  }

  .authority-faq {
    margin: 30px 10px;
    padding: 20px 15px;
  }

  .faq-question,
  .faq-answer {
    padding: 15px;
  }

  /* Additional mobile optimizations */
  .lead-text {
    font-size: 16px;
    padding: 0 10px;
  }

  .social-proof-section {
    padding: 25px 15px;
  }

  .authority-section {
    padding: 20px 15px;
  }

  .ai-summary {
    padding: 20px 15px;
    margin: 30px 10px;
  }

  .footer {
    padding: 30px 20px;
  }

  .emergency-contact {
    font-size: 16px;
  }

  .emergency-phone-link {
    font-size: 18px !important;
    padding: 8px 12px !important;
  }
}

/* SMALL MOBILE DEVICES */
@media (max-width: 480px) {
  .authority-reversal-content h2 {
    font-size: 24px;
  }

  .trust-badge {
    padding: 10px 16px;
    font-size: 13px;
  }

  .testimonial-card {
    padding: 20px 15px;
  }

  .emergency-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 15px 10px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .metric-item {
    padding: 10px;
  }

  .emergency-header h2 {
    font-size: 20px;
  }

  .region-phone {
    padding: 15px;
  }

  .emergency-phone-link {
    font-size: 16px !important;
    padding: 6px 10px !important;
  }
}

/* ACCESSIBILITY IMPROVEMENTS */
.faq-question:focus,
.emergency-phone-link:focus,
.trust-badge:focus {
  outline: 3px solid #ffd700;
  outline-offset: 2px;
}

/* VISUAL HIERARCHY ENHANCEMENT */
.mortality-trigger {
  color: #ff6b6b !important;
  font-weight: 700 !important;
}

/* CONSISTENT SPACING */
section {
  margin: 40px 0;
}

/* SMOOTH TRANSITIONS */
* {
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}