/* =====================================================================
   EPOWERdoc — Brand Design System
   Exact brand colors from EPowerDoc-Logo.svg:
     Teal   #00a389  (st10 — E, R letterforms + bottom accent line)
     Purple #7a68ae  (st7  — P,O,W,doc letterforms + subtext + top rule)
   Font: Poppins 600 headings / Poppins 400 body
   ===================================================================== */

/* ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* Teal family — from #00a389 */
  --teal:        #00a389;
  --teal-dark:   #007d69;   /* −18% L */
  --teal-deep:   #005748;   /* very dark — footer accents */
  --teal-hover:  #00b898;   /* +8% L — hover lift */
  --teal-soft:   #ccf0ea;   /* light tint — card icons, borders */
  --teal-light:  #ccf0ea;   /* alias for teal-soft (compat) */
  --teal-ghost:  #edfaf7;   /* near-white tint — alt section BG */

  /* Purple family — from #7a68ae */
  --purple:      #7a68ae;
  --purple-dark: #5b4e87;   /* −18% L */
  --purple-deep: #3b2f68;   /* very dark — dark bg secondary */
  --purple-hover:#8f7ec0;   /* +8% L — hover lift */
  --purple-mid:  #9585c4;   /* for gradients */
  --purple-soft: #e4dff4;   /* light tint — card icons */
  --purple-ghost:#f3f1fb;   /* near-white tint */

  /* Dark backgrounds — rooted in purple hue, widened spread for a visible gradient (not near-solid) */
  --bg-dark:     #241a42;   /* hero / footer / CTA primary dark */
  --bg-dark2:    #362a5f;   /* mid gradient stop */
  --bg-dark3:    #4d3c82;   /* lightest gradient stop for glow layers */

  /* Text */
  --text-body:   #3d3260;   /* dark purple-tinted body text */
  --text-muted:  #6b5f94;   /* secondary text — matches purple hue */
  --text-faint:  #9e93c4;   /* captions, placeholders */
  --text-inv:    #c8bfe0;   /* body text on all dark BGs — consistent */
  --text-inv2:   #e4dfef;   /* headings / brighter on dark */

  /* Surfaces */
  --white:       #ffffff;
  --surface:     #ffffff;
  --surface-alt: #f5f2fc;   /* subtle purple-tinted off-white */
  --surface-3:   #ede8f8;   /* stronger tint — used as hover bg */
  --border:      #dbd4f0;   /* purple-tinted border */
  --border-lite: #eee9f8;   /* lighter border */

  /* Typography */
  --font: 'Poppins', sans-serif;

  /* Shadows — purple-tinted */
  --sh-sm: 0 1px 4px rgba(58,40,120,0.07);
  --sh-md: 0 4px 20px rgba(58,40,120,0.10);
  --sh-lg: 0 12px 40px rgba(58,40,120,0.14);
  --sh-xl: 0 20px 60px rgba(58,40,120,0.18);
  --sh-teal: 0 6px 22px rgba(0,163,137,0.38);
  --sh-purple: 0 6px 22px rgba(122,104,174,0.40);

  /* Shape */
  --r-xs:  6px;
  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill:50px;

  /* Motion */
  --ease: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text-body);
  background: var(--surface);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; transition: var(--ease); }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 600;        /* Poppins SemiBold */
  color: var(--bg-dark);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* ── UTILITIES ───────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section--alt     { background: var(--surface-alt); }
.section--dark    { background: var(--bg-dark); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--teal    { background: var(--teal); }
.section--teal h2, .section--teal h3, .section--teal h4, .section--teal p { color: #fff; }
.text-center { text-align: center; }
.text-teal   { color: var(--teal); }
.text-purple { color: var(--purple); }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

/* ── ANIMATIONS ──────────────────────────────────────────────────────── */
@keyframes fadeUp  { from { opacity:0; transform:translateY(26px); } to { opacity:1; transform:none; } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes pulse   { 0%,100% { transform:scale(1); } 50% { transform:scale(1.08); } }

.animate { opacity:0; transform:translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.animate.visible { opacity:1; transform:none; }
.animate-delay-1 { transition-delay:.10s; }
.animate-delay-2 { transition-delay:.20s; }
.animate-delay-3 { transition-delay:.30s; }
.animate-delay-4 { transition-delay:.40s; }

/* ── TOPBAR ──────────────────────────────────────────────────────────── */
.topbar {
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(122,104,174,0.18);
  font-size: 0.82rem;
  padding: 8px 0;
  color: var(--text-inv);
}
.topbar__inner   { display:flex; justify-content:center; align-items:center; }
.topbar__contact { display:flex; gap:24px; align-items:center; }
.topbar__contact a,
.topbar__right a {
  color: var(--text-inv);
  display:flex; align-items:center; gap:6px;
  font-size: 0.81rem;
}
.topbar__contact a svg,
.topbar__right a svg { width:13px; height:13px; flex-shrink:0; opacity:.7; }
.topbar__contact a:hover,
.topbar__right a:hover { color: var(--teal-hover); }
.topbar__right { display:flex; align-items:center; gap:16px; }

/* ── HEADER ──────────────────────────────────────────────────────────── */
.header {
  background: var(--surface);
  position: sticky; top:0; z-index:1000;
  border-bottom: 1px solid var(--border-lite);
  box-shadow: var(--sh-sm);
  transition: var(--ease);
}
.header.scrolled { box-shadow: var(--sh-md);
    box-shadow: var(--sh-md);
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: var(--sh-sm);
    transition: var(--ease);
 }
.header__inner {
  display:flex; justify-content:space-between; align-items:center;
  padding: 12px 24px; max-width:1200px; margin:0 auto;
}

/* ── LOGO ────────────────────────────────────────────────────────────── */
/* Renders the actual SVG file — colours intact on white BG */
.logo { display:flex; align-items:center; text-decoration:none; }
.logo img { height: 50px; width:auto; display:block; }

/* Footer logo: SVG on dark — override to white version via filter */
.footer__logo-wrap { display:flex; align-items:center; margin-bottom:14px; }
.footer__logo-wrap img {
  height: 44px; width:auto; display:block;
  /* Actual brand colors (teal + purple) remain visible on dark BG */
}

/* ── NAV ─────────────────────────────────────────────────────────────── */
.nav { display:flex; align-items:center; gap:4px; }
.nav__link {
  padding: 9px 15px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 0.89rem;
  color: var(--text-body);
}
.nav__link:hover { color: var(--teal); background: var(--teal-ghost); }

.nav__dropdown { position: relative; }
.nav__dropdown-toggle { cursor:pointer; display:flex; align-items:center; gap:4px; }
.nav__dropdown-toggle::after {
  content:'';
  border: solid var(--text-muted);
  border-width: 0 1.5px 1.5px 0;
  padding: 2.5px;
  transform: rotate(45deg);
  transition: var(--ease);
  margin-top: -2px;
}
.nav__dropdown:hover .nav__dropdown-toggle::after { transform: rotate(-135deg); }
.nav__dropdown-menu {
  position:absolute; top:100%; left:0;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border-lite);
  padding: 10px 6px;
  min-width: 272px;
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition: var(--ease); z-index:100;
}
.nav__dropdown:hover .nav__dropdown-menu { opacity:1; visibility:visible; transform:translateY(4px); }
.nav__dropdown-menu a {
  display:flex; align-items:center; gap:8px; padding:9px 14px;
  border-radius: var(--r-xs);
  font-size: 0.875rem; color: var(--text-body);
}
.nav__dropdown-menu a svg  { width:13px; height:13px; color:var(--teal); flex-shrink:0; }
.nav__dropdown-menu a:hover { background: var(--teal-ghost); color: var(--teal-dark); }

/* Contact Us — de-emphasized secondary/ghost treatment (item #2) */
.nav__cta {
  background: transparent;
  color: var(--text-body) !important;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 0.89rem;
  margin-left: 6px;
  border: 1.5px solid var(--border);
}
.nav__cta:hover { background: var(--surface-alt); border-color: var(--text-muted); transform: none; }

/* Client Login — the dominant primary action in the header (items #4/#5) */
.nav__login {
  display: flex; align-items: center; gap: 7px;
  background: var(--bg-dark);
  color: #fff !important;
  padding: 11px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.92rem;
  margin-left: 10px;
  box-shadow: var(--sh-purple);
  white-space: nowrap;
}
.nav__login svg { width: 15px; height: 15px; flex-shrink: 0; }
.nav__login:hover { background: var(--purple); transform: translateY(-1px); box-shadow: var(--sh-lg); }

.nav-toggle {
  display:none; flex-direction:column; gap:5px;
  cursor:pointer; background:none; border:none; padding:8px;
}
.nav-toggle span { width:24px; height:2px; background:var(--bg-dark); border-radius:2px; transition:var(--ease); }

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(155deg, var(--bg-dark) 0%, var(--bg-dark2) 55%, var(--bg-dark3) 100%);
  padding: 84px 0 68px;
  position: relative; overflow: hidden;
}
/* Teal glow top-right */
.hero::before {
  content:''; position:absolute; top:-40%; right:-14%;
  width:680px; height:680px;
  background: radial-gradient(circle, rgba(0,163,137,.13) 0%, transparent 68%);
  border-radius:50%;
}
/* Purple glow bottom-left */
.hero::after {
  content:''; position:absolute; bottom:-32%; left:-7%;
  width:520px; height:520px;
  background: radial-gradient(circle, rgba(122,104,174,.12) 0%, transparent 65%);
  border-radius:50%;
}
.hero__inner {
  display:grid; grid-template-columns:1fr 1fr; gap:80px;
  align-items:center; position:relative; z-index:2;
}
.hero__badge {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(0,163,137,.12);
  border: 1px solid rgba(0,163,137,.28);
  color: var(--teal-hover);
  padding: 7px 16px; border-radius: var(--r-pill);
  font-size: 0.81rem; font-weight:600; letter-spacing:.025em;
  margin-bottom: 22px;
  animation: fadeIn .6s ease both;
}
/* Badge live dot — ripple glow animation */
@keyframes ripple {
  0%   { box-shadow: 0 0 0 0 rgba(0,163,137,.55); }
  65%  { box-shadow: 0 0 0 9px rgba(0,163,137,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,163,137,0); }
}
.hero__badge-dot {
  width: 8px; height: 8px; flex-shrink: 0;
  background: var(--teal-hover);
  border-radius: 50%;
  animation: ripple 1.8s ease-out infinite;
}

/* hero__badge-dot handles the live dot — see below */
.hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.hero h1 em,
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #00b898 0%, #9585c4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__text {
  color: var(--text-inv); font-size:1.07rem; line-height:1.76;
  margin-bottom: 34px;
  animation: fadeUp .8s ease .18s both; max-width:500px;
}
.hero__actions { display:flex; gap:14px; animation: fadeUp .8s ease .36s both; }

/* Hero stat card */
.hero__visual { animation: fadeIn 1s ease .5s both; position:relative; }
.hero__visual-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); padding:38px; position:relative;
}
.hero__visual-card::before {
  content:''; position:absolute; inset:-1px;
  border-radius: var(--r-lg); padding:1px;
  background: linear-gradient(135deg, rgba(0,163,137,.32), transparent, rgba(122,104,174,.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.hero__stat-grid  { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.hero__stat       { text-align:center; padding:18px; }
.hero__stat-number { font-family:var(--font); font-size:2.3rem; font-weight:700; color:var(--teal-hover); line-height:1; margin-bottom:6px; }
.hero__stat-label  { color:var(--text-inv); font-size:.81rem; }
.hero__stat-divider { grid-column:1/-1; height:1px; background:rgba(255,255,255,.07); }

/* ── PAGE HERO ───────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(155deg, var(--bg-dark) 0%, var(--bg-dark2) 100%);
  padding: 136px 0 68px; position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; top:-38%; right:-11%;
  width:540px; height:540px;
  background: radial-gradient(circle, rgba(0,163,137,.1) 0%, transparent 70%); border-radius:50%;
}
.page-hero::after {
  content:''; position:absolute; bottom:-22%; left:-4%;
  width:360px; height:360px;
  background: radial-gradient(circle, rgba(122,104,174,.1) 0%, transparent 65%); border-radius:50%;
}
.page-hero h1 { font-size:2.65rem; color:#fff; margin-bottom:14px; position:relative; z-index:2; font-weight:600; }
.page-hero__breadcrumb {
  display:flex; align-items:center; gap:8px;
  font-size:.86rem; color:var(--text-inv); position:relative; z-index:2; margin-bottom:14px;
}
.page-hero__breadcrumb a { color:var(--teal-hover); }
.page-hero__breadcrumb a:hover { text-decoration:underline; }
.page-hero__breadcrumb span { opacity:.45; }
.page-hero__subtitle { color: var(--text-inv); font-size:1.02rem; max-width:600px; position:relative; z-index:2; }

/* ── BUTTONS ─────────────────────────────────────────────────────────── */
/*
  CTA SYSTEM RATIONALE (UI/UX):
  ┌────────────────┬────────────────────────────────┬─────────────────────────────────┐
  │ Class          │ Normal                         │ Hover                           │
  ├────────────────┼────────────────────────────────┼─────────────────────────────────┤
  │ btn--primary   │ Teal fill, white text          │ Teal-dark fill — depth/confirm  │
  │ btn--purple    │ Purple fill, white text        │ Purple-dark fill — depth        │
  │ btn--outline   │ Transparent, white border/text │ White 14% fill — subtle light   │
  │ btn--outline-dk│ Transparent, teal border/text  │ Teal fill, white text — commit  │
  │ btn--dl        │ White bg, teal border/text     │ Teal fill, white text — commit  │
  │ btn--white     │ White fill, dark text          │ Teal fill, white text — commit  │
  └────────────────┴────────────────────────────────┴─────────────────────────────────┘
  Primary always stays in teal family — builds muscle memory for "main action".
  Outlines fill solid on hover — clear visual commitment signal.
  No full color-family swaps on primary — avoids cognitive mismatch.
*/
/*
  ── CTA COLOR SYSTEM ───────────────────────────────────────────────
  Rule: ALL hover states use SOLID fills — no border-only states.
  Primary teal  → Purple solid on hover   (brand color swap)
  Purple        → Teal solid on hover     (brand color swap)
  Ghost/outline → Teal solid fill on hover (commits the action)
  Download btn  → Teal solid fill on hover (same fill-commit)
  ──────────────────────────────────────────────────────────────────
*/
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--r-pill);
  font-family: var(--font); font-weight: 600; font-size: .9rem;
  cursor: pointer; border: 2px solid transparent;
  transition: background .22s ease, color .22s ease,
              border-color .22s ease, transform .18s ease;
  letter-spacing: .01em; white-space: nowrap;
}

/* PRIMARY — teal solid → purple solid (brand swap, both solid) */
.btn--primary       { background: var(--teal);   color: #fff; border-color: var(--teal); }
.btn--primary:hover { background: var(--purple);  color: #fff; border-color: var(--purple); transform: translateY(-2px); }

/* PURPLE — purple solid → teal solid (reverse brand swap) */
.btn--purple        { background: var(--purple);  color: #fff; border-color: var(--purple); }
.btn--purple:hover  { background: var(--teal);    color: #fff; border-color: var(--teal);   transform: translateY(-2px); }

/* GHOST — on dark BGs, subtle glass → fills solid teal */
.btn--outline       { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.3); color: #fff; }
.btn--outline:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-2px); }

/* OUTLINE-DARK — on light BGs, teal outline → fills solid teal */
.btn--outline-dark        { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn--outline-dark:hover  { background: var(--teal);  border-color: var(--teal); color: #fff; transform: translateY(-2px); }

/* DOWNLOAD — white + teal outline → fills solid teal */
.btn--dl        { background: #fff; border-color: var(--teal); color: var(--teal); }
.btn--dl:hover  { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-2px); }

/* WHITE — on dark/colored BGs → fills purple (warm brand contrast) */
.btn--white       { background: #fff; color: var(--bg-dark); border-color: #fff; }
.btn--white:hover { background: var(--purple); color: #fff; border-color: var(--purple); transform: translateY(-2px); }

.btn--sm { padding: 9px 20px; font-size: .84rem; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ── CARDS ───────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--r-lg); padding:34px;
  box-shadow: var(--sh-sm); border:1px solid var(--border-lite);
  transition: var(--ease);
}
.card:hover { box-shadow:var(--sh-lg); transform:translateY(-4px); border-color:var(--teal-soft); }
.card__icon {
  width:54px; height:54px;
  background: var(--teal-ghost);
  border-radius: var(--r-md);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; color:var(--teal);
}
.card__icon svg { width:26px; height:26px; }
.card__icon--purple { background:var(--purple-ghost); color:var(--purple); }
.card__icon--dark   { background:rgba(27,20,51,.07); color:var(--bg-dark); }
.card__icon--navy   { background:rgba(36,26,66,.08); color:var(--bg-dark); }
.card h3 { font-size:1.18rem; margin-bottom:10px; font-weight:600; }
.card p  { color:var(--text-muted); font-size:.92rem; line-height:1.72; }
.card__link {
  display:inline-flex; align-items:center; gap:5px;
  color:var(--teal); font-weight:600; font-size:.87rem; margin-top:14px;
}
.card__link:hover { gap:9px; color:var(--teal-dark); }
.card__link svg { width:15px; height:15px; transition:var(--ease); }

/* ── SOLUTION CARDS STRIP (ref style) ───────────────────────────────── */
.solutions-strip { padding: 0; transform: translateY(-1px); position: relative; z-index: 10; background: var(--surface); }
.solution-cards {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border-lite);
  border-bottom: 1px solid var(--border-lite);
}
.solution-card {
  display: flex; flex-direction: column;
  padding: 32px 28px;
  border-right: 1px solid var(--border-lite);
  transition: var(--ease); position: relative; overflow: hidden;
  cursor: pointer; color: inherit; text-decoration: none;
}
.solution-card:last-child { border-right: none; }
.solution-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,163,137,.04), transparent);
  opacity: 0; transition: var(--ease);
}
.solution-card:hover { background: var(--teal-ghost); }
.solution-card:hover::before { opacity: 1; }
.solution-card:hover .sc-arrow { transform: translate(4px,-4px); color: var(--teal); }
.sc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,163,137,.1); border: 1px solid rgba(0,163,137,.18);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.sc-icon svg { width: 18px; height: 18px; color: var(--teal); }
.sc-tag   { font-size: .72rem; color: var(--teal-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.sc-title { font-size: .95rem; font-weight: 600; color: var(--bg-dark); font-family: var(--font); line-height: 1.3; margin-bottom: auto; }
.sc-arrow { margin-top: 20px; color: var(--text-faint); transition: var(--ease); width: 18px; }
.sc-arrow svg { width: 18px; height: 18px; }

/* ── GRIDS ───────────────────────────────────────────────────────────── */
.feature-grid       { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.feature-grid--2col { grid-template-columns:repeat(2,1fr); }
.feature-grid--4col { grid-template-columns:repeat(4,1fr); }

/* ── CONTENT SPLIT ───────────────────────────────────────────────────── */
.content-split { display:grid; grid-template-columns:1fr 1fr; gap:76px; align-items:center; }
.content-split--reverse { direction:rtl; }
.content-split--reverse > * { direction:ltr; }

.section-label {
  display:inline-block; font-size:.73rem; text-transform:uppercase;
  letter-spacing:.15em; font-weight:600; color:var(--teal); margin-bottom:10px;
}
.section-title    { font-size:2.25rem; margin-bottom:18px; font-weight:600; }
.section-title--sm { font-size:1.9rem; }
.section-desc     { font-size:1rem; color:var(--text-muted); max-width:600px; line-height:1.76; }

/* Feature list */
.feature-list { margin-top:26px; }
.feature-list__item { display:flex; gap:14px; align-items:flex-start; padding:13px 0; }
.feature-list__item + .feature-list__item { border-top:1px solid var(--border-lite); }
.feature-list__check {
  width:26px; height:26px; min-width:26px;
  background:var(--teal-soft); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--teal); margin-top:2px;
}
.feature-list__check svg { width:13px; height:13px; }
.feature-list__text { font-size:.92rem; line-height:1.68; }
.feature-list__text strong { color:var(--bg-dark); font-weight:600; }

/* ── VISUAL BLOCK ────────────────────────────────────────────────────── */
.visual-block {
  background: linear-gradient(148deg, var(--bg-dark) 0%, var(--bg-dark2) 60%, var(--bg-dark3) 100%);
  border-radius:var(--r-xl); padding:52px 44px;
  display:flex; align-items:center; justify-content:center;
  min-height:380px; position:relative; overflow:hidden;
}
.visual-block::before {
  content:''; position:absolute; width:260px; height:260px;
  background:radial-gradient(circle, rgba(0,163,137,.18), transparent);
  border-radius:50%; top:-8%; right:-5%;
}
.visual-block::after {
  content:''; position:absolute; width:180px; height:180px;
  background:radial-gradient(circle, rgba(122,104,174,.18), transparent);
  border-radius:50%; bottom:-5%; left:10%;
}
.visual-block__content { text-align:center; position:relative; z-index:2; width:100%; }
.visual-block__icon {
  width:74px; height:74px; margin:0 auto 22px;
  background:rgba(0,163,137,.12); border:1px solid rgba(0,163,137,.28);
  border-radius:var(--r-lg);
  display:flex; align-items:center; justify-content:center; color:var(--teal-hover);
}

/* Compact snapshot card (e.g. Real World Testing overview) */
.rwt-snapshot {
  background: linear-gradient(155deg, var(--bg-dark) 0%, var(--bg-dark2) 60%, var(--bg-dark3) 100%);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  color: #fff;
  box-shadow: var(--sh-lg);
}
.rwt-snapshot__icon {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-hover); margin-bottom: 18px;
}
.rwt-snapshot__title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.rwt-snapshot__subtitle { font-size: .82rem; color: var(--text-inv); margin-top: 4px; }
.rwt-snapshot__divider { height: 1px; background: rgba(255,255,255,.16); margin: 20px 0; }
.rwt-snapshot__row { margin-bottom: 14px; }
.rwt-snapshot__row:last-of-type { margin-bottom: 22px; }
.rwt-snapshot__label {
  font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.rwt-snapshot__value { font-size: .92rem; font-weight: 600; margin-top: 3px; }
.rwt-snapshot__btn { width: 100%; justify-content: center; }
.visual-block__icon svg { width:36px; height:36px; }
.visual-block__text { font-family:var(--font); font-size:1.12rem; font-weight:600; color:#fff; line-height:1.65; margin-bottom:26px; }
.visual-block__stats { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:6px; }
.visual-block__stat {
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.07);
  border-radius:var(--r-md); padding:14px 10px; text-align:center;
}
.visual-block__stat-number { font-family:var(--font); font-size:1.5rem; font-weight:700; color:var(--teal-hover); line-height:1; margin-bottom:4px; }
.visual-block__stat-label  { font-size:.68rem; color:var(--text-inv); letter-spacing:.04em; }

/* ── STATS ROW ───────────────────────────────────────────────────────── */
.stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; text-align:center; }
.stat-item__number { font-family:var(--font); font-size:2.85rem; font-weight:700; color:var(--teal-hover); line-height:1; margin-bottom:7px; }
.section--dark .stat-item__number { color:var(--teal-hover); }
.stat-item__label  { font-size:.87rem; }
.section--dark .stat-item__label  { color: var(--text-inv); }

/* ── CTA SECTION — ref style with brand colors ──────────────────────── */
.cta-section {
  background: linear-gradient(140deg, var(--bg-dark) 0%, var(--purple-deep) 100%);
  padding: 108px 0; text-align: center;
  position: relative; overflow: hidden;
}
/* Single large centered radial glow (from ref) */
.cta-section::before {
  content: '';
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(0,163,137,.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section::after {
  content: ''; position: absolute; bottom: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(122,104,174,.1) 0%, transparent 60%);
  pointer-events: none;
} /* Remove old side glow */
.cta-inner { position: relative; z-index: 2; }
.cta-section h2 {
  font-size: clamp(2rem, 3.5vw, 3rem); color: #fff;
  margin-bottom: 16px; letter-spacing: -0.03em;
  font-weight: 600; position: relative; z-index: 2;
}
.cta-section p {
  color: #c8bfe0;
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.72;
}
.cta-actions {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; position: relative; z-index: 2;
}

/* ── CONTACT FORM ────────────────────────────────────────────────────── */ FORM ────────────────────────────────────────────────────── */
.form-card { background:var(--surface); border-radius:var(--r-lg); padding:46px; box-shadow:var(--sh-lg); }
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-weight:600; font-size:.86rem; color:var(--bg-dark); margin-bottom:7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width:100%; padding:13px 16px;
  border:1.5px solid var(--border);
  border-radius:var(--r-xs);
  font-family:var(--font); font-size:.91rem; color:var(--bg-dark);
  transition:var(--ease); background:var(--surface);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline:none; border-color:var(--teal);
  box-shadow:0 0 0 3px rgba(0,163,137,.12);
}
.form-group textarea { resize:vertical; min-height:115px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }

/* ── TESTIMONIALS ────────────────────────────────────────────────────── */
.testimonial-card {
  background:var(--surface); border-radius:var(--r-lg); padding:34px;
  box-shadow:var(--sh-sm); border:1px solid var(--border-lite); transition:var(--ease);
}
.testimonial-card:hover { box-shadow:var(--sh-md); }
.testimonial-card__stars { color:#f59e0b; font-size:.92rem; margin-bottom:14px; letter-spacing:2px; }
.testimonial-card__quote {
  font-size:.98rem; font-style:italic; color:var(--text-muted); margin-bottom:18px;
  line-height:1.74; padding-left:18px; border-left:3px solid var(--teal);
}
.testimonial-card__author { font-weight:600; color:var(--bg-dark); font-size:.91rem; }
.testimonial-card__role   { color:var(--text-faint); font-size:.8rem; }

/* ── SIDEBAR ─────────────────────────────────────────────────────────── */
.page-layout { display:grid; grid-template-columns:268px 1fr; gap:56px; align-items:start; }
.sidebar { position:sticky; top:96px; }
.sidebar__title {
  font-family:var(--font); font-size:1.02rem; font-weight:600; color:var(--bg-dark);
  margin-bottom:14px; padding-bottom:11px; border-bottom:2px solid var(--teal);
}
.sidebar__link { display:block; padding:9px 14px; font-size:.86rem; color:var(--text-body); border-radius:var(--r-xs); margin-bottom:2px; }
.sidebar__link:hover  { background:var(--teal-ghost); color:var(--teal-dark); }
.sidebar__link.active { background:var(--teal-soft); color:var(--teal); font-weight:600; }
.page-content h2 { font-size:1.72rem; margin-bottom:14px; margin-top:38px; font-weight:600; }
.page-content h2:first-child { margin-top:0; }
.page-content h3 { font-size:1.22rem; margin-bottom:11px; margin-top:30px; color:var(--teal-dark); font-weight:600; }
.page-content p  { margin-bottom:15px; color:var(--text-muted); }
.page-content ul { margin:14px 0 22px; }
.page-content ul li { padding:7px 0 7px 26px; position:relative; }
.page-content ul li::before { content:''; position:absolute; left:0; top:15px; width:7px; height:7px; background:var(--teal); border-radius:50%; }

/* ── TAGS ────────────────────────────────────────────────────────────── */
.tag { display:inline-block; padding:4px 11px; border-radius:var(--r-pill); font-size:.71rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
.tag--teal   { background:var(--teal-soft);   color:var(--teal-dark); }
.tag--purple { background:var(--purple-soft); color:var(--purple-dark); }
.tag--dark   { background:rgba(27,20,51,.07); color:var(--bg-dark); }

/* ── FOOTER ──────────────────────────────────────────────────────────── */
.footer { background:var(--bg-dark); color:var(--text-inv); padding:76px 0 28px; }
.footer__grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1.2fr;
  gap:56px; margin-bottom:56px;
}
.footer__tagline {
  font-size:.75rem; font-weight:500; letter-spacing:.04em;
  color:var(--text-inv); margin-bottom:14px;
}
.footer__address { font-size:.86rem; line-height:1.88; margin-top:18px; color:var(--text-inv); }
.footer h4 { font-family:var(--font); color:#fff; font-size:.93rem; margin-bottom:18px; font-weight:600; }
.footer__links a { display:block; padding:5px 0; font-size:.86rem; color:var(--text-inv); }
.footer__links a:hover { color:var(--teal-hover); }
.footer__contact-item { display:flex; gap:11px; align-items:center; margin-bottom:14px; }
.footer__contact-icon {
  width:38px; height:38px; min-width:38px;
  background:rgba(0,163,137,.12); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--teal-hover);
}
.footer__contact-icon svg { width:17px; height:17px; }
.footer__contact-label { font-size:.72rem; color:var(--text-faint); }
.footer__contact-value { font-size:.9rem; color:#fff; font-weight:500; }
.footer__social { display:flex; gap:10px; margin-top:22px; }
.footer__social a {
  width:38px; height:38px;
  background:rgba(255,255,255,.05); border:1px solid rgba(122,104,174,.22);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:var(--text-inv); transition:var(--ease);
}
.footer__social a svg { width:17px; height:17px; }
.footer__social a:hover { background:var(--teal); border-color:var(--teal); color:#fff; }
.footer__bottom {
  border-top:1px solid rgba(122,104,174,.2); padding-top:26px;
  display:flex; justify-content:space-between; align-items:center;
  font-size:.78rem; color:var(--text-faint);
}
.footer__bottom a { color:var(--text-inv); }
.footer__bottom a:hover { color:var(--teal-hover); }
.footer__cert-badge {
  display:inline-flex; background:rgba(0,163,137,.1); border:1px solid rgba(0,163,137,.2);
  border-radius:var(--r-xs); padding:9px 14px; font-size:.75rem; color:var(--teal-hover);
  align-items:center; gap:7px; margin-top:18px;
}
.footer__cert-badge svg { width:15px; height:15px; }

/* ── BRAND ACCENT LINE ───────────────────────────────────────────────── */
.brand-line {
  height:3px; border:none;
  background: linear-gradient(90deg, var(--purple) 0%, var(--teal) 100%);
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width:1024px) {
  .hero__inner         { grid-template-columns:1fr; gap:36px; }
  .hero h1             { font-size:2.5rem; }
  .hero__visual        { display:none; }
  .solution-cards      { grid-template-columns:repeat(2,1fr); }
  .feature-grid        { grid-template-columns:repeat(2,1fr); }
  .feature-grid--4col  { grid-template-columns:repeat(2,1fr); }
  .content-split       { grid-template-columns:1fr; gap:36px; }
  .content-split--reverse { direction:ltr; }
  .stats-row           { grid-template-columns:repeat(2,1fr); }
  .footer__grid        { grid-template-columns:repeat(2,1fr); gap:36px; }
  .page-layout         { grid-template-columns:1fr; }
  .sidebar             { position:static; display:none; }
  .page-hero h1        { font-size:2.1rem; }
}
@media (max-width:768px) {
  .topbar              { display:none; }
  .nav                 { display:none; }
  .nav.open {
    display:flex; flex-direction:column;
    position:absolute; top:100%; left:0; right:0;
    background:var(--surface); padding:18px;
    box-shadow:var(--sh-lg); border-top:1px solid var(--border-lite);
  }
  .nav.open .nav__dropdown-menu { position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; padding-left:14px; border:none; }
  .nav-toggle          { display:flex; }
  .hero                { padding:96px 0 76px; }
  .hero h1             { font-size:2.1rem; }
  .solution-cards      { grid-template-columns:1fr; margin-top:-36px; }
  .feature-grid        { grid-template-columns:1fr; }
  .feature-grid--4col  { grid-template-columns:1fr; }
  .section             { padding:66px 0; }
  .section-title       { font-size:1.82rem; }
  .stats-row           { grid-template-columns:1fr 1fr; gap:20px; }
  .footer__grid        { grid-template-columns:1fr; gap:28px; }
  .footer__bottom      { flex-direction:column; gap:14px; text-align:center; }
  .cta-section .cta-actions { flex-direction:column; align-items:center; }
  .form-row            { grid-template-columns:1fr; }
  .hero__actions       { flex-direction:column; }
  .page-hero h1        { font-size:1.72rem; }
  .page-hero           { padding:114px 0 46px; }
  .visual-block        { padding:38px 24px; min-height:260px; }
  .visual-block__stats { grid-template-columns:1fr 1fr; }
}

/* ── TRUST GRID (homepage credentials strip) ────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  background: var(--surface);
  border: 1px solid var(--border-lite);
  border-radius: var(--r-lg);
  padding: 30px 24px;
  text-align: center;
  transition: var(--ease);
}
.trust-item:hover { box-shadow: var(--sh-md); border-color: var(--teal-soft); transform: translateY(-3px); }
.trust-item__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--teal-ghost), var(--purple-ghost));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
}
.trust-item__icon svg { width: 28px; height: 28px; }
.trust-item__title { font-weight: 600; font-size: 1rem; color: var(--bg-dark); margin-bottom: 10px; line-height: 1.3; }
.trust-item__desc  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 1024px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .trust-grid { grid-template-columns: 1fr; } }

/* ── CONTACT PAGE BODY INFO BLOCK ───────────────────────────────────── */
.contact-body__icon {
  background: var(--teal-ghost);
  color: var(--teal);
  width: 46px; height: 46px; min-width: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-body__icon svg { width: 20px; height: 20px; }
.contact-info__label { font-size: .78rem; color: var(--text-faint); display: block; margin-bottom: 2px; }
.contact-info__value { font-size: 1.05rem; font-weight: 600; color: var(--bg-dark); display: block; }
.contact-info__value a { color: var(--bg-dark); }
.contact-info__value a:hover { color: var(--teal); }

/* ── NAV ACTIVE STATE — dropdown section active ─────────────────────── */
.nav__dropdown-toggle.active { color: var(--teal); font-weight: 600; }


/* ── GLOBAL CONSISTENCY FIXES ───────────────────────────────────────── */
/* Ensure ALL paragraph text on dark sections uses brand purple */
.section--dark p,
.section--dark .section-desc,
.section--dark li,
.section--dark .stat-item__label,
.cta-section p,
.cta-section li { color: var(--text-inv); }

/* Page hero body text */
.page-hero__subtitle,
.page-hero__breadcrumb { color: var(--text-inv); }

/* Hero section body text */
.hero__text { color: var(--text-inv); }
.hero__stat-label { color: var(--text-inv); }
.hero__badge { color: var(--teal-hover); }

/* Footer address and links */
.footer__address { color: var(--text-inv); }
.footer__links a { color: var(--text-inv); }
.footer__tagline { color: var(--text-inv); opacity: .65; }

/* Visual block text on dark bg */
.visual-block__text { color: #fff; }  /* headings stay white */
.visual-block__stat-label { color: var(--text-inv); }

/* Topbar links */
.topbar__contact a,
.topbar__right a { color: var(--text-inv); }

/* Section heading on dark — stays white for contrast */
.section--dark h2,
.section--dark h3,
.section--dark h4,
.cta-section h2,
.page-hero h1,
.hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
}

/* Testimonial on dark (if ever placed on dark bg) */
.section--dark .testimonial-card__quote { color: var(--text-inv); }

/* ── SPACING CONSISTENCY ─────────────────────────────────────────────── */
/* Standard section padding — enforce */
.section { padding: 108px 0; }
.section--compact { padding: 64px 0; }

/* Consistent h2 bottom margin in sections */
.section .section-title { margin-bottom: 20px; }

/* Remove double-spacing from mb-64 + text-center combos */
.text-center.mb-64 { margin-bottom: 56px; }
.text-center.mb-48 { margin-bottom: 44px; }

/* ── FONT CONSISTENCY ────────────────────────────────────────────────── */
/* Ensure all inputs/buttons/selects use Poppins */
input, textarea, select, button {
  font-family: var(--font);
}
/* Body line-height consistency */
p { margin-bottom: 0; }  /* Remove default browser margin, use container spacing */
.section-desc + .feature-list { margin-top: 28px; }

/* ── CARD HOVER CONSISTENCY ─────────────────────────────────────────── */
/* All interactive cards get same hover transform */
.solution-card:hover,
.card:hover,
.trust-item:hover { transform: translateY(-4px); }

/* ── MOBILE NAV CONSISTENCY ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav.open .nav__link { padding: 11px 14px; border-radius: var(--r-xs); }
  .nav.open .nav__cta  { margin: 8px 0 0; text-align: center; justify-content: center; }
  .nav.open .nav__login { margin: 8px 0 0; justify-content: center; width: 100%; }
  .hero__badge          { font-size: .77rem; }
  .section-label        { font-size: .72rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   ENHANCED HOMEPAGE COMPONENTS
   Adapted from epowerdoc-index-enhanced.html with brand colors:
   teal=#00a389 | purple=#7a68ae | dark bg=#1b1433
   ═══════════════════════════════════════════════════════════════════════ */

/* ── HERO BG GRID ────────────────────────────────────────────────────── */
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
@keyframes badgeFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-6px); } }

.hero__bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, black 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, black 35%, transparent 100%);
  pointer-events: none;
}
.hero__glow-1 {
  position: absolute; top: -20%; right: -10%;
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(0,163,137,.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero__glow-2 {
  position: absolute; bottom: -30%; left: -15%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(122,104,174,.11) 0%, transparent 65%);
  pointer-events: none;
}

/* ── HERO TRUST BAR ──────────────────────────────────────────────────── */
.hero__trust {
  display: flex; align-items: center; gap: 18px;
  font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.4);
}
.hero__trust-badge {
  display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.5);
}
.hero__trust-badge svg { width: 13px; height: 13px; color: var(--teal-hover); flex-shrink: 0; }
.hero__trust-sep { width: 1px; height: 14px; background: rgba(255,255,255,.1); }

/* ── HERO DASHBOARD (ED Tracking Board) ─────────────────────────────── */
.hero__visual { animation: fadeIn 1s ease .5s both; position: relative; }
.hero__dashboard {
  background: linear-gradient(145deg, var(--bg-dark2) 0%, var(--bg-dark3) 100%);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px; padding: 26px;
  box-shadow: 0 32px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04) inset;
  position: relative; overflow: hidden;
}
.hero__dashboard::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--teal-hover), transparent);
}
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dash-title { font-family: var(--font); font-weight: 600; font-size: .78rem; color: rgba(255,255,255,.6); letter-spacing: .05em; text-transform: uppercase; }
.dash-status { display: flex; align-items: center; gap: 6px; background: rgba(0,163,137,.15); border: 1px solid rgba(0,163,137,.25); border-radius: 100px; padding: 4px 10px; font-size: .7rem; color: var(--teal-hover); font-weight: 600; }
.dash-status-dot { width: 6px; height: 6px; background: var(--teal-hover); border-radius: 50%; animation: pulse 1.8s infinite; }

.patient-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.patient-row {
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 11px 13px; transition: var(--ease);
}
.patient-row:hover { background: rgba(255,255,255,.07); border-color: rgba(0,163,137,.2); }
.patient-avatar {
  width: 30px; height: 30px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .66rem; font-weight: 700; flex-shrink: 0;
}
.pa-teal   { background: rgba(0,163,137,.2);  color: var(--teal-hover); }
.pa-amber  { background: rgba(251,191,36,.18); color: #fcd34d; }
.pa-purple { background: rgba(122,104,174,.2); color: var(--purple-mid); }
.patient-name { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.88); line-height: 1; margin-bottom: 2px; }
.patient-cc   { font-size: .68rem; color: rgba(255,255,255,.38); }
.patient-time { font-size: .68rem; color: rgba(255,255,255,.38); white-space: nowrap; }
.patient-status { font-size: .65rem; font-weight: 600; padding: 3px 8px; border-radius: 100px; white-space: nowrap; }
.status-charting { background: rgba(0,163,137,.15);  color: var(--teal-hover);  border: 1px solid rgba(0,163,137,.2); }
.status-triage   { background: rgba(251,191,36,.12);  color: #fcd34d;            border: 1px solid rgba(251,191,36,.2); }
.status-discharge{ background: rgba(34,197,94,.12);   color: #86efac;            border: 1px solid rgba(34,197,94,.15); }

.dash-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.dash-stat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 9px; padding: 11px 12px; }
.dash-stat__number { font-family: var(--font); font-size: 1.35rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 3px; }
.dash-stat__number.accent { color: var(--teal-hover); }
.dash-stat__label  { font-size: .62rem; color: rgba(255,255,255,.38); }

/* ── FLOATING HERO BADGES ────────────────────────────────────────────── */
.hero__float-badge {
  position: absolute;
  background: #fff; border-radius: 12px;
  padding: 10px 14px; box-shadow: 0 8px 32px rgba(0,0,0,.28);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.hero__float-badge--1 { bottom: -18px; left: -22px; animation: fadeUp .7s ease .9s both; }
.hero__float-badge--2 { top: -16px;   right: -22px; animation: fadeUp .7s ease 1.1s both; }
.float-badge-icon { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.fbi-teal   { background: rgba(0,163,137,.15); color: var(--teal); }
.fbi-purple { background: rgba(122,104,174,.15); color: var(--purple); }
.float-badge-icon svg { width: 13px; height: 13px; }
.float-badge-title { font-size: .78rem; font-weight: 700; color: var(--bg-dark); line-height: 1; }
.float-badge-sub   { font-size: .68rem; color: var(--text-faint); margin-top: 1px; }

/* ── SOLUTION CARDS STRIP ────────────────────────────────────────────── */
.solutions-strip { padding: 0; transform: translateY(-1px); position: relative; z-index: 10; }

.sc-card {
  display: flex; flex-direction: column;
  padding: 30px 26px;
  border-right: 1px solid var(--border-lite);
  transition: var(--ease); position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
}
.sc-card:last-child { border-right: none; }
.sc-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,163,137,.04), transparent);
  opacity: 0; transition: var(--ease);
}
.sc-card:hover { background: var(--surface-alt); }
.sc-card:hover::before { opacity: 1; }
.sc-card:hover .sc-card__arrow { transform: translate(4px,-4px); color: var(--teal); }
.sc-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,163,137,.1); border: 1px solid rgba(0,163,137,.18);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  color: var(--teal);
}
.sc-card__icon svg { width: 18px; height: 18px; }
.sc-card__tag   { font-size: .7rem; color: var(--teal-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.sc-card__title { font-size: .93rem; font-weight: 600; color: var(--bg-dark); line-height: 1.3; margin-bottom: auto; }
.sc-card__arrow { margin-top: 18px; color: var(--text-faint); transition: var(--ease); width: 18px; }
.sc-card__arrow svg { width: 18px; height: 18px; }

/* ── ABOUT SECTION ───────────────────────────────────────────────────── */
.about-header { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.about-header .section-desc { margin-left: auto; margin-right: auto; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

/* Enhanced feature list (card-style, used in About & Compliance) */
.enh-feature-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.enh-feature-list__item {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border-lite);
  border-radius: var(--r-md); transition: var(--ease);
}
.enh-feature-list__item:hover { border-color: rgba(0,163,137,.3); transform: translateX(4px); }
.enh-feature-list__check {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; margin-top: 1px;
  background: rgba(0,163,137,.1); border: 1px solid rgba(0,163,137,.2);
  display: flex; align-items: center; justify-content: center; color: var(--teal);
}
.enh-feature-list__check svg { width: 11px; height: 11px; }
.enh-feature-list__text { font-size: .9rem; line-height: 1.6; color: var(--text-muted); }
.enh-feature-list__text strong { color: var(--bg-dark); font-weight: 600; display: block; margin-bottom: 1px; }

/* About visual panel */
.about-visual { position: relative; }
.av-main {
  background: linear-gradient(148deg, var(--bg-dark) 0%, var(--bg-dark2) 100%);
  border-radius: var(--r-xl); padding: 34px; position: relative; overflow: hidden;
}
.av-main::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-hover), var(--purple));
}
.av-headline { font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.av-metric { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.av-metric__num { font-family: var(--font); font-size: 3rem; font-weight: 700; color: #fff; letter-spacing: -.04em; line-height: 1; flex-shrink: 0; }
.av-metric__unit { font-size: 1rem; color: var(--teal-hover); font-weight: 600; line-height: 1; margin-bottom: 4px; }
.av-metric__label { font-size: .82rem; color: #c8bfe0; line-height: 1.4; }
.av-divider { height: 1px; background: rgba(255,255,255,.07); margin: 18px 0; }
.av-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.av-tag { font-size: .74rem; font-weight: 500; padding: 5px 11px; background: rgba(0,163,137,.1); border: 1px solid rgba(0,163,137,.2); border-radius: 100px; color: var(--teal-hover); }
.av-floating {
  position: absolute; bottom: -16px; right: -14px;
  background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 8px 30px rgba(27,20,51,.2), 0 0 0 1px rgba(27,20,51,.05);
  display: flex; align-items: center; gap: 11px;
}
.av-floating-icon { width: 34px; height: 34px; background: rgba(0,163,137,.1); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--teal); }
.av-floating-icon svg { width: 17px; height: 17px; }
.av-floating-text { font-size: .78rem; font-weight: 700; color: var(--bg-dark); line-height: 1.2; }
.av-floating-sub  { font-size: .68rem; color: var(--text-faint); }

/* ── STATS SECTION (progress bars) ──────────────────────────────────── */
.stats-section { padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.stat-card {
  padding: 38px 30px; position: relative;
  border-right: 1px solid rgba(255,255,255,.06);
}
.stat-card:last-child { border-right: none; }
.stat-card__num { font-family: var(--font); font-size: 2.7rem; font-weight: 700; color: #fff; letter-spacing: -.04em; line-height: 1; margin-bottom: 7px; }
.stat-card__num.stat-accent { color: var(--teal-hover); }
.stat-accent { color: var(--teal-hover); }
.stat-card__label { font-size: .86rem; color: var(--text-inv); font-weight: 400; }
.stat-card__bar { position: absolute; bottom: 0; left: 30px; right: 30px; height: 2px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; }
.stat-card__fill { height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-hover)); border-radius: 2px; transition: width 1.5s cubic-bezier(.16,1,.3,1); width: 0; }

/* ── ENHANCED FEATURE CARDS ──────────────────────────────────────────── */
.enh-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.enh-feature-card {
  background: var(--surface); border: 1px solid var(--border-lite);
  border-radius: var(--r-lg); padding: 28px 26px;
  transition: var(--ease); position: relative; overflow: hidden; cursor: pointer;
}
.enh-feature-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.enh-feature-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); border-color: transparent; }
.enh-feature-card:hover::after { transform: scaleX(1); }
.enh-fc-icon { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--surface-alt); transition: var(--ease); color: var(--teal); }
.enh-feature-card:hover .enh-fc-icon { background: rgba(0,163,137,.1); }
.enh-fc-icon svg { width: 21px; height: 21px; }
.enh-feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 9px; color: var(--bg-dark); }
.enh-feature-card p  { font-size: .875rem; line-height: 1.72; color: var(--text-muted); margin-bottom: 18px; }
.enh-fc-link { font-size: .8rem; font-weight: 600; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 5px; transition: var(--ease); }
.enh-fc-link svg { width: 13px; height: 13px; transition: transform var(--ease); }
.enh-feature-card:hover .enh-fc-link { color: var(--teal); }
.enh-feature-card:hover .enh-fc-link svg { transform: translateX(3px); }

/* ── COMPLIANCE CERT GRID ────────────────────────────────────────────── */
.compliance-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.compliance-visual {
  background: linear-gradient(148deg, var(--bg-dark) 0%, var(--bg-dark2) 100%);
  border-radius: var(--r-xl); padding: 36px; position: relative; overflow: hidden;
}
.compliance-visual::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--purple));
}
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cert-item {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px; padding: 16px 14px;
  display: flex; flex-direction: column; gap: 9px; transition: var(--ease);
}
.cert-item:hover { background: rgba(255,255,255,.07); border-color: rgba(0,163,137,.22); }
.cert-item--full { grid-column: 1/-1; flex-direction: row; align-items: center; gap: 14px; }
.cert-icon { width: 30px; height: 30px; background: rgba(0,163,137,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--teal-hover); }
.cert-icon svg { width: 15px; height: 15px; }
.cert-title { font-family: var(--font); font-size: .8rem; font-weight: 700; color: #fff; line-height: 1.3; }
.cert-desc  { font-size: .7rem; color: rgba(255,255,255,.38); line-height: 1.4; }

/* ── TESTIMONIAL CARDS ───────────────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi-card {
  background: var(--surface); border: 1px solid var(--border-lite);
  border-radius: var(--r-lg); padding: 30px 26px;
  transition: var(--ease); display: flex; flex-direction: column;
}
.testi-card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.testi-quote {
  font-size: .92rem; line-height: 1.75; color: var(--text-muted); margin-bottom: auto;
  font-style: italic; position: relative; padding-top: 32px;
}
.testi-quote::before {
  content: '\201C'; font-size: 2.8rem; line-height: .2; display: block;
  position: absolute; top: 0; left: 0; color: var(--teal); font-style: normal;
  font-family: Georgia, serif;
}
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-lite); }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(0,163,137,.1); border: 1px solid rgba(0,163,137,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 700; font-size: .85rem; color: var(--teal-dark);
}
.testi-name { font-family: var(--font); font-weight: 700; font-size: .88rem; color: var(--bg-dark); }
.testi-role { font-size: .74rem; color: var(--text-faint); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .compliance-inner { grid-template-columns: 1fr; gap: 40px; }
  .enh-feature-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .testi-grid { grid-template-columns: repeat(2,1fr); }
  .av-floating { display: none; }
}
@media (max-width: 768px) {
  .hero__visual { display: none; }
  .hero__trust { display: none; }
  
  .sc-card { border-right: none; border-bottom: 1px solid var(--border-lite); }
  .sc-card:last-child { border-bottom: none; }
  .about-inner { gap: 36px; }
  .enh-feature-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding: 28px 24px; }
  .testi-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .cert-item--full { flex-direction: column; }
  .compliance-inner { gap: 36px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   SOLUTION CARDS — FLOATING CARD DESIGN (v8 update)
   Cards overlap hero section, individual white cards with shadow
   ═══════════════════════════════════════════════════════════════════════ */

/* Wrapper: sits right after hero, cards float up into hero space */
.sol-cards-wrap {
  background: var(--surface-alt);
  padding: 0 0 48px;
  position: relative; z-index: 10;
}
.sol-cards-wrap .container {
  padding-top: 0;
}
.sol-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -72px; /* overlaps hero bottom */
}

/* Individual floating card */
.sol-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px 28px 30px;
  box-shadow: 0 8px 32px rgba(27,20,51,.1), 0 2px 8px rgba(27,20,51,.06);
  display: flex; flex-direction: column; align-items: flex-start;
  text-decoration: none; color: inherit;
  transition: var(--ease);
  border: 1px solid var(--border-lite);
  position: relative; overflow: hidden;
}
.sol-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.sol-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(27,20,51,.14); border-color: transparent; }
.sol-card:hover::after { transform: scaleX(1); }

/* Icon box — larger, light teal background */
.sol-card__icon {
  width: 72px; height: 72px;
  background: rgba(0,163,137,.1);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--teal);
  transition: var(--ease);
}
.sol-card:hover .sol-card__icon { background: rgba(0,163,137,.16); }
.sol-card__icon svg { width: 32px; height: 32px; }

/* Label */
.sol-card__tag {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}

/* Title */
.sol-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bg-dark);
  line-height: 1.35;
}

/* ── HERO FIXES — alignment + lead text color ─────────────────────── */

/* Responsive h1 sizing — prevents overflow on smaller screens */
.hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
}

/* hero__lead = subheading paragraph in hero */
.hero__lead {
  color: rgba(200, 191, 224, 0.75);  /* #c8bfe0 at 75% opacity — properly muted */
  font-size: 1.05rem; line-height: 1.78;
  margin-bottom: 38px; max-width: 500px;
  font-weight: 400;
}

/* Ensure hero inner is properly centered and contained */
.hero__content {
  display: flex; flex-direction: column; align-items: flex-start;
}

/* Hero badge precise sizing */
.hero__badge {
  font-size: .78rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 26px;
}

/* Trust bar spacing */

/* ── DASHBOARD — match enhanced file proportions ─────────────────── */
.hero__dashboard {
  padding: 24px 24px 22px;
}
.dash-header { margin-bottom: 18px; }
.patient-list { margin-bottom: 18px; }
.patient-row  { padding: 10px 12px; }
.dash-stats   { gap: 9px; }
.dash-stat    { padding: 10px 11px; }
.dash-stat__number { font-size: 1.3rem; }
.dash-stat__label  { font-size: .6rem; }

/* ── RESPONSIVE UPDATES ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .solution-cards { grid-template-columns: repeat(2,1fr); }
  .solution-card:nth-child(2) { border-right: none; }
}
@media (max-width: 1024px) {
  .sol-cards-grid { grid-template-columns: repeat(2,1fr); margin-top: -56px; }
}
@media (max-width: 768px) {
  .sol-cards-grid { grid-template-columns: 1fr 1fr; margin-top: -40px; gap: 14px; }
  .sol-card { padding: 24px 20px; }
  .sol-card__icon { width: 56px; height: 56px; }
  .sol-card__icon svg { width: 26px; height: 26px; }
  .sol-card__title { font-size: .95rem; }
  .hero__lead { font-size: .98rem; }
}
@media (max-width: 480px) {
  .sol-cards-grid { grid-template-columns: 1fr; margin-top: -32px; }
}

/* ── DARK BG TEXT — consistent #c8bfe0 throughout ───────────────────── */
/* Hero */
.hero__lead    { color: #c8bfe0; }
.hero__trust   { color: #c8bfe0; }
.hero__trust-badge { color: #c8bfe0; }
.hero__stat-label  { color: #c8bfe0; }

/* Dashboard on hero */
.dash-stat__label  { color: #c8bfe0; }
.patient-cc        { color: #c8bfe0; }
.patient-time      { color: #c8bfe0; }
.dash-title        { color: #c8bfe0; }

/* Stats section */
.stat-card__label  { color: #c8bfe0; }

/* About visual panel */
.av-headline       { color: #c8bfe0; }
.av-metric__label  { color: #c8bfe0; }

/* Compliance cert grid */
.cert-desc         { color: #c8bfe0; }

/* Visual blocks (other pages) */
.visual-block__stat-label { color: #c8bfe0; }

/* Page hero */
.page-hero__subtitle  { color: #c8bfe0; }
.page-hero__breadcrumb { color: #c8bfe0; }

/* CTA */
.cta-section p { color: #c8bfe0; }

/* Section dark overrides */
.section--dark p,
.section--dark .section-desc,
.section--dark li,
.section--dark .stat-item__label { color: #c8bfe0; }

/* Topbar & footer */
.topbar__contact a,
.topbar__right a   { color: #c8bfe0; }
.footer__address   { color: #c8bfe0; }
.footer__links a   { color: #c8bfe0; }

/* ── GHOST BUTTON (CTA secondary on dark bg) ────────────────────────── */
.btn--ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.85);
  padding: 13px 28px; border-radius: var(--r-pill);
  font-weight: 500; font-size: .93rem; font-family: var(--font);
  transition: var(--ease); border: 1.5px solid rgba(255,255,255,.15);
  cursor: pointer; white-space: nowrap;
}
.btn--ghost:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.32); }
.btn--ghost svg   { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════════════════════════════
   PHASE 2 PAGE COMPONENTS
   ═══════════════════════════════════════════════════════════════════════ */

/* ── TEAM GRID (admin-team.html) ────────────────────────────────────── */
.team-grid { display: flex; flex-direction: column; gap: 40px; max-width: 900px; margin: 0 auto; }
.team-card {
  display: grid; grid-template-columns: 100px 1fr; gap: 32px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border-lite);
  border-radius: var(--r-lg); padding: 36px; transition: var(--ease);
}
.team-card:hover { box-shadow: var(--sh-md); border-color: var(--teal-soft); }
.team-card__avatar {
  width: 80px; height: 80px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--teal-ghost), var(--purple-ghost));
  border: 2px solid var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  color: var(--teal-dark); flex-shrink: 0;
}
.team-card__name { font-size: 1.3rem; font-weight: 600; color: var(--bg-dark); margin-bottom: 4px; }
.team-card__role { font-size: .85rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.team-card__bio  { font-size: .93rem; color: var(--text-muted); line-height: 1.72; margin-bottom: 12px; }
@media (max-width: 768px) {
  .team-card { grid-template-columns: 1fr; gap: 20px; }
  .team-card__avatar { width: 60px; height: 60px; font-size: .9rem; }
}

/* ── PARTNERS GRID (partners.html) ─────────────────────────────────── */
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-card {
  background: var(--surface); border: 1px solid var(--border-lite);
  border-radius: var(--r-lg); padding: 30px 26px;
  text-align: center; text-decoration: none; color: inherit;
  transition: var(--ease); display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.partner-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); border-color: var(--teal-soft); }
.partner-card__icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--teal-ghost), var(--purple-ghost));
  display: flex; align-items: center; justify-content: center; color: var(--teal);
}
.partner-card__icon svg { width: 28px; height: 28px; }
.partner-card__name { font-size: 1rem; font-weight: 600; color: var(--bg-dark); }
.partner-card__desc { font-size: .84rem; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 1024px) { .partners-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px)  { .partners-grid { grid-template-columns: 1fr; } }

/* ── FAQ ACCORDION (faq.html) ───────────────────────────────────────── */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border-lite);
  border-radius: var(--r-md); overflow: hidden; transition: var(--ease);
}
.faq-item:hover { border-color: var(--teal-soft); }
.faq-item.open  { border-color: var(--teal-soft); box-shadow: var(--sh-sm); }
.faq-item__q {
  width: 100%; display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; padding: 20px 24px; text-align: left;
  background: none; border: none; cursor: pointer; font-family: var(--font);
  font-size: .95rem; font-weight: 600; color: var(--bg-dark); line-height: 1.5;
  transition: var(--ease);
}
.faq-item__q:hover { color: var(--teal); }
.faq-item__q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--teal); transition: transform var(--ease); margin-top: 2px; }
.faq-item.open .faq-item__q svg { transform: rotate(180deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s ease; }
.faq-item.open .faq-item__a { max-height: 600px; }
.faq-item__a p { padding: 0 24px 20px; font-size: .92rem; color: var(--text-muted); line-height: 1.75; }

/* ── NEWS GRID (news.html) ──────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.news-card {
  background: var(--surface); border: 1px solid var(--border-lite);
  border-radius: var(--r-lg); padding: 28px 26px;
  transition: var(--ease); display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.news-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.news-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); border-color: transparent; }
.news-card:hover::after { transform: scaleX(1); }
.news-card__date  { font-size: .75rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.news-card__title { font-size: 1rem; font-weight: 600; color: var(--bg-dark); line-height: 1.4; margin-bottom: 12px; }
.news-card__title a { color: inherit; text-decoration: none; }
.news-card__title a:hover { color: var(--teal); }
.news-card__blurb { font-size: .875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; flex-grow: 1; }
.news-card__link  { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 600; color: var(--teal-dark); text-decoration: none; transition: var(--ease); }
.news-card__link:hover { color: var(--teal); }
.news-card__link svg { width: 14px; height: 14px; transition: transform var(--ease); }
.news-card:hover .news-card__link svg { transform: translateX(3px); }
@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px)  { .news-grid { grid-template-columns: 1fr; } }

/* ── btn--white (for use on dark/teal section backgrounds) ── */
.btn--white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--teal-dark);
  padding: 13px 28px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .93rem; font-family: var(--font);
  transition: var(--ease); border: 2px solid #fff;
  cursor: pointer; white-space: nowrap;
}
.btn--white:hover { background: transparent; color: #fff; }
.btn--white svg  { width: 16px; height: 16px; }

/* ── DIFFERENCE PAGE PILLAR GRID ─────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.diff-pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: var(--ease);
}
.diff-pillar:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.diff-pillar { box-shadow: 0 2px 12px rgba(27,20,51,.06); }
.diff-pillar__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.diff-pillar__icon svg { width: 24px; height: 24px; }
.diff-pillar__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--bg-dark);
  line-height: 1.3;
}
.diff-items { display: flex; flex-direction: column; gap: 12px; }
.diff-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.diff-check {
  width: 22px; height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
}
.diff-check svg { width: 10px; height: 10px; }
.diff-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.diff-text strong {
  color: var(--bg-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 1px;
}
@media (max-width: 768px) {
  .diff-grid { grid-template-columns: 1fr; }
}

/* ── PARTNER CARD LOGO IMAGE ─────────────────────────────────── */
.partner-card__logo {
  width: 100%; height: 80px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  padding: 0 8px;
}
.partner-card__logo img {
  max-width: 100%; max-height: 64px;
  object-fit: contain; object-position: center;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.25s ease;
}
.partner-card:hover .partner-card__logo img { filter: grayscale(0%); }

/* ── TEAM CARD PHOTO ──────────────────────────────────────────── */
.team-card__photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--teal-soft);
  flex-shrink: 0;
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
