/* Healthcare App hero — from Corewave Healthcare App Page (01 Hero) */

@keyframes cw-hc-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.92);
  }
}

@keyframes cw-hc-pop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  12% {
    opacity: 1;
    transform: none;
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes cw-hc-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-healthcare-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(760px 540px at 76% 45%, rgba(110, 198, 255, 0.24), transparent 70%), #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-healthcare-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 40px) 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.cw-healthcare-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.cw-healthcare-hero__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #d4f53c;
}

.cw-healthcare-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 5.8vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.cw-healthcare-hero__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #6ec6ff;
  letter-spacing: -0.02em;
}

.cw-healthcare-hero__lead {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.75);
}

.cw-healthcare-hero__lead-em {
  color: #6ec6ff;
}

.cw-healthcare-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-healthcare-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cw-healthcare-hero__btn--primary {
  background: #d4f53c;
  color: #141210;
  font-weight: 700;
}

.cw-healthcare-hero__btn--primary:hover,
.cw-healthcare-hero__btn--primary:focus-visible {
  background: #fff;
  color: #141210;
}

.cw-healthcare-hero__btn--secondary {
  border: 1px solid rgba(243, 239, 231, 0.25);
  color: #f3efe7;
  font-weight: 600;
}

.cw-healthcare-hero__btn--secondary:hover,
.cw-healthcare-hero__btn--secondary:focus-visible {
  border-color: #d4f53c;
  color: #d4f53c;
}

.cw-healthcare-hero__modes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-healthcare-hero__modes-kicker {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(243, 239, 231, 0.5);
}

.cw-healthcare-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 580px;
}

.cw-healthcare-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(243, 239, 231, 0.18);
  background: transparent;
  color: #f3efe7;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cw-healthcare-hero__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.cw-healthcare-hero__chip.is-active {
  color: #06324f;
}

.cw-healthcare-hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-width: 0;
  perspective: 1000px;
}

.cw-healthcare-hero__panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
}

.cw-healthcare-hero__vitals-card {
  border: 1px solid rgba(243, 239, 231, 0.14);
  border-radius: 22px;
  padding: 16px;
  background: rgba(243, 239, 231, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-healthcare-hero__vitals-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cw-healthcare-hero__vitals-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(243, 239, 231, 0.55);
}

.cw-healthcare-hero__bpm {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #ff8fb1;
}

.cw-healthcare-hero__bpm-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff8fb1;
  animation: cw-hc-pulse 0.8s infinite;
}

.cw-healthcare-hero__ecg {
  width: 100%;
  height: 70px;
  display: block;
}

.cw-healthcare-hero__vitals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cw-healthcare-hero__vital {
  border: 1px solid rgba(243, 239, 231, 0.12);
  border-radius: 18px;
  padding: 12px 14px;
}

.cw-healthcare-hero__vital-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(243, 239, 231, 0.5);
}

.cw-healthcare-hero__vital-val {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 4px;
}

.cw-healthcare-hero__vital-unit {
  font-size: 12px;
  font-weight: 500;
  color: rgba(243, 239, 231, 0.55);
  margin-left: 4px;
}

.cw-healthcare-hero__phone-wrap {
  position: relative;
  width: clamp(190px, 17vw, 230px);
}

.cw-healthcare-hero__toast {
  position: absolute;
  left: -30px;
  right: -24px;
  top: -20px;
  z-index: 3;
  background: rgba(243, 239, 231, 0.96);
  color: #141210;
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  animation: cw-hc-pop 3.6s ease both;
  pointer-events: none;
}

.cw-healthcare-hero__toast-ab {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #06324f;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: 12px;
  flex: none;
}

.cw-healthcare-hero__toast-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cw-healthcare-hero__toast-title {
  font-weight: 700;
  font-size: 12.5px;
}

.cw-healthcare-hero__toast-desc {
  font-size: 11.5px;
  color: #5a534a;
}

.cw-healthcare-hero__phone {
  border-radius: 34px;
  background: #0b0908;
  padding: 8px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(243, 239, 231, 0.12);
}

.cw-healthcare-hero__phone-screen {
  border-radius: 27px;
  overflow: hidden;
  background: #edf8ff;
  color: #06324f;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  animation: cw-hc-in 0.4s ease both;
}

.cw-healthcare-hero__phone-header {
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #06324f;
}

.cw-healthcare-hero__phone-header-row {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
}

.cw-healthcare-hero__phone-title {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cw-healthcare-hero__phone-metric-key {
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.cw-healthcare-hero__phone-metric-val {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cw-healthcare-hero__phone-body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.cw-healthcare-hero__phone-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 11px;
  font-size: 12px;
}

.cw-healthcare-hero__phone-row-label {
  color: #3b6a8c;
}

.cw-healthcare-hero__phone-row-val {
  font-weight: 700;
}

.cw-healthcare-hero__phone-cta {
  margin-top: auto;
  background: #06324f;
  color: #edf8ff;
  border-radius: 999px;
  padding: 11px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.cw-healthcare-hero__phone-note {
  margin: 10px 0 0;
  text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: rgba(243, 239, 231, 0.45);
}

@media (max-width: 900px) {
  .cw-healthcare-hero__visual {
    grid-template-columns: 1fr;
  }

  .cw-healthcare-hero__phone-wrap {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-healthcare-hero__bpm-dot,
  .cw-healthcare-hero__toast,
  .cw-healthcare-hero__phone-screen {
    animation: none;
  }

  .cw-healthcare-hero__panel {
    transition: none;
  }
}
