/* ============================================================
 *  Healthcare — custom industry experience
 *    Image-led, widget-driven, use-case-focused.
 *    Shared shell for the main page + 6 sub-pages.
 * ============================================================ */

:root {
  --hc-green: #5EFFA4;
  --hc-blue:  #4FC8FF;
  --hc-amber: #FFD66B;
  --hc-pink:  #FF7BC1;
  --hc-ink:   #050912;
  --hc-ink-2: #0A0F1E;
  --hc-line:  rgba(255,255,255,0.08);
}

/* ----- 1. HERO ---------------------------------------------- */
.hc-hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background: var(--hc-ink);
  overflow: hidden;
  isolation: isolate;
}
.hc-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.hc-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,9,18,0.95) 0%, rgba(5,9,18,0.7) 45%, rgba(5,9,18,0.25) 100%),
    radial-gradient(800px 600px at 12% 100%, rgba(94,255,164,0.18), transparent 60%);
}
.hc-hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: 110px 32px 80px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px;
  align-items: end;
}
@media (max-width: 1000px) { .hc-hero-inner { grid-template-columns: 1fr; padding: 90px 22px 56px; } }

.hc-hero-eye {
  font-family: var(--font-mono, ui-monospace, Menlo, monospace);
  font-size: 11px; letter-spacing: 0.22em; color: var(--hc-green);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.hc-hero-eye::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--hc-green); box-shadow: 0 0 8px var(--hc-green);
}
.hc-hero h1 {
  font-family: var(--font-display, 'Editorial New', Georgia, serif);
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.02; letter-spacing: -0.025em;
  color: #fff; font-weight: 400;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hc-hero h1 em {
  font-style: italic; color: var(--hc-green); font-family: inherit;
}
.hc-hero-sub {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  text-wrap: pretty;
}
.hc-hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hc-btn {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  padding: 14px 22px; border: 1px solid var(--hc-line); color: #fff;
  background: rgba(255,255,255,0.04); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s ease;
}
.hc-btn:hover { background: rgba(255,255,255,0.1); }
.hc-btn.primary {
  background: var(--hc-green); color: #050912; border-color: var(--hc-green);
}
.hc-btn.primary:hover { background: #79ffba; }

/* hero side · live tickers (no fake numbers — operational signals) */
.hc-hero-side {
  display: flex; flex-direction: column; gap: 12px;
}
.hc-tile {
  background: rgba(10,15,30,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 2px solid var(--ac, var(--hc-green));
  padding: 16px 18px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
}
.hc-tile-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ac, var(--hc-green));
  box-shadow: 0 0 10px var(--ac, var(--hc-green));
  animation: hc-blink 1.6s ease-in-out infinite;
}
@keyframes hc-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hc-tile-body { display: flex; flex-direction: column; gap: 2px; }
.hc-tile-h { font-family: var(--font-display); color: #fff; font-size: 15px; line-height: 1.1; }
.hc-tile-s {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
}
.hc-tile-tag {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em;
  color: var(--ac, var(--hc-green));
  padding: 4px 8px; border: 1px solid currentColor; border-radius: 1px;
}

/* ----- 2. SHARED SECTION ---------------------------------- */
.hc-section { padding: 96px 0; background: var(--hc-ink); position: relative; }
.hc-section.alt { background: var(--hc-ink-2); }
.hc-wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 700px) { .hc-wrap { padding: 0 22px; } }

.hc-head { max-width: 900px; margin-bottom: 48px; }
.hc-head .eye {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--hc-green); display: inline-block; margin-bottom: 16px;
}
.hc-head h2 {
  font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05; color: #fff; font-weight: 400; letter-spacing: -0.02em;
  margin: 0 0 16px; text-wrap: balance;
}
.hc-head h2 em { font-style: italic; color: var(--hc-green); }
.hc-head .kicker {
  font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.7);
  max-width: 720px; text-wrap: pretty;
}

/* ----- 3. USE-CASE GRID (cards link to subpages) ----------- */
.hc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 1000px) { .hc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .hc-grid { grid-template-columns: 1fr; } }

.hc-card {
  position: relative; overflow: hidden;
  background: var(--hc-ink-2);
  border: 1px solid var(--hc-line);
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: all 0.3s ease;
  min-height: 420px;
}
.hc-card:hover {
  transform: translateY(-2px);
  border-color: var(--ac, var(--hc-green));
  box-shadow: 0 14px 50px rgba(0,0,0,0.4), 0 0 0 1px var(--ac, var(--hc-green));
}
.hc-card-img {
  height: 220px; background-size: cover; background-position: center;
  position: relative; flex-shrink: 0;
}
.hc-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,15,30,0.85));
}
.hc-card-tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  padding: 6px 10px;
  background: rgba(10,15,30,0.85); color: var(--ac, var(--hc-green));
  border: 1px solid currentColor; border-radius: 1px;
}
.hc-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hc-card-h {
  font-family: var(--font-display); color: #fff;
  font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; font-weight: 500;
}
.hc-card-s {
  font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,0.7);
  flex: 1; text-wrap: pretty;
}
.hc-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px dashed rgba(255,255,255,0.1);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.65);
}
.hc-card-foot b { color: var(--ac, var(--hc-green)); font-weight: 500; }
.hc-card-foot .arrow { color: #fff; font-size: 16px; transition: transform 0.2s; }
.hc-card:hover .hc-card-foot .arrow { transform: translateX(4px); color: var(--ac, var(--hc-green)); }

/* ----- 4. BENEFITS — interactive switcher with image stage  - */
.hc-benefit {
  display: grid; grid-template-columns: 380px 1fr; gap: 24px;
}
@media (max-width: 1000px) { .hc-benefit { grid-template-columns: 1fr; } }
.hc-benefit-rail { display: flex; flex-direction: column; gap: 10px; }
.hc-bnf-btn {
  text-align: left; cursor: pointer;
  background: transparent; color: #fff;
  border: 1px solid var(--hc-line);
  padding: 16px 18px;
  display: grid; grid-template-columns: 36px 1fr; gap: 12px;
  transition: all 0.2s ease;
}
.hc-bnf-btn:hover { background: rgba(255,255,255,0.03); }
.hc-bnf-btn.on {
  border-color: var(--hc-green);
  background: linear-gradient(90deg, rgba(94,255,164,0.1), transparent 70%);
  box-shadow: 0 0 0 1px rgba(94,255,164,0.4) inset;
}
.hc-bnf-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
}
.hc-bnf-btn.on .hc-bnf-num { color: var(--hc-green); border-color: var(--hc-green); }
.hc-bnf-h {
  font-family: var(--font-display); font-size: 16.5px; color: #fff; font-weight: 500;
  line-height: 1.2;
}
.hc-bnf-s {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55); margin-top: 4px;
}
.hc-bnf-stage {
  position: relative; min-height: 460px;
  background: #000; border: 1px solid var(--hc-line);
  overflow: hidden;
}
.hc-bnf-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: opacity 0.5s ease, transform 6s ease;
  opacity: 0;
}
.hc-bnf-img.on { opacity: 1; transform: scale(1.05); }
.hc-bnf-img::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85)),
    linear-gradient(270deg, rgba(0,0,0,0.4), transparent 60%);
}
.hc-bnf-overlay {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1;
  display: flex; flex-direction: column; gap: 8px;
}
.hc-bnf-overlay .eye {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  color: var(--hc-green);
}
.hc-bnf-overlay .ttl {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px);
  color: #fff; line-height: 1.05; font-weight: 400; letter-spacing: -0.02em;
}
.hc-bnf-overlay .desc {
  font-size: 14.5px; color: rgba(255,255,255,0.82); line-height: 1.5;
  max-width: 560px; text-wrap: pretty;
}
.hc-bnf-overlay .pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.hc-bnf-overlay .pills span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  padding: 5px 10px; background: rgba(10,15,30,0.7);
  border: 1px solid rgba(94,255,164,0.4); color: var(--hc-green);
}

/* ----- 5. PRODUCTS strip ----------------------------------- */
.hc-prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1100px) { .hc-prods { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .hc-prods { grid-template-columns: 1fr; } }
.hc-prod {
  position: relative; overflow: hidden;
  background: var(--hc-ink-2);
  border: 1px solid var(--hc-line);
  display: flex; flex-direction: column;
  text-decoration: none;
  min-height: 220px;
  transition: all 0.3s;
}
.hc-prod:hover { border-color: var(--hc-green); transform: translateY(-2px); }
.hc-prod-img {
  height: 110px; background-size: cover; background-position: center;
  position: relative;
}
.hc-prod-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,15,30,0.4), rgba(10,15,30,0.9));
}
.hc-prod-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hc-prod-eye { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; color: var(--hc-green); }
.hc-prod-h { font-family: var(--font-display); font-size: 17px; color: #fff; font-weight: 500; line-height: 1.15; }
.hc-prod-s { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.45; flex: 1; }
.hc-prod-foot {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--hc-green); margin-top: 8px;
  display: flex; justify-content: space-between;
}

/* ----- 6. WHATSAPP CHAT WIDGET ----------------------------- */
.hc-chat {
  background: #0a141f;
  border: 1px solid var(--hc-line);
  display: grid; grid-template-columns: 360px 1fr;
  min-height: 540px; overflow: hidden;
}
@media (max-width: 900px) { .hc-chat { grid-template-columns: 1fr; } }
.hc-chat-side {
  background-image:
    linear-gradient(180deg, rgba(10,15,30,0.6), rgba(10,15,30,0.85)),
    var(--hc-chat-img, none);
  background-size: cover; background-position: center;
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.hc-chat-side h3 {
  font-family: var(--font-display); font-size: 26px; color: #fff; line-height: 1.1;
  font-weight: 400; letter-spacing: -0.01em; margin: 0;
}
.hc-chat-side p { color: rgba(255,255,255,0.75); font-size: 14.5px; line-height: 1.5; margin: 0; }
.hc-chat-side .meta {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
}
.hc-chat-side .meta b { color: var(--hc-green); }

.hc-chat-pane {
  background:
    linear-gradient(180deg, rgba(20,30,38,0.9), rgba(15,22,28,0.95));
  display: flex; flex-direction: column;
}
.hc-chat-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: #1F2C34;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hc-chat-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--hc-green) center/cover;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); color: #050912; font-weight: 700; font-size: 13px;
}
.hc-chat-bar-h { color: #fff; font-size: 14px; font-weight: 500; line-height: 1.1; }
.hc-chat-bar-s { color: rgba(255,255,255,0.55); font-size: 11px; font-family: var(--font-mono); }
.hc-chat-msgs {
  flex: 1; padding: 18px 22px;
  display: flex; flex-direction: column; gap: 10px;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(94,255,164,0.03), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 18px);
  overflow: hidden;
}
.hc-chat-msg {
  max-width: 76%; padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px; line-height: 1.4;
  color: #fff;
  position: relative;
  animation: hc-chat-in 0.4s ease both;
}
@keyframes hc-chat-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.hc-chat-msg.user {
  align-self: flex-end;
  background: #005C4B;
}
.hc-chat-msg.agent {
  align-self: flex-start;
  background: #1F2C34;
  border: 1px solid rgba(255,255,255,0.04);
}
.hc-chat-msg .time {
  display: block;
  text-align: right;
  font-family: var(--font-mono); font-size: 9.5px;
  color: rgba(255,255,255,0.5); margin-top: 4px;
}
.hc-chat-typing {
  align-self: flex-start;
  background: #1F2C34;
  padding: 10px 14px; border-radius: 8px;
  display: flex; gap: 4px;
}
.hc-chat-typing i {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.6);
  animation: hc-type 1.3s infinite;
}
.hc-chat-typing i:nth-child(2) { animation-delay: 0.18s; }
.hc-chat-typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes hc-type { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ----- 7. STATS row (operational, not market) -------------- */
.hc-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 32px;
}
@media (max-width: 800px) { .hc-stats { grid-template-columns: repeat(2, 1fr); } }
.hc-stat {
  background: var(--hc-ink-2);
  border: 1px solid var(--hc-line);
  border-left: 2px solid var(--hc-green);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.hc-stat .v {
  font-family: var(--font-display); font-size: 32px; color: var(--hc-green);
  font-weight: 500; line-height: 1; letter-spacing: -0.01em;
}
.hc-stat .l {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
}

/* ----- 8. FULL-WIDTH IMAGE strip + caption ---------------- */
.hc-photo-strip {
  position: relative; min-height: 480px;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hc-photo-strip::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(5,9,18,0.95)),
    linear-gradient(90deg, rgba(5,9,18,0.6), transparent 60%);
}
.hc-photo-strip .hc-wrap {
  position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; width: 100%;
}
.hc-photo-strip h2 {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 50px);
  color: #fff; line-height: 1.05; font-weight: 400; letter-spacing: -0.02em;
  margin: 0 0 12px; max-width: 720px; text-wrap: balance;
}
.hc-photo-strip p {
  font-size: 17px; color: rgba(255,255,255,0.82); line-height: 1.5;
  max-width: 600px; margin: 0; text-wrap: pretty;
}

/* ----- 9. CTA footer band --------------------------------- */
.hc-cta-band {
  background:
    linear-gradient(90deg, rgba(94,255,164,0.08), rgba(79,200,255,0.04) 60%, transparent),
    var(--hc-ink-2);
  border: 1px solid rgba(94,255,164,0.25);
  border-left: 2px solid var(--hc-green);
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  margin-top: 60px;
}
.hc-cta-band-msg { font-family: var(--font-display); font-size: 21px; color: #fff; max-width: 640px; line-height: 1.3; }
.hc-cta-band-msg b { color: var(--hc-green); font-weight: 500; }
.hc-cta-band-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ----- 10. SUBPAGE DEMO STAGE ----------------------------- */
.hc-demo {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px;
}
@media (max-width: 1000px) { .hc-demo { grid-template-columns: 1fr; } }
.hc-demo-img {
  min-height: 520px;
  background-size: cover; background-position: center;
  border: 1px solid var(--hc-line);
  position: relative;
}
.hc-demo-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,9,18,0.7));
}
.hc-demo-img .caption {
  position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1;
  display: flex; flex-direction: column; gap: 8px;
}
.hc-demo-img .caption .eye {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--hc-green);
}
.hc-demo-img .caption .ttl {
  font-family: var(--font-display); font-size: 22px; color: #fff; line-height: 1.1; font-weight: 400;
}

.hc-demo-panel {
  background: var(--hc-ink-2);
  border: 1px solid var(--hc-line);
  padding: 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.hc-demo-panel h3 {
  font-family: var(--font-display); font-size: 24px; color: #fff; font-weight: 400; line-height: 1.15;
  letter-spacing: -0.01em; margin: 0;
}
.hc-demo-panel p { color: rgba(255,255,255,0.75); font-size: 14.5px; line-height: 1.55; margin: 0; }
.hc-demo-list {
  display: flex; flex-direction: column; gap: 10px;
}
.hc-demo-row {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 2px solid var(--hc-green);
}
.hc-demo-row .num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(94,255,164,0.4); color: var(--hc-green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px;
}
.hc-demo-row .body { display: flex; flex-direction: column; gap: 2px; }
.hc-demo-row .h { font-family: var(--font-display); color: #fff; font-size: 15.5px; font-weight: 500; line-height: 1.15; }
.hc-demo-row .s { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); }
.hc-demo-row .tag {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em;
  color: var(--hc-green); padding: 3px 7px;
  border: 1px solid currentColor;
}

/* ----- 11. ROUTE BREADCRUMB ------------------------------- */
.hc-crumb {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55); margin-bottom: 20px;
}
.hc-crumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.hc-crumb a:hover { color: var(--hc-green); }
.hc-crumb .sep { color: rgba(255,255,255,0.25); }
.hc-crumb b { color: var(--hc-green); font-weight: 500; }
