/* NizHealth Customer Care + Health Hub visual upgrade.
   Scoped to these two landing pages. Existing functionality is untouched. */

@keyframes nhCareFloat {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(-7px); }
}
@keyframes nhCareGlow {
  0%,100% { box-shadow:0 0 0 rgba(0,201,183,0); }
  50% { box-shadow:0 0 28px rgba(0,201,183,.16); }
}
@keyframes nhCareReveal {
  from { opacity:0; transform:translateY(16px); }
  to { opacity:1; transform:translateY(0); }
}

/* CUSTOMER CARE */
.support-shell {
  width:min(1180px,100%)!important;
  margin-inline:auto!important;
  padding:clamp(22px,4vw,52px) 18px 70px!important;
}
.support-shell .support-hero {
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate;
  border:1px solid rgba(98,230,224,.35)!important;
  border-radius:26px!important;
  padding:clamp(26px,5vw,52px)!important;
  margin-bottom:26px!important;
  background-color:#08294a!important;
  box-shadow:0 22px 55px rgba(0,0,0,.28),0 0 35px rgba(0,201,183,.09)!important;
  animation:nhCareReveal .65s ease both;
}
.support-shell .support-hero:after {
  content:"";
  position:absolute;
  z-index:-1;
  width:260px;height:260px;
  right:-85px;top:-110px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(0,201,183,.28),rgba(8,169,214,.08) 55%,transparent 72%);
  pointer-events:none;
}
.support-shell .support-grid {
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr)!important;
  gap:22px!important;
  align-items:start!important;
}
.support-shell .support-card {
  min-width:0;
  padding:clamp(19px,3vw,29px)!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,#0a2340,#07172c 75%)!important;
  border:1px solid rgba(98,184,255,.24)!important;
  box-shadow:0 16px 42px rgba(0,0,0,.23)!important;
  transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease!important;
  animation:nhCareReveal .65s ease both;
}
.support-shell .support-card:nth-child(2) { animation-delay:.12s; }
.support-shell .support-card:hover {
  transform:translateY(-4px);
  border-color:rgba(0,201,183,.55)!important;
  box-shadow:0 20px 48px rgba(0,0,0,.3),0 0 24px rgba(0,201,183,.08)!important;
}
.support-shell .support-card h2 { color:#fff!important; }
.support-shell .article-item,
.support-shell .category-row a,
.support-shell .answer {
  border-radius:14px!important;
  transition:background .22s ease,border-color .22s ease,transform .22s ease!important;
}
.support-shell .article-item:hover,
.support-shell .category-row a:hover {
  transform:translateY(-2px);
  border-color:#00c9b7!important;
  background:#10365a!important;
}
.support-shell input,
.support-shell select,
.support-shell textarea {
  max-width:100%;
  border-radius:12px!important;
  transition:border-color .2s ease,box-shadow .2s ease!important;
}
.support-shell input:focus,
.support-shell select:focus,
.support-shell textarea:focus {
  outline:2px solid transparent!important;
  border-color:#00c9b7!important;
  box-shadow:0 0 0 3px rgba(0,201,183,.18)!important;
}
.support-shell button,
.support-shell input[type=submit] {
  transition:transform .2s ease,filter .2s ease,box-shadow .2s ease!important;
}
.support-shell button:hover,
.support-shell input[type=submit]:hover {
  transform:translateY(-2px);
  filter:brightness(1.12);
}
.support-shell button:focus-visible,
.support-shell a:focus-visible,
.support-shell input:focus-visible,
.support-shell select:focus-visible,
.support-shell textarea:focus-visible {
  outline:3px solid #00c9b7!important;
  outline-offset:3px!important;
}
.support-shell .feedback-tabs {
  border-radius:13px!important;
  padding:5px!important;
}
.support-shell .feedback-tabs button {
  border-radius:10px!important;
}
.support-shell .feedback-panel {
  animation:nhCareReveal .3s ease both;
}

/* HEALTH HUB */
body:has(.nh-hub-tools) {
  background:
    radial-gradient(ellipse at 8% 8%,rgba(0,201,183,.10),transparent 32%),
    radial-gradient(ellipse at 92% 24%,rgba(8,169,214,.11),transparent 34%),
    #020817!important;
}
.nh-wrap:has(.nh-hub-tools) .nh-prose {
  width:min(1100px,100%);
  padding-top:clamp(25px,4vw,48px);
  padding-bottom:55px;
}
.nh-prose:has(.nh-hub-tools) > .nh-kicker {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 13px;
  border:1px solid rgba(0,201,183,.35);
  border-radius:999px;
  background:rgba(0,201,183,.09);
  color:#65eee0;
  letter-spacing:.12em;
  font-size:12px;
  font-weight:800;
}
.nh-prose:has(.nh-hub-tools) > h1 {
  max-width:850px;
  margin:20px 0 14px;
  color:#f5fbff;
  font-size:clamp(2.1rem,5.5vw,4.2rem);
  line-height:1.08;
  letter-spacing:-.045em;
  background:linear-gradient(100deg,#fff 12%,#8debe4 55%,#79c9ff 95%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.nh-prose:has(.nh-hub-tools) > .nh-lead {
  max-width:780px;
  color:#c2d5e8;
  font-size:clamp(1rem,2vw,1.16rem);
  line-height:1.8;
}
.nh-prose:has(.nh-hub-tools) > .nh-callout {
  position:relative;
  overflow:hidden;
  margin:25px 0 30px;
  padding:20px 22px;
  border:1px solid rgba(8,169,214,.34);
  border-left:4px solid #08a9d6;
  border-radius:17px;
  background:linear-gradient(110deg,rgba(8,169,214,.13),rgba(0,201,183,.07));
  color:#cce4f5;
  line-height:1.75;
}
.nh-prose:has(.nh-hub-tools) > .nh-callout strong {
  display:block;
  margin-bottom:5px;
  color:#fff;
  font-size:1.05rem;
}
.nh-hub-tools {
  position:relative;
  margin:30px 0 42px!important;
  padding:clamp(17px,3vw,27px)!important;
  border:1px solid rgba(98,184,255,.28)!important;
  border-radius:23px!important;
  background:linear-gradient(135deg,rgba(10,37,65,.97),rgba(5,22,42,.97))!important;
  box-shadow:0 18px 48px rgba(0,0,0,.25),0 0 30px rgba(0,201,183,.06)!important;
  animation:nhCareReveal .65s ease both;
}
.nh-hub-search {
  min-height:56px;
  padding:15px 19px!important;
  border:1px solid rgba(126,190,255,.35)!important;
  border-radius:15px!important;
  background:#041326!important;
  color:#f5fbff!important;
  font-size:16px!important;
}
.nh-hub-search::placeholder { color:#8da9c2; }
.nh-hub-search:focus {
  border-color:#00c9b7!important;
  box-shadow:0 0 0 4px rgba(0,201,183,.15)!important;
}
.nh-hub-filters { gap:10px!important; }
.nh-hub-filter {
  min-height:42px;
  padding:10px 16px!important;
  border:1px solid rgba(126,190,255,.24)!important;
  border-radius:999px!important;
  background:#0a2038!important;
  color:#d8eafa!important;
  font-weight:650!important;
  transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.nh-hub-filter:hover {
  transform:translateY(-2px);
  border-color:#00c9b7!important;
  background:#103b55!important;
}
.nh-hub-filter.active {
  border-color:#00c9b7!important;
  background:linear-gradient(110deg,#087f83,#075b83)!important;
  color:#fff!important;
  box-shadow:0 5px 18px rgba(0,201,183,.18)!important;
}
.nh-hub-meta { color:#a9c1d6!important; }
.nh-prose:has(.nh-hub-tools) > h2 {
  display:flex;
  align-items:center;
  gap:12px;
  margin:42px 0 19px;
  color:#f4fbff;
  font-size:clamp(1.25rem,2.5vw,1.7rem);
  letter-spacing:-.02em;
}
.nh-prose:has(.nh-hub-tools) > h2:before {
  content:"";
  flex:0 0 5px;
  height:27px;
  border-radius:9px;
  background:linear-gradient(#00c9b7,#08a9d6);
  box-shadow:0 0 15px rgba(0,201,183,.3);
}
.nh-topic-grid {
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr))!important;
  gap:15px!important;
}
.nh-topic {
  position:relative;
  display:flex!important;
  flex-direction:column;
  min-height:145px;
  overflow:hidden;
  padding:21px!important;
  border:1px solid rgba(126,190,255,.2)!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#0c2948,#071a30)!important;
  color:#c3d8eb!important;
  text-decoration:none!important;
  box-shadow:0 10px 27px rgba(0,0,0,.16);
  transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease!important;
  animation:nhCareReveal .5s ease both;
}
.nh-topic:after {
  content:"↗";
  position:absolute;
  right:17px;
  top:15px;
  color:#56e1d6;
  font-size:19px;
  opacity:.75;
  transition:transform .2s ease;
}
.nh-topic strong {
  display:block;
  padding-right:20px;
  margin-bottom:10px;
  color:#f5fbff!important;
  font-size:1.06rem;
  font-weight:750;
}
.nh-topic span {
  color:#b5cce0!important;
  font-size:.93rem;
  line-height:1.65;
}
.nh-topic:hover {
  transform:translateY(-5px)!important;
  border-color:rgba(0,201,183,.65)!important;
  background:linear-gradient(145deg,#103957,#092744)!important;
  box-shadow:0 17px 35px rgba(0,0,0,.27),0 0 22px rgba(0,201,183,.09)!important;
}
.nh-topic:hover:after { transform:translate(3px,-3px); }
.nh-topic:focus-visible,
.nh-hub-filter:focus-visible,
.nh-hub-search:focus-visible {
  outline:3px solid #00c9b7!important;
  outline-offset:4px!important;
}
.nh-hub-empty {
  padding:28px!important;
  border:1px dashed rgba(0,201,183,.5)!important;
  border-radius:18px!important;
  background:rgba(0,201,183,.06)!important;
  color:#cce4f5!important;
}
.nh-hub-empty strong { color:#fff!important; }
.nh-prose:has(.nh-hub-tools) > p,
.nh-prose:has(.nh-hub-tools) > .nh-disclaimer {
  color:#b8cde0;
  line-height:1.8;
}
.nh-prose:has(.nh-hub-tools) > p a {
  color:#62e6e0;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
.nh-prose:has(.nh-hub-tools) > p a:hover { color:#fff; }

@media(max-width:760px) {
  .support-shell .support-grid { grid-template-columns:1fr!important; }
  .support-shell .support-hero { border-radius:20px!important; }
  .nh-topic-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important; }
}
@media(max-width:480px) {
  .support-shell { padding-inline:12px!important; }
  .support-shell .support-card { padding:17px!important; }
  .nh-wrap:has(.nh-hub-tools) .nh-prose { padding-inline:15px; }
  .nh-topic-grid { grid-template-columns:1fr!important; }
  .nh-topic { min-height:unset; }
  .nh-hub-filter { padding:9px 12px!important; font-size:13px!important; }
}
@media(prefers-reduced-motion:reduce) {
  .support-shell *,
  .nh-prose:has(.nh-hub-tools) * {
    animation:none!important;
    scroll-behavior:auto!important;
    transition:none!important;
  }
}
