/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 12rem;
    padding-bottom: 8rem;
  }
}

.hero-background-shape {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -10;
  width: 33.333%;
  height: 100%;
  background: rgb(248 250 252);
  opacity: 0.5;
  transform: skewX(-12deg) translateX(50%);
}

.hero-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Content */
.hero-content {
  animation-delay: 0s;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
}

.hero-badge-icon svg {
  width: 1rem;
  height: 1rem;
}

.hero-headline {
  font-size: 3rem;
  font-weight: 700;
  color: rgb(15 23 42);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 4.5rem;
  }
}

.hero-headline-accent {
  color: var(--brand-primary);
}

/* Make the wrapper containing the accent start on a new line */
.hero-headline > span:has(.hero-headline-accent) {
  display: block;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: rgb(71 85 105);
  max-width: 32rem;
  line-height: 1.625;
  margin-bottom: 2rem;
}

.hero-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-cta-buttons {
    flex-direction: row;
  }
}

.hero-cta-primary {
  background: var(--brand-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.875rem;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-cta-primary:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
}

.hero-cta-icon {
  display: inline-flex;
}

.hero-cta-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s;
}

.hero-cta-primary:hover .hero-cta-icon {
  transform: translateX(4px);
}

.hero-cta-secondary {
  background: white;
  border: 2px solid rgb(226 232 240);
  color: rgb(15 23 42);
  padding: 1rem 2rem;
  border-radius: 0.875rem;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-cta-secondary:hover {
  background: rgb(248 250 252);
}

/* Trust Indicators */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-trust-avatars {
  display: flex;
  margin-left: -0.75rem;
}

.hero-trust-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgb(226 232 240);
  border: 2px solid white;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.hero-trust-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-trust-text {
  font-size: 0.875rem;
}

.hero-trust-stars {
  display: flex;
  color: rgb(251 191 36);
  margin-bottom: 0.125rem;
}

.hero-trust-star svg {
  width: 1rem;
  height: 1rem;
}

.hero-trust-label {
  color: rgb(100 116 139);
  font-weight: 500;
  margin: 0;
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  animation-delay: 0.2s;
}

.hero-image-container {
  aspect-ratio: 1;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  background: rgb(241 245 249);
  border: 8px solid white;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Card */
.hero-floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border: 1px solid rgb(241 245 249);
  max-width: 220px;
}

.hero-floating-icon {
  background: rgb(220 252 231);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.hero-floating-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: rgb(22 163 74);
}

.hero-floating-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgb(15 23 42);
  margin-bottom: 0.5rem;
}

.hero-floating-phone {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
}

.hero-floating-subtitle {
  font-size: 0.75rem;
  color: rgb(100 116 139);
  margin: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    translate: 0 30px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    scale: 0.9;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out forwards;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}
