/* Home Health Onboarding — hero enhancements */

.tw-hh-onboarding-page .tw-hero--hh {
  background: linear-gradient(165deg, #020208 0%, #000066 45%, #001a4d 85%, #0a2d6e 100%);
  overflow: hidden;
}

/* Show hero copy even if JS is slow or blocked */
.tw-hh-onboarding-page .tw-hero--hh .tw-reveal {
  opacity: 1;
  transform: none;
}

.tw-hh-onboarding-page .tw-hero--hh .tw-hero-line {
  opacity: 1;
  transform: none;
  animation: tw-hh-line-in 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) backwards;
}

.tw-hh-onboarding-page .tw-hero--hh .tw-hero-line--1 { animation-delay: 0.1s; }
.tw-hh-onboarding-page .tw-hero--hh .tw-hero-line--2 { animation-delay: 0.22s; }
.tw-hh-onboarding-page .tw-hero--hh .tw-hero-line--3 { animation-delay: 0.34s; }

@keyframes tw-hh-line-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tw-hh-onboarding-page .tw-hero--hh .tw-hero-bg {
  z-index: 0;
}

.tw-hh-onboarding-page .tw-hero--hh .tw-hero-inner {
  z-index: 4;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

/* Decorative care rings */
.tw-hh-hero-visual {
  position: absolute;
  right: clamp(2%, 6vw, 10%);
  top: 50%;
  transform: translateY(-50%);
  width: min(340px, 38vw);
  height: min(340px, 38vw);
  z-index: 2;
  pointer-events: none;
}

.tw-hh-hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(37, 146, 213, 0.35);
  animation: tw-hh-ring-pulse 4s ease-in-out infinite;
}

.tw-hh-hero-ring--2 {
  inset: 12%;
  border-color: rgba(123, 63, 255, 0.3);
  animation-delay: 0.8s;
}

.tw-hh-hero-ring--3 {
  inset: 24%;
  border-color: rgba(34, 160, 234, 0.45);
  animation-delay: 1.6s;
}

.tw-hh-hero-core {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(37, 146, 213, 0.5), rgba(0, 0, 102, 0.2) 70%);
  box-shadow: 0 0 60px rgba(37, 146, 213, 0.35), inset 0 0 40px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tw-hh-hero-core svg {
  width: 42%;
  height: 42%;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 0 12px rgba(37, 146, 213, 0.5));
}

@keyframes tw-hh-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.04); opacity: 1; }
}

.tw-hh-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

.tw-hh-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(37, 146, 213, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.tw-hh-onboarding-page .tw-hero--compact.tw-hero--hh {
  min-height: min(78vh, 820px);
  min-height: min(78dvh, 820px);
}

.tw-hh-onboarding-page .tw-hero-lead {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .tw-hh-hero-visual {
    opacity: 0.35;
    right: -8%;
    width: 55vw;
    height: 55vw;
  }
}

@media (max-width: 600px) {
  .tw-hh-hero-visual {
    display: none;
  }

  .tw-hh-onboarding-page .tw-hero--compact.tw-hero--hh {
    min-height: 62vh;
    min-height: 62dvh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tw-hh-hero-ring,
  .tw-hh-onboarding-page .tw-hero--hh .tw-hero-line {
    animation: none;
  }
}
