/* ─── RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Navy + Orange palette */
  --navy:    #0b1d3a;
  --navy2:   #162d52;
  --navy3:   #1e3a68;
  --blue:    #1d52b0;
  --blue2:   #2563eb;
  --orange:  #e8570a;
  --orange2: #f97316;
  --amber:   #b45309;

  /* Backgrounds — warm off-white, not clinical blue */
  --bg:      #f4f2ee;
  --bg2:     #eae7e1;
  --bg3:     #ddd9d1;
  --card:    #ffffff;
  --border:  #dbd6cd;
  --border2: #c9c3b8;

  /* Text */
  --text:    #130e09;
  --muted:   #6b6057;
  --light:   #8c8278;

  /* Status */
  --green:   #047857;
  --red:     #b91c1c;

  --font:  'Inter', system-ui, sans-serif;
  --mono:  'JetBrains Mono', monospace;
  --r:     5px;
  --r2:    6px;
  --sh:    0 2px 12px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --sh2:   0 8px 40px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  --sh3:   0 20px 60px rgba(11,29,58,.18), 0 4px 16px rgba(11,29,58,.1);
}

html { scroll-behavior: smooth; font-size: 16px; background: #f4f2ee; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── UTILITIES ──────────────────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.accent { color: var(--orange); }

.section-eyebrow {
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  color: var(--orange); letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-kicker {
  font-family: var(--mono); font-size: .74rem; font-weight: 500;
  color: rgba(255,255,255,.42); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 28px; border-left: 3px solid var(--orange); padding-left: 12px;
}


.section-header { text-align: center; margin-bottom: 64px; position: relative; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.12; margin-bottom: 16px; color: var(--text);
  letter-spacing: -.025em;
}
.section-header p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange);
  color: #fff; font-weight: 700; font-size: .95rem;
  padding: 13px 28px; border-radius: var(--r);
  border: none; cursor: pointer; transition: all .22s;
  box-shadow: 0 4px 16px rgba(232,87,10,.36);
  letter-spacing: .01em;
}
.btn-primary:hover { background: #c9470a; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--navy); font-weight: 600; font-size: .95rem;
  border: 2px solid var(--navy2); padding: 11px 26px;
  border-radius: var(--r); transition: all .22s;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); background: rgba(232,87,10,.04); }

/* hero ghost - white on dark */
.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.82); font-weight: 600; font-size: .95rem;
  border: 2px solid rgba(255,255,255,.28); padding: 11px 26px;
  border-radius: var(--r); transition: all .22s;
}
.btn-ghost-white:hover { border-color: var(--orange2); color: #fff; }

.full-width { width: 100%; justify-content: center; }

/* ─── NAV ────────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(11,29,58,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .3s, box-shadow .3s;
  padding: 0 24px;
}
#navbar.scrolled {
  background: rgba(11,29,58,.98);
  box-shadow: 0 4px 28px rgba(0,0,0,.3);
  border-color: rgba(255,255,255,.08);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em;
  color: #fff;
}
.logo-icon { color: var(--orange); font-size: 1.4rem; }
.logo em { color: var(--orange2); font-style: normal; font-weight: 400; }

.nav-links { display: flex; align-items: stretch; gap: 4px; list-style: none; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links a {
  padding: 8px 13px; border-radius: 8px; font-size: .88rem;
  color: rgba(255,255,255,.58); font-weight: 500; transition: color .2s, background .2s;
  display: flex; align-items: center; gap: 5px;
}
.nav-links > li > a { height: 100%; }
.nav-links a:hover { color: #fff; }
.nav-arrow { font-size: .65rem; opacity: .55; transition: transform .2s; pointer-events: none; }
.nav-links > li:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

/* ── Dropdown ──────────────────────────────────────────────────────────── */
.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #0f2444;
  border: 1px solid rgba(255,255,255,.1);
  border-top: 2px solid var(--orange);
  border-radius: 0 0 var(--r2) var(--r2);
  min-width: 200px;
  padding: 6px 0;
  list-style: none;
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.3);
}
.nav-links > li:hover .dropdown {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px;
  font-size: .84rem; color: rgba(255,255,255,.65); font-weight: 500;
  border-radius: 0; white-space: nowrap;
  transition: color .15s, background .15s, padding-left .15s;
}
.dropdown li a:hover {
  color: #fff; background: rgba(255,255,255,.06); padding-left: 20px;
}
.dropdown li a::before {
  content: '→'; color: var(--orange2);
  font-size: .75rem; opacity: 0; transition: opacity .15s; flex-shrink: 0;
}
.dropdown li a:hover::before { opacity: 1; }

.nav-cta {
  background: rgba(232,87,10,.18) !important;
  border: 1px solid rgba(232,87,10,.45) !important;
  color: var(--orange2) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--orange) !important; color: #fff !important; border-color: transparent !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.8); border-radius: 2px; transition: .3s; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 60% 40%, rgba(29,82,176,.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 15% 70%, rgba(232,87,10,.12) 0%, transparent 50%),
    linear-gradient(160deg, #0b1d3a 0%, #0f2444 55%, #0c1e38 100%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; z-index: 1; }

.hero-content {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto; padding: 120px 24px 80px;
  width: 58%;
}
.hero-content h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 900; line-height: 1.06;
  letter-spacing: -.03em; margin-bottom: 22px; color: #fff;
}
.hero-content h1 .accent { color: var(--orange2); }
.hero-sub {
  color: rgba(255,255,255,.62); font-size: 1.08rem; line-height: 1.72;
  max-width: 520px; margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: flex; align-items: center; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 30px;
}
.stat { padding: 0 32px 0 0; }
.stat:first-child { padding-left: 0; }
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--orange2); }
.stat span { font-size: .78rem; color: rgba(255,255,255,.45); max-width: 120px; display: block; line-height: 1.4; }
.stat-sep { width: 1px; height: 40px; background: rgba(255,255,255,.1); margin: 0 32px 0 0; }

/* Hero visual */



/* ─── PRODUCTS ───────────────────────────────────────────────────────────── */
#products {
  padding: 100px 0;
  background: var(--bg);

}

.product-card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 52px;
  margin-bottom: 40px;
  position: relative; overflow: hidden;
  box-shadow: var(--sh2);
  transition: box-shadow .3s;
}
/* Left edge accent bar */
.product-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; bottom: 0; width: 4px;
  background: var(--orange);
  border-radius: var(--r2) 0 0 var(--r2);
}
.product-card.reverse::before { left: auto; right: 0; background: var(--blue2); border-radius: 0 var(--r2) var(--r2) 0; }
.product-card:hover { box-shadow: var(--sh3); }
.product-card.reverse { direction: rtl; }
.product-card.reverse > * { direction: ltr; }

.product-badge {
  position: absolute; top: 20px; right: 32px;
  font-size: 6rem; font-weight: 900; color: rgba(11,29,58,.03);
  font-family: var(--mono); line-height: 1;
}
.product-card.reverse .product-badge { right: auto; left: 32px; }

.product-tag {
  display: inline-flex; background: rgba(29,82,176,.08);
  border: 1px solid rgba(29,82,176,.22); color: var(--blue);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 3px; margin-bottom: 14px;
}
.product-tag.preclinical {
  background: rgba(180,83,9,.09); border-color: rgba(180,83,9,.25); color: var(--amber);
}
.product-info h3 {
  font-size: 2.4rem; font-weight: 900; margin-bottom: 14px;
  line-height: 1.06; color: var(--navy); letter-spacing: -.025em;
}
.product-info h3 span { color: var(--orange); }
.product-desc { color: var(--muted); margin-bottom: 10px; line-height: 1.75; font-size: .97rem; }
.product-status-banner {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(180,83,9,.06); border: 1px solid rgba(180,83,9,.2);
  border-radius: var(--r); padding: 12px 16px; margin-bottom: 28px;
  font-size: .82rem; color: var(--amber); line-height: 1.5;
}
.product-status-banner strong { display: block; margin-bottom: 2px; color: #92400e; }
.psb-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.feature-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; background: var(--bg); border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--r); transition: border-left-color .2s, box-shadow .2s;
}
.feature-item:hover { border-left-color: var(--orange); box-shadow: var(--sh); }
.fi-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; }
.fi-icon svg { display: block; color: var(--orange); }
.tl-icon svg { display: block; color: var(--orange2); }
.feature-item strong { display: block; font-size: .86rem; font-weight: 700; margin-bottom: 3px; color: var(--navy); }
.feature-item p { font-size: .76rem; color: var(--muted); line-height: 1.55; margin: 0; }

.product-specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-bottom: 28px;
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
}
.spec { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.spec:nth-child(3n) { border-right: none; }
.spec:nth-last-child(-n+3) { border-bottom: none; }
.spec span { font-size: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.spec strong { font-size: .82rem; font-family: var(--mono); color: var(--orange); font-weight: 700; }

/* Cast visual */
.product-visual { display: flex; flex-direction: column; gap: 20px; }
.cast-3d {
  background: linear-gradient(140deg, #0b1d3a, #0f2444);
  border: 1px solid rgba(232,87,10,.2); border-radius: var(--r2);
  padding: 28px; display: flex; justify-content: center;
  position: relative; overflow: hidden;
}

.cast-body {
  width: 100%; max-width: 260px; height: 160px;
  background: linear-gradient(160deg, #1a3560 0%, #0f2040 100%);
  border-radius: 80px; position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.07);
  border: 1px solid rgba(232,87,10,.3);
}
.cast-sensor { position: absolute; width: 12px; height: 12px; background: var(--orange2); border-radius: 50%; box-shadow: 0 0 10px var(--orange); animation: sensorPulse 2s ease-in-out infinite; }
.cast-lra { position: absolute; width: 18px; height: 8px; background: linear-gradient(90deg, #60a5fa, #3b82f6); border-radius: 4px; box-shadow: 0 0 8px rgba(96,165,250,.55); animation: sensorPulse 3.5s ease-in-out infinite; }
.lra1 { top: 18px; right: 56px; animation-delay: 0s; }
.lra2 { bottom: 18px; right: 56px; animation-delay: 1.75s; }
.cast-bead { position: absolute; width: 10px; height: 10px; background: radial-gradient(circle, #fde68a, #fbbf24); border-radius: 50%; box-shadow: 0 0 7px rgba(251,191,36,.5); animation: beadPulse 4s ease-in-out infinite; }
.bead1 { top: 40px; left: 60px; animation-delay: 0s; }
.bead2 { top: 65px; left: 75px; animation-delay: 1.3s; }
.bead3 { bottom: 35px; left: 65px; animation-delay: 2.6s; }
.s1 { top: 20px; left: 30px; animation-delay: 0s; }
.s2 { top: 60px; left: 20px; animation-delay: .7s; }
.s3 { bottom: 20px; left: 40px; animation-delay: 1.4s; }
.cast-pump { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 16px; height: 60px; background: linear-gradient(to bottom, var(--orange2), var(--orange)); border-radius: 8px; box-shadow: 0 0 14px rgba(232,87,10,.6); }
.cast-screen { position: absolute; right: 44px; top: 50%; transform: translateY(-50%); width: 80px; height: 50px; background: #050e1c; border-radius: 6px; border: 1px solid rgba(232,87,10,.25); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.mini-chart { width: 100%; padding: 4px 6px; }
.cast-stat { font-size: .42rem; color: var(--orange2); font-family: var(--mono); }

.vitals-panel { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; box-shadow: var(--sh); }
.vital { display: flex; align-items: center; gap: 10px; font-size: .8rem; }
.vital span { flex: 1; color: var(--muted); }
.vital strong { width: 36px; text-align: right; color: var(--orange); font-family: var(--mono); font-size: .78rem; }
.v-bar { width: 80px; height: 5px; background: var(--bg2); border-radius: 3px; position: relative; overflow: hidden; }
.v-bar::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: var(--pct); background: var(--orange); border-radius: 3px; }
.v-bar.green::after { background: var(--green); }
.v-bar.amber::after { background: var(--amber); }

/* Patch visual */
.patch-3d {
  background: linear-gradient(140deg, #0b1d3a, #091525);
  border: 1px solid rgba(29,82,176,.3); border-radius: var(--r2);
  padding: 28px; display: flex; justify-content: center; align-items: center;
  position: relative; overflow: hidden;
}

.patch-body { width: 180px; height: 180px; background: linear-gradient(135deg, #172d4e, #0f2040); border-radius: 18px; border: 1px solid rgba(37,99,235,.32); position: relative; box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 18px rgba(37,99,235,.1); display: flex; align-items: center; justify-content: center; }
.patch-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; width: 140px; }
.pg-cell { width: 36px; height: 36px; border-radius: 6px; background: rgba(37,99,235,.12); border: 1px solid rgba(37,99,235,.22); transition: all .5s; }
.pg-cell.alert { background: rgba(232,87,10,.18); border-color: rgba(232,87,10,.45); animation: alertPulse 2s ease-in-out infinite; }
.patch-chip { position: absolute; bottom: 12px; right: 12px; width: 28px; height: 20px; background: var(--orange); border-radius: 4px; opacity: .7; }

.biomarker-panel { display: flex; flex-direction: column; gap: 9px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; box-shadow: var(--sh); }
.bm-row { display: flex; align-items: center; gap: 8px; font-size: .8rem; }
.bm-row > span { width: 48px; color: var(--muted); font-size: .75rem; }
.bm-bar { flex: 1; height: 5px; background: var(--bg2); border-radius: 3px; overflow: hidden; }
.bm-fill { height: 100%; border-radius: 3px; }
.bm-fill.safe { background: var(--green); }
.bm-fill.warn { background: var(--orange); }
.bm-row strong { width: 80px; text-align: right; font-family: var(--mono); font-size: .73rem; }
strong.safe { color: var(--green); }
strong.warn { color: var(--orange); }
.bm-status { font-size: .7rem; text-align: center; padding: 7px; border-radius: 6px; }
.bm-status.safe { background: rgba(4,120,87,.08); color: var(--green); border: 1px solid rgba(4,120,87,.18); }

/* ─── TECHNOLOGY ─────────────────────────────────────────────────────────── */
#technology {
  padding: 100px 0;
  background: var(--navy);

}
/* Override section-header for dark bg */
#technology .section-header h2 { color: #fff; }
#technology .section-header p { color: rgba(255,255,255,.52); }

.tech-loop { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: start; gap: 12px; margin-bottom: 56px; }
.tl-step {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-top: 3px solid var(--orange);
  border-radius: var(--r2); padding: 28px 22px;
  transition: background .25s, border-color .25s, transform .25s;
}
.tl-step:hover { background: rgba(255,255,255,.07); border-top-color: var(--orange2); transform: translateY(-4px); }
.tl-num { font-family: var(--mono); font-size: .7rem; color: var(--orange); font-weight: 700; margin-bottom: 10px; letter-spacing: .08em; }
.tl-icon { font-size: 1.8rem; margin-bottom: 10px; }
.tl-step h4 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.tl-step p { font-size: .8rem; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 14px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tl-tags span { font-size: .63rem; padding: 3px 8px; border-radius: 3px; background: rgba(232,87,10,.12); border: 1px solid rgba(232,87,10,.28); color: var(--orange2); font-family: var(--mono); }
.tl-arrow { display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: rgba(255,255,255,.2); padding-top: 80px; animation: arrowPulse 2s ease-in-out infinite; }
.tech-specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ts-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r); padding: 24px 20px; }
.ts-card h4 { font-size: .88rem; font-weight: 700; color: var(--orange2); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ts-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.ts-card li { font-size: .78rem; color: rgba(255,255,255,.5); padding-left: 14px; position: relative; }
.ts-card li::before { content: '—'; position: absolute; left: 0; color: var(--orange); font-size: .7rem; }

/* ─── APP ────────────────────────────────────────────────────────────────── */
#app {
  padding: 100px 0;
  background: var(--card);

}
.app-showcase { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: center; }
.app-features-list { display: flex; flex-direction: column; gap: 6px; }
.app-feature { display: flex; gap: 18px; padding: 18px 22px; border-radius: var(--r); border: 1px solid transparent; border-left: 3px solid transparent; cursor: pointer; transition: all .22s; }
.app-feature:hover { background: var(--bg); border-color: var(--border); border-left-color: var(--border); box-shadow: var(--sh); }
.app-feature.af-active { background: var(--bg); border-color: var(--border); border-left-color: var(--orange); box-shadow: var(--sh); }
.af-num { font-family: var(--mono); font-size: .72rem; color: var(--orange); font-weight: 700; flex-shrink: 0; padding-top: 3px; }
.app-feature h4 { font-size: .92rem; font-weight: 700; margin-bottom: 5px; color: var(--navy); }
.app-feature p { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* Phone */
.app-phone-wrap { display: flex; justify-content: center; }
.app-phone { width: 272px; height: 548px; background: #071120; border-radius: 38px; border: 2px solid rgba(255,255,255,.08); box-shadow: 0 28px 72px rgba(0,0,0,.32), 0 0 0 1px rgba(255,255,255,.04); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.phone-notch { width: 78px; height: 26px; background: #030a12; border-radius: 0 0 14px 14px; margin: 0 auto; position: relative; z-index: 2; flex-shrink: 0; }
.phone-screen { flex: 1; overflow: hidden; position: relative; }
.screen { position: absolute; inset: 0; display: none; flex-direction: column; gap: 9px; padding: 11px 13px; overflow-y: auto; font-size: .78rem; }
.screen.active { display: flex; animation: fadeInUp .3s ease; }
.s-header { display: flex; justify-content: space-between; align-items: center; }
.s-logo { font-weight: 800; font-size: .82rem; color: var(--orange2); }
.s-status { font-size: .62rem; }
.s-status.online { color: #34d399; }
.s-patient { font-size: .68rem; color: rgba(255,255,255,.38); border-bottom: 1px solid rgba(255,255,255,.07); padding-bottom: 7px; }
.s-devices { display: flex; gap: 7px; }
.s-dev { flex: 1; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: 7px; padding: 7px 9px; font-size: .68rem; color: rgba(255,255,255,.65); }
.s-dev.active-dev { border-color: rgba(232,87,10,.5); }
.s-ok { color: #34d399; font-size: .62rem; }
.s-chart-label { font-size: .62rem; color: rgba(255,255,255,.32); }
.s-chart { width: 100%; }
.s-pills { display: flex; gap: 5px; }
.s-pill { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: 7px; padding: 5px 7px; }
.s-pill span { display: block; font-size: .58rem; color: rgba(255,255,255,.38); }
.s-pill strong { font-size: .76rem; color: rgba(255,255,255,.82); }
.s-alert-none { font-size: .66rem; color: #34d399; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.18); border-radius: 6px; padding: 7px 10px; text-align: center; }
.med-log { display: flex; flex-direction: column; gap: 5px; }
.ml-row { display: flex; align-items: center; gap: 7px; font-size: .68rem; background: rgba(255,255,255,.06); border-radius: 5px; padding: 7px 9px; color: rgba(255,255,255,.68); }
.ml-row.ml-pend { opacity: .5; }
.ml-time { color: var(--orange2); font-family: var(--mono); font-size: .62rem; flex-shrink: 0; }
.ml-row span:nth-child(2) { flex: 1; }
.ml-ok { color: #34d399; }
.ml-total { font-size: .65rem; color: rgba(255,255,255,.38); text-align: center; }
.ml-total strong { color: var(--orange2); }
.roadmap { display: flex; flex-direction: column; }
.rm-phase { display: flex; gap: 9px; align-items: flex-start; padding: 5px 0; }
.rm-dot { width: 18px; height: 18px; border-radius: 50%; background: #34d399; color: #fff; font-size: .52rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.rm-dot.active { background: var(--orange); animation: sensorPulse 2s infinite; }
.rm-phase strong { font-size: .72rem; display: block; color: rgba(255,255,255,.82); }
.rm-phase span { font-size: .62rem; color: rgba(255,255,255,.38); }
.rm-line { width: 2px; height: 14px; background: rgba(255,255,255,.09); margin-left: 8px; }
.rm-line.done { background: #34d399; }
.rm-line.active { background: linear-gradient(to bottom, var(--orange), rgba(255,255,255,.09)); }
.rm-phase:not(.done):not(.active) { opacity: .45; }
.alert-list { display: flex; flex-direction: column; gap: 5px; }
.al-row { display: flex; align-items: flex-start; gap: 7px; font-size: .66rem; background: rgba(255,255,255,.06); border-radius: 6px; padding: 7px 9px; }
.al-row.amber { border-left: 2px solid var(--orange); }
.al-row.green { border-left: 2px solid #34d399; }
.al-row div { flex: 1; }
.al-row div strong { display: block; font-size: .7rem; margin-bottom: 2px; color: rgba(255,255,255,.8); }
.al-row div p { color: rgba(255,255,255,.38); margin: 0; }
.al-row > span:last-child { color: rgba(255,255,255,.28); font-size: .58rem; white-space: nowrap; }
.s-btn { background: var(--orange); color: #fff; border: none; border-radius: 7px; padding: 9px; font-size: .7rem; font-weight: 700; cursor: pointer; width: 100%; }
.journey { display: flex; flex-direction: column; gap: 10px; }
.j-streak { display: flex; align-items: baseline; gap: 6px; background: rgba(232,87,10,.1); border: 1px solid rgba(232,87,10,.22); border-radius: 7px; padding: 9px; }
.j-streak strong { font-size: 1.2rem; color: rgba(255,255,255,.9); }
.j-streak span { font-size: .66rem; color: rgba(255,255,255,.38); }
.j-exercise strong { display: block; font-size: .72rem; margin-bottom: 5px; color: rgba(255,255,255,.68); }
.j-ex-item { font-size: .68rem; padding: 3px 0; }
.j-ex-item.done { color: #34d399; }
.j-ex-item.pending { color: rgba(255,255,255,.32); }
.j-share { font-size: .68rem; color: var(--orange2); text-align: center; padding: 7px; background: rgba(232,87,10,.1); border-radius: 6px; cursor: pointer; }
.carer { display: flex; flex-direction: column; gap: 9px; }
.carer-status { font-size: .82rem; font-weight: 600; text-align: center; padding: 11px; border-radius: 7px; }
.carer-status.good { background: rgba(52,211,153,.13); color: #34d399; }
.carer-detail { display: flex; justify-content: space-between; font-size: .72rem; border-bottom: 1px solid rgba(255,255,255,.07); padding-bottom: 5px; }
.carer-detail span { color: rgba(255,255,255,.38); }
.carer-detail strong { color: rgba(255,255,255,.78); }
.carer-alert { font-size: .65rem; color: var(--orange2); text-align: center; }

/* ─── CLINICAL ───────────────────────────────────────────────────────────── */
#clinical {
  padding: 100px 0;
  background-color: var(--bg);

}
.clinical-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-bottom: 52px; }
.clin-card.big { grid-row: span 2; }
.clin-card.big .clin-num { font-size: 4.8rem; }
.clin-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 32px 28px;
  position: relative; overflow: hidden; box-shadow: var(--sh);
  transition: border-color .3s, transform .3s, box-shadow .3s;
  border-top: 3px solid var(--border);
}
.clin-card:hover { border-top-color: var(--orange); transform: translateY(-2px); box-shadow: var(--sh2); }
.clin-num { font-size: 3.5rem; font-weight: 900; color: var(--orange); line-height: 1; display: inline; font-family: var(--mono); }
.clin-unit { font-size: 2rem; font-weight: 700; color: var(--orange); display: inline; }
.clin-card p { color: var(--muted); font-size: .86rem; line-height: 1.6; margin: 10px 0 7px; }
.clin-source { font-size: .68rem; color: var(--muted); font-family: var(--mono); opacity: .75; }
.publications { margin-top: 44px; }
.publications h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; color: var(--navy); }
.pub-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pub-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; box-shadow: var(--sh); border-left: 3px solid var(--blue2); transition: border-left-color .25s, box-shadow .25s; }
.pub-item:hover { border-left-color: var(--orange); box-shadow: var(--sh2); }
.pub-journal { font-size: .7rem; font-weight: 700; color: var(--blue); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .05em; }
.pub-item p { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* ─── PIPELINE ───────────────────────────────────────────────────────────── */
#pipeline {
  padding: 100px 0;
  background: var(--card);
}
.pipeline-table { background: var(--card); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; box-shadow: var(--sh2); }
.pt-header {
  display: grid; grid-template-columns: 1.5fr 2fr 1.5fr 0.8fr 1.2fr;
  padding: 16px 28px; gap: 16px;
  background: var(--navy); border-bottom: none;
  font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .08em;
}
.pt-row { display: grid; grid-template-columns: 1.5fr 2fr 1.5fr 0.8fr 1.2fr; padding: 18px 28px; gap: 16px; align-items: center; border-bottom: 1px solid var(--border); font-size: .86rem; color: var(--muted); transition: background .2s; }
.pt-row:last-child { border-bottom: none; }
.pt-row:hover { background: var(--bg); }
.pt-device { font-weight: 700; color: var(--navy); font-family: var(--mono); font-size: .8rem; }
.stage { display: inline-flex; padding: 4px 11px; border-radius: 3px; font-size: .68rem; font-weight: 700; }
.stage-3 { background: rgba(232,87,10,.1); color: var(--orange); border: 1px solid rgba(232,87,10,.28); }
.stage-2 { background: rgba(29,82,176,.09); color: var(--blue); border: 1px solid rgba(29,82,176,.22); }
.stage-1 { background: rgba(180,83,9,.09); color: var(--amber); border: 1px solid rgba(180,83,9,.22); }
.stage-0 { background: rgba(107,96,87,.09); color: var(--muted); border: 1px solid rgba(107,96,87,.2); }

/* ─── CONTACT ────────────────────────────────────────────────────────────── */
#contact {
  padding: 100px 0;
  background: var(--navy);

}
.cta-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.cta-left h2 { font-size: 2.5rem; font-weight: 900; margin: 14px 0; line-height: 1.1; color: #fff; letter-spacing: -.025em; }
.cta-left h2 span { color: var(--orange2); }
.cta-left > p { color: rgba(255,255,255,.52); margin-bottom: 32px; }
.contact-options { display: flex; flex-direction: column; gap: 14px; }
.co-item { display: flex; gap: 14px; padding: 16px 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r); transition: border-color .2s, background .2s; }
.co-item:hover { border-color: rgba(232,87,10,.4); background: rgba(232,87,10,.06); }

.co-item strong { display: block; font-weight: 700; margin-bottom: 3px; color: #fff; font-size: .92rem; }
.co-item p { font-size: .82rem; color: rgba(255,255,255,.45); margin: 0; line-height: 1.5; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--r2); padding: 36px; box-shadow: 0 24px 64px rgba(0,0,0,.3); }
.contact-form h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 22px; color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 11px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 11px 14px; color: var(--text);
  font-family: var(--font); font-size: .88rem; transition: border-color .22s; outline: none; margin-bottom: 11px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--light); }
.contact-form select option { background: var(--card); color: var(--text); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,87,10,.1); }
.contact-form textarea { resize: vertical; }
.form-note { font-size: .73rem; color: var(--muted); text-align: center; margin-top: 10px; }
.form-note a { color: var(--orange); }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
footer { background: #070f1e; border-top: 3px solid var(--orange); padding: 60px 0 28px; }
.footer-top { display: grid; grid-template-columns: 300px 1fr; gap: 56px; margin-bottom: 44px; }
.footer-brand .logo { margin-bottom: 14px; color: #fff; }
.footer-brand > p { font-size: .83rem; color: rgba(255,255,255,.38); margin-bottom: 18px; line-height: 1.65; }
.footer-social { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-social a { font-size: .78rem; color: rgba(255,255,255,.38); transition: color .2s; }
.footer-social a:hover { color: var(--orange2); }
.footer-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.fl-col h5 { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.fl-col a { display: block; font-size: .8rem; color: rgba(255,255,255,.32); margin-bottom: 7px; transition: color .2s; }
.fl-col a:hover { color: var(--orange2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; flex-direction: column; gap: 5px; }
.footer-bottom p { font-size: .7rem; color: rgba(255,255,255,.25); }


/* ─── ABOUT ──────────────────────────────────────────────────────────────── */
#about {
  padding: 100px 0;
  background: var(--navy);
}
#about .section-header h2 { color: #fff; }
#about .section-header p { color: rgba(255,255,255,.5); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.founder-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-top: 3px solid var(--orange);
  border-radius: var(--r2);
  overflow: hidden;
}
.founder-card:last-child { border-top-color: var(--blue2); }

.founder-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  opacity: .92;
}
.founder-card:last-child .founder-photo {
  object-position: center 48%;
}

.founder-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.founder-header {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 18px;
}

.founder-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  margin-bottom: 5px;
}

.founder-title {
  font-size: .72rem;
  font-weight: 700;
  color: var(--orange2);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 10px;
}
.founder-card:last-child .founder-title { color: #60a5fa; }

.founder-edu {
  font-size: .77rem;
  color: rgba(255,255,255,.38);
  font-family: var(--mono);
}

.founder-bio {
  font-size: .83rem;
  color: rgba(255,255,255,.48);
  line-height: 1.76;
  flex: 1;
  margin-bottom: 22px;
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  padding: 7px 14px;
  transition: border-color .2s, color .2s, background .2s;
  align-self: flex-start;
  letter-spacing: .03em;
}
.founder-linkedin:hover { border-color: var(--orange); color: var(--orange2); background: rgba(232,87,10,.1); }
.founder-linkedin svg { flex-shrink: 0; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .founder-photo { height: 280px; }
}

/* ─── DETAILS / ACCORDION ────────────────────────────────────────────────── */
details { cursor: pointer; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::marker { display: none; }

/* feature-item accordion */
details.feature-item {
  padding: 14px 16px; border-radius: var(--r);
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
details.feature-item summary {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
}
details.feature-item summary .fi-icon {
  flex-shrink: 0;
}
details.feature-item summary strong {
  flex: 1; font-size: .93rem;
}
details.feature-item summary .expand-icon {
  margin-left: auto; font-size: .8rem; color: var(--orange);
  opacity: .6; transition: transform .2s, opacity .2s; flex-shrink: 0;
}
details.feature-item[open] summary .expand-icon { transform: rotate(45deg); opacity: 1; }
details.feature-item[open] { background: rgba(0,0,0,.04); border-color: rgba(232,87,10,.2); }
details.feature-item[open] summary { margin-bottom: 10px; }
details.feature-item p { padding-left: 48px; font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ts-card accordion */
details.ts-card { display: flex; flex-direction: column; }
details.ts-card summary {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  padding-bottom: 12px;
}
details.ts-card summary::after {
  content: '+'; color: var(--orange); font-size: 1.2rem; font-weight: 300;
  transition: transform .2s; flex-shrink: 0;
}
details.ts-card[open] summary::after { content: '−'; }
details.ts-card ul { margin-top: 4px; }

/* Equal-height ts-card grid — items stretch to tallest */
.tech-specs-grid { align-items: stretch; }
.ts-card { height: 100%; }

/* tl-step accordion */
details.tl-step { cursor: pointer; }
details.tl-step summary {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  list-style: none;
}
details.tl-step summary .expand-hint {
  font-size: .72rem; color: var(--orange); opacity: .6;
  font-family: var(--mono); letter-spacing: .08em;
  transition: opacity .2s;
}
details.tl-step[open] summary .expand-hint { opacity: 0; height: 0; overflow: hidden; }
details.tl-step p { margin-top: 14px; text-align: left; }
details.tl-step .tl-tags { margin-top: 12px; }

/* IoT section text overrides (navy background) */
#iot .app-feature h4 { color: rgba(255,255,255,.9); }
#iot .app-feature p { color: rgba(255,255,255,.55); }
#iot .af-num { color: var(--orange2); }
#iot .app-feature.af-active h4 { color: #fff; }

/* ─── HOVER INTERACTIONS ─────────────────────────────────────────────────── */

/* Buttons */
.btn-primary { transition: background .2s, transform .18s, box-shadow .18s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,87,10,.45); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost { transition: all .2s; }
.btn-ghost:hover { transform: translateY(-1px); }

.btn-ghost-white { transition: all .2s; }
.btn-ghost-white:hover { transform: translateY(-1px); }

/* Product cards */
.product-card { transition: box-shadow .25s; }
.product-card:hover { box-shadow: 0 24px 64px rgba(0,0,0,.14), 0 4px 16px rgba(0,0,0,.08); }

/* Feature grid items */
.feature-item {
  border-radius: var(--r); padding: 10px; margin: -10px;
  transition: background .2s, transform .2s;
}
.feature-item:hover { background: rgba(0,0,0,.04); transform: translateX(4px); }

/* Tech loop steps */
.tl-step { transition: transform .22s, box-shadow .22s; }
.tl-step:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11,29,58,.18); }

/* Tech spec cards */
.ts-card { transition: transform .22s, box-shadow .22s, border-color .22s; }
.ts-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.18); border-color: rgba(232,87,10,.3); }

/* Clinical stat cards */
.clin-card { transition: transform .22s, box-shadow .22s; }
.clin-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.16); }

/* Publication items */
.pub-item { transition: background .2s, border-color .2s, transform .2s; }
.pub-item:hover { background: rgba(255,255,255,.06); border-color: rgba(232,87,10,.35); transform: translateX(4px); }

/* Pipeline rows */
.pt-row { transition: background .18s; cursor: default; }
.pt-row:hover { background: rgba(255,255,255,.05); }

/* App feature list items */
.app-feature { transition: background .2s, border-color .2s; }
.app-feature:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }

/* Founder cards */
.founder-card { transition: transform .25s, box-shadow .25s; }
.founder-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.founder-photo { transition: transform .35s; }
.founder-card:hover .founder-photo { transform: scale(1.03); }

/* Contact option items */
.co-item { transition: background .2s, border-color .2s, transform .2s; }
.co-item:hover { background: rgba(255,255,255,.04); border-color: rgba(232,87,10,.3); transform: translateX(4px); }

/* Spec rows */
.spec { transition: background .18s; }
.spec:hover { background: rgba(232,87,10,.06); }

/* Footer links */
.fl-col a { transition: color .18s, transform .18s; display: inline-block; }
.fl-col a:hover { color: var(--orange); transform: translateX(3px); }

/* Pipeline stage badges */
.stage { transition: transform .18s, box-shadow .18s; display: inline-block; }
.pt-row:hover .stage { transform: scale(1.04); }

/* ─── ANIMATIONS ─────────────────────────────────────────────────────────── */
@keyframes sensorPulse { 0%, 100% { box-shadow: 0 0 8px var(--orange); transform: scale(1); } 50% { box-shadow: 0 0 20px var(--orange2); transform: scale(1.3); } }
@keyframes alertPulse { 0%, 100% { background: rgba(232,87,10,.18); } 50% { background: rgba(232,87,10,.38); } }
@keyframes beadPulse { 0%, 100% { box-shadow: 0 0 5px rgba(251,191,36,.4); transform: scale(1); } 50% { box-shadow: 0 0 12px rgba(251,191,36,.7); transform: scale(1.25); } }
@keyframes arrowPulse { 0%, 100% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(5px); opacity: .5; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transition: opacity .5s ease; }
.reveal.visible { opacity: 1; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-content { width: 100%; }
  .tech-loop { grid-template-columns: 1fr 1fr; }
  .tl-arrow { display: none; }
  .tech-specs-grid { grid-template-columns: 1fr 1fr; }
  .clinical-grid { grid-template-columns: 1fr 1fr; }
  .clin-card.big { grid-row: unset; }
  .clin-card.big .clin-num { font-size: 3.5rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .product-card, .product-card.reverse { grid-template-columns: 1fr; direction: ltr; }
  .app-showcase { grid-template-columns: 1fr; }
  .app-phone-wrap { order: -1; }
  .cta-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .pt-header { display: none; }
  .pt-row { grid-template-columns: 1fr; gap: 6px; }
  .clinical-grid { grid-template-columns: 1fr; }
  .pub-list { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-specs { grid-template-columns: 1fr 1fr; }
  .tech-loop { grid-template-columns: 1fr; }
  .tech-specs-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 18px; }
  .stat-sep { display: none; }
}
