/* ================================================================
   HEALTHCARE UNCHARTED — GLOBAL DESIGN SYSTEM
   hu-global.css — shared across all pages
================================================================ */

:root {
  --dark:    #0a0f1a;
  --surface: #0f1825;
  --raised:  #162030;
  --raised2: #1c2a40;
  --blue:    #1B5FA8;
  --blue-hi: #2478d4;
  --teal:    #4ECDC4;
  --teal-dk: #1B9A90;
  --green:   #2D9B6F;
  --amber:   #E8A838;
  --red:     #DF5752;
  --purple:  #7C6FCD;
  --t1: #FFFFFF;
  --t2: #b8cfe8;
  --t3: #4a6a8a;
  --t4: #2a4060;
  --border:  #1a2d48;
  --border2: #24405e;
  --font:    'DM Sans', 'Trebuchet MS', system-ui, sans-serif;
  --display: 'Syne', 'Trebuchet MS', sans-serif;
  --mono:    'IBM Plex Mono', 'Courier New', monospace;
  --radius:  12px;
  --shadow:  0 8px 40px rgba(0,0,0,.5);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:var(--font); background:var(--dark); color:var(--t1); line-height:1.65; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a { color:var(--teal); text-decoration:none; transition:color .15s; }
a:hover { color:var(--t1); }
button { cursor:pointer; border:none; font-family:inherit; }

/* ================================================================
   NAVIGATION
================================================================ */
nav {
  position:sticky; top:0; z-index:200;
  background:rgba(10,15,26,0.96);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  height:58px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 clamp(16px,4vw,48px);
}
.nav-brand { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-logo {
  width:34px; height:34px;
  background:linear-gradient(135deg,var(--blue),var(--teal));
  border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-size:13px; font-weight:800; color:#fff;
  box-shadow:0 0 16px rgba(78,205,196,.2); flex-shrink:0;
}
.nav-wordmark { font-family:var(--display); font-size:15px; font-weight:700; color:var(--t1); }
.nav-wordmark span { color:var(--teal); }
.nav-links { display:flex; align-items:center; gap:2px; }
.nav-link { padding:5px 13px; border-radius:7px; font-size:13px; font-weight:500; color:var(--t2); transition:all .15s; }
.nav-link:hover { color:var(--t1); background:var(--raised); }
.nav-link.active { color:var(--teal); }
.nav-pill { padding:7px 16px; background:var(--blue); color:#fff; border-radius:8px; font-size:13px; font-weight:600; transition:all .15s; margin-left:6px; }
.nav-pill:hover { background:var(--blue-hi); color:#fff; }
.nav-ham { display:none; background:none; color:var(--t2); font-size:22px; padding:4px; }

/* ================================================================
   FOOTER
================================================================ */
footer {
  background:var(--surface); border-top:1px solid var(--border);
  padding:clamp(32px,5vw,52px) clamp(20px,5vw,80px) 28px;
}
.footer-inner { max-width:1100px; margin:0 auto; }
.footer-top { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:40px; padding-bottom:36px; border-bottom:1px solid var(--border); margin-bottom:24px; }
.footer-logo-row { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.footer-logo { width:32px; height:32px; background:linear-gradient(135deg,var(--blue),var(--teal)); border-radius:8px; display:flex; align-items:center; justify-content:center; font-family:var(--display); font-size:12px; font-weight:800; color:#fff; }
.footer-site-name { font-family:var(--display); font-size:15px; font-weight:700; color:var(--t1); }
.footer-tagline { font-size:12px; color:var(--t3); line-height:1.7; }
.footer-col-title { font-size:10px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--t3); margin-bottom:14px; }
.footer-nav-list { display:flex; flex-direction:column; gap:10px; }
.footer-nav-link { font-size:13px; color:var(--t2); transition:color .15s; }
.footer-nav-link:hover { color:var(--teal); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-copy { font-size:12px; color:var(--t3); }
.footer-live { display:flex; align-items:center; gap:7px; font-family:var(--mono); font-size:11px; color:var(--t3); }
.live-dot { width:6px; height:6px; border-radius:50%; background:var(--green); animation:blink 3s ease infinite; }
.content-policy { border-top:1px solid var(--border); margin-top:24px; padding-top:20px; display:grid; grid-template-columns:auto 1fr; gap:16px; align-items:start; }
.cp-marker { font-family:var(--mono); font-size:9px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--t3); padding-top:1px; white-space:nowrap; }
.cp-text { font-size:11px; color:var(--t3); line-height:1.7; }
.cp-text a { color:var(--t3); border-bottom:1px dotted var(--t4); transition:color .15s; }
.cp-text a:hover { color:var(--teal); }

/* ================================================================
   SHARED UTILITIES
================================================================ */
.section { padding:clamp(56px,8vh,96px) clamp(20px,5vw,80px); }
.section-inner { max-width:1100px; margin:0 auto; }
.section-tag { display:inline-block; font-size:10px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--teal); background:rgba(78,205,196,.08); padding:4px 13px; border-radius:20px; margin-bottom:14px; }
.section-title { font-family:var(--display); font-size:clamp(24px,3vw,38px); font-weight:800; letter-spacing:-.02em; color:var(--t1); margin-bottom:10px; }
.section-sub { font-size:15px; color:var(--t2); max-width:620px; line-height:1.75; margin-bottom:48px; }

.btn-primary { padding:13px 26px; background:var(--blue); color:#fff; border-radius:10px; font-size:14px; font-weight:600; transition:all .2s; display:inline-block; }
.btn-primary:hover { background:var(--blue-hi); color:#fff; transform:translateY(-1px); box-shadow:0 8px 24px rgba(27,95,168,.35); }
.btn-ghost { padding:13px 26px; background:transparent; color:var(--t2); border:1px solid var(--border2); border-radius:10px; font-size:14px; font-weight:500; transition:all .15s; display:inline-block; }
.btn-ghost:hover { border-color:var(--teal); color:var(--teal); }
.btn-secondary { padding:13px 26px; background:rgba(78,205,196,.08); color:var(--teal); border:1px solid rgba(78,205,196,.25); border-radius:10px; font-size:14px; font-weight:500; transition:all .15s; display:inline-block; }
.btn-secondary:hover { background:rgba(78,205,196,.15); }

/* ================================================================
   IMAGES
================================================================ */
.nav-logo-img {
  width:34px; height:34px; border-radius:9px; object-fit:contain;
  flex-shrink:0; display:block;
}
.footer-logo-img {
  height:48px; width:auto; object-fit:contain;
}
.about-avatar-img-wrap {
  width:96px; height:96px; border-radius:50%; overflow:hidden; flex-shrink:0;
  border:2px solid rgba(78,205,196,.3);
  box-shadow:0 0 28px rgba(78,205,196,.2);
}
.about-avatar-img {
  width:100%; height:100%; object-fit:cover; object-position:top center;
}

/* Scrollbar */
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--dark); }
::-webkit-scrollbar-thumb { background:var(--raised2); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--border2); }

/* Mobile nav */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
@media (max-width:640px) {
  .nav-links { display:none; }
  .nav-links.open { display:flex; flex-direction:column; position:absolute; top:58px; left:0; right:0; background:rgba(10,15,26,.98); border-bottom:1px solid var(--border); padding:10px 0; }
  .nav-ham { display:flex; }
  .footer-top { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
  .content-policy { grid-template-columns:1fr; }
}
