/* ================================================================
   Sansera Health Technologies v2
   Light theme | Manrope font | Navy hero | Violet + Lime accents
   ================================================================ */

:root {
  --bg:       #FFFFFF;
  --bg-2:     #F4F7FC;
  --bg-3:     #E8EDF6;
  --dark:     #0B1D30;
  --dark-2:   #0F2540;
  --dark-3:   #122B4A;
  --lime:     #BBFF47;
  --lime-dk:  #8ECC1A;
  --violet:   #6B4EE6;
  --violet-lt:#8B6EFF;
  --text:     #090E1A;
  --text-2:   #3B4668;
  --text-3:   #6B7898;
  --border:   rgba(0,0,0,0.07);
  --border-2: rgba(0,0,0,0.12);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 2px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.04);
  --white:    #FFFFFF;
  --r:        16px;
  --r-lg:     24px;
  --r-xl:     32px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-width: 320px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 0 32px;
}

/* ---------------------------------------------------------------
   Typography
--------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(107,78,230,0.07);
  border: 1px solid rgba(107,78,230,0.18);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
}
.eyebrow--light {
  color: var(--lime);
  background: rgba(187,255,71,0.1);
  border-color: rgba(187,255,71,0.25);
}

.section-header { margin-bottom: 56px; }

.section-h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--text); line-height: 1.1; max-width: 640px;
}
.section-h2--light { color: var(--white); }

.section-sub {
  margin-top: 16px; font-size: 17px;
  color: var(--text-3); max-width: 560px; line-height: 1.7;
}
.section-sub--light { color: rgba(255,255,255,0.6); }

.tm { font-size: 0.5em; vertical-align: super; }

/* ---------------------------------------------------------------
   Buttons
--------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border-radius: 10px;
  font-family: inherit; font-size: 15px; font-weight: 700;
  letter-spacing: -0.01em; cursor: pointer; border: none; white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn--lime { background: var(--lime); color: #07080D; }
.btn--lime:hover {
  background: var(--lime-dk); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(187,255,71,0.3);
}
.btn--violet { background: var(--violet); color: white; }
.btn--violet:hover {
  background: var(--violet-lt); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,78,230,0.3);
}
.btn--ghost {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-2px);
}
.btn--lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }

/* ---------------------------------------------------------------
   Animations
--------------------------------------------------------------- */
.anim {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1),
              transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.anim.visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------
   1. ANNOUNCEMENT BAR
--------------------------------------------------------------- */
.ann-bar {
  position: relative; z-index: 200;
  background: var(--lime); color: #07080D;
  display: flex; align-items: center; justify-content: center;
  gap: 12px; min-height: 44px; padding: 8px 48px 8px 16px;
  font-size: 13.5px; font-weight: 600;
  animation: slideDown 0.5s cubic-bezier(0.4,0,0.2,1);
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease, padding 0.4s ease;
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.ann-bar__text { text-align: center; }
.ann-bar__link {
  color: #07080D; text-decoration: underline;
  text-underline-offset: 3px; font-weight: 700; margin-left: 4px;
  transition: opacity var(--transition);
}
.ann-bar__link:hover { opacity: 0.65; }
.ann-bar__close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; color: #07080D; opacity: 0.55;
  border-radius: 6px; transition: opacity var(--transition), background var(--transition);
}
.ann-bar__close:hover { opacity: 1; background: rgba(0,0,0,0.1); }
.ann-bar.dismissed {
  max-height: 0; padding-top: 0; padding-bottom: 0;
  opacity: 0; pointer-events: none; overflow: hidden;
}

/* ---------------------------------------------------------------
   2. NAV
--------------------------------------------------------------- */
.nav-wrap {
  position: fixed; left: 0; right: 0; z-index: 150;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.nav-wrap.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,0.06);
}

.nav {
  display: flex; align-items: center;
  height: 64px; gap: 40px;
}

.nav__logo {
  display: flex; align-items: center;
  gap: 10px; flex-shrink: 0; text-decoration: none;
}

.nav__logo-mark { width: 36px; height: 36px; flex-shrink: 0; display: block; }

.nav__logo-text {
  font-size: 19px; font-weight: 800;
  letter-spacing: -0.04em; color: var(--white);
  transition: color var(--transition);
}
.nav-wrap.scrolled .nav__logo-text { color: var(--text); }

.nav__links {
  display: flex; align-items: center; gap: 8px; margin-left: auto;
}
.nav__link {
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 6px 12px; border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-wrap.scrolled .nav__link { color: var(--text-2); }
.nav-wrap.scrolled .nav__link:hover { color: var(--text); background: var(--bg-2); }

.nav__cta { margin-left: 8px; }

.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; margin-left: auto; border-radius: 8px;
  transition: background var(--transition);
}
.nav__hamburger-bar {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: background var(--transition);
}
.nav-wrap.scrolled .nav__hamburger-bar { background: var(--text); }

/* ---------------------------------------------------------------
   3. MOBILE MENU
--------------------------------------------------------------- */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(9,14,26,0.97); backdrop-filter: blur(12px);
  z-index: 140; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transition: opacity 0.25s ease;
}
.mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu__link {
  font-size: 22px; font-weight: 700;
  color: rgba(255,255,255,0.8); padding: 12px 32px; border-radius: 12px;
  transition: color var(--transition), background var(--transition);
}
.mobile-menu__link:hover { color: white; background: rgba(255,255,255,0.06); }
.mobile-menu__close {
  position: absolute; top: 20px; right: 24px;
  color: rgba(255,255,255,0.6); font-size: 28px; font-weight: 300;
  padding: 8px; transition: color var(--transition);
}
.mobile-menu__close:hover { color: white; }

/* ---------------------------------------------------------------
   4. HERO  (dark navy, NOT black)
--------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 64px; overflow: clip;
  background: var(--dark);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 65% 40%, rgba(11,78,160,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 75%, rgba(107,78,230,0.15) 0%, transparent 60%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; padding: 80px 32px;
}
.hero__content { max-width: 580px; }
.hero__h1 {
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 900; letter-spacing: -0.04em;
  color: var(--white); line-height: 1.0; margin-bottom: 24px;
}
.hero__sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.62); line-height: 1.7;
  margin-bottom: 36px; max-width: 500px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__social-proof { font-size: 13px; color: rgba(255,255,255,0.38); font-weight: 500; }

/* ---------------------------------------------------------------
   5. DASHBOARD MOCKUP
--------------------------------------------------------------- */
.hero__mockup-wrap {
  display: flex; justify-content: flex-end;
  animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.mockup {
  background: #0D1929;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  width: 100%; max-width: 560px;
}
.mockup__chrome {
  background: #0A1220; border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
}
.mockup__dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--red    { background: #FF5F57; }
.dot--yellow { background: #FFBD2E; }
.dot--green  { background: #28CA41; }
.mockup__url-bar {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 5px 12px;
  font-size: 12px; color: rgba(255,255,255,0.4);
  display: flex; align-items: center; gap: 6px;
}
.mockup__url-bar svg { width: 12px; height: 12px; opacity: 0.5; flex-shrink: 0; }
.mockup__body { display: flex; height: 400px; }
.mockup__sidebar {
  width: 80px; background: #091018;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 12px 8px; display: flex; flex-direction: column; gap: 4px;
}
.mockup__sidebar-logo {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--lime), var(--lime-dk));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; flex-shrink: 0;
}
.mockup__sidebar-nav { list-style: none; }
.mockup__sidebar-nav li {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px; border-radius: 8px; cursor: pointer;
  transition: background 0.2s;
}
.mockup__sidebar-nav li:hover { background: rgba(255,255,255,0.04); }
.mockup__sidebar-nav li svg { width: 18px; height: 18px; color: rgba(255,255,255,0.35); }
.mockup__sidebar-nav li span { font-size: 9px; color: rgba(255,255,255,0.3); font-weight: 600; letter-spacing: 0.02em; }
.mockup__sidebar-nav li.active { background: rgba(187,255,71,0.08); }
.mockup__sidebar-nav li.active svg { color: var(--lime); }
.mockup__sidebar-nav li.active span { color: var(--lime); }
.mockup__main {
  flex: 1; padding: 16px; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
}
.mockup__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mockup__stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 10px 12px;
}
.mockup__stat--warn .mockup__stat-value { color: #FF8C42; }
.mockup__stat--lime .mockup__stat-value { color: var(--lime); }
.mockup__stat-value {
  font-size: 20px; font-weight: 800; color: var(--white);
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px;
}
.mockup__stat-label { font-size: 10px; color: rgba(255,255,255,0.4); font-weight: 600; line-height: 1.3; }
.mockup__section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}
.mockup__queue { display: flex; flex-direction: column; gap: 6px; }
.mockup__patient-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; opacity: 0;
  animation: fadeInRow 0.4s ease forwards;
}
.mockup__patient-row--1 { animation-delay: 0.6s; }
.mockup__patient-row--2 { animation-delay: 0.8s; }
.mockup__patient-row--3 { animation-delay: 1.0s; }
.mockup__patient-row--4 { animation-delay: 1.2s; }
@keyframes fadeInRow {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.risk-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.risk-dot--red    { background: #FF5F57; box-shadow: 0 0 6px rgba(255,95,87,0.5); }
.risk-dot--orange { background: #FF8C42; box-shadow: 0 0 6px rgba(255,140,66,0.5); }
.risk-dot--blue   { background: #4E9BF5; box-shadow: 0 0 6px rgba(78,155,245,0.4); }
.risk-dot--violet { background: var(--violet-lt); box-shadow: 0 0 6px rgba(139,110,255,0.4); }
.mockup__patient-info { flex: 1; min-width: 0; }
.mockup__patient-name { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.85); line-height: 1; margin-bottom: 3px; }
.mockup__patient-note { font-size: 10px; color: rgba(255,255,255,0.38); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; flex-shrink: 0; }
.badge--urgent   { background: rgba(255,95,87,0.15);  color: #FF5F57; }
.badge--review   { background: rgba(255,140,66,0.15); color: #FF8C42; }
.badge--schedule { background: rgba(78,155,245,0.15); color: #4E9BF5; }
.badge--auth     { background: rgba(139,110,255,0.15);color: var(--violet-lt); }
.mockup__chart { margin-top: auto; }
.mockup__chart-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 8px; }
.mockup__bars { display: flex; flex-direction: column; gap: 4px; }
.mockup__bar-item { display: flex; align-items: center; gap: 8px; }
.mockup__bar-name { font-size: 10px; color: rgba(255,255,255,0.4); width: 30px; flex-shrink: 0; text-align: right; }
.mockup__bar-track { flex: 1; height: 5px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.mockup__bar-fill { height: 100%; background: var(--lime); border-radius: 3px; transition: width 1s cubic-bezier(0.4,0,0.2,1); }
.mockup__bar-fill--violet { background: var(--violet-lt); }
.mockup__bar-fill--blue   { background: #4E9BF5; }
.mockup__bar-fill--gray   { background: rgba(255,255,255,0.2); }
.mockup__bar-pct { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.4); width: 28px; flex-shrink: 0; }

/* ---------------------------------------------------------------
   6. MARQUEE  (light gray)
--------------------------------------------------------------- */
.marquee-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0; display: flex; align-items: center; gap: 24px; overflow: hidden;
}
.marquee-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-3);
  white-space: nowrap; padding-left: 32px; flex-shrink: 0;
}
.marquee-track {
  flex: 1; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-inner {
  display: flex; gap: 10px; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  background: white; border: 1px solid var(--border-2); color: var(--text-2);
}
.marquee-chip--stat {
  background: rgba(107,78,230,0.07);
  border-color: rgba(107,78,230,0.18); color: var(--violet);
}
.marquee-chip--ehr { color: var(--text-3); font-size: 12px; }

/* ---------------------------------------------------------------
   7. PROBLEM  (white)
--------------------------------------------------------------- */
.problem { padding: 96px 0; background: var(--bg); }
.problem__split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.problem__quote p {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800; color: var(--text);
  line-height: 1.2; letter-spacing: -0.03em;
}
.problem__quote p::before {
  content: '\201C'; color: var(--violet);
  font-size: 1.3em; line-height: 0;
  vertical-align: -0.2em; margin-right: 4px;
}
.problem__card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm);
}
.problem__card-heading {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 20px;
}
.problem__stat-list { display: flex; flex-direction: column; gap: 16px; }
.problem__stat-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text-2); line-height: 1.5;
}
.problem__stat-icon { flex-shrink: 0; margin-top: 2px; }
.problem__stat-icon svg { width: 16px; height: 16px; color: var(--violet); }
.problem__coda {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 18px; font-weight: 700; color: var(--text-2); text-align: center;
}
.problem__coda span { color: var(--violet); }

/* ---------------------------------------------------------------
   8. PRODUCTS  (light gray bg)
--------------------------------------------------------------- */
.products { padding: 96px 0; background: var(--bg-2); }
.products__layout {
  display: flex; background: white;
  border: 1px solid var(--border); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-md); min-height: 540px;
}
.products__sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--bg-2); border-right: 1px solid var(--border);
  padding: 20px 12px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto;
}
.products__group-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-3); padding: 8px 12px 4px;
}
.products__tab {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; cursor: pointer;
  border: none; background: none; text-align: left; width: 100%;
  border-left: 3px solid transparent;
  transition: background var(--transition);
}
.products__tab:hover { background: white; }
.products__tab.active { background: white; border-left-color: var(--violet); }
.products__tab-icon {
  width: 32px; height: 32px; background: var(--bg-3);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  transition: background var(--transition);
}
.products__tab-icon svg { width: 15px; height: 15px; color: var(--text-3); }
.products__tab.active .products__tab-icon { background: rgba(107,78,230,0.1); }
.products__tab.active .products__tab-icon svg { color: var(--violet); }
.products__tab-name {
  font-size: 13px; font-weight: 700; color: var(--text-2); line-height: 1.2;
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.products__tab.active .products__tab-name { color: var(--text); }
.products__tab-type {
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 2px 0; border-radius: 4px;
  background: var(--bg-3); color: var(--text-3);
  flex-shrink: 0; width: 60px; text-align: center;
}
.products__tab.active .products__tab-type {
  background: rgba(107,78,230,0.08); color: var(--violet);
}
.products__panels { flex: 1; overflow: hidden; position: relative; }
.products__panel {
  position: absolute; inset: 0; padding: 36px 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease; overflow-y: auto;
}
.products__panel.active { opacity: 1; position: relative; pointer-events: auto; }
.products__panel[hidden] { display: none; }
.products__panel-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 36px; align-items: start;
}
.products__panel-header { margin-bottom: 16px; }
.products__panel-name {
  font-size: 28px; font-weight: 800; color: var(--text);
  letter-spacing: -0.04em; margin-bottom: 8px; line-height: 1.1;
}
.panel-badge {
  display: inline-block; font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 10px; border-radius: 6px;
}
.panel-badge--platform { background: rgba(107,78,230,0.1); color: var(--violet); }
.panel-badge--agent    { background: rgba(26,158,106,0.1); color: #1A9E6A; }
.products__panel-desc { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-top: 14px; }
.products__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.metric-box { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; }
.metric-box__value { font-size: 18px; font-weight: 900; color: var(--violet); letter-spacing: -0.04em; line-height: 1; }
.metric-box__label { font-size: 11px; color: var(--text-3); line-height: 1.4; margin-top: 4px; }
.products__metric {
  display: flex; align-items: baseline; gap: 12px;
  padding: 14px 16px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 10px;
}
.products__metric-val {
  font-size: 22px; font-weight: 900; color: var(--violet);
  letter-spacing: -0.04em; line-height: 1; flex-shrink: 0;
}
.products__metric-label { font-size: 13px; color: var(--text-3); line-height: 1.4; }
.products__panel-mockup {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; min-height: 280px;
}

/* Mini mockups (light theme) */
.mini-mockup { padding: 16px; display: flex; flex-direction: column; gap: 8px; height: 100%; }
.mini-header {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-3);
  padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px;
}
.mini-patient-row {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  background: white; border: 1px solid var(--border); border-radius: 8px;
}
.mini-p-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mini-p-name { font-size: 12px; font-weight: 700; color: var(--text); flex: 1; }
.mini-p-risk {
  font-size: 9px; font-weight: 800; text-transform: uppercase; padding: 2px 6px; border-radius: 4px;
}
.mini-p-risk--high { background: rgba(255,95,87,0.12);  color: #E53E3E; }
.mini-p-risk--mod  { background: rgba(255,140,66,0.12); color: #D97706; }
.mini-p-risk--low  { background: rgba(26,158,106,0.12); color: #1A9E6A; }
.mini-call-row {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px;
  background: white; border: 1px solid var(--border); border-radius: 8px;
  font-size: 12px; color: var(--text-2);
}
.mini-call-dot { width: 7px; height: 7px; border-radius: 50%; }
.mini-call-dot--green  { background: #28CA41; }
.mini-call-dot--yellow { background: #FFBD2E; }
.mini-call-dot--blue   { background: #4E9BF5; }
.mini-call-lang { margin-left: auto; font-size: 9px; font-weight: 700; background: var(--bg-2); padding: 2px 6px; border-radius: 4px; color: var(--text-3); }
.mini-ccm-bar { margin-bottom: 4px; }
.mini-ccm-label { font-size: 11px; font-weight: 600; color: var(--text-2); margin-bottom: 4px; display: flex; justify-content: space-between; }
.mini-ccm-track { height: 6px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.mini-ccm-fill { height: 100%; background: var(--violet); border-radius: 3px; }
.mini-ccm-revenue { margin-top: 12px; padding: 12px; background: white; border: 1px solid var(--border); border-radius: 10px; text-align: center; }
.mini-ccm-rev-val { font-size: 24px; font-weight: 900; color: var(--violet); letter-spacing: -0.04em; }
.mini-ccm-rev-label { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.mini-auth-row {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px;
  background: white; border: 1px solid var(--border); border-radius: 8px; font-size: 12px;
}
.mini-auth-status {
  font-size: 9px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 2px 7px; border-radius: 4px; flex-shrink: 0;
}
.mini-auth-status--green  { background: rgba(26,158,106,0.1);  color: #1A9E6A; }
.mini-auth-status--yellow { background: rgba(255,189,46,0.12); color: #D97706; }
.mini-auth-status--red    { background: rgba(255,95,87,0.12);  color: #E53E3E; }
.mini-auth-status--violet { background: rgba(107,78,230,0.1);  color: var(--violet); }
.mini-auth-name { font-size: 12px; color: var(--text-2); flex: 1; }
.mini-campaign-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  background: white; border: 1px solid var(--border); border-radius: 8px;
}
.mini-campaign-name { font-size: 12px; font-weight: 600; color: var(--text); flex: 1; }
.mini-campaign-rate { font-size: 13px; font-weight: 800; color: var(--violet); }
.mini-campaign-track { height: 4px; background: var(--bg-3); border-radius: 2px; margin-top: 4px; overflow: hidden; }
.mini-campaign-fill { height: 100%; background: var(--violet); border-radius: 2px; }
.mini-hedis-row {
  display: flex; align-items: center; padding: 7px 10px;
  background: white; border: 1px solid var(--border); border-radius: 8px; gap: 10px;
}
.mini-hedis-measure { font-size: 11px; font-weight: 600; color: var(--text-2); flex: 1; }
.mini-hedis-score { font-size: 13px; font-weight: 800; }
.mini-hedis-score--good { color: #1A9E6A; }
.mini-hedis-score--warn { color: #D97706; }
.mini-hedis-score--low  { color: #E53E3E; }
.mini-refer-stage {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  background: white; border: 1px solid var(--border); border-radius: 8px;
}
.mini-refer-label { font-size: 12px; color: var(--text-2); flex: 1; font-weight: 600; }
.mini-refer-count { font-size: 16px; font-weight: 900; color: var(--text); }
.mini-refer-bar { width: 60px; height: 5px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.mini-refer-fill { height: 100%; background: var(--violet); border-radius: 3px; }
.mini-soap-section { display: flex; gap: 8px; font-size: 11px; line-height: 1.5; }
.mini-soap-label { font-weight: 900; color: var(--violet); width: 14px; flex-shrink: 0; }
.mini-soap-text { color: var(--text-2); }
.mini-risk-row {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px;
  background: white; border: 1px solid var(--border); border-radius: 8px;
}
.mini-risk-name { font-size: 12px; color: var(--text); flex: 1; font-weight: 600; }
.mini-risk--red    { background: rgba(255,95,87,0.1);  color: #E53E3E; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.mini-risk--orange { background: rgba(255,140,66,0.1); color: #D97706; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.mini-risk--green  { background: rgba(26,158,106,0.1); color: #1A9E6A; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }

/* mini-mockup shared header + tag */
.mini-mockup__header { font-size: 12px; font-weight: 700; color: var(--text); padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.mini-tag { font-size: 9px; font-weight: 700; background: var(--bg-3); color: var(--text-3); padding: 2px 6px; border-radius: 4px; letter-spacing: 0.04em; }
.mini-tag--lime { background: rgba(107,78,230,0.1); color: var(--violet); }

/* mini-progress rows (CCM360 billing tracker) */
.mini-progress-row { display: flex; align-items: center; gap: 8px; }
.mini-progress-label { font-size: 11px; font-weight: 600; color: var(--text-2); width: 92px; flex-shrink: 0; }
.mini-progress-bar { flex: 1; height: 6px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.mini-progress-fill { height: 100%; background: var(--violet); border-radius: 3px; }
.mini-progress-fill--violet { background: var(--violet); }
.mini-progress-fill--lime { background: #1A9E6A; }
.mini-progress-pct { font-size: 11px; font-weight: 700; color: var(--text-2); width: 30px; text-align: right; flex-shrink: 0; }

/* mini-stat revenue row */
.mini-stat-row { display: flex; gap: 10px; padding-top: 8px; border-top: 1px solid var(--border); margin-top: 4px; }
.mini-stat { flex: 1; }
.mini-stat-val { font-size: 16px; font-weight: 900; color: var(--text); letter-spacing: -0.04em; display: block; }
.mini-stat-lbl { font-size: 10px; color: var(--text-3); }

/* mini-hedis rows (PopHealth scorecard) */
.mini-hedis-name { font-size: 11px; font-weight: 600; color: var(--text-2); flex: 1; }
.mini-hedis-bar { width: 70px; flex-shrink: 0; height: 5px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.mini-hedis-fill { height: 100%; background: var(--violet); border-radius: 3px; }
.mini-hedis-fill--violet { background: var(--violet); }
.mini-hedis-fill--blue   { background: #4E9BF5; }
.mini-hedis-fill--orange { background: #FF8C42; }
.mini-hedis-val { font-size: 12px; font-weight: 800; color: var(--text); width: 28px; text-align: right; flex-shrink: 0; }

/* mini-campaign stats (Engage outreach) */
.mini-campaign-stat { font-size: 12px; font-weight: 800; color: var(--violet); white-space: nowrap; }
.mini-campaign-pct  { font-size: 11px; color: var(--text-3); white-space: nowrap; }

/* mini-refer kanban board (SanseraRefer) */
.mini-refer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.mini-refer-col { display: flex; flex-direction: column; gap: 6px; }
.mini-refer-col-head { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); padding-bottom: 4px; }
.mini-refer-card { background: white; border: 1px solid var(--border); border-left: 3px solid var(--border); border-radius: 8px; padding: 7px 8px; font-size: 11px; font-weight: 700; color: var(--text-2); line-height: 1.4; }
.mini-refer-card--lime { border-left-color: var(--violet); }
.mini-refer-card--done { border-left-color: #1A9E6A; }
.mini-refer-patient { font-size: 10px; font-weight: 400; color: var(--text-3); display: block; margin-top: 2px; }

/* mini-row patient list (SanseraCare) */
.mini-row { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: white; border: 1px solid var(--border); border-radius: 8px; }
.mini-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mini-dot--red    { background: #E53E3E; }
.mini-dot--orange { background: #D97706; }
.mini-dot--blue   { background: #4E9BF5; }
.mini-dot--green  { background: #1A9E6A; }
.mini-name { font-size: 12px; font-weight: 600; color: var(--text-2); flex: 1; }
.mini-risk { font-size: 9px; font-weight: 800; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.mini-risk--red    { background: rgba(229,62,62,0.1);  color: #E53E3E; }
.mini-risk--orange { background: rgba(217,119,6,0.1);  color: #D97706; }
.mini-risk--blue   { background: rgba(78,155,245,0.1); color: #4E9BF5; }
.mini-risk--green  { background: rgba(26,158,106,0.1); color: #1A9E6A; }

/* ---------------------------------------------------------------
   9. BENTO GRID  (white)
--------------------------------------------------------------- */
.bento { padding: 96px 0; background: var(--bg); }
.bento__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.bento__card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.bento__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.bento__card--wide { grid-column: span 2; }
.bento__card--dark { background: var(--dark); border-color: rgba(255,255,255,0.07); }
.bento__card--violet { background: var(--violet); border-color: transparent; }
.bento__pre-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 10px;
}
.bento__card--dark .bento__pre-label   { color: rgba(255,255,255,0.45); }
.bento__card--violet .bento__pre-label { color: rgba(255,255,255,0.7); }
.bento__big-num {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 1; color: var(--violet); margin-bottom: 8px;
}
.bento__big-num--lime  { color: var(--lime); }
.bento__big-num--white { color: white; }
.bento__big-label {
  font-size: 15px; font-weight: 700; color: var(--text-2);
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.bento__card--dark .bento__big-label   { color: rgba(255,255,255,0.8); }
.bento__card--violet .bento__big-label { color: rgba(255,255,255,0.9); }
.bento__desc { font-size: 13px; color: var(--text-3); line-height: 1.6; }
.bento__card--dark .bento__desc   { color: rgba(255,255,255,0.45); }
.bento__card--violet .bento__desc { color: rgba(255,255,255,0.7); }
.bento__indicator { display: flex; gap: 6px; margin-top: 16px; }
.bento__indicator-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-3); }
.bento__indicator-dot--active { background: var(--violet); }
.bento__card--dark .bento__indicator-dot { background: rgba(255,255,255,0.15); }
.bento__card--dark .bento__indicator-dot--active { background: var(--lime); }
.bento__lang-bubbles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.bento__lang-bubble {
  background: white; border: 1px solid var(--border-2);
  color: var(--text-2); font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
}
.bento__lang-bubble--more {
  background: rgba(107,78,230,0.1);
  border-color: rgba(107,78,230,0.2); color: var(--violet);
}
.bento__compare { margin-top: 20px; }
.bento__compare-bar-wrap { display: flex; flex-direction: column; gap: 8px; }
.bento__compare-bar { display: flex; align-items: center; gap: 10px; }
.bento__compare-track { flex: 1; height: 8px; background: var(--bg-3); border-radius: 4px; overflow: hidden; }
.bento__compare-fill { height: 100%; border-radius: 4px; transition: width 1.2s cubic-bezier(0.4,0,0.2,1); }
.bento__compare-bar--sansera .bento__compare-fill { background: var(--violet); }
.bento__compare-bar--industry .bento__compare-fill { background: var(--bg-3); border: 1px solid var(--border-2); }
.bento__compare-label { font-size: 11px; font-weight: 700; color: var(--text-3); white-space: nowrap; width: 100px; }
.bento__compare-bar--sansera .bento__compare-label { color: var(--violet); }

/* ---------------------------------------------------------------
   10. STATS ROW  (dark navy)
--------------------------------------------------------------- */
.stats-row {
  padding: 80px 0; background: var(--dark);
  position: relative; overflow: hidden;
}
.stats-row::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(107,78,230,0.12) 0%, transparent 70%);
}
.stats-row__grid {
  position: relative; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center;
}
.stats-row__num {
  font-size: clamp(30px, 3.5vw, 46px); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1; color: var(--lime); margin-bottom: 12px;
}
.stats-row__label { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.4; font-weight: 500; }

/* ---------------------------------------------------------------
   11. TESTIMONIAL  (dark navy)
--------------------------------------------------------------- */
.testimonial { padding: 96px 0; background: var(--dark-2); }
.testimonial__card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-xl); padding: 56px 64px;
  position: relative; overflow: hidden; max-width: 900px; margin: 0 auto;
}
.testimonial__quote-mark {
  position: absolute; top: -10px; left: 40px;
  font-size: 200px; font-weight: 900;
  color: rgba(107,78,230,0.08); line-height: 1;
  user-select: none; pointer-events: none;
}
.testimonial__quote { position: relative; }
.testimonial__quote p {
  font-size: clamp(18px, 2.5vw, 26px); font-weight: 700;
  color: rgba(255,255,255,0.88); line-height: 1.5;
  letter-spacing: -0.02em; margin-bottom: 28px;
}
.testimonial__attribution strong { display: block; font-size: 15px; font-weight: 700; color: white; }
.testimonial__attribution span  { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ---------------------------------------------------------------
   12. INTEGRATIONS  (white)
--------------------------------------------------------------- */
.integrations { padding: 96px 0; background: var(--bg); }
.integrations__grid {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 28px;
}
.integration-badge {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 22px;
  font-size: 13px; font-weight: 700; color: var(--text-2);
  transition: box-shadow var(--transition), border-color var(--transition), color var(--transition);
}
.integration-badge:hover {
  border-color: rgba(107,78,230,0.3);
  box-shadow: 0 4px 12px rgba(107,78,230,0.08);
  color: var(--violet);
}
.integrations__note {
  text-align: center; font-size: 14px; color: var(--text-3);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* ---------------------------------------------------------------
   13. SECURITY  (light gray)
--------------------------------------------------------------- */
.security { padding: 80px 0; background: var(--bg-2); }
.security__badges {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-bottom: 28px;
}
.compliance-badge {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px 32px; min-width: 140px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.compliance-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.compliance-badge__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(107,78,230,0.08);
  display: flex; align-items: center; justify-content: center;
}
.compliance-badge svg { width: 28px; height: 28px; }
.compliance-badge span { font-size: 13px; font-weight: 800; color: var(--text); text-align: center; }
.security__desc {
  text-align: center; font-size: 15px; color: var(--text-3);
  max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* ---------------------------------------------------------------
   14. CTA  (white)
--------------------------------------------------------------- */
.cta-section { padding: 96px 0; background: var(--bg); }
.cta-section__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.cta-section__h2 {
  font-size: clamp(30px, 4vw, 46px); font-weight: 800;
  letter-spacing: -0.04em; color: var(--text); line-height: 1.1; margin-bottom: 16px;
}
.cta-section__sub { font-size: 16px; color: var(--text-3); line-height: 1.7; }
.cta-form { display: flex; flex-direction: column; gap: 12px; }
.cta-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-form__field { display: flex; flex-direction: column; gap: 6px; }
.cta-form__label { font-size: 12px; font-weight: 700; color: var(--text-2); }
.cta-form__input {
  width: 100%; padding: 12px 14px;
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: 10px; color: var(--text); font-size: 14px; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.cta-form__input::placeholder { color: var(--text-3); }
.cta-form__input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(107,78,230,0.12);
  background: white;
}
.cta-form__select { appearance: none; cursor: pointer; }
.cta-form__select option { background: white; color: var(--text); }
.cta-form__submit {
  width: 100%; padding: 16px; background: var(--violet);
  color: white; font-family: inherit; font-size: 16px; font-weight: 700;
  border: none; border-radius: 12px; cursor: pointer; margin-top: 4px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cta-form__submit:hover {
  background: var(--violet-lt); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,78,230,0.3);
}
.cta-form__footnote { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 4px; }
.cta-form__success { text-align: center; padding: 40px 20px; }
.cta-form__success[hidden] { display: none; }
.cta-form__success-icon {
  width: 56px; height: 56px; background: rgba(107,78,230,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--violet);
}
.cta-form__success-icon svg { width: 28px; height: 28px; }
.cta-form__success-title { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.cta-form__success-sub { font-size: 14px; color: var(--text-3); line-height: 1.6; }

/* ---------------------------------------------------------------
   15. FOOTER  (dark navy)
--------------------------------------------------------------- */
.footer { background: var(--dark); padding-top: 64px; }
.footer__inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}
.footer__brand { max-width: 240px; }
.footer__logo { margin-bottom: 14px; }
.footer__tagline { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 6px; }
.footer__engine { font-size: 11px; color: rgba(255,255,255,0.3); }
.footer__col-heading {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__link { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer__link:hover { color: white; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer__copy     { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer__compliance { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer__legal    { display: flex; gap: 20px; }
.footer__legal-link { font-size: 12px; color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer__legal-link:hover { color: rgba(255,255,255,0.7); }

/* ---------------------------------------------------------------
   RESPONSIVE: 1024px
--------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__content { max-width: 100%; }
  .hero__mockup-wrap { animation: none; justify-content: center; }
  .mockup { max-width: 560px; }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: span 3; max-width: 100%; }
  .cta-section__inner { grid-template-columns: 1fr; gap: 48px; }
  .stats-row__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ---------------------------------------------------------------
   RESPONSIVE: 768px
--------------------------------------------------------------- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding-top: 56px; min-height: auto; }
  .hero__inner { padding: 40px 20px 48px; }
  .hero__mockup-wrap { display: none; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .problem { padding: 64px 0; }
  .problem__split { grid-template-columns: 1fr; gap: 32px; }
  .products { padding: 64px 0; }
  .products__layout { flex-direction: column; min-height: auto; border-radius: var(--r-lg); }
  .products__sidebar {
    width: 100%; flex-direction: row; overflow-x: auto;
    padding: 10px 12px; gap: 6px; border-right: none;
    border-bottom: 1px solid var(--border);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .products__sidebar::-webkit-scrollbar { display: none; }
  .products__group-label { display: none; }
  /* KEY FIX: override desktop width:100% so tabs size to their content */
  .products__tab {
    flex-shrink: 0; width: auto;
    border-left: none; border-bottom: 2px solid transparent;
    border-radius: 8px; padding: 8px 12px;
    grid-template-columns: 20px 1fr; /* icon + name only, no badge col */
  }
  .products__tab.active { border-left: none; border-bottom-color: var(--violet); }
  .products__tab-type { display: none; }
  .products__tab-name { white-space: nowrap; overflow: visible; text-overflow: unset; }
  .products__tab-icon { width: 24px; height: 24px; border-radius: 6px; }
  .products__panel { padding: 20px 16px; }
  .products__panel-inner { grid-template-columns: 1fr; gap: 20px; }
  .products__panel-mockup { display: none; }
  .products__metrics { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .metric-box { padding: 10px 10px; }
  .metric-box__value { font-size: 15px; }
  .metric-box__label { font-size: 10px; }
  .bento { padding: 64px 0; }
  .bento__grid { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  .stats-row { padding: 56px 0; }
  .stats-row__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .testimonial { padding: 64px 0; }
  .testimonial__card { padding: 32px 24px; }
  .testimonial__quote-mark { font-size: 120px; }
  .integrations { padding: 64px 0; }
  .security { padding: 56px 0; }
  .security__badges { gap: 10px; }
  .compliance-badge { padding: 20px 20px; min-width: 120px; }
  .cta-section { padding: 64px 0; }
  .cta-form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .section-header { margin-bottom: 36px; }
  .mockup__body { height: 300px; }
}

/* ---------------------------------------------------------------
   RESPONSIVE: 480px
--------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero__h1 { font-size: 36px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .problem__quote p { font-size: 20px; }
  .products__metrics { grid-template-columns: 1fr 1fr; }
  .stats-row__grid { grid-template-columns: 1fr 1fr; }
  .security__badges { justify-content: flex-start; }
  .compliance-badge { min-width: 100px; flex: 1; }
  .testimonial__quote p { font-size: 17px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
