/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --white:       #FFFFFF;
  --bg-light:    #F7F9FC;
  --bg-subtle:   #EEF2F8;
  --navy:        #0F2156;
  --blue-700:    #1B4FD8;
  --blue-500:    #3B69E8;
  --blue-accent: #0EA5E9;
  --green:       #10B981;
  --amber:       #F59E0B;
  --red:         #EF4444;
  --purple:      #8B5CF6;
  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;
  --border:         #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(15,33,86,0.10), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(15,33,86,0.16), 0 4px 8px rgba(0,0,0,0.06);
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --font:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease:  cubic-bezier(0.4, 0.0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 0.875rem;
  display: block;
}
.section-eyebrow.center { text-align: center; }

.section-h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.125rem;
}
.section-h2.center { text-align: center; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}
.section-sub.center { text-align: center; margin: 0 auto; }

.section-intro { text-align: center; max-width: 720px; margin: 0 auto 3rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--white);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.26);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.1);
}
.btn-ghost .arrow { transition: transform 0.3s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

.btn-white {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.btn-white:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,33,86,0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  padding-top: 10px;
  padding-bottom: 10px;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 24px rgba(15,33,86,0.08);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-img  { height: 36px; width: auto; }
.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.3s;
}
.navbar.scrolled .logo-text { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  transition: all 0.2s var(--ease);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.navbar.scrolled .nav-link { color: var(--text-secondary); }
.navbar.scrolled .nav-link:hover { color: var(--navy); background: rgba(15,33,86,0.06); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.575rem 1.2rem;
  background: var(--white);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  margin-left: 0.5rem;
  transition: all 0.25s var(--ease);
}
.nav-cta:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.navbar.scrolled .nav-cta { background: var(--blue-700); color: var(--white); }
.navbar.scrolled .nav-cta:hover { background: var(--navy); box-shadow: 0 4px 16px rgba(27,79,216,0.35); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.navbar.scrolled .nav-toggle span { background: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(155deg, var(--navy) 0%, #163279 45%, #1B4FD8 100%);
  overflow: hidden;
  padding-top: 62px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob { position: absolute; }
.blob-1 {
  top: -8%; right: -4%;
  width: 52%;
  animation: blob-drift 14s ease-in-out infinite;
}
.blob-2 {
  bottom: 2%; left: -8%;
  width: 44%;
  animation: blob-drift 18s ease-in-out infinite reverse;
}
@keyframes blob-drift {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-18px) rotate(2deg); }
  66%      { transform: translateY(10px) rotate(-1.5deg); }
}

.dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cursor-spotlight {
  position: absolute;
  top: 0; left: 0;
  width: 520px;
  height: 520px;
  pointer-events: none;
  background: radial-gradient(circle,
    rgba(255,255,255,0.12) 0%,
    rgba(14,165,233,0.20) 14%,
    rgba(14,165,233,0.08) 32%,
    rgba(255,255,255,0) 54%);
  transform: translate3d(var(--sx, -9999px), var(--sy, -9999px), 0);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  z-index: 0;
}
.spotlight-host:hover .cursor-spotlight { opacity: 1; }

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: fade-up 0.75s var(--ease) both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
}
.badge-dot {
  width: 6px; height: 6px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse-green 2.2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.55; transform: scale(1.5); }
}

.hero-h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.0rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 0.98rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   HERO VISUAL / DASHBOARD CARDS
   ============================================================ */
.hero-visual {
  position: relative;
  min-height: 560px;
  width: 100%;
}

.floating-card {
  position: absolute;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  background: #ffffff;
  border-radius: 16px;
  animation-name: smoothFloat;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.float-slow {
  top: 40px;
  left: 20px;
  width: 360px;
  z-index: 2;
  animation-duration: 7s;
  animation-delay: 0s;
}
.float-med {
  top: 380px;
  left: calc(50% - 180px);
  width: 360px;
  z-index: 4;
  animation-duration: 5s;
  animation-delay: 1.5s;
}
.float-fast {
  top: 140px;
  right: 20px;
  width: 360px;
  z-index: 3;
  animation-duration: 4s;
  animation-delay: 0.5s;
}

@keyframes smoothFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

.dashboard-card {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: 0 32px 80px rgba(0,0,0,0.32), 0 8px 24px rgba(0,0,0,0.16);
  overflow: hidden;
}

.dashboard-header {
  padding: 0.875rem 1.25rem;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}
.dash-logo-area .icon {
  display: flex;
  align-items: center;
  color: var(--blue-500);
}
.dash-status {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blue-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.6rem;
  background: rgba(59,105,232,0.1);
  border-radius: 50px;
}
.dash-status.gap-closed {
  color: var(--green);
  background: rgba(16,185,129,0.12);
}

.dashboard-body { padding: 1rem; }

.patient-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.patient-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--r-sm);
  background: var(--bg-light);
  opacity: 0;
  animation: row-appear 0.45s var(--ease) forwards;
}
.patient-row:nth-child(1) { animation-delay: 0.55s; }
.patient-row:nth-child(2) { animation-delay: 0.85s; }
.patient-row:nth-child(3) { animation-delay: 1.15s; }
@keyframes row-appear {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.p-info  { flex: 1; min-width: 0; }
.p-name  { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }

/* Match score badge */
.match-score {
  width: 360px;
  padding: 1.25rem 1.25rem;
  background: var(--white);
  color: var(--text-primary);
  border-top: 4px solid var(--amber);
  box-shadow: 0 32px 80px rgba(0,0,0,0.32), 0 8px 24px rgba(0,0,0,0.16);
}

.match-breakdown__title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.875rem;
}

.match-breakdown__bar {
  display: flex;
  height: 10px;
  border-radius: 50px;
  overflow: hidden;
  background: var(--bg-light);
  margin-bottom: 1rem;
}

.match-breakdown__segment {
  display: block;
  height: 100%;
}

.match-breakdown__segment--confirmed {
  background: var(--green);
}

.match-breakdown__segment--unknown {
  background: var(--amber);
}

.match-breakdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.match-breakdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.3;
}

.match-breakdown__item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 0.15rem;
}

.match-breakdown__item--confirmed::before {
  background: var(--green);
}

.match-breakdown__item--excluded::before {
  background: var(--red);
}

.match-breakdown__item--unknown::before {
  background: var(--amber);
}

.match-breakdown__label {
  color: var(--text-secondary);
}

.match-breakdown__value {
  font-weight: 700;
  color: var(--text-primary);
}

/* Protocol criteria list */
.protocol-card .criteria-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.criteria-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 500;
}
.criteria-pass {
  background: rgba(16,185,129,0.08);
  color: #059669;
}
.criteria-fail {
  background: rgba(239,68,68,0.08);
  color: #DC2626;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 3rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--bg-subtle);
}
.trust-container { max-width: 1200px; margin: 0 auto; }
.trust-label {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  margin-bottom: 1.75rem;
}
.trust-logos {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.trust-track {
  display: flex;
  gap: 1.5rem;
  animation: marquee 26s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1.5rem;
  height: 48px;
}
.trust-org {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}
.trust-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.trust-logo--sm { height: 28px; }

/* ============================================================
   VALUE PROPOSITION
   ============================================================ */
.value-prop {
  padding: 6rem 2rem;
  background: var(--bg-light);
}
.value-prop-container { max-width: 1200px; margin: 0 auto; }

.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.problem-box,
.solution-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.solution-box {
  border-color: rgba(27,79,216,0.18);
  background: linear-gradient(135deg, var(--white) 0%, rgba(59,105,232,0.04) 100%);
}
.ps-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(239,68,68,0.08);
  border-radius: 50px;
}
.ps-label--blue {
  color: var(--blue-700);
  background: rgba(27,79,216,0.08);
}
.ps-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.ps-copy {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.benefit-icon {
  width: 50px; height: 50px;
  background: rgba(27,79,216,0.08);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  margin-bottom: 1.25rem;
}
.benefit-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.benefit-copy {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   CRC SECTION
   ============================================================ */
.crc-section {
  padding: 6rem 2rem;
  background: var(--white);
}
.crc-container { max-width: 1200px; margin: 0 auto; }

.crc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.crc-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.crc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.crc-icon {
  width: 54px; height: 54px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  margin-bottom: 1.25rem;
}
.crc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.crc-copy {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   USE CASES
   ============================================================ */
.use-cases {
  padding: 6rem 2rem;
  background: var(--bg-light);
}
.use-cases-container { max-width: 1200px; margin: 0 auto; }

.use-case-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.use-case-row {
  display: grid;
  grid-template-columns: 1.1fr 2fr 1fr;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.use-case-row:last-child { border-bottom: none; }
.use-case-header {
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
}
.use-case-cell {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.use-case-header .use-case-cell { color: rgba(255,255,255,0.9); }
.use-case-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}
.use-case-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-blue   { background: var(--blue-500); }
.dot-green  { background: var(--green); }
.dot-purple { background: var(--purple); }

.impact-stat {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 6rem 2rem;
  background: var(--white);
}
.testimonials-container { max-width: 1200px; margin: 0 auto; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--amber);
  margin-bottom: 1.25rem;
}
.testimonial-quote {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--blue-500);
  padding-left: 1rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 1.5rem; }
  .testimonial-quote { font-size: 1.05rem; }
}

/* ============================================================
   SECURITY / COMPLIANCE / INTEGRATION
   ============================================================ */
.security-section {
  padding: 6rem 2rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.security-section::before {
  content: "";
  position: absolute;
  inset: -200px -100px auto auto;
  width: 700px;
  height: 700px;
  background: radial-gradient(closest-side, rgba(3,141,221,0.1), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.security-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.security-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.security-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.security-icon {
  width: 54px; height: 54px;
  background: rgba(27,79,216,0.08);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  margin-bottom: 1.25rem;
}
.security-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.security-copy {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); }

.footer-cta-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem;
  text-align: center;
}
.footer-blob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 80%; max-width: 700px;
  pointer-events: none;
  opacity: 0.5;
}
.footer-cta-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

.hipaa-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.125rem;
}
.footer-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.68;
  margin-bottom: 2.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2rem 2rem 1.5rem;
}
.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo  { height: 34px; width: auto; }
.footer-brand-name    { font-size: 0.9rem; font-weight: 700; color: var(--white); }
.footer-brand-tagline { font-size: 0.72rem; color: rgba(255,255,255,0.4); }

.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.56);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-contact { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.85; text-align: right; }

.footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal span { font-size: 0.78rem; color: rgba(255,255,255,0.32); }
.hipaa-badge-footer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  font-weight: 600;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-up {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transform: translateY(36px);
}
.revealed { opacity: 1 !important; transform: none !important; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 42px; height: 42px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.2s;
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--blue-700); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .benefits-grid,
  .crc-grid,
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 1.5rem;
  }
  .hero-visual {
    order: -1;
    min-height: 520px;
  }
  .float-slow,
  .float-fast {
    width: 280px;
  }
  .float-slow { top: 30px; left: 10px; }
  .float-fast { top: 100px; right: 10px; }
  .float-med { top: 360px; left: calc(50% - 140px); width: 280px; }
  .problem-solution { grid-template-columns: 1fr; }
  .use-case-row { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.25rem; }
  .use-case-header { display: none; }
  .use-case-row:last-child { border-bottom: none; }
  .use-case-cell::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 2rem 2rem;
    box-shadow: var(--shadow-md);
    gap: 0.375rem;
    z-index: 999;
  }
  .nav-links.open .nav-link { color: var(--text-secondary); }
  .nav-links.open .nav-cta  {
    margin-left: 0;
    background: var(--blue-700);
    color: var(--white);
    width: fit-content;
    margin-top: 0.5rem;
  }

  .benefits-grid,
  .crc-grid,
  .security-grid { grid-template-columns: 1fr; }

  .value-prop,
  .crc-section,
  .use-cases,
  .security-section { padding: 4rem 1.25rem; }
}

@media (max-width: 540px) {
  .hero-h1 { font-size: 2.1rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-visual { min-height: 470px; }
  .float-slow,
  .float-fast { width: 230px; }
  .float-med { top: 300px; left: calc(50% - 115px); width: 230px; }
  .footer-bottom-container { flex-direction: column; text-align: center; }
  .footer-contact { text-align: center; }
  .footer-legal { justify-content: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
