/*--------------------------------------------------------------
# Home Hero (v2)
--------------------------------------------------------------*/
#home-hero {
  --hero-navy: #002143;
  --hero-teal: #014965;
  --hero-green: #94c045;
  --hero-green-dark: #77a22b;
  --hero-gold: #f5c84c;
  --hero-text: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.78);

  position: relative;
  overflow: hidden;
  padding: 140px 0 96px;
  color: var(--hero-text);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(148, 192, 69, 0.16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(1, 120, 160, 0.35), transparent 60%),
    linear-gradient(135deg, var(--hero-navy) 0%, var(--hero-teal) 55%, var(--hero-navy) 100%);
}

/* soft curved bottom edge into the next section */
#home-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -60px;
  height: 120px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

#home-hero .hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

/* ---- Copy column ---- */
#home-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--hero-muted);
  margin-bottom: 26px;
}

#home-hero .hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hero-green);
  box-shadow: 0 0 0 0 rgba(148, 192, 69, 0.7);
  animation: heroPulse 2.4s infinite;
}

@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(148, 192, 69, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(148, 192, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(148, 192, 69, 0); }
}

#home-hero h1 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0 0 22px;
}

#home-hero h1 .accent {
  color: var(--hero-green);
  position: relative;
  white-space: nowrap;
}

#home-hero .hero-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--hero-muted);
  max-width: 540px;
  margin: 0 0 34px;
}

#home-hero .hero-lead strong {
  color: #fff;
  font-weight: 600;
}

#home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

#home-hero .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#home-hero .hero-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

#home-hero .hero-btn-primary {
  background: var(--hero-green);
  color: var(--hero-navy);
  box-shadow: 0 10px 30px -10px rgba(148, 192, 69, 0.8);
}

#home-hero .hero-btn-primary:hover {
  background: #a6ca63;
  color: var(--hero-navy);
  transform: translateY(-2px);
}

#home-hero .hero-btn-ghost {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

#home-hero .hero-btn-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

#home-hero .hero-btn:focus-visible,
#home-hero .zoom-copy:focus-visible,
#home-hero .hero-quiz:focus-visible {
  outline: 3px solid var(--hero-gold);
  outline-offset: 3px;
}

/* Zoom meeting strip */
#home-hero .hero-zoom {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 540px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

#home-hero .zoom-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(148, 192, 69, 0.15);
  color: var(--hero-green);
}

#home-hero .zoom-icon svg {
  width: 22px;
  height: 22px;
}

#home-hero .zoom-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--hero-muted);
}

#home-hero .zoom-text b {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

#home-hero .zoom-id {
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #fff;
  letter-spacing: 0.5px;
}

#home-hero .zoom-copy {
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

#home-hero .zoom-copy:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

#home-hero .zoom-copy.copied {
  background: var(--hero-green);
  border-color: var(--hero-green);
  color: var(--hero-navy);
}

/* ---- Visual column ---- */
#home-hero .hero-visual {
  position: relative;
  padding: 0 0 28px 28px;
}

#home-hero .hero-frame {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  background: #0b2f4a;
}

#home-hero .hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 18s infinite;
}

#home-hero .hero-frame img:nth-child(1) { animation-delay: 0s; }
#home-hero .hero-frame img:nth-child(2) { animation-delay: 6s; }
#home-hero .hero-frame img:nth-child(3) { animation-delay: 12s; }

@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.06); }
  6% { opacity: 1; }
  33% { opacity: 1; }
  40% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}

#home-hero .hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 33, 67, 0.55) 100%);
  pointer-events: none;
}

/* decorative offset outline behind the photo */
#home-hero .hero-visual::before {
  content: "";
  position: absolute;
  top: 28px;
  right: -28px;
  bottom: 0;
  left: 56px;
  border: 2px solid rgba(148, 192, 69, 0.45);
  border-radius: 28px;
}

/* AA seal badge */
#home-hero .hero-seal {
  position: absolute;
  top: -22px;
  right: -14px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  padding: 10px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

#home-hero .hero-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 12 questions card */
#home-hero .hero-quiz {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
  padding: 16px 20px 16px 16px;
  border-radius: 18px;
  background: #fff;
  color: #1d2b36;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease;
}

#home-hero .hero-quiz:hover {
  transform: translateY(-3px);
  color: #1d2b36;
}

#home-hero .hero-quiz .q-badge {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--hero-gold);
  color: var(--hero-navy);
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 18px;
}

#home-hero .hero-quiz span {
  font-size: 13px;
  line-height: 1.4;
  color: #5a6772;
}

#home-hero .hero-quiz b {
  display: block;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  color: var(--hero-navy);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  #home-hero {
    padding: 120px 0 90px;
  }

  #home-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  #home-hero .hero-visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  #home-hero {
    padding: 104px 0 80px;
  }

  #home-hero .hero-lead {
    font-size: 16px;
  }

  #home-hero .hero-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  #home-hero::after {
    height: 56px;
    bottom: -28px;
  }

  #home-hero .hero-zoom {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  #home-hero .zoom-text {
    flex: 1 1 calc(100% - 60px);
  }

  #home-hero .zoom-copy {
    margin-left: 60px;
  }

  #home-hero .hero-visual {
    padding: 0 0 40px 12px;
  }

  #home-hero .hero-visual::before {
    right: -12px;
    left: 32px;
  }

  #home-hero .hero-seal {
    width: 70px;
    height: 70px;
    right: -6px;
    top: -18px;
    padding: 8px;
  }

  #home-hero .hero-quiz {
    max-width: 270px;
    padding: 12px 16px 12px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #home-hero .hero-frame img,
  #home-hero .hero-eyebrow .dot {
    animation: none;
  }

  #home-hero .hero-frame img:first-child {
    opacity: 1;
  }
}
