/**
 * Hero Section Component Styles
 * Prepared for Next.js migration
 */

/* ==========================================================================
   CTA Buttons - High Converting Orange/Amber
   ========================================================================== */

.btn-primary-cta {
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.35);
  color: #FFFFFF; /* Changed to white for better contrast */
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.125rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary-cta:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  box-shadow: 0 15px 35px rgba(251, 191, 36, 0.45);
  transform: translateY(-2px);
}

.btn-primary-cta svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.75rem;
}

/* Secondary CTA - Glassmorphic */
.btn-secondary-cta {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.125rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Typography
   ========================================================================== */

.hero-title-desktop {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title-mobile {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle-desktop {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #F3F4F6;
}

.hero-subtitle-mobile {
  font-size: clamp(1.125rem, 4vw, 1.25rem);
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #F3F4F6;
}

/* ==========================================================================
   Hero Form - Glassmorphism
   ========================================================================== */

.hero-form-container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Mobile Modal Popup
   ========================================================================== */

.mobile-form-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-form-modal.active {
  opacity: 1;
  visibility: visible;
}

.mobile-form-modal-content {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.mobile-form-modal.active .mobile-form-modal-content {
  transform: scale(1);
}

.mobile-form-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: #F3F4F6;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-form-close:hover {
  background: #E5E7EB;
  transform: rotate(90deg);
}

/* ==========================================================================
   Hero Social Proof
   ========================================================================== */

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-social-proof-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-social-proof-mobile {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.hero-rating-stars {
  color: #FCD34D;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Hero Background
   ========================================================================== */

.hero-bg-overlay {
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.7) 100%);
}

/* ==========================================================================
   Animations
   ========================================================================== */

.hero-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease-out;
}

.hero-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation delays for staggered effect */
.hero-animate:nth-child(1) { transition-delay: 0.1s; }
.hero-animate:nth-child(2) { transition-delay: 0.2s; }
.hero-animate:nth-child(3) { transition-delay: 0.3s; }
.hero-animate:nth-child(4) { transition-delay: 0.4s; }

/* ==========================================================================
   Header Phone Button
   ========================================================================== */

.header-cta-btn {
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.25);
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.header-cta-btn:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.35);
  transform: translateY(-1px);
}

.header-cta-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */

@media (max-width: 640px) {
  .hero-form-container {
    padding: 1rem;
  }

  .btn-primary-cta {
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .hero-social-proof {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero-title-desktop {
    font-size: 4.5rem;
  }

  @media (min-width: 1280px) {
    .hero-title-desktop {
      font-size: 5rem;
    }
  }
}