/* ========== CORE STYLES ========== */
:root {
  --primary: #2563eb;       /* High-conversion blue */
  --primary-dark: #1e40af;  /* Darker blue */
  --secondary: #f59e0b;     /* Attention-grabbing orange */
  --success: #10b981;       /* Green for trust elements */
  --dark: #1f2937;          /* Dark gray for text */
}

/* ========== GLOBAL RESETS ========== */
body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  scroll-padding-bottom: 80px; /* Prevents CTA overlap */
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

/* ========== HERO SECTION ========== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem !important;
  }
}

/* ========== CALL-TO-ACTION BUTTONS ========== */
.btn-cta {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-align: center;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #000;
}

.btn-secondary:hover {
  background-color: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ========== COMPARISON TABLE ========== */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-radius: 10px;
  overflow: hidden;
}

.comparison-table th {
  background-color: var(--primary);
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e5e7eb;
}

.comparison-table tr:nth-child(even) {
  background-color: #f9fafb;
}

.comparison-table .yes {
  color: var(--success);
  font-weight: 600;
}

.comparison-table .no {
  color: #ef4444;
  font-weight: 600;
}

/* ========== TRUST BADGES ========== */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2rem;
}

.trust-badges img {
  height: 40px;
  transition: transform 0.3s;
}

.trust-badges img:hover {
  transform: scale(1.05);
}

/* ========== STICKY MOBILE CTA ========== */




* ========== FORM STYLES ========== */
.lead-form {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.lead-form label {
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.lead-form input,
.lead-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  margin-bottom: 20px;
  transition: border 0.3s;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .btn-cta {
    padding: 12px 20px;
    font-size: 14px;
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .trust-badges img {
    height: 30px;
  }
}

/* Font Awesome fixes */
.fa, .fas, .far, .fal, .fab {
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
  display: inline-block;
}
.hero-bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
/* ===== Hero Section Background ===== */
/* Mobile-first background (default) */
/* ===== Hero Section ===== */
/* Add overlay for text contrast */
.hero-section .container {
  position: relative;
}

.hero-section .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Adjust opacity (0.3 = 30% dark) */
  z-index: -1;
}
/* ===== MOBILE OPTIMIZATION ===== */  <!-- ADD THIS COMMENT -->
@media (max-width: 576px) {
  .floating-cta-bar {
    padding: 8px 0;
  }
  .floating-cta-bar .btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* ===== ACCESSIBLE STICKY CTA ===== */
[role="banner"],
[role="main"],
[role="contentinfo"] {
  position: relative;
  z-index: 1;
}

.floating-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  z-index: 100;
  padding: 8px 0;
  transform: translateY(calc(100% - 52px)); /* Shows top 20% by default */
  transition: transform 0.3s ease;
  height: auto !important;
}

.floating-cta-bar:hover,
.floating-cta-bar:focus-within {
  transform: translateY(0); /* Fully expands on hover */
}

main {
  padding-bottom: 60px !important;
  scroll-padding-bottom: 60px;
}

@media (max-width: 768px) {
  .floating-cta-bar {
    transform: translateY(calc(100% - 44px)); /* Smaller peek on mobile */
  }
}
/* ===== WhatsApp Button Styles ===== */
/* ===== WhatsApp Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 25px;
  z-index: 100;
  transform: translateZ(0); /* GPU acceleration */
}

.whatsapp-btn {
  display: block;
  background: #25D366;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.whatsapp-btn:hover {
  transform: scale(1.1) rotate(5deg);
}

.whatsapp-btn img {
  padding: 10px;
  width: 100%;
  height: auto;
}

/* Animation */
.pulse-animation {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 60px;
  height: 60px;
  background: rgba(37, 211, 102, 0.4);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 2.5s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse {
  to { transform: scale(1.3); opacity: 0; }
}

/* Mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 95px;
    right: 20px;
  }
  .whatsapp-btn {
    width: 44px;
    height: 44px;
  }
}
/* Smooth scroll & highlight */
:target {
  animation: highlight 1s ease;
  scroll-margin-top: 100px; /* Adjust for sticky header */
}
@keyframes highlight {
  0% { background: rgba(13,110,253,0.1); }
}
/* Image Optimization */
img {
  max-width: 100%;
  height: auto;
  aspect-ratio: attr(width) / attr(height);
}
/* Add to usb-headsets-optimized_sanjeet.css */
iframe, video {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* Default ratio, adjust as needed */
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.compatibility-badges .badge {
  font-size: 0.75rem;
  padding: 0.35em 0.65em;
}
.bg-secondary {
  background-color: #6c757d !important; /* Analog phone badge color */
}
