/* Baliston Health — shared site-wide styles.
   Rules here are byte-for-byte identical across 2+ pages and have no conflicting overrides.
   Page-specific rules (and any rule whose selector takes different values on different pages)
   remain inline in each page so the cascade is preserved. */

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body { max-width: 100%; overflow-x: hidden; }

/* === Navigation === */
.nav-bar { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 200; width: calc(100% - 28px); max-width: 1240px; background: rgba(255,255,255,0.62); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1px solid rgba(255,255,255,0.55); border-radius: 999px; box-shadow: 0 10px 40px rgba(13,30,80,0.08), inset 0 1px 0 rgba(255,255,255,0.5); transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.nav-bar.nav-hidden { transform: translate(-50%, calc(-100% - 22px)); opacity: 0; }
.nav { display: flex; justify-content: space-between; align-items: center; height: 60px; padding: 0 28px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-links { display: flex; align-items: center; align-self: stretch; gap: 32px; list-style: none; }
.nav-links a { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--navy); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--lilac-deep); }
.nav-links a.nav-active { color: var(--navy); font-weight: 700; }
.nav-links a.nav-active::after { content: ''; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); width: 4px; height: 4px; background: var(--lilac); border-radius: 50%; }
.nav-sol { position: relative; display: flex; align-items: center; align-self: stretch; }
.nav-sol > a { display: flex; align-items: center; }
.nav-sol:hover .nav-drop, .nav-sol:focus-within .nav-drop { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav-drop { display: block; position: absolute; top: 100%; right: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border: 1px solid var(--border); border-radius: 14px; padding: 8px 0; min-width: 240px; box-shadow: 0 14px 42px rgba(13,30,80,.14); z-index: 300; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, visibility .18s ease, transform .18s ease; }
.nav-drop a { display: block; padding: 11px 20px; font-size: 11px; color: var(--navy); text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .7px; border-bottom: 1px solid #f0f4fb; }
.nav-drop a:last-child { border-bottom: none; }
.nav-drop a:hover { color: var(--blue-1); background: #f5f9ff; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-login:hover { background: var(--blue-2); }
.nav-drop a.nav-drop-active { color: var(--blue-1); background: #f5f9ff; }

/* === Language switch === */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 0 2px; font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.lang-switch-btn { background: none; border: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: rgba(13,30,80,.42); cursor: pointer; padding: 6px 6px; transition: color .2s; line-height: 1; }
.lang-switch-btn:hover { color: var(--navy); }
.lang-switch-btn.is-active { color: var(--navy); cursor: default; }
.lang-switch-sep { color: rgba(13,30,80,.22); user-select: none; }

/* === Mobile burger menu === */
.nav-burger { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav-burger-line { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s; transform-origin: center; }
.nav-bar.is-open .nav-burger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-bar.is-open .nav-burger-line:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.nav-bar.is-open .nav-burger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.nav-open { overflow: hidden; }

@media (max-width: 1100px) {
  .nav { padding: 0 18px; }
  .nav-links { gap: clamp(14px, 2vw, 24px); }
  .nav-links a { font-size: 11px; letter-spacing: .5px; }
  .nav-right { gap: 12px; }
  .nav-login { padding: 9px 18px; font-size: 12px; }
}

@media (max-width: 760px) {
  .nav-bar { top: 10px; width: calc(100% - 20px); }
  .nav { height: 56px; padding: 0 16px; }
  .nav-logo img { max-width: 150px; height: auto; }
  .nav-links { display: none; }
  .nav-right { margin-left: auto; gap: 8px; }
  .nav-login { padding: 9px 14px; font-size: 12px; }
  .nav-burger { display: flex; }

  .nav-bar.is-open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .nav-bar.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: -1px;
    padding: 18px 22px 22px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,.55);
    border-top: none;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: 0 16px 44px rgba(13,30,80,.12);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav-bar.is-open .nav-links > * + * { border-top: 1px solid rgba(13,30,80,.07); }
  .nav-bar.is-open .nav-links a { display: block; padding: 14px 4px; font-size: 13px; }
  .nav-bar.is-open .nav-links a.nav-active::after { display: none; }
  .nav-bar.is-open .nav-sol { display: block; padding: 14px 4px 0; }
  .nav-bar.is-open .nav-sol > a { padding: 0 0 8px; }
  .nav-bar.is-open .nav-drop {
    display: block;
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 8px 14px;
    min-width: 0;
    margin: 0;
  }
  .nav-bar.is-open .nav-drop a { padding: 9px 0; font-size: 12px; border-bottom: none; background: transparent; }
  .nav-bar.is-open .nav-drop a:hover { background: transparent; color: var(--lilac-deep); }
}

@media (max-width: 420px) {
  .nav-logo img { max-width: 138px; }
  .nav-login { padding: 8px 12px; }
}

/* === Animations === */
@keyframes balRevealUp {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.reveal-on-scroll { opacity: 0; transform: translate3d(0, 26px, 0); }
.reveal-on-scroll.is-visible { animation: balRevealUp .78s cubic-bezier(.22,1,.36,1) both; animation-delay: var(--reveal-delay, 0ms); }
@keyframes pcaseOrbPulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }

/* === Hero (generic) === */
.hero-dot-grid { position: absolute; inset: 0; z-index: 0; opacity: .035; background-image: radial-gradient(circle, rgba(255,255,255,.9) 1px, transparent 1px); background-size: 44px 44px; }
.hero-content { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; width: 100%; padding: 120px var(--pad) 96px; }
.hero-eyebrow-dot { width: 6px; height: 6px; background: var(--lilac); border-radius: 50%; }

/* === Solution pages — hero & solution cards === */
.ps-hero { position: relative; background: linear-gradient(180deg, #060e24 0%, #0D1E50 100%); padding: 132px 0 84px; color: #fff; overflow: hidden; }
.ps-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 75% 30%, rgba(139,126,200,.18) 0%, transparent 70%), radial-gradient(ellipse 50% 50% at 15% 80%, rgba(26,79,216,.14) 0%, transparent 70%); pointer-events: none; }
.ps-hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; }
.ps-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .78fr); gap: 56px; align-items: center; }
.ps-hero-copy { min-width: 0; }
.ps-hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--lilac); margin-bottom: 22px; }
.ps-hero-h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 200; line-height: 1.05; letter-spacing: -1.4px; color: #fff; max-width: 920px; margin-bottom: 28px; }
.ps-hero-h1 em { font-style: italic; font-weight: 300; color: var(--lilac); }
.ps-hero-sub { font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; color: rgba(255,255,255,.82); line-height: 1.7; max-width: 780px; margin-bottom: 38px; }
.ps-hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 56px; }
.ps-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 12px; font-size: 14px; font-weight: 600; text-decoration: none; transition: transform .15s, background .2s; cursor: pointer; border: none; font-family: inherit; }
.ps-btn--primary { background: #fff; color: var(--navy); }
.ps-btn--primary:hover { transform: translateY(-1px); }
.ps-btn--secondary { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.ps-btn--secondary:hover { background: rgba(255,255,255,.14); }
.ps-btn-arrow { font-size: 16px; opacity: .85; }
.ps-trust-strip { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.ps-trust-item { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.78); letter-spacing: .2px; }
.ps-trust-item em { color: rgba(255,255,255,.55); font-style: italic; font-weight: 400; }
.ps-trust-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.3); }
.ps-hero-visual { position: relative; min-height: 460px; border-radius: 28px; overflow: hidden; box-shadow: 0 32px 90px rgba(0,0,0,.34); border: 1px solid rgba(255,255,255,.14); background: #071331; }
.ps-hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,14,36,.04) 0%, rgba(6,14,36,.34) 100%); pointer-events: none; }
.ps-hero-glass { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ps-hero-metric { color: rgba(255,255,255,.78); font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; line-height: 1.35; }
.ps-hero-metric strong { display: block; color: #fff; font-size: 24px; font-weight: 300; letter-spacing: -.4px; text-transform: none; margin-bottom: 3px; }
.solutions-sec { background: #fff; padding: 112px 0; }
.solutions-inner { max-width: 1560px; margin: 0 auto; padding: 0 clamp(24px, 3vw, 48px); }
.solutions-eyebrow { font-size: 22px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--lilac); margin-bottom: 14px; }
.solutions-h2 { font-size: 44px; font-weight: 200; letter-spacing: -.5px; color: var(--navy); line-height: 1.15; margin-bottom: 22px; max-width: 920px; }
.solutions-h2 em { font-style: italic; font-weight: 300; }
.solutions-lede { font-size: 18px; font-weight: 300; color: var(--muted); line-height: 1.8; max-width: 880px; margin-bottom: 56px; }
.solutions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.solution-card { --solution-image: none; position: relative; min-height: 520px; background: linear-gradient(180deg, rgba(13,30,80,.78), rgba(6,14,36,.94)); border: 1px solid rgba(216,228,242,.82); border-radius: 28px; padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s; text-decoration: none; overflow: hidden; box-shadow: 0 24px 70px rgba(13,30,80,.12); isolation: isolate; }
.solution-card::before { content: ''; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 24% 12%, rgba(139,126,200,.28), transparent 44%), linear-gradient(180deg, rgba(13,30,80,.18) 0%, rgba(13,30,80,.32) 38%, rgba(6,14,36,.72) 100%), var(--solution-image), linear-gradient(135deg, #0D1E50, #060e24); background-size: cover; background-position: center; pointer-events: none; transform: scale(1.01); transition: transform .56s cubic-bezier(.2,.8,.2,1), opacity .32s ease, filter .32s ease; }
.solution-card::after { content: ''; position: absolute; inset: 26px 22px 24px; z-index: 1; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(13,30,80,.44) 38%, rgba(6,14,36,.78) 100%); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 48px rgba(0,0,0,.22); backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%); opacity: .82; transition: opacity .28s ease, background .28s ease, transform .28s ease; }
.solution-card:hover { transform: translateY(-6px); box-shadow: 0 34px 86px rgba(13,30,80,.22); border-color: rgba(196,181,253,.68); }
.solution-card:hover::before { transform: scale(1.08); opacity: 1; filter: saturate(1.08); }
.solution-card:hover::after { opacity: .94; transform: scale(.985); background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(13,30,80,.48) 38%, rgba(6,14,36,.84) 100%); }
.solution-icon { position: relative; z-index: 2; width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.solution-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.solution-num { position: relative; z-index: 2; font-size: 12px; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; color: rgba(209,199,255,.96); text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.solution-name { position: relative; z-index: 2; font-size: clamp(28px, 1.8vw, 34px); font-weight: 400; color: #fff; letter-spacing: -.5px; line-height: 1.12; font-style: italic; text-shadow: 0 3px 18px rgba(0,0,0,.28); }
.solution-frame { position: relative; z-index: 2; font-size: 16px; font-weight: 700; color: rgba(255,255,255,.94); line-height: 1.55; text-shadow: 0 2px 14px rgba(0,0,0,.25); }
.solution-desc { position: relative; z-index: 2; font-size: 16px; font-weight: 300; color: rgba(255,255,255,.82); line-height: 1.72; flex: 1; text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.solution-anchor { position: relative; z-index: 2; font-size: 15px; font-weight: 800; color: #fff; text-decoration: none; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); display: inline-flex; align-items: center; gap: 6px; text-shadow: 0 2px 12px rgba(0,0,0,.24); }
.solution-anchor:hover { color: #c4b5fd; }

/* === Solution pages — how-you-use-it cards === */
.use-sec { background: linear-gradient(180deg, #060e24 0%, #0D1E50 100%); padding: 104px 0; color: #fff; position: relative; overflow: hidden; }
.use-sec::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 50% at 80% 20%, rgba(139,126,200,.12) 0%, transparent 70%); pointer-events: none; }
.use-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; }
.use-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--lilac); margin-bottom: 22px; }
.use-h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 200; letter-spacing: -.8px; line-height: 1.15; color: #fff; max-width: 880px; margin-bottom: 22px; }
.use-h2 em { font-style: italic; font-weight: 300; }
.use-lede { font-size: 18px; font-weight: 300; color: rgba(255,255,255,.78); line-height: 1.8; max-width: 820px; margin-bottom: 56px; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.use-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; overflow: hidden; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; flex-direction: column; }
.use-card-img { aspect-ratio: 16/10; background: linear-gradient(135deg, rgba(139,126,200,.25) 0%, rgba(26,79,216,.18) 100%); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.use-card-img::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,14,36,.12) 0%, rgba(6,14,36,.56) 100%); pointer-events: none; }
.use-card-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.use-card-img--alt { background: linear-gradient(135deg, rgba(232,116,58,.18) 0%, rgba(139,126,200,.22) 100%); }
.use-card-img--alt2 { background: linear-gradient(135deg, rgba(26,79,216,.22) 0%, rgba(139,126,200,.18) 100%); }
.use-card-icon { font-size: 48px; font-weight: 200; color: rgba(255,255,255,.55); letter-spacing: -2px; }
.use-card-step { position: absolute; top: 18px; left: 22px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.92); padding: 6px 12px; background: rgba(13,30,80,.58); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 999px; }
.use-card-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.use-card-title { font-size: 22px; font-weight: 600; color: #fff; line-height: 1.3; letter-spacing: -.2px; }
.use-card-desc { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.78); line-height: 1.7; }
.use-credibility { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 22px 28px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; }
.use-cred-item { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.85); line-height: 1.4; text-align: center; }
.use-cred-item strong { display: block; font-size: 22px; font-weight: 200; letter-spacing: -.5px; color: #fff; margin-bottom: 4px; text-transform: none; }
.use-cred-item em { color: rgba(255,255,255,.55); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: .2px; }

/* === Solution pages — case index === */
.cases-sec { background: var(--blue-5); padding: 104px 0; }
.cases-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.cases-eyebrow { font-size: 22px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--lilac); margin-bottom: 14px; }
.cases-h2 { font-size: 44px; font-weight: 200; letter-spacing: -.5px; color: var(--navy); line-height: 1.15; margin-bottom: 22px; max-width: 920px; }
.cases-h2 em { font-style: italic; font-weight: 300; }
.cases-lede { font-size: 18px; font-weight: 300; color: var(--muted); line-height: 1.8; max-width: 880px; margin-bottom: 56px; }
.cases-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 24px 22px 26px; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; gap: 12px; min-height: 240px; position: relative; }
.case-card:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(13,30,80,.1); }
.case-card.active { border-color: var(--lilac); box-shadow: 0 18px 42px rgba(139,126,200,.18); }
.case-tag { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; align-self: flex-start; }
.case-tag--assess { background: rgba(26,79,216,.1); color: var(--tag-assess); }
.case-tag--decide { background: rgba(108,94,181,.1); color: var(--tag-decide); }
.case-tag--track { background: rgba(42,157,143,.1); color: var(--tag-track); }
.case-tag--show { background: rgba(232,116,58,.1); color: var(--tag-show); }
.case-name { font-size: 14px; font-weight: 700; color: var(--light-muted); letter-spacing: .3px; text-transform: uppercase; }
.case-title { font-size: 19px; font-weight: 600; color: var(--navy); line-height: 1.3; letter-spacing: -.2px; font-style: italic; }
.case-frame { font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.6; flex: 1; }
.case-cta { font-size: 12px; font-weight: 700; color: var(--blue-1); letter-spacing: .3px; padding-top: 10px; border-top: 1px solid var(--border); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }

/* === Solution pages — pathology carousel & chat === */
.pcase-carousel { display: flex; gap: 18px; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: 0 var(--pad) 18px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: var(--pad); scrollbar-width: none; }
.pcase-carousel::-webkit-scrollbar { display: none; }
.pcase-carousel.has-expanded > .pcase-card:not(.expanded) { opacity: .34; pointer-events: none; }
.pcase-card { --pcase-image: none; position: relative; flex: 0 0 clamp(288px, 34vw, 416px); aspect-ratio: 3 / 4.2; border: 0; border-radius: 22px; overflow: hidden; background: #071331; color: #fff; cursor: pointer; box-shadow: 0 18px 44px rgba(13,30,80,.13); scroll-snap-align: start; scroll-margin-top: 100px; transition: flex-basis .62s cubic-bezier(.22,1,.36,1), transform .48s cubic-bezier(.22,1,.36,1), opacity .36s cubic-bezier(.22,1,.36,1), box-shadow .36s; }
.pcase-card::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--pcase-image), linear-gradient(135deg, #0D1E50, #060e24); background-size: cover; background-position: center; }
.pcase-card::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(6,14,36,.05) 0%, rgba(6,14,36,.48) 52%, rgba(6,14,36,.88) 100%); }
.pcase-card:hover:not(.expanded), .pcase-card:focus-visible:not(.expanded) { transform: translateY(-4px); outline: none; }
.pcase-collapsed { position: relative; z-index: 3; height: 100%; padding: 23px; display: flex; flex-direction: column; justify-content: space-between; }
.pcase-pill, .pcase-expanded-pill { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; min-height: 46px; padding: 12px 22px 12px 18px; background: rgba(255,255,255,.18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; }
.pcase-pill-dot, .pcase-expanded-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: #c4b5fd; }
.pcase-title { font-size: clamp(30px, 3.5vw, 45px); font-weight: 300; line-height: 1.05; letter-spacing: -.7px; color: #fff; max-width: 86%; }
.pcase-title em { font-style: italic; font-weight: 300; }
.pcase-plus { position: absolute; top: 23px; right: 23px; z-index: 5; width: 61px; height: 61px; border-radius: 50%; border: 0; background: #fffaf1; color: #393530; cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: inherit; font-size: 34px; font-weight: 300; line-height: 1; box-shadow: 0 18px 42px rgba(0,0,0,.18); transition: transform .36s cubic-bezier(.22,1,.36,1), box-shadow .36s; }
.pcase-plus:hover, .pcase-plus:focus-visible { transform: scale(1.06); box-shadow: 0 0 0 5px rgba(139,126,200,.95), 0 18px 42px rgba(0,0,0,.2); outline: none; }
.pcase-card.expanded { flex-basis: min(100%, 960px); aspect-ratio: auto; cursor: default; z-index: 5; box-shadow: 0 24px 70px rgba(13,30,80,.22); }
.pcase-card.expanded .pcase-collapsed { display: none; }
.pcase-expanded { display: none; position: relative; z-index: 3; color: #fff; }
.pcase-card.expanded .pcase-expanded { display: grid; grid-template-columns: .9fr 1.35fr; gap: 46px; padding: 46px 52px; min-height: 470px; }
.pcase-expanded-left { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.pcase-expanded-pill { background: rgba(255,255,255,.12); margin-bottom: 28px; }
.pcase-expanded-title { font-size: clamp(34px, 4vw, 50px); font-weight: 500; line-height: 1.08; letter-spacing: -.4px; margin-bottom: 22px; }
.pcase-expanded-title em { font-style: italic; font-weight: 300; }
.pcase-expanded-frame { font-style: italic; font-weight: 300; font-size: 20px; line-height: 1.5; color: rgba(255,255,255,.78); max-width: 430px; }
.pcase-close { position: absolute; top: 24px; right: 24px; z-index: 10; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; cursor: pointer; display: none; align-items: center; justify-content: center; font-size: 18px; line-height: 1; transition: all .24s; }
.pcase-card.expanded .pcase-close { display: flex; }
.pcase-close:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.pcase-chat { background: #13132a; border: 1px solid rgba(167,139,250,.08); border-radius: 16px; overflow: hidden; align-self: start; box-shadow: 0 30px 80px -30px rgba(0,0,0,.5); }
.pcase-chat-header { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid rgba(167,139,250,.08); background: #1a1a32; }
.pcase-chat-beta { background: rgba(167,139,250,.18); color: #c4b5fd; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pcase-chat-name { font-size: 16px; font-weight: 700; color: #e8e4f5; }
.pcase-chat-name span { color: #a78bfa; }
.pcase-chat-body { padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; min-height: 320px; }
.pcase-chat-message { opacity: 0; transform: translateY(8px); transition: opacity .48s cubic-bezier(.22,1,.36,1), transform .48s cubic-bezier(.22,1,.36,1); }
.pcase-chat-message.visible { opacity: 1; transform: translateY(0); }
.pcase-chat-message.user { align-self: flex-end; max-width: 82%; background: #232342; color: #e8e4f5; padding: 14px 18px; border-radius: 14px; font-size: 14px; line-height: 1.55; }
.pcase-chat-message.bot { color: #e8e4f5; font-size: 14px; line-height: 1.65; padding: 0 4px; }
.pcase-chat-message.bot strong { color: #c4b5fd; font-weight: 600; }
.pcase-thinking { display: flex; align-items: center; gap: 10px; padding: 0 4px; color: rgba(232,228,245,.74); font-size: 13px; }
.pcase-orb { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d4b4ff 0%, #a78bfa 35%, #6d4fc4 70%, #2e1f5a 100%); box-shadow: 0 0 12px rgba(167,139,250,.5), inset 0 0 6px rgba(255,255,255,.2); animation: pcaseOrbPulse 2.4s ease-in-out infinite; }
.pcase-citation { padding: 14px 16px; background: rgba(167,139,250,.06); border-left: 2px solid #a78bfa; border-radius: 0 8px 8px 0; font-size: 11px; color: rgba(232,228,245,.74); line-height: 1.5; opacity: 0; transition: opacity .6s ease; }
.pcase-citation.visible { opacity: 1; }
.pcase-citation strong { display: inline-block; margin-right: 8px; color: #a78bfa; letter-spacing: .1em; text-transform: uppercase; }
.pcase-chat-input { margin: 12px 24px 24px; padding: 14px 18px; background: #1a1a32; border: 1px solid rgba(167,139,250,.1); border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: rgba(232,228,245,.58); font-size: 14px; }
.pcase-chat-send { width: 32px; height: 32px; border-radius: 8px; background: rgba(167,139,250,.18); color: #c4b5fd; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* === Solution pages — configurable modules === */
.modules-sec { background: #fff; padding: 104px 0; }
.modules-inner { max-width: 1560px; margin: 0 auto; padding: 0 clamp(24px, 3vw, 48px); }
.modules-eyebrow { font-size: 22px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--lilac); margin-bottom: 14px; }
.modules-h2 { font-size: 44px; font-weight: 200; letter-spacing: -.5px; color: var(--navy); line-height: 1.15; margin-bottom: 22px; max-width: 920px; }
.modules-h2 em { font-style: italic; font-weight: 300; }
.module-card::before { content: ''; position: absolute; inset: 0; background: var(--module-bg), linear-gradient(135deg, #0D1E50, #060e24); background-size: cover; background-position: center; transform: scale(1.01); transition: transform .55s cubic-bezier(.22,1,.36,1), filter .35s ease; }
.module-card:hover::before { transform: scale(1.06); filter: saturate(1.04); }
.module-card--run { --module-bg: url('/technology/images/App Type of analysis section/Sport Medicine Poster.avif'); }
.module-card:hover .module-app { transform: translateX(0) scale(1); opacity: 1; }
.module-app img { width: 100%; height: 100%; object-fit: contain; display: block; }
.modules-bridge a { color: var(--blue-1); text-decoration: none; font-weight: 800; white-space: nowrap; }
.modules-bridge a:hover { color: var(--blue-2); }
.module-card--jump { --module-bg: url('/technology/images/App Type of analysis section/Jump Lifestyle.avif'); }

/* === Solution pages — trusted / testimonial === */
.trusted-sec { background: #fff; padding: 104px 0; }
.trusted-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.trusted-eyebrow { font-size: 22px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--lilac); margin-bottom: 14px; text-align: center; }
.trusted-h2 { font-size: 44px; font-weight: 200; letter-spacing: -.5px; color: var(--navy); line-height: 1.15; margin: 0 auto 22px; max-width: 920px; text-align: center; }
.trusted-h2 em { font-style: italic; font-weight: 300; }
.trusted-lede { font-size: 18px; font-weight: 300; color: var(--muted); line-height: 1.8; max-width: 820px; margin: 0 auto 48px; text-align: center; }
.trusted-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 0 auto 64px; }
.trusted-stat { background: var(--blue-5); border: 1px solid var(--border); border-radius: 22px; padding: 28px 32px; text-align: center; }
.trusted-stat-num { font-size: clamp(36px, 4.4vw, 56px); font-weight: 200; letter-spacing: -1.5px; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.trusted-stat-num em { font-style: normal; font-weight: 300; color: var(--lilac); }
.trusted-stat-label { font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.5; letter-spacing: .2px; }
.trusted-stat-sub { font-size: 11px; font-weight: 400; color: var(--light-muted); margin-top: 6px; font-style: italic; }
.testimonial-feature { background: linear-gradient(135deg, var(--lilac-soft) 0%, var(--blue-5) 100%); border: 1px solid var(--border); border-radius: 28px; padding: 56px 64px; max-width: 1080px; margin: 0 auto 56px; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.testimonial-quote::before { content: '"'; font-size: 64px; line-height: 0; vertical-align: -.45em; color: var(--lilac); margin-right: 4px; font-style: normal; }
.testimonial-attr { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.6; }
.testimonial-attr-name { font-size: 16px; font-weight: 700; }
.testimonial-attr-meta { font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.trusted-logos-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--light-muted); margin-bottom: 22px; text-align: center; }
.trusted-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 0; max-width: 820px; margin-left: auto; margin-right: auto; }
.trusted-logo { flex: 0 0 188px; aspect-ratio: 16/9; background: #fff; border: 1px solid var(--border); border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 12px 22px; }
.trusted-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.trusted-footnote { text-align: center; font-size: 13px; font-weight: 400; color: var(--light-muted); }
.trusted-footnote a { color: var(--blue-1); text-decoration: none; font-weight: 700; }
.trusted-footnote a:hover { color: var(--blue-2); }

/* === Solution pages — final CTA === */
.final-cta { background: linear-gradient(135deg, #060e24 0%, #0D1E50 50%, #1a1a32 100%); padding: 96px 0; color: #fff; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(139,126,200,.18) 0%, transparent 70%); pointer-events: none; }
.final-cta-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; text-align: center; }
.final-cta-h2 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 200; letter-spacing: -.8px; line-height: 1.1; color: #fff; margin-bottom: 18px; }
.final-cta-h2 em { font-style: italic; font-weight: 300; color: var(--lilac); }
.final-cta-body { font-size: 18px; font-weight: 300; color: rgba(255,255,255,.78); line-height: 1.75; max-width: 620px; margin: 0 auto 48px; }
.final-cta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto 32px; }
.final-cta-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 32px 32px 28px; text-align: left; backdrop-filter: blur(8px); }
.final-cta-card-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--lilac); margin-bottom: 12px; }
.final-cta-card-title { font-size: 22px; font-weight: 600; color: #fff; line-height: 1.3; margin-bottom: 12px; letter-spacing: -.2px; }
.final-cta-card-body { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.78); line-height: 1.7; margin-bottom: 22px; }
.final-cta-card-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .15s, background .2s; }
.final-cta-card-btn--primary { background: #fff; color: var(--navy); }
.final-cta-card-btn--primary:hover { transform: translateY(-1px); }
.final-cta-card-btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.final-cta-card-btn--ghost:hover { background: rgba(255,255,255,.16); }
.final-cta-tertiary { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.6); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 2px; }
.final-cta-tertiary:hover { color: #fff; border-color: rgba(255,255,255,.5); }

/* === Future section === */
.future-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* === Footer === */
.footer { background: linear-gradient(180deg, #0d1e50 0%, var(--navy-deep) 100%); padding: 64px 0 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-tagline { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.62); line-height: 1.75; max-width: 260px; margin-top: 16px; }
.footer-certs { display: flex; align-items: center; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.footer-certs img { height: 38px; width: auto; display: block; }
.footer-certs .footer-cert--invert { filter: brightness(0) invert(1); }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.24); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.45); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.2); }
.footer-social { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.footer-social-label { font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.24); }
.footer-social a { font-size: 13px; font-weight: 400; color: rgba(255,255,255,.58); text-decoration: none; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; padding: 7px 12px; transition: color .2s, border-color .2s, background .2s; }
.footer-social a:hover { color: #fff; border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.06); }

/* === Responsive overrides === */
@media (max-width: 1180px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) {
  .use-credibility { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-hero-glass { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .final-cta-cards { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; gap: 18px; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .use-grid { grid-template-columns: 1fr; }
  .use-credibility { grid-template-columns: 1fr; padding: 18px 20px; }
  .cases-grid { grid-template-columns: 1fr; }
  .ps-hero-glass { left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; gap: 10px; }
}
@media (max-width: 760px) {
  .ps-hero { padding: 110px 0 64px; }
  .ps-hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .ps-hero-h1 { font-size: clamp(34px, 8vw, 48px); }
  .ps-hero-visual { min-height: 320px; }
  .ps-trust-strip { gap: 14px; padding-top: 22px; }
  .ps-btn { padding: 14px 22px; font-size: 13px; }
  .solutions-h2, .use-h2 { font-size: clamp(28px, 7vw, 36px); }
  .trusted-h2 { font-size: clamp(28px, 7vw, 36px); }
  .trusted-stats { grid-template-columns: 1fr; }
}
