.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  background: #F8F9FC;
  overflow-x: clip;
  overflow-y: visible;
}

.hero__bg-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 320px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero__content {
  flex: 0 0 52%;
  max-width: 52%;
}

.hero__illustration {
  flex: 0 0 48%;
  max-width: 48%;
  position: relative;
  overflow: visible;
}

.hero__eyebrow {
  display: inline-block;
  background: var(--teal-12);
  color: var(--color-teal);
  border: 1px solid var(--teal-30);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero__headline {
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.hero__subheadline {
  font-size: var(--fs-body);
  color: var(--color-gray);
  line-height: var(--lh-body);
  margin-bottom: 16px;
  max-width: 520px;
}

.hero__trust-line {
  font-size: var(--fs-small);
  color: var(--color-text-trust);
  margin-bottom: 32px;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__cta--primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background: rgb(24, 57, 95);
  color: white;
  font-size: 16px;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-btn);
  transition: all var(--transition-default), background 0.35s ease;
}

.hero__cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  filter: brightness(0.9);
}

.hero__cta--secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background-color: transparent;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  border: 2px solid var(--color-navy);
  border-radius: var(--radius-sm);
  transition: all var(--transition-default);
}

.hero__cta--secondary:hover {
  background-color: var(--color-navy);
  color: white;
}

.hero__badges {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
}

.hero__badge-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero__image-stack {
  position: relative;
  width: 100%;
}

.hero__main-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  display: block;
}

.hero__blob {
  position: absolute;
  width: 90%;
  top: -5%;
  right: -8%;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

.hero__accent-card--top {
  position: absolute;
  top: 10%;
  left: -80px;
  width: 200px;
  z-index: 3;
  pointer-events: none;
}

.hero__accent-card--bottom {
  position: absolute;
  bottom: 12%;
  right: -80px;
  width: 185px;
  z-index: 3;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__blob {
    animation: blobFloat 10s ease-in-out infinite alternate;
  }

  .hero__accent-card--top {
    animation: cardRock 4.5s ease-in-out infinite;
    animation-delay: 0s;
  }

  .hero__accent-card--bottom {
    animation: cardRock 4.5s ease-in-out infinite;
    animation-delay: 1.2s;
  }
}

.hero__entrance-1 { opacity: 0; transform: translateY(16px); animation: heroEntrance 0.4s ease forwards 0.1s; }
.hero__entrance-2 { opacity: 0; transform: translateY(16px); animation: heroEntrance 0.5s ease forwards 0.2s; }
.hero__entrance-3 { opacity: 0; transform: translateY(16px); animation: heroEntrance 0.5s ease forwards 0.35s; }
.hero__entrance-4 { opacity: 0; animation: heroFade 0.4s ease forwards 0.45s; }
.hero__entrance-5 { opacity: 0; transform: translateY(16px); animation: heroEntrance 0.5s ease forwards 0.5s; }
.hero__entrance-6 { opacity: 0; animation: heroFade 0.4s ease forwards 0.6s; }
.hero__entrance-7 { opacity: 0; transform: translateX(20px); animation: heroSlideIn 0.6s ease forwards 0.3s; }
.hero__entrance-8 { opacity: 0; transform: scale(0.9); animation: heroScale 0.4s ease forwards 0.7s; }
.hero__entrance-9 { opacity: 0; transform: scale(0.9); animation: heroScale 0.4s ease forwards 0.9s; }

@keyframes heroEntrance {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFade {
  to { opacity: 1; }
}

@keyframes heroSlideIn {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes heroScale {
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__entrance-1,
  .hero__entrance-2,
  .hero__entrance-3,
  .hero__entrance-4,
  .hero__entrance-5,
  .hero__entrance-6,
  .hero__entrance-7,
  .hero__entrance-8,
  .hero__entrance-9 {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__content {
    flex: 1;
    max-width: 100%;
    order: 1;
  }

  .hero__illustration {
    flex: 1;
    max-width: 100%;
    order: 2;
    margin-top: 40px;
  }

  .hero__subheadline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta-group {
    justify-content: center;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__accent-card--top {
    left: -50px;
    width: 165px;
  }

  .hero__accent-card--bottom {
    right: -50px;
    width: 150px;
  }

  .hero__accent-card--top,
  .hero__accent-card--bottom {
    display: none;
  }
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.15) 18%, rgba(0,0,0,0.5) 38%, black 60%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.15) 18%, rgba(0,0,0,0.5) 38%, black 60%);
}

.hero__wave-canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: blur(14px);
}

@media (max-width: 768px) {
  .hero__wave {
    height: 175px;
  }
  .hero__wave-canvas {
    filter: blur(9px);
  }
}

@media (max-width: 767px) {
  .hero__illustration {
    display: none !important;
  }

  .hero__wave {
    display: none !important;
  }

  .hero__blob,
  .hero__bg-dots {
    display: none !important;
  }

  .hero__accent-card--top,
  .hero__accent-card--bottom {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta--primary,
  .hero__cta--secondary {
    justify-content: center;
  }
}
