@import url('theme.css');

/* ============================================================
   THEME: ResQVac
   Niche: Medical/Emergency Safety
   Style: Professional, Trustworthy, Urgent
   ============================================================ */

/* ── LAYER 1: COLOR TOKENS ─────────────────────────────── */
:root {
  --primary:        #dc2626 ; /* Emergency Red - for CTA and urgency */
  --primary-dark:   #b91c1c ; /* Darker red for hover */
  --primary-light:  #fef2f2 ; /* Soft red tint */
  --secondary:      #2563eb ; /* Medical Blue - for trust and safety */
  --secondary-light:#eff6ff ; /* Light blue tint */
  --bg:             #ffffff ; /* page background */
  --bg-alt:         #f8fafc ; /* alternating section bg */
  --dark:           #0f172a ; /* dark navy for text/headings */
  --text:           #1e293b ; /* body text */
  --text-muted:     #64748b ; /* muted text */
  --cta-bg:         #dc2626 ; 
  --cta-text:       #ffffff ; 
  --alert-bg:       #dc2626 ; 
  --alert-text:     #ffffff ; 
  --trust-bg:       #f8fafc ; 
  --border:         #e2e8f0 ; 
  --star:           #f59e0b ; 
}

/* ── LAYER 2: TYPOGRAPHY TOKENS ────────────────────────── */
:root {
  --font-heading:   'Inter', 'Poppins', sans-serif ;
  --font-body:      'Inter', 'Poppins', sans-serif ;
  --fw-heading:     800 ;
  --fw-subheading:  700 ;
  --fw-body:        400 ;
  --lh-heading:     1.1 ;
  --lh-body:        1.6 ;
  
  /* Standardized Sizes */
  --fs-h1:          clamp(2.5rem, 5vw, 4.25rem);
  --fs-h2:          clamp(1.85rem, 4vw, 2.75rem);
  --fs-h3:          clamp(1.25rem, 2vw, 1.5rem);
  --fs-body:        1.05rem;
  --fs-lead:        1.2rem;
}

/* ── LAYER 3: HERO BACKGROUND ───────────────────────────── */
#hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); /* Deep blue/navy */
  position: relative;
  overflow: hidden;
}

/* Red decorative glow */
#hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 140%;
  background: radial-gradient(circle, rgba(220,38,38,0.15) 0%, transparent 70%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(37,99,235,0.03) 100%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}

/* ── LAYER 4: COMPONENT OVERRIDES ───────────────────────── */

.alert-badge i {
  color: #fff;
}

#header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
}

.hero-badge {
  background: rgba(220,38,38,0.2);
  border: 1px solid rgba(220,38,38,0.4);
  color: #fca5a5;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero-text h1 .highlight {
  background: linear-gradient(to right, #f87171, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline i,
.hero-guarantee i {
  color: #f87171;
}

.btn-primary,
.hero-cta,
.cta-button {
  background: var(--primary);
  color: #fff;
  border-radius: 6px; /* more "medical tool" feel than pill */
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover,
.hero-cta:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.section-label {
  background: var(--secondary-light);
  color: var(--secondary);
}

.feature-card:hover {
  border-color: var(--secondary);
}

.feature-icon-wrap {
  background: var(--secondary-light);
}
.feature-icon-wrap i {
  color: var(--secondary);
}

.trust-icon {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.trust-icon i {
  color: var(--secondary);
}
/* Global Typography Standardization Overlay */
.section-h2, 
.comparison-header h2,
#benefits h2,
#how-it-works h2,
#science h2 {
  font-size: var(--fs-h2) !important;
  font-weight: 800 !important;
}

body, .section-body, p {
  font-size: var(--fs-body);
}

.section-subheading, .hero-subtext {
  font-size: var(--fs-lead);
}

#social-proof {
  background: linear-gradient(to right, #2563eb, #1e40af);
}

.faq-icon i {
  color: var(--secondary);
}
.faq-item.open .faq-icon {
  background: var(--secondary);
}

.footer-distributor {
  border-left-color: var(--secondary);
}

.footer-contact i,
.footer-col ul li a:hover {
  color: #60a5fa;
}

.text-highlight {
  color: var(--secondary);
  font-weight: 800;
}

/* ── LAYER 5: LOGOS & IMAGES ───────────────────────────── */

.nav-logo-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
}

.nav-logo-text::before {
  content: '\f471'; /* Kit Medical icon from FontAwesome */
  font-family: 'Font Awesome 6 Free';
  color: var(--primary);
}

.footer-logo-text {
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
}

.hero-product-img {
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* ── LAYER 4: BENEFITS SECTION ─────────────────────────── */
#benefits {
  padding: 100px 0;
  background: var(--bg);
}

.benefits-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.benefits-header .section-label {
  display: inline-block;
  margin-bottom: 12px;
}

.benefits-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.benefits-main-img {
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  width: 100%;
  height: auto;
  display: block;
}

.benefits-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.benefits-paragraphs p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: 50px;
  color: #c53030;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(197, 48, 48, 0.05);
}

@media (max-width: 900px) {
  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── LAYER 5: SCIENCE SECTION ───────────────────────────── */
#science {
  padding: 100px 0;
  background: var(--bg);
}

.science-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.science-header .section-label {
  display: inline-block;
  margin: 0 auto 16px;
}

.science-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 20px;
}

.science-header .section-subheadline {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.science-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.science-main-img,
.science-video-wrapper {
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.science-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}

.science-step-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: 12px;
  border-left: 4px solid var(--secondary);
  transition: transform 0.3s ease;
}

.science-step-card:hover {
  transform: translateX(5px);
}

.science-step-badge {
  width: 32px;
  height: 32px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.science-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark);
  text-transform: uppercase;
}

.science-step-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: var(--lh-body);
}

.science-fact-box {
  margin-top: 30px;
  padding: 16px;
  background: var(--secondary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-size: 0.9rem;
}

.science-cta-wrapper {
  margin-top: 32px;
}

.science-video-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.science-video {
  display: block;
}

/* ── LAYER 6: AS SEEN ON & TRUST ───────────────────────── */
#trust {
  padding: 40px 0; /* Reduced exaggerated spacing */
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.trust-image-banner {
  background: #0f172a; /* Dark Navy Strip */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 40px 20px;
  margin-top: -40px; /* Bleed to the top edge of the section padding */
  margin-bottom: 50px;
  text-align: center;
}

.trust-image-banner p {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.8rem !important;
  margin-bottom: 20px !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.trust-banner-img {
  filter: none; /* Show the white logos as they are */
  max-width: 850px;
  height: auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px; /* Reduced margin */
}

.trust-badge {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  background: #f8fafc;
  padding: 20px 15px; /* More compact badge padding */
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  background: #ffffff;
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
  transform: translateY(-5px);
}

.trust-icon {
  width: 60px !important;
  height: 60px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px !important;
  font-size: 1.5rem;
}

.trust-badge-text strong {
  display: block;
  font-size: 1.05rem !important;
  color: var(--dark) !important;
  margin-bottom: 5px;
}

.trust-badge-text span {
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
}


/* ── LAYER 6: GUARANTEE ────────────────────────────────── */
#guarantee {
  padding: 50px 0; /* More compact guarantee section */
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.guarantee-card {
  background: #ffffff !important;
  border-radius: 32px !important;
  padding: 60px !important;
  display: flex !important;
  align-items: center !important;
  gap: 60px !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05) !important;
  border: 1px solid rgba(37, 99, 235, 0.1) !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  position: relative !important;
  overflow: hidden !important;
}

.guarantee-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: #dc2626; /* Brand Red */
}

.guarantee-badge {
  flex-shrink: 0;
  animation: float 3s ease-in-out infinite;
}

.guarantee-badge img {
  width: 180px !important;
  height: auto !important;
  filter: drop-shadow(0 10px 20px rgba(220, 38, 38, 0.15)) !important;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.guarantee-info .section-label {
  background: rgba(37, 99, 235, 0.1) !important;
  color: #2563eb !important;
  padding: 8px 16px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  display: inline-block;
  margin-bottom: 20px;
}

.guarantee-info h2 {
  font-size: 2.25rem !important;
  color: #0f172a !important;
  margin-bottom: 20px !important;
  line-height: 1.2 !important;
}

.guarantee-info p {
  font-size: 1.1rem !important;
  line-height: 1.7 !important;
  color: #475569 !important;
}

@media (max-width: 900px) {
  .guarantee-card {
    flex-direction: column !important;
    text-align: center !important;
    padding: 40px 25px !important;
    gap: 30px !important;
  }
  .guarantee-card::before {
    width: 100% !important;
    height: 8px !important;
    top: 0 !important;
    left: 0 !important;
    bottom: auto !important;
  }
}

.guarantee-info .section-h2 {
  margin: 12px 0 16px;
  text-align: left;
}

.guarantee-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
}

@media (max-width: 768px) {
  .guarantee-card {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 30px 20px;
  }
  .guarantee-info .section-h2 {
    text-align: center;
  }
}

/* ── LAYER 8: COMPARISON SECTION ────────────────────────── */
#comparison {
  padding: 100px 0;
  background-color: #f0f7ff; /* Medical Blue tint background for section distinction */
  background-image: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0, transparent 50%), 
                    radial-gradient(at 100% 100%, rgba(37, 99, 235, 0.05) 0, transparent 50%);
}

.comparison-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 70px;
}

.comparison-header h2 {
  font-size: var(--fs-h2) !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em;
  margin-bottom: 20px !important;
}

.comparison-header .section-label {
  background: rgba(37, 99, 235, 0.1) !important;
  color: #2563eb !important;
  padding: 8px 18px !important;
}

.comparison-table-wrapper {
  max-width: 980px; /* More compact desktop width */
  margin: 0 auto;
  background: #ffffff;
  border-radius: 40px;
  padding: 50px; /* Reduced internal spacing */
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.1); 
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table th {
  padding: 35px 25px;
  font-size: 1.25rem;
  font-weight: 900;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table th.col-resqvac {
  background: #2563eb; 
  color: #ffffff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -15px 40px rgba(37, 99, 235, 0.15);
  position: relative;
}

.comparison-table th.col-resqvac::after {
  content: "THE BEST CHOICE";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981; /* Winner Green */
  color: white;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
}

.comparison-table th.col-traditional {
  color: #94a3b8;
}

.comparison-table td {
  padding: 22px 20px; /* More compact row height */
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
  font-size: 1rem; /* Slightly smaller for better fit */
  color: #475569;
  transition: all 0.3s ease;
}

.comparison-table tr:hover td {
  background: #f8fafc;
}

.comparison-table td.row-feature {
  text-align: left;
  font-weight: 700;
  color: #0f172a;
  font-size: 1rem;
}

.comparison-table td.col-resqvac {
  background: #f0f7ff; 
  color: #1e40af;
  font-weight: 800;
  border-left: 3px solid rgba(37, 99, 235, 0.08);
  border-right: 3px solid rgba(37, 99, 235, 0.08);
}

.comparison-table tr:last-child td.col-resqvac {
  border-radius: 0 0 24px 24px;
  border-bottom: 3px solid rgba(37, 99, 235, 0.08);
}

.comparison-table .icon-check {
  color: #10b981 !important;
  font-size: 1.5rem;
}

.comparison-table .icon-x {
  color: #cbd5e1 !important;
  opacity: 0.8;
  font-size: 1.35rem;
}

.comparison-footer {
  margin-top: 60px;
  text-align: center;
}



@media (max-width: 768px) {
  .comparison-table-wrapper {
    padding: 30px 15px !important;
    border-radius: 24px !important;
    margin: 0 10px !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
  }

  .comparison-header h2 {
    font-size: 2.2rem !important;
  }

  /* Force table into a more readable layout for mobile */
  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block !important;
    width: 100% !important;
  }

  .comparison-table thead {
    display: none !important; /* Hide original headers */
  }

  .comparison-table tr {
    margin-bottom: 25px !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    position: relative !important;
    padding: 0 !important;
  }

  .comparison-table td.row-feature {
    background: #f8fafc !important;
    text-align: center !important;
    font-size: 0.95rem !important;
    padding: 15px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #475569 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
  }

  /* Side-by-side values */
  .comparison-table td:not(.row-feature) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50% !important;
    float: left !important;
    padding: 20px 10px !important;
    min-height: 100px !important;
    border: none !important;
  }

  .comparison-table td.col-resqvac {
    background: #f0f7ff !important;
    border-right: 1px solid rgba(255,255,255,0.5) !important;
  }

  .comparison-table td.col-traditional {
    background: #ffffff !important;
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
  }

  /* Labels */
  .comparison-table td.col-resqvac::before {
    content: "RESQVAC";
    font-size: 0.6rem;
    font-weight: 900;
    color: #2563eb;
    margin-bottom: 10px;
    opacity: 0.8;
  }

  .comparison-table td.col-traditional::before {
    content: "OTHERS";
    font-size: 0.6rem;
    font-weight: 900;
    color: #94a3b8;
    margin-bottom: 10px;
    opacity: 0.8;
  }

  .comparison-table .icon-check {
    font-size: 1.3rem !important;
    margin-bottom: 5px !important;
  }

  .comparison-table .icon-x {
    font-size: 1.1rem !important;
    margin-bottom: 5px !important;
  }
}



/* ── LAYER 9: RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
  #hero::after { display: none; }
  .science-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/* ── LAYER 10: CRO OPTIMIZATIONS ────────────────────────── */
.hero-tagline {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  margin-top: 30px;
  align-items: flex-start !important;
}

.hero-tagline span {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

.hero-tagline i {
  color: #22c55e !important;
  font-size: 1.4rem !important;
  filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.4));
}

.hero-cta-group .btn-primary {
  animation: pulse-cta 3s infinite;
}

@keyframes pulse-cta {
  0% { transform: scale(1); box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 10px 25px rgba(220, 38, 38, 0.6); }
  100% { transform: scale(1); box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4); }
}

.hero-guarantee {
  margin-top: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.8) !important;
}

@media (max-width: 900px) {
  .hero-tagline {
    align-items: center !important;
  }
}
/* ── LAYER 11: STATS STRIP FIX ───────────────────────── */
.reviews-stats {
  background: #0f172a !important; /* Professional Dark Navy */
  border: 1px solid rgba(255,255,255,0.1) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  padding: 50px 20px;
  border-radius: 24px;
  margin-top: 60px;
}

.review-stat .number {
  color: #ffffff !important; /* White numbers */
  font-size: 2.85rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.review-stat .label {
  color: rgba(255,255,255,0.7) !important; /* Light muted label */
  font-size: 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

@media (max-width: 768px) {
  .reviews-stats {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
  }
  .review-stat .number {
    font-size: 2.2rem !important;
  }
}
/* ── LAYER 12: MOBILE HERO POLISH ──────────────────────── */
@media (max-width: 768px) {
  #hero {
    padding-top: 30px !important;
    padding-bottom: 50px !important;
    text-align: center !important;
  }

  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-text {
    display: contents !important; /* Flatten hierarchy to allow reordering children against the video col */
  }

  .hero-badge {
    order: 1 !important;
    background: rgba(255, 255, 255, 0.08) !important; 
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 12px 20px !important;
    font-size: 0.7rem !important;
    color: #fff !important;
    margin: 0 auto 20px !important;
    width: fit-content !important;
    border-radius: 50px !important;
    letter-spacing: 0.05em !important;
  }

  .hero-text h1 {
    order: 2 !important;
    font-size: var(--fs-h1) !important;
    line-height: 1.1 !important;
    margin-bottom: 25px !important;
    letter-spacing: -0.01em !important;
  }

  .hero-text h1 .highlight {
    display: block; 
    margin-top: 8px;
    font-size: 2rem !important;
  }

  .hero-img-col {
    order: 3 !important; /* VIDEO AFTER TITLE */
    margin-bottom: 30px !important;
    width: 100% !important;
  }

  .hero-subtext {
    order: 4 !important;
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    color: rgba(255,255,255,0.9) !important;
    max-width: 90% !important;
  }

  .hero-tagline {
    order: 5 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    margin: 30px 0 !important;
    width: 100% !important;
  }

  .hero-tagline span {
    width: 100% !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
    background: rgba(255,255,255,0.05) !important;
    padding: 12px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
  }

  .hero-cta-group {
    order: 6 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-cta-group .btn-primary {
    width: 100% !important;
    padding: 20px 8px !important; /* Narrow padding to fit more text */
    font-size: 0.95rem !important; /* Slightly smaller to fit in one line */
    border-radius: 12px !important;
    white-space: nowrap !important; /* NO LINE BREAKS */
    display: flex !important;
    justify-content: center !important;
  }


  .hero-guarantee {
    font-size: 0.85rem !important;
    margin-top: 15px !important;
  }

  .guarantee-badge {
    display: block !important;
    margin: 0 auto 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .guarantee-badge img {
    width: 150px !important;
    height: auto !important;
  }

  .branding-bar {
    padding: 12px 0 !important;
    text-align: center !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
  }

  /* Compact Trust Badges Mobile */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    margin-top: 30px !important;
  }

  .trust-badge {
    padding: 20px 10px !important;
    border-radius: 12px !important;
  }

  .trust-icon {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
  }

  .trust-badge-text strong {
    font-size: 0.85rem !important;
    margin-bottom: 3px !important;
    line-height: 1.2 !important;
  }

  .trust-badge-text span {
    font-size: 0.75rem !important;
    display: block !important;
    line-height: 1.3 !important;
  }

  /* Center last badge if odd */
  .trust-badge:last-child:nth-child(odd) {
    grid-column: 1 / span 2;
    justify-self: center;
    width: calc(50% - 10px); /* Keep same size as others */
  }
}

/* Visibility Utilities */
.mobile-only { display: none !important; }
.desktop-only { display: block !important; }


@media (max-width: 768px) {
  .mobile-only { display: block !important; }
  .desktop-only { display: none !important; }
}

/* ── LAYER 13: SPACING POLISH ─────────────────────────── */
#social-proof {
  padding: 40px 0 !important;
}

.stat-item {
  padding: 12px 40px !important;
}

/* Mobile Button Fix - No line breaks */
@media (max-width: 768px) {
  .btn-primary {
    white-space: nowrap !important;
    font-size: 0.9rem !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* ───────── LAYER 14: MODALS (LEGAL) ─────────── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  color: #0f172a;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  padding: 40px;
  border-radius: 24px;
  position: relative;
  overflow-y: auto;
  transform: translateY(30px);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.modal-content h2 {
  font-size: 1.75rem;
  margin-bottom: 24px;
  color: #0f172a;
  padding-bottom: 15px;
  border-bottom: 2px solid #eff6ff;
  font-family: inherit;
  font-weight: 700;
}

.modal-body p {
  line-height: 1.7;
  margin-bottom: 16px;
  color: #475569;
  font-size: 0.95rem;
}

.modal-body strong {
  color: #0f172a;
}

/* ───────── LAYER 15: FLOATING CTA (FAB) ─────────── */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: #dc2626; /* Brand Red */
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fab-pulse 2s infinite;
}

.floating-cta:hover {
  transform: scale(1.1) rotate(5deg);
  background: #b91c1c;
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.6);
}

@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 20px;
    right: 20px;
    width: 58px;
    height: 58px;
    font-size: 1.4rem;
  }
}
