/* ============================================================
   RATNA HEALTHPLEX — Home Page Styles
   home.css | v1.0
   ============================================================ */

/* ============================================================
   COMPACT VERTICAL RHYTHM (index.html only)
   design-system.css sets --section-py: var(--space-24) (96px)
   globally for every page. Redefining it here only retunes
   index.html's own .section elements (Why, Comparison, Scaling
   CTA, Platform, Portal, Infrastructure, CTA Footer) — no other
   page loads home.css, so nothing else is affected. This single
   token drives every section's top+bottom padding consistently,
   instead of one-off per-section overrides.
   ============================================================ */
:root {
  --section-py: var(--space-16);
}

/* .bg-light (design-system.css) resolves to var(--surface-page), which
   is the same near-white neutral-50 as plain .bg-white — too subtle to
   read as an alternating color. Override scoped to index.html only. */
.bg-light { background: linear-gradient(120deg, #edf0fc 0%, #eaf7f4 55%, #fdf3ea 100%); }

/* ============================================================
   HERO SLIDE BACKGROUNDS  (80% primary · 10% accent · 10% neutral)
   ============================================================ */
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Slide 1 — deep primary blue */
.slide-bg-1 {
  background-color: var(--color-primary-600);
  background-image: linear-gradient(to right, rgba(5,68,146,0.97) 0%, rgba(5,68,146,0.94) 35%, rgba(5,68,146,0.74) 52%, rgba(5,68,146,0.36) 70%, rgba(5,68,146,0.08) 88%, rgba(5,68,146,0) 100%), url('../../images/hero-banner-1-emr.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide-bg-1::after {
  content: '';
  position: absolute;
  bottom: -220px; left: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); /* 10% neutral */
}

/* Slide 2 — richer primary navy */
.slide-bg-2 {
  background-color: #044494;
  background-image: linear-gradient(to right, rgba(4,68,148,0.97) 0%, rgba(4,68,148,0.94) 35%, rgba(4,68,148,0.74) 52%, rgba(4,68,148,0.36) 70%, rgba(4,68,148,0.08) 88%, rgba(4,68,148,0) 100%), url('../../images/hero-banner-2-record.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide-bg-2::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -150px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

/* Slide 3 — darkest primary */
.slide-bg-3 {
  background-color: #032f6e;
  background-image: linear-gradient(to right, rgba(3,47,110,0.97) 0%, rgba(3,47,110,0.94) 35%, rgba(3,47,110,0.74) 52%, rgba(3,47,110,0.36) 70%, rgba(3,47,110,0.08) 88%, rgba(3,47,110,0) 100%), url('../../images/hero-banner-3-compliant.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide-bg-3::before {
  content: '';
  position: absolute;
  top: -130px; left: -130px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: rgba(233, 131, 12, 0.09);
}

/* Below the lg breakpoint the two-column layout stacks into one, so the
   hero text spans the full width — the left-to-right fade would otherwise
   let the image wash out text on the right half of each line. Use a
   stronger, near-uniform tint instead so text stays readable edge to edge. */
@media (max-width: 991.98px) {
  .slide-bg-1 { background-image: linear-gradient(to right, rgba(5,68,146,0.92) 0%, rgba(5,68,146,0.88) 100%), url('../../images/hero-banner-1-emr.png'); }
  .slide-bg-2 { background-image: linear-gradient(to right, rgba(4,68,148,0.92) 0%, rgba(4,68,148,0.88) 100%), url('../../images/hero-banner-2-record.png'); }
  .slide-bg-3 { background-image: linear-gradient(to right, rgba(3,47,110,0.92) 0%, rgba(3,47,110,0.88) 100%), url('../../images/hero-banner-3-compliant.png'); }
}

/* Slide inner layout helpers — replaces repeated inline styles */
.slide-container { position: relative; z-index: 2; width: 100%; }
.slide-row { min-height: calc(80vh - var(--nav-height)); padding-block: var(--space-16); }

/* ============================================================
   HERO TEXT — dark slide overrides
   ============================================================ */
.hero-slide .hero-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
}
.hero-slide .hero-eyebrow::before { background: var(--color-accent-400); }
.hero-slide .hero-title { color: white; }
.hero-slide .text-gradient { color: #f5a43e; }
.hero-slide .hero-desc { color: rgba(255, 255, 255, 0.76); }
.hero-slide .trust-item { color: rgba(255, 255, 255, 0.64); }
.hero-slide .trust-item svg.lucide { color: var(--color-accent-300); }

/* Buttons on dark hero bg */
.hero-slide .btn-primary {
  background: white;
  color: var(--color-primary-700);
  border-color: white;
}
.hero-slide .btn-primary:hover {
  background: var(--color-primary-50);
  border-color: var(--color-primary-50);
  color: var(--color-primary-800);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}
.hero-slide .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
}
.hero-slide .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.65);
}

/* Slider controls on dark bg */
.slider-dot { background: rgba(255, 255, 255, 0.30); }
.slider-dot.active { background: white; }
.slider-arrow {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.26);
  color: white;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.slider-arrow:hover {
  background: var(--color-accent-500);
  border-color: var(--color-accent-500);
  color: white;
  box-shadow: 0 4px 18px rgba(233, 131, 12, 0.45);
}

/* ============================================================
   HERO DASHBOARD CARD
   ============================================================ */
.hero-dashboard-card,
.hero-map-card,
.hero-scale-card {
  width: 100%;
  max-width: 440px;
}

.dashboard-preview,
.map-card-inner,
.scale-card-inner {
  background: white;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
  animation: float 5s ease-in-out infinite;
}

.dp-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}
.dp-dots {
  display: flex;
  gap: 5px;
}
.dp-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-neutral-200);
}
.dp-dots span:nth-child(1) { background: #ff6058; }
.dp-dots span:nth-child(2) { background: #ffbd2e; }
.dp-dots span:nth-child(3) { background: #29c940; }
.dp-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  flex: 1;
}

.dp-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.dp-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-extrabold);
  line-height: 1;
  margin-bottom: 4px;
}
.dp-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}
.dp-stat-primary { color: var(--color-primary-600); }
.dp-stat-accent  { color: var(--color-accent-600); }
.dp-stat-warn    { color: #f59e0b; }

/* Icon inside compact badge */
.badge-icon { width: 10px; height: 10px; vertical-align: middle; }

.dp-chart-mock {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
  margin-bottom: var(--space-4);
  padding: var(--space-3);
  background: var(--color-neutral-50);
  border-radius: var(--radius-lg);
}
.dp-bar {
  flex: 1;
  background: var(--color-primary-100);
  border-radius: 3px 3px 0 0;
  transition: all 0.3s ease;
}
.dp-bar.active {
  background: var(--color-primary-500);
}

.dp-alert {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-neutral-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}
.dp-alert svg.lucide {
  width: 18px; height: 18px;
  color: var(--color-primary-500);
  flex-shrink: 0;
}

/* Patient list inside dashboard card */
.dp-patient-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-4);
}
.dp-patient {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 6px var(--space-3);
  border-radius: var(--radius-lg);
  background: var(--color-neutral-50);
  border: 1px solid var(--border-subtle);
}
.dp-patient > div { flex: 1; min-width: 0; }
.dp-patient strong {
  display: block;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dp-patient-meta {
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}
.dp-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}
.dp-avatar-primary { background: #e8f0fb; color: #0651a2; }
.dp-avatar-accent  { background: #fef3e6; color: #c26d09; }
.dp-avatar-danger  { background: #fef2f2; color: #dc2626; }
.badge-compact { font-size: 14px; padding: 2px 6px; flex-shrink: 0; }

/* Uptime metric row in arch card */
.arch-uptime-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.arch-uptime-item {
  text-align: center;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  background: var(--color-neutral-50);
  border: 1px solid var(--border-subtle);
}
.arch-uptime-val {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-primary-600);
  display: block;
}
.arch-uptime-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================================
   EQUITY MAP CARD
   ============================================================ */
.equity-regions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.equity-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.equity-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  min-width: 100px;
}
.equity-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--color-neutral-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.equity-bar {
  height: 100%;
  border-radius: var(--radius-full);
}
/* Bar color variants */
.equity-bar-primary  { background: var(--color-primary-500); width: 82%; }
.equity-bar-accent   { background: var(--color-accent-500);  width: 64%; }
.equity-bar-warn     { background: #f59e0b;                  width: 43%; }
.equity-bar-danger   { background: #ef4444;                  width: 28%; }

.equity-pct {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  min-width: 28px;
  text-align: right;
}
.equity-pct::after { content: '%'; }
/* Score color variants */
.equity-pct-high     { color: var(--color-primary-600); }
.equity-pct-med      { color: var(--color-accent-600); }
.equity-pct-low      { color: #b45309; }
.equity-pct-critical { color: #dc2626; }

/* Header icon in map/arch cards */
.dp-header-icon { width: 16px; height: 16px; color: var(--color-primary-500); flex-shrink: 0; }

/* Alert variants */
.dp-alert-primary {
  background: var(--color-primary-50);
  border-color: var(--color-primary-200);
}
.dp-alert-primary svg.lucide { color: var(--color-primary-600); }
.dp-alert-text { font-size: 14px; color: var(--color-primary-700); }

.dp-alert-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.dp-alert-success svg.lucide { color: #16a34a; width: 18px; height: 18px; flex-shrink: 0; }
.dp-alert-success-text { font-size: 14px; color: #166534; }

/* ============================================================
   ARCHITECTURE CARD
   ============================================================ */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  text-align: center;
  border: 1.5px solid transparent;
}
.arch-node i { font-size: 20px; }
.arch-node.primary {
  background: var(--color-primary-50);
  color: var(--color-primary-700);
  border-color: var(--color-primary-200);
}
.arch-node.accent {
  background: var(--color-accent-50);
  color: var(--color-accent-700);
  border-color: var(--color-accent-200);
}
.arch-node.neutral {
  background: var(--color-neutral-50);
  color: var(--text-secondary);
  border-color: var(--border-default);
}

/* ============================================================
   SCALE VALUE CARDS (green CTA band)
   ============================================================ */
.scale-value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-8);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-2xl);
  min-width: 180px;
  color: white;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.scale-value-card i {
  font-size: 28px;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-1);
}
.scale-value-card strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
}
.scale-value-card span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   HMS MODULE GRID
   ============================================================ */
.hms-module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 576px) {
  .hms-module-grid { grid-template-columns: repeat(2, 1fr); }
}

.hms-module-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  border: 1.5px solid transparent;
  transition: all var(--transition-base);
  cursor: default;
}
.hms-module-card:hover { transform: translateY(-3px); }
.hms-module-card i { font-size: 26px; }
.hms-mod-title {
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: 1.3;
}
.hms-mod-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.hms-module-card.primary {
  background: var(--color-primary-50);
  border-color: var(--color-primary-200);
}
.hms-module-card.primary i { color: var(--color-primary-600); }
.hms-module-card.primary:hover { background: var(--color-primary-100); }
.hms-module-card.accent {
  background: var(--color-accent-50);
  border-color: var(--color-accent-200);
}
.hms-module-card.accent i { color: var(--color-accent-600); }
.hms-module-card.accent:hover { background: var(--color-accent-100); }
.hms-module-card.neutral {
  background: var(--color-neutral-50);
  border-color: var(--border-default);
}
.hms-module-card.neutral i { color: var(--text-secondary); }

/* HMS feature items */
.hms-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-neutral-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}
.hms-icon {
  width: 40px; height: 40px;
  background: var(--color-primary-50);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary-600);
  font-size: 18px;
  flex-shrink: 0;
}
.hms-feature-item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-1);
  color: var(--text-primary);
}
.hms-feature-item p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   FEATURE HIGHLIGHTS (inside cards)
   ============================================================ */
.feature-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.fh-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.fh-item i { font-size: 15px; flex-shrink: 0; }

/* ============================================================
   PATIENT PORTAL — HEADER TRUST BADGES
   (compliance messaging condensed from a standalone card into
   compact inline icons in the section header, since HIPAA/SOC 2
   is already established in the hero — avoids repeating it as a
   full-width block further down the page)
   ============================================================ */
.portal-header-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

/* ============================================================
   INFRASTRUCTURE CARDS (dark bg)
   ============================================================ */
.infra-card {
  padding: var(--space-6);
  background: var(--color-neutral-800);
  border: 1px solid var(--color-neutral-700);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}
.infra-card:hover {
  background: var(--color-neutral-700);
  border-color: var(--color-primary-600);
  transform: translateY(-2px);
}
.infra-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(6,81,162,0.15);
  color: var(--color-primary-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-4);
}
.infra-card h3 {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: white;
  margin-bottom: var(--space-2);
}
.infra-card p {
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* ============================================================
   INFRASTRUCTURE — LAYERED PARALLAX (index.html only)
   ============================================================ */
.infra-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.infra-section .container { position: relative; z-index: 2; }

.infra-parallax-layer {
  position: absolute;
  inset: -15% 0;
  pointer-events: none;
  will-change: transform;
  z-index: 0;
  transform: translate3d(0, 0, 0);
}
.infra-parallax-glow {
  background:
    radial-gradient(ellipse 45% 40% at 15% 20%, rgba(6,81,162,0.30) 0%, transparent 65%),
    radial-gradient(ellipse 40% 45% at 88% 82%, rgba(233,131,12,0.18) 0%, transparent 65%);
  filter: blur(6px);
}
.infra-parallax-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 85%);
}

/* Card micro-interactions — icon responds on hover, sits above the parallax layers */
.infra-card { position: relative; z-index: 1; }
.infra-icon { transition: transform var(--transition-base), background var(--transition-base); }
.infra-card:hover .infra-icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(6,81,162,0.28);
}

@media (max-width: 767px) {
  .infra-parallax-grid { background-size: 30px 30px; }
  .infra-parallax-layer { inset: -8% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .infra-parallax-layer { transform: none !important; }
}

/* ============================================================
   CTA BAND (bottom)
   ============================================================ */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
}
@media (max-width: 768px) {
  .cta-band { flex-direction: column; text-align: center; }
  .cta-actions { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
}
.cta-content { flex: 1; }
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* ============================================================
   SCROLL ANIMATION STATES
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
[data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate]:nth-child(4) { transition-delay: 0.3s; }
[data-animate]:nth-child(5) { transition-delay: 0.4s; }
[data-animate]:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   MISC OVERRIDES
   ============================================================ */
.mt-8 { margin-top: var(--space-8); }

/* Section title/desc left-aligned */
.section-title-left { text-align: left; max-width: none; }
.section-desc-left  { text-align: left; max-width: none; }

/* Brand CTA band helpers */
.brand-band-label { color: rgba(255,255,255,0.6); margin-bottom: var(--space-4); }
.brand-band-title { color: white; margin-bottom: var(--space-4); }
.brand-band-cards { margin-top: var(--space-8); }

/* Compliance badges row */
.compliance-badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }

/* Feature highlights spacing variant */
.fh-spaced { margin-top: var(--space-4); }

/* Card title medium */
.card-title-md { font-size: var(--text-lg); }

/* Table helpers */
/* Specificity note: Bootstrap's .table>:not(caption)>*>* rule sets
   background-color: var(--bs-table-bg) (white) at specificity 0,1,1 —
   higher than a plain single class. Qualify with the th element so
   these reliably win regardless of stylesheet load order. */
.table th.table-th-feature { background: var(--color-primary-800); }
.table th.table-th-primary { background: var(--color-primary-600); }
.table th.table-th-trad { background: #0d9488; }

/* Comparison title two-tone brand split */
.comp-title-ratna { color: var(--color-primary-600); }
.comp-title-trad { color: #0d9488; }

/* ============================================================
   WHY RATNA HEALTHPLEX — checklist + KPI mockup
   ============================================================ */
.why-capabilities-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-600);
  margin: var(--space-6) 0 var(--space-2);
}
.why-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5) var(--space-4);
  margin: var(--space-6) 0;
}
@media (max-width: 576px) { .why-icon-grid { grid-template-columns: 1fr 1fr; } }

.why-icon-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
}
.why-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon-wrap svg.lucide { width: 20px; height: 20px; }
.why-icon-blue   { background: #eff6ff; color: #2563eb; }
.why-icon-indigo { background: #eef2ff; color: #4f46e5; }
.why-icon-violet { background: #f5f3ff; color: #7c3aed; }
.why-icon-cyan   { background: #ecfeff; color: #0891b2; }
.why-icon-green  { background: #f0fdf4; color: #16a34a; }
.why-icon-orange { background: #fff7ed; color: var(--color-accent-500); }

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* Why mockup */
.why-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
}
.wm-card {
  background: white;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}
.wm-topbar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}
.wm-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.wm-kpi {
  padding: var(--space-3);
  background: var(--color-neutral-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
}
.wm-kpi-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-2);
}
.wm-kpi-icon svg.lucide { width: 16px; height: 16px; }
.wm-kpi-blue   { background: var(--color-primary-100); color: var(--color-primary-600); }
.wm-kpi-orange { background: var(--color-accent-100);  color: var(--color-accent-600); }
.wm-kpi-green  { background: #dcfce7;                  color: #16a34a; }
.wm-kpi-val {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 2px;
}
.wm-kpi-lbl { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-2); }
.wm-kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  padding: 2px 6px;
}
.wm-kpi-trend svg.lucide { width: 10px; height: 10px; }
.wm-trend-up   { background: #dcfce7; color: #16a34a; }
.wm-trend-star { background: var(--color-accent-50); color: var(--color-accent-700); }

.wm-section-label {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}
.wm-modules { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.wm-mod-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.wm-mod-name {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  min-width: 100px;
}
.wm-mod-name svg.lucide { width: 13px; height: 13px; color: var(--color-primary-500); }
.wm-bar-track {
  flex: 1;
  height: 7px;
  background: var(--color-neutral-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.wm-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--color-primary-500);
}
.wm-bar-accent { background: var(--color-accent-500); }
.wm-bar-green  { background: #22c55e; }
.wm-fill-94 { width: 94%; }
.wm-fill-87 { width: 87%; }
.wm-fill-76 { width: 76%; }
.wm-fill-91 { width: 91%; }
.wm-fill-82 { width: 82%; }
.wm-fill-34 { width: 34%; }
.wm-fill-67 { width: 67%; }
.wm-fill-88 { width: 88%; }
.wm-fill-72 { width: 72%; }
.wm-fill-95 { width: 95%; }
.wm-mod-pct { font-size: 14px; font-weight: var(--fw-semibold); color: var(--text-secondary); min-width: 30px; text-align: right; }

.wm-ai-alert {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-primary-50);
  border: 1px solid var(--color-primary-200);
  border-radius: var(--radius-lg);
  font-size: 14px;
  color: var(--color-primary-700);
}
.wm-ai-alert svg.lucide { width: 16px; height: 16px; color: var(--color-primary-600); flex-shrink: 0; }

/* Floating compliance badge */
.wm-float-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-primary-600);
  border-radius: var(--radius-xl);
  color: white;
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite reverse;
}
.wm-float-icon svg.lucide { width: 22px; height: 22px; color: rgba(255,255,255,0.9); }
.wm-float-title { font-size: var(--text-sm); font-weight: var(--fw-bold); }
.wm-float-sub   { font-size: 14px; color: rgba(255,255,255,0.75); }

/* ============================================================
   PLATFORM TABS  (5-module deep-dive)
   ============================================================ */
.platform-tabs-wrap { margin-top: var(--space-8); }
.platform-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 0;
}
.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: all var(--transition-fast);
}
.platform-tab svg.lucide { width: 16px; height: 16px; }
.platform-tab:hover { color: var(--color-primary-600); background: var(--color-primary-50); }
.platform-tab.active {
  color: var(--color-primary-600);
  border-bottom-color: var(--color-primary-600);
  background: var(--color-primary-50);
}

.platform-panels { position: relative; }
.platform-panel { display: none; }
.platform-panel.active { display: block; }

.platform-panel-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  line-height: var(--leading-snug);
}
.platform-panel-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}
.platform-features { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-6); }
.pf-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.pf-item svg.lucide { width: 16px; height: 16px; color: var(--color-primary-500); flex-shrink: 0; }

/* Platform panel sub-module label */
.platform-panel-module-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-primary-600);
  margin-bottom: var(--space-3);
  margin-top: var(--space-5);
}
.platform-panel-module-label:first-of-type { margin-top: 0; }
.platform-panel-module-label svg.lucide { width: 14px; height: 14px; }

/* IPD & Ward panel module cards */
.platform-panel-module-card {
  background: var(--color-neutral-50);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  height: 100%;
}
.pmc-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-primary-600);
  margin-bottom: var(--space-4);
}
.pmc-eyebrow svg.lucide { width: 14px; height: 14px; }

/* App mockup cards (platform panels) */
.pmock {
  background: white;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
}
.pmock-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

/* EMR mockup */
.pmock-patient-info {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-neutral-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin-bottom: var(--space-4);
}
.pmock-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}
.pmock-av-blue { background: var(--color-primary-100); color: var(--color-primary-700); }
.pmock-av-green { background: #dcfce7; color: #16a34a; }
.pmock-av-orange { background: var(--color-accent-100); color: var(--color-accent-700); }
.pmock-patient-details { flex: 1; min-width: 0; }
.pmock-patient-name { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-primary); }
.pmock-patient-meta { font-size: 14px; color: var(--text-muted); margin-top: 2px; }

.pmock-vitals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.pmock-vital {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--color-neutral-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.pmock-vital-icon {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pmock-vital-icon svg.lucide { width: 14px; height: 14px; }
.pv-ok   { background: #dcfce7; color: #16a34a; }
.pv-warn { background: #fef9c3; color: #b45309; }
.pmock-vital-val { font-size: 14px; font-weight: var(--fw-bold); color: var(--text-primary); line-height: 1; }
.pmock-vital-lbl { font-size: 14px; color: var(--text-muted); }

.pmock-rx { margin-bottom: var(--space-4); }
.pmock-rx-label { font-size: 14px; font-weight: var(--fw-semibold); color: var(--text-muted); margin-bottom: var(--space-2); text-transform: uppercase; letter-spacing: 0.05em; }
.pmock-rx-item { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; color: var(--text-secondary); padding: var(--space-2) 0; border-bottom: 1px solid var(--border-subtle); }
.pmock-rx-item svg.lucide { width: 13px; height: 13px; color: var(--color-primary-500); }

.pmock-footer { display: flex; gap: var(--space-6); }
.pmock-footer-item { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; color: var(--text-secondary); }
.pmock-footer-item svg.lucide { width: 13px; height: 13px; color: var(--color-primary-500); }

/* Telemedicine mockup */
.tele-video-wrap {
  position: relative;
  background: #0f172a;
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  margin-bottom: var(--space-4);
  text-align: center;
  overflow: hidden;
}
.tele-video-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(6,81,162,0.4) 0%, transparent 70%);
}
.tele-main-video { position: relative; z-index: 1; }
.tele-avatar-large {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-primary-700);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-3);
  border: 3px solid rgba(255,255,255,0.3);
}
.tele-avatar-large svg.lucide { width: 32px; height: 32px; color: white; }
.tele-doctor-name { font-size: var(--text-base); font-weight: var(--fw-bold); color: white; margin-bottom: 2px; }
.tele-specialty { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: var(--space-3); }
.tele-status-row { display: flex; align-items: center; justify-content: center; gap: var(--space-4); }
.tele-signal { font-size: 14px; color: #4ade80; display: flex; align-items: center; gap: 4px; }
.tele-signal svg.lucide { width: 13px; height: 13px; }
.tele-timer { font-size: var(--text-sm); font-weight: var(--fw-bold); color: white; font-variant-numeric: tabular-nums; }
.tele-patient-thumb {
  position: absolute;
  top: var(--space-3); right: var(--space-3);
  z-index: 2;
  text-align: center;
}
.tele-thumb-avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-primary-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  margin-bottom: 3px;
}
.tele-patient-thumb span { font-size: 14px; color: rgba(255,255,255,0.7); }
.tele-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.tele-ctrl {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-neutral-100);
  display: flex; align-items: center; justify-content: center;
  cursor: default;
}
.tele-ctrl svg.lucide { width: 17px; height: 17px; color: var(--text-secondary); }
.tele-ctrl-on { background: var(--color-primary-600); }
.tele-ctrl-on svg.lucide { color: white; }
.tele-ctrl-end { background: #dc2626; }
.tele-ctrl-end svg.lucide { color: white; }

/* LIMS mockup */
.lims-order-info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-neutral-50);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-size: 14px;
  color: var(--text-secondary);
}
.lims-order-info span { display: flex; align-items: center; gap: 5px; }
.lims-order-info svg.lucide { width: 13px; height: 13px; color: var(--color-primary-500); }
.lims-results { display: flex; flex-direction: column; margin-bottom: var(--space-4); }
.lims-result-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 80px;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}
.lims-header-row { font-size: 14px; font-weight: var(--fw-semibold); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.lims-result-row:not(.lims-header-row) { border-bottom: 1px solid var(--border-subtle); }
.lims-abnormal { background: #fff7f7; }
.lims-test { font-size: 14px; color: var(--text-primary); font-weight: var(--fw-medium); }
.lims-val { font-size: 14px; font-weight: var(--fw-semibold); color: var(--text-secondary); }
.lims-val-high { color: #dc2626; }
.lims-range { font-size: 14px; color: var(--text-muted); }

/* Pharmacy mockup */
.pharma-rx-block {
  padding: var(--space-3) var(--space-4);
  background: var(--color-neutral-50);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}
.pharma-rx-title { font-size: 14px; font-weight: var(--fw-semibold); color: var(--text-secondary); margin-bottom: var(--space-2); display: flex; align-items: center; gap: var(--space-2); }
.pharma-rx-title svg.lucide { width: 13px; height: 13px; color: var(--color-primary-500); }
.pharma-rx-row { display: flex; align-items: center; justify-content: space-between; }
.pharma-drug-name { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-primary); }
.pharma-qty { font-size: 14px; color: var(--text-muted); }

.pharma-ai-box {
  padding: var(--space-4);
  background: var(--color-primary-50);
  border: 1px solid var(--color-primary-200);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
}
.pharma-ai-header { font-size: 14px; font-weight: var(--fw-semibold); color: var(--color-primary-700); margin-bottom: var(--space-3); display: flex; align-items: center; gap: var(--space-2); }
.pharma-ai-header svg.lucide { width: 14px; height: 14px; }
.pharma-compare { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.pharma-option {
  flex: 1;
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  text-align: center;
}
.pharma-branded { background: var(--color-neutral-100); border: 1px solid var(--border-default); }
.pharma-generic { background: #dcfce7; border: 1px solid #86efac; }
.pharma-drug-label { font-size: 14px; font-weight: var(--fw-medium); color: var(--text-secondary); margin-bottom: var(--space-1); }
.pharma-price { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--fw-bold); line-height: 1; margin-bottom: 4px; }
.pharma-price-old { color: var(--text-muted); text-decoration: line-through; }
.pharma-price-new { color: #16a34a; }
.pharma-tag { font-size: 14px; color: var(--text-muted); }
.pharma-tag-save { color: #16a34a; font-weight: var(--fw-semibold); }
.pharma-arrow svg.lucide { width: 18px; height: 18px; color: var(--color-primary-500); }
.pharma-efficacy { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; color: #166534; }
.pharma-efficacy svg.lucide { width: 13px; height: 13px; }

.pharma-inventory { display: flex; flex-direction: column; gap: var(--space-2); }
.pharma-inv-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-secondary); padding: var(--space-2) 0; border-bottom: 1px solid var(--border-subtle); }
.pharma-inv-row span:first-child { display: flex; align-items: center; gap: var(--space-2); }
.pharma-inv-row svg.lucide { width: 13px; height: 13px; color: var(--color-primary-500); }
.pharma-inv-val  { font-weight: var(--fw-semibold); color: var(--text-primary); }
.pharma-inv-safe { font-weight: var(--fw-semibold); color: #16a34a; }

/* Analytics mockup */
.analytics-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.analytics-kpi {
  padding: var(--space-3);
  background: var(--color-neutral-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
}
.analytics-kpi-val { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--fw-bold); line-height: 1; margin-bottom: 2px; }
.ak-blue   { color: var(--color-primary-600); }
.ak-orange { color: var(--color-accent-600); }
.ak-green  { color: #16a34a; }
.ak-up { background: none; }
.analytics-kpi-lbl { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-1); }
.analytics-kpi-trend { font-size: 14px; font-weight: var(--fw-semibold); color: #16a34a; display: flex; align-items: center; justify-content: center; gap: 3px; }
.analytics-kpi-trend svg.lucide { width: 10px; height: 10px; }

.analytics-chart-label { font-size: 14px; font-weight: var(--fw-semibold); color: var(--text-muted); margin-bottom: var(--space-3); text-transform: uppercase; letter-spacing: 0.05em; }
.analytics-chart {
  padding: var(--space-3);
  background: var(--color-neutral-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}
.analytics-bars {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  height: 80px;
}
.ab-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; height: 100%; justify-content: flex-end; }
.ab-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--color-primary-500);
  min-height: 4px;
}
.ab-light { background: var(--color-primary-200); }
.ab-today { background: var(--color-accent-500); }
.ab-accent { background: var(--color-accent-400); }
.ab-lbl { font-size: 14px; color: var(--text-muted); }
.ab-fill-80 { height: 100%; }
.ab-fill-68 { height: 85%; }
.ab-fill-62 { height: 78%; }
.ab-fill-52 { height: 65%; }
.ab-fill-45 { height: 56%; }
.ab-fill-38 { height: 48%; }
.ab-fill-29 { height: 36%; }

/* ============================================================
   AI INNOVATION SECTION  (dark gradient bg)
   ============================================================ */
.section-ai {
  background: linear-gradient(135deg, #032f6e 0%, var(--color-primary-700) 50%, #044494 100%);
  position: relative;
  overflow: hidden;
}
.section-ai::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(233,131,12,0.08);
  pointer-events: none;
}
.section-ai::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.section-eyebrow-light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.9);
}
.section-eyebrow-light svg.lucide { color: var(--color-accent-300); }
.ai-section-title  { color: white; }
.ai-section-desc   { color: rgba(255,255,255,0.7); }

.ai-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
@media (max-width: 992px) { .ai-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .ai-cards-grid { grid-template-columns: 1fr; } }

.ai-card {
  padding: var(--space-6);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-2xl);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}
.ai-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}
.ai-card-featured {
  background: rgba(255,255,255,0.13);
  border-color: rgba(233,131,12,0.45);
}
.ai-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(6,81,162,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.ai-card-icon svg.lucide { width: 22px; height: 22px; color: rgba(255,255,255,0.9); }
.ai-icon-accent { background: rgba(233,131,12,0.35); border-color: rgba(233,131,12,0.5); }
.ai-icon-green  { background: rgba(34,197,94,0.25); border-color: rgba(34,197,94,0.4); }
.ai-card-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: white;
  margin-bottom: var(--space-2);
}
.ai-card-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: var(--leading-relaxed);
}
.ai-card-stat { display: flex; align-items: baseline; gap: var(--space-2); margin-top: var(--space-4); }
.ai-stat-num { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--fw-bold); color: #f5a43e; }
.ai-stat-lbl { font-size: var(--text-xs); color: rgba(255,255,255,0.55); }

.ai-cta-row { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }
.ai-ghost-btn { color: white; border-color: rgba(255,255,255,0.4); }
.ai-ghost-btn:hover { background: rgba(255,255,255,0.15); color: white; border-color: rgba(255,255,255,0.65); }

/* ============================================================
   INDUSTRIES  SECTION
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
@media (max-width: 992px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .industries-grid { grid-template-columns: 1fr; } }

.industry-card {
  padding: var(--space-6);
  background: white;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
  cursor: default;
}
.industry-card:hover {
  border-color: var(--color-primary-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.industry-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.industry-icon svg.lucide { width: 22px; height: 22px; }
.industry-icon-primary { background: var(--color-primary-100); color: var(--color-primary-600); }
.industry-icon-accent  { background: var(--color-accent-100);  color: var(--color-accent-600); }
.industry-title {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.industry-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* ============================================================
   PLATFORM SHOWCASE — minimal 3-col capability row
   ============================================================ */
.capability-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
}
@media (max-width: 992px) { .capability-row { grid-template-columns: 1fr; gap: var(--space-8); max-width: 420px; margin: 0 auto; } }
.capability-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-5);
  background: var(--color-primary-50);
  color: var(--color-primary-600);
}
.capability-icon svg.lucide { width: 28px; height: 28px; }
.capability-title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--fw-bold); color: var(--text-primary); margin-bottom: var(--space-3); }
.capability-desc { font-size: var(--text-lg); color: var(--text-secondary); line-height: var(--leading-relaxed); max-width: 340px; margin: 0 auto; }
.capability-cta { text-align: center; margin-top: var(--space-10); }

/* ============================================================
   FINAL CTA SECTION  (centered, premium)
   ============================================================ */
.section-cta-final {
  background: var(--color-primary-50);
  border-top: 1px solid var(--color-primary-100);
}
.cta-final-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.cta-final-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-100);
  border: 1px solid var(--color-primary-200);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary-700);
  margin-bottom: var(--space-5);
}
.cta-final-badge svg.lucide { width: 16px; height: 16px; }
.cta-final-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, var(--text-4xl));
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}
.cta-final-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}
.cta-final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.cta-final-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}
.cta-trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.cta-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: white;
  border: 1px solid var(--color-primary-200);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--color-primary-700);
}
.cta-trust-badge svg.lucide { width: 13px; height: 13px; }

/* ============================================================
   PHASE 2 — PREMIUM LANDING PAGE ENHANCEMENTS
   ============================================================ */

/* ---- Stats Bar — White numbers on dark background ---- */
.stat-number {
  color: #ffffff;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

/* ---- AI Cards — Enhanced Hover ---- */
.ai-card:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.32);
}

/* ---- Feature Cards — Hover Enhancements ---- */
.feature-grid .card {
  position: relative;
}
.feature-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(6,81,162,0.10);
}

/* ============================================================
   TRUSTED BY SECTION
   ============================================================ */
.trusted-section {
  padding: var(--space-16) 0;
  background: linear-gradient(120deg, #edf0fc 0%, #eaf7f4 55%, #fdf3ea 100%);
  border-bottom: 1px solid var(--color-neutral-200);
  position: relative;
  overflow: hidden;
}
/* Animated gradient accent sweeping across the top edge */
.trusted-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 300%;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-primary-400) 15%,
    var(--color-accent-500) 50%,
    var(--color-primary-400) 85%,
    transparent 100%);
  animation: gradientShift 6s linear infinite;
  z-index: 2;
}
@keyframes gradientShift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(33.33%); }
}
/* Soft decorative depth — color glows + fine dot grid, behind all content */
.trusted-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 12% 15%, rgba(6,81,162,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 55% 65% at 88% 85%, rgba(233,131,12,0.06) 0%, transparent 60%),
    radial-gradient(circle, rgba(6,81,162,0.06) 1px, transparent 1px);
  background-size: auto, auto, 26px 26px;
  pointer-events: none;
  z-index: 0;
}
.trusted-section .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .trusted-section::before { animation: none; left: 0; width: 100%; }
}

/* Header polish — icon badge behind the eyebrow, tighter rhythm */
.trusted-section .section-eyebrow {
  background: var(--color-neutral-0);
  border: 1px solid var(--color-primary-100);
  box-shadow: var(--shadow-xs);
}
.trusted-section .section-title { margin-top: var(--space-2); }
.trusted-section .section-header { margin-bottom: var(--space-10); }

/* Accent on section title */
.trusted-title-accent {
  color: var(--color-accent-500);
}

/* Stats bar */
.trusted-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-neutral-50);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-2xl);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
  gap: 0;
}
.trusted-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-8);
}
.trusted-stat-num {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary-600);
  line-height: 1.1;
}
.trusted-stat-lbl {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  white-space: nowrap;
}
.trusted-stat-div {
  width: 1px;
  height: 40px;
  background: var(--color-neutral-200);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .trusted-stats-bar { gap: var(--space-2); }
  .trusted-stat-item { padding: var(--space-2) var(--space-4); }
  .trusted-stat-div { display: none; }
  .trusted-stat-num { font-size: var(--text-xl); }
}

.trusted-cert-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-6);
}
.trusted-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--color-neutral-0);
  color: var(--color-primary-700);
  border: 1px solid var(--color-primary-200);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}
.trusted-cert-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-400);
  background: var(--color-primary-50);
}
.trusted-cert-badge svg.lucide, .trusted-cert-badge i { width: 16px; height: 16px; color: var(--color-primary-600); }
@media (max-width: 575px) {
  .trusted-cert-row { padding: var(--space-4); gap: var(--space-2); }
  .trusted-cert-badge { padding: var(--space-2) var(--space-4); }
}

.trusted-orgs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.trusted-org {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: white;
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.trusted-org:hover {
  border-color: var(--color-primary-200);
  box-shadow: 0 6px 20px rgba(6,81,162,0.10);
  transform: translateY(-2px);
}
.trusted-org-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-50);
  border: 1px solid var(--color-primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.trusted-org:hover .trusted-org-icon {
  background: var(--color-primary-100);
}
.trusted-org-icon svg.lucide { width: 22px; height: 22px; color: var(--color-primary-600); }
.trusted-org-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.trusted-org-name {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trusted-org-detail {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 992px) {
  .trusted-orgs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trusted-orgs-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .trusted-org { padding: var(--space-3); }
  .trusted-org-icon { width: 36px; height: 36px; }
  .trusted-org-icon svg.lucide { width: 17px; height: 17px; }
  .trusted-org-name { font-size: 14px; }
  .trusted-org-detail { display: none; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
/* ============================================================
   HOW IT WORKS — Premium Redesign
   ============================================================ */
.hiw-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid texture */
.hiw-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(5,68,146,0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.hiw-section .container {
  position: relative;
  z-index: 1;
}

/* ── Metrics strip ── */
.hiw-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: var(--space-8) auto var(--space-12);
  background: linear-gradient(135deg, var(--color-primary-800), var(--color-primary-600));
  border-radius: var(--radius-2xl);
  padding: var(--space-6) var(--space-8);
  max-width: 660px;
  box-shadow: 0 16px 48px rgba(5,68,146,0.22);
}
.hiw-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.hiw-metric-val {
  font-size: clamp(1.625rem, 3vw, 2rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hiw-metric-lbl {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.68);
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.hiw-metric-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
  margin: 0 var(--space-2);
}

/* ── Steps grid ── */
.hiw-steps-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
  margin-top: 0;
}

/* Dashed connector thread through step numbers */
.hiw-steps-wrap::before {
  content: '';
  position: absolute;
  top: 56px;
  left: calc(10% + 24px);
  right: calc(10% + 24px);
  height: 0;
  border-top: 2px dashed rgba(5,68,146,0.14);
  z-index: 0;
}

/* ── Step card ── */
.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  background: white;
  border-radius: var(--radius-2xl);
  border: 1.5px solid var(--color-neutral-100);
  position: relative;
  z-index: 1;
  overflow: hidden;
  cursor: default;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

/* Per-step top accent bar */
.hiw-step-accent-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}
.hiw-steps-wrap .hiw-step:nth-child(1) .hiw-step-accent-bar { background: var(--color-primary-900); }
.hiw-steps-wrap .hiw-step:nth-child(2) .hiw-step-accent-bar { background: var(--color-primary-700); }
.hiw-steps-wrap .hiw-step:nth-child(3) .hiw-step-accent-bar { background: var(--color-primary-600); }
.hiw-steps-wrap .hiw-step:nth-child(4) .hiw-step-accent-bar { background: var(--color-primary-500); }
.hiw-steps-wrap .hiw-step:nth-child(5) .hiw-step-accent-bar { background: var(--color-accent-500); }

/* Step number circles — color-coded */
.hiw-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.hiw-violet { background: var(--color-primary-900); box-shadow: 0 4px 16px rgba(1,22,64,0.28); }
.hiw-blue   { background: var(--color-primary-700); box-shadow: 0 4px 16px rgba(4,53,118,0.28); }
.hiw-cyan   { background: var(--color-primary-600); box-shadow: 0 4px 16px rgba(5,68,146,0.28); }
.hiw-green  { background: var(--color-primary-500); box-shadow: 0 4px 16px rgba(6,81,162,0.28); }
.hiw-orange { background: var(--color-accent-500);  box-shadow: 0 4px 16px rgba(233,131,12,0.28); }

/* Icon boxes */
.hiw-step-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary-100);
  transition: background 0.25s ease;
}
.hiw-step-icon-box svg.lucide { width: 24px; height: 24px; }

.hiw-icon-violet,
.hiw-icon-blue,
.hiw-icon-cyan,
.hiw-icon-green {
  background: var(--color-primary-50);
  color: var(--color-primary-600);
}
.hiw-icon-orange {
  background: var(--color-accent-50);
  color: var(--color-accent-600);
  border-color: var(--color-accent-100);
}

/* Time badge — pill style */
.hiw-step-badge {
  display: inline-block;
  background: var(--color-primary-50);
  color: var(--color-primary-700);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-primary-100);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.hiw-step-final .hiw-step-badge {
  background: var(--color-accent-50);
  color: var(--color-accent-700);
  border-color: var(--color-accent-200);
}

/* Typography */
.hiw-step-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-neutral-900);
  margin: 0;
  line-height: 1.3;
}
.hiw-step-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}
.hiw-step-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hiw-step-bullets li {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  padding: 3px 0 3px 18px;
  position: relative;
  line-height: 1.4;
}
.hiw-step-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-size: var(--text-xs);
  color: var(--color-primary-500);
  font-weight: var(--fw-bold);
  top: 3px;
}
.hiw-step-final .hiw-step-bullets li::before {
  color: var(--color-accent-500);
}

/* Hover lift */
.hiw-step:hover {
  box-shadow: 0 12px 36px rgba(5,68,146,0.1);
  transform: translateY(-5px);
  border-color: var(--color-primary-200);
}
.hiw-step-final:hover {
  box-shadow: 0 12px 36px rgba(233,131,12,0.1);
  border-color: var(--color-accent-200);
}
.hiw-step:hover .hiw-step-icon-box {
  background: var(--color-primary-100);
}
.hiw-step-final:hover .hiw-step-icon-box {
  background: var(--color-accent-100);
}

/* Focus visible — keyboard navigation */
.hiw-step:focus-visible {
  outline: 3px solid var(--color-primary-400);
  outline-offset: 2px;
}

/* ── Deployment timeline ── */
.hiw-timeline {
  margin-top: var(--space-10);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(5,68,146,0.08);
  border: 1.5px solid var(--color-neutral-100);
}
.hiw-tl-bar {
  display: flex;
  height: 48px;
}
.hiw-tl-segment {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.04em;
  transition: flex 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 10px;
}
.hiw-tl-segment:hover { flex: 2.5; }
.hiw-tl-md  { flex: 1.5; }
.hiw-tl-lg  { flex: 2; }
.hiw-tl-xl  { flex: 3; }
.hiw-tl-violet { background: var(--color-primary-900); }
.hiw-tl-blue   { background: var(--color-primary-700); }
.hiw-tl-cyan   { background: var(--color-primary-600); }
.hiw-tl-green  { background: var(--color-primary-500); }
.hiw-tl-orange { background: var(--color-accent-500); }

.hiw-tl-ruler {
  display: flex;
  background: white;
  padding: var(--space-2) var(--space-4);
}
.hiw-tl-ruler span {
  flex: 1;
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
  font-weight: var(--fw-medium);
  text-align: center;
}
.hiw-tl-ruler span:last-child {
  color: var(--color-primary-600);
  font-weight: var(--fw-bold);
}

/* ── CTA ── */
.hiw-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-10);
}
.hiw-cta-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.hiw-cta-note svg.lucide {
  width: 14px;
  height: 14px;
  color: var(--color-success-500);
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hiw-steps-wrap { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .hiw-steps-wrap::before { display: none; }
  .hiw-step { padding: var(--space-4); }
}
@media (max-width: 640px) {
  .hiw-steps-wrap { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .hiw-timeline { display: none; }
  .hiw-metrics {
    flex-wrap: wrap;
    gap: var(--space-3);
    max-width: 100%;
    padding: var(--space-5);
  }
  .hiw-metric-sep { display: none; }
  .hiw-metric { flex: 0 0 calc(50% - var(--space-4)); }
  .hiw-step { padding: var(--space-3); }
  .section-header { max-width: 100%; }
}
@media (max-width: 400px) {
  .hiw-steps-wrap { grid-template-columns: 1fr; }
  .hiw-metrics { flex-direction: column; gap: var(--space-4); padding: var(--space-4); }
  .hiw-metric { flex: auto; flex-direction: row; justify-content: space-between; }
  .hiw-metric-val { font-size: 1.5rem; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hiw-step { transition: box-shadow 0.01ms, border-color 0.01ms; }
  .hiw-tl-segment { transition: none; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-section {
  background: var(--color-neutral-50);
  position: relative;
}
.testi-featured {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-8);
  align-items: center;
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-8);
  border: 1px solid var(--color-neutral-200);
}
.testi-feat-img {
  width: 100%;
  max-width: 180px;
  border-radius: var(--radius-xl);
  display: block;
  margin: 0 auto;
}
.testi-stars {
  color: #f59e0b;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
  line-height: 1;
}
.testi-feat-quote {
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  line-height: 1.65;
  margin: 0 0 var(--space-5) 0;
  border: none;
  padding: 0;
  font-style: italic;
}
.testi-feat-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: var(--space-4);
}
.testi-feat-author strong {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}
.testi-feat-author span {
  font-size: 14px;
  color: var(--text-muted);
}
.testi-feat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.testi-chip {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  padding: 4px 12px;
  background: var(--color-primary-50);
  color: var(--color-primary-700);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-primary-200);
  white-space: nowrap;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
  max-width: 760px;
  margin-inline: auto;
}
.testi-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--color-neutral-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.testi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testi-card-primary {
  background: linear-gradient(145deg, var(--color-primary-800), var(--color-primary-900));
  border-color: var(--color-primary-700);
}
.testi-card-primary .testi-card-name { color: white; }
.testi-card-primary .testi-card-role { color: var(--color-primary-300); }
.testi-card-primary .testi-stars-sm  { color: #fbbf24; }
.testi-card-primary .testi-card-text { color: var(--color-primary-100); }

.testi-card-top {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.testi-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-neutral-200);
}
.testi-avatar-initials {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-av-navy  { background: var(--color-primary-800); }
.testi-av-green { background: #059669; }

.testi-card-name {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  line-height: 1.3;
}
.testi-card-role {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}
.testi-stars-sm {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: var(--space-3);
  line-height: 1;
}
.testi-card-text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
  font-style: italic;
}

.testi-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-6) var(--space-8);
  background: white;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-neutral-200);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.testi-proof-divider {
  width: 1px;
  height: 40px;
  background: var(--color-neutral-200);
  flex-shrink: 0;
}
.testi-proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.testi-proof-num {
  font-size: var(--text-xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-accent-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.testi-proof-lbl {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .testi-featured {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .testi-feat-img { margin: 0 auto; }
  .testi-feat-chips { justify-content: center; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-proof-bar { gap: var(--space-5); }
  .testi-proof-divider { display: none; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .testi-featured { grid-template-columns: 160px 1fr; }
}


/* ============================================================
   HOMEPAGE LAYOUT CONSISTENCY
   ============================================================ */

/* Stats bar — premium accent border */
/* Stats-bar bottom accent line replaced by design-system dark gradient */
.stats-bar::after { display: none; }

/* Consistent section-header max-width */
.section-header {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Section eyebrow consistent icon size */
.section-eyebrow svg.lucide {
  width: 14px;
  height: 14px;
}

/* Testimonials section — add subtle top border accent */
.testi-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-primary-200) 20%,
    var(--color-accent-300) 50%,
    var(--color-primary-200) 80%,
    transparent 100%
  );
}

/* Industry cards — consistent hover */
.industry-card {
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.industry-card:hover {
  box-shadow: 0 8px 24px rgba(6,81,162,0.1);
  transform: translateY(-3px);
}

/* Consistent btn-primary focus ring */
.btn-primary:focus-visible {
  outline: 3px solid var(--color-primary-300);
  outline-offset: 3px;
}

/* ============================================================
   EQUAL-HEIGHT CARDS — ALL GRIDS & ALL PAGES
   CSS Grid stretches cells to tallest in the row by default.
   flex-direction: column + flex: 1 on desc fills that height
   so all cards look visually equal regardless of content length.
   ============================================================ */

/* ── Base .card (feature grid, features page, faq page) ── */
.card {
  display: flex;
  flex-direction: column;
}
.card-desc {
  flex: 1;
}
/* Push compliance badges / feature highlights to bottom */
.card .compliance-badges,
.card .feature-highlights {
  margin-top: auto;
}

/* ── AI innovation cards ── */
.ai-card {
  display: flex;
  flex-direction: column;
}
.ai-card-desc {
  flex: 1;
}
.ai-card-stat {
  margin-top: auto;
}

/* ── Industry cards ── */
.industry-card {
  display: flex;
  flex-direction: column;
}
.industry-desc {
  flex: 1;
}

/* ── Infrastructure cards (Bootstrap cols — use height:100%) ── */
.infra-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.infra-card p {
  flex: 1;
}

/* ── Testimonial cards ── */
.testi-card {
  display: flex;
  flex-direction: column;
}
.testi-card-text {
  flex: 1;
}

/* ── How It Works steps ── */
.hiw-step-desc {
  flex: 1;
}
.hiw-step-bullets {
  margin-top: auto;
}

/* ── Trusted org cards (horizontal row, grid already stretches) ── */
.trusted-org {
  align-items: center; /* keep icon + text centred vertically */
}

/* ── Portal mini-cards ── */
.card-sm {
  display: flex;
  flex-direction: column;
}

/* ============================================================
   PLATFORM SHOWCASE SECTION (PSC)
   ============================================================ */
.psc-section {
  background: #07091a;
  position: relative;
  overflow: hidden;
}
.psc-rings-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.psc-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.028);
}
.psc-ring-1 { width: 380px;  height: 380px; }
.psc-ring-2 { width: 660px;  height: 660px; }
.psc-ring-3 { width: 950px;  height: 950px; }
.psc-ring-4 { width: 1240px; height: 1240px; }
.psc-container {
  position: relative;
  z-index: 1;
}

.psc-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88,64,200,0.10) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.psc-section .section-eyebrow-light {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.65);
}
.psc-section .ai-section-title { color: #ffffff; }
.psc-section .ai-section-desc  { color: rgba(255,255,255,0.55); }

.psc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.psc-card {
  background: rgba(255,255,255,0.034);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.psc-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.45);
}

.psc-img {
  flex-shrink: 0;
  height: 250px;
  overflow: hidden;
  position: relative;
}
.psc-img svg {
  width: 100%;
  height: 100%;
  display: block;
}
.psc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.psc-body {
  padding: var(--space-5) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.psc-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: var(--space-1) var(--space-3);
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  width: fit-content;
}
.psc-badge svg.lucide { width: 12px; height: 12px; }

.psc-title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 var(--space-2);
}

.psc-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.50);
  margin: 0 0 var(--space-4);
  flex: 1;
  line-height: 1.5;
}

.psc-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  width: fit-content;
}
.psc-cta:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.24);
  color: white;
  text-decoration: none;
}
.psc-cta svg.lucide { width: 14px; height: 14px; }

@media (max-width: 991px) {
  .psc-img { height: 210px; }
}
@media (max-width: 767px) {
  .psc-grid { grid-template-columns: 1fr; }
  .psc-img { height: 200px; }
}

/* =================================================================
   INLINE APP UI MOCKUPS  (Platform Showcase, Differentiators,
   AI Innovation, How It Works)
   ================================================================= */

/* ── Core Differentiator Mini Mockups (light cards) ─────────────── */
.diff-mock {
  margin-top: 14px; border-radius: 10px;
  padding: 11px 13px; background: #f3f7ff;
  border: 1px solid #dce8fb; overflow: hidden;
}
.diff-mock-hdr {
  font-size: 9px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #94a3b8; margin-bottom: 8px;
}
.diff-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.diff-row + .diff-row { border-top: 1px solid rgba(5,68,146,0.07); }
.diff-lbl { font-size: 10px; color: #475569; flex: 1; }
.diff-track { width: 68px; height: 5px; border-radius: 3px; background: #e2e8f0; overflow: hidden; flex-shrink: 0; }
.diff-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #054492, #3b82f6); }
.diff-fill-orange { background: linear-gradient(90deg, #e9830c, #f97316); }
.diff-fill-green  { background: linear-gradient(90deg, #16a34a, #22c55e); }
.diff-val { font-size: 10px; font-weight: 700; color: #054492; width: 28px; text-align: right; flex-shrink: 0; }
.diff-modules { display: flex; flex-wrap: wrap; gap: 4px; }
.diff-mod {
  font-size: 9px; font-weight: 600; padding: 3px 8px; border-radius: 8px;
  background: #eef4ff; border: 1px solid #c7d9f8; color: #054492;
}
.diff-stat { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.diff-stat-num { font-size: 20px; font-weight: 800; color: #054492; line-height: 1; }
.diff-stat-lbl { font-size: 10px; color: #64748b; }
.diff-consent-row {
  display: flex; align-items: center; justify-content: space-between; padding: 4px 0;
}
.diff-consent-row + .diff-consent-row { border-top: 1px solid rgba(5,68,146,0.07); }
.diff-consent-lbl { font-size: 10px; color: #475569; }
.diff-toggle { width: 26px; height: 13px; border-radius: 7px; display: flex; align-items: center; padding: 2px; flex-shrink: 0; }
.diff-tog-on  { background: #054492; justify-content: flex-end; }
.diff-tog-off { background: #cbd5e1; }
.diff-toggle-dot { width: 9px; height: 9px; border-radius: 50%; background: white; }

/* ── AI Innovation Featured Card Mockup (dark) ───────────────────── */
.ai-feat-mock {
  margin-top: 14px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13); border-radius: 10px; padding: 11px 13px;
}
.ai-feat-mock-hdr {
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 9px;
}
.ai-diag-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ai-diag-row:last-child { margin-bottom: 0; }
.ai-diag-lbl { font-size: 10px; color: rgba(255,255,255,0.65); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-diag-track { width: 90px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; flex-shrink: 0; }
.ai-diag-fill { height: 100%; border-radius: 3px; }
.ai-fill-o { background: linear-gradient(90deg, #f5a43e, #fb923c); }
.ai-fill-b { background: linear-gradient(90deg, #38bdf8, #818cf8); }
.ai-fill-g { background: linear-gradient(90deg, #4ade80, #22d3ee); }
.ai-diag-pct { font-size: 10px; font-weight: 700; width: 28px; text-align: right; flex-shrink: 0; color: rgba(255,255,255,0.85); }

/* ── How It Works Step Mini Mockups (light) ─────────────────────── */
.hiw-mock {
  width: 100%; margin-top: 8px;
  background: #f8faff; border: 1px solid #e0eaff; border-radius: 9px;
  padding: 10px 12px; overflow: hidden; text-align: left; display: none;
}
.hiw-mock-hdr {
  font-size: 9px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #94a3b8; margin-bottom: 7px;
}
.hiw-mock-row { display: flex; align-items: center; gap: 7px; padding: 4px 0; font-size: 10px; color: #475569; }
.hiw-mock-row + .hiw-mock-row { border-top: 1px solid rgba(5,68,146,0.06); }
.hiw-mock-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.hiw-dot-v  { background: #4338ca; }
.hiw-dot-b  { background: #054492; }
.hiw-dot-c  { background: #0ea5e9; }
.hiw-dot-gr { background: #16a34a; }
.hiw-dot-o  { background: #e9830c; }
.hiw-mock-track { flex: 1; height: 4px; border-radius: 2px; background: #e2e8f0; overflow: hidden; }
.hiw-mock-fill { height: 100%; border-radius: 2px; }
.hiw-fill-v  { background: #4338ca; }
.hiw-fill-b  { background: #054492; }
.hiw-fill-c  { background: #0ea5e9; }
.hiw-fill-gr { background: #16a34a; }
.hiw-fill-o  { background: #e9830c; }
.hiw-mock-badge { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 6px; flex-shrink: 0; }
.hiw-badge-v  { background: #ede9fe; color: #4338ca; }
.hiw-badge-b  { background: #dbeafe; color: #054492; }
.hiw-badge-c  { background: #e0f2fe; color: #0369a1; }
.hiw-badge-gr { background: #dcfce7; color: #16a34a; }
.hiw-badge-o  { background: #fff7ed; color: #e9830c; }

/* ── Mockup bar-fill width utilities (replaces inline style="width:X%") ── */
.mw-12  { width: 12%; }
.mw-30  { width: 30%; }
.mw-38  { width: 38%; }
.mw-42  { width: 42%; }
.mw-45  { width: 45%; }
.mw-55  { width: 55%; }
.mw-62  { width: 62%; }
.mw-64  { width: 64%; }
.mw-68  { width: 68%; }
.mw-72  { width: 72%; }
.mw-80  { width: 80%; }
.mw-86  { width: 86%; }
.mw-88  { width: 88%; }
.mw-90  { width: 90%; }
.mw-92  { width: 92%; }
.mw-94  { width: 94%; }
.mw-100 { width: 100%; }

/* ── Mockup value colour modifiers ── */
.diff-val-orange { color: #e9830c; }
.diff-val-green  { color: #16a34a; }

/* ── Floating CTA — persistent demo button, appears after the hero ── */
.floating-cta {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-accent-500);
  color: #fff;
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(194,109,9,0.35), 0 2px 8px rgba(0,0,0,0.1);
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-cta:hover {
  background: var(--color-accent-600);
  color: #fff;
}
.floating-cta svg.lucide, .floating-cta i { width: 16px; height: 16px; }
@media (max-width: 575px) {
  .floating-cta span { display: none; }
  .floating-cta { padding: var(--space-3); }
}
@media (prefers-reduced-motion: reduce) {
  .floating-cta { transition: opacity 0.2s ease; transform: none; }
}
