/* ============================================================
   NEXORA SYSTEMS — styles.css
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #3b82f6;
  --blue-d:  #2563eb;
  --blue-l:  #eff6ff;
  --violet:  #7c3aed;
  --violet-d:#6d28d9;
  --violet-l:#f5f3ff;
  --teal:    #0d9488;
  --teal-d:  #0f766e;
  --teal-l:  #f0fdfa;
  --amber:   #d97706;
  --amber-d: #b45309;
  --amber-l: #fffbeb;
  --indigo:  #6366f1;
  --indigo-d:#4f46e5;
  --slate-50: #f8fafc;
  --slate-100:#f1f5f9;
  --slate-200:#e2e8f0;
  --slate-300:#cbd5e1;
  --slate-400:#94a3b8;
  --slate-500:#64748b;
  --slate-600:#475569;
  --slate-700:#334155;
  --slate-800:#1e293b;
  --slate-900:#0f172a;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl: 0 24px 60px rgba(0,0,0,.14), 0 8px 20px rgba(0,0,0,.08);
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
  --section-gap: 5rem;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
*:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: var(--radius-sm); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--section-gap) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: .8rem 1.75rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(99,102,241,.3);
}
.btn-primary:hover { background: var(--indigo-d); box-shadow: 0 4px 16px rgba(99,102,241,.4); }

.btn-ghost {
  color: var(--slate-700);
  background: transparent;
}
.btn-ghost:hover { background: var(--slate-100); }

.btn-outline {
  border: 1.5px solid var(--slate-300);
  color: var(--slate-700);
  background: transparent;
}
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); }

/* ---------- Section headers ---------- */
.section-tag {
  display: inline-block;
  padding: .3rem .85rem;
  border-radius: 100px;
  background: var(--blue-l);
  color: var(--blue-d);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-tag-light { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-header-light { /* inherits center */ }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.section-title-light { color: var(--white); }
.section-sub { color: var(--slate-500); font-size: 1.0625rem; line-height: 1.65; }
.section-sub-light { color: rgba(255,255,255,.7); font-size: 1.0625rem; }

/* ============================================================
   REGION BAR
   ============================================================ */
.region-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 38px;
  background: var(--slate-900);
  border-bottom: 1px solid rgba(255,255,255,.07);
  z-index: 1001;
  display: flex;
  align-items: center;
}
.region-bar-inner {
  display: flex;
  align-items: center;
  gap: .85rem;
  justify-content: flex-end;
}
.region-trigger {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .6rem;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  font-weight: 500;
  background: transparent;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.region-trigger:hover { background: rgba(255,255,255,.08); color: var(--white); }
.region-trigger[aria-expanded="true"] { background: rgba(99,102,241,.2); color: #a5b4fc; }
.region-trigger[aria-expanded="true"] .icon-chevron { transform: rotate(180deg); }
.icon-globe { width: 14px; height: 14px; flex-shrink: 0; }
.icon-chevron { width: 10px; height: 10px; flex-shrink: 0; transition: transform var(--transition); }
.region-trigger-label { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.region-bar-sep { width: 1px; height: 16px; background: rgba(255,255,255,.12); flex-shrink: 0; }
.region-bar-hint { font-size: .72rem; color: rgba(255,255,255,.3); letter-spacing: .02em; }

/* REGION PANEL */
.region-panel-wrap {
  position: fixed;
  top: 102px; /* region bar (38) + nav (64) */
  left: 0; right: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  max-height: calc(100vh - 102px);
  overflow-y: auto;
  animation: rp-slide-in .18s cubic-bezier(.4,0,.2,1);
}
@keyframes rp-slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.region-panel-wrap[hidden] { display: none; }

.region-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,0,0,.35);
}
.region-overlay[hidden] { display: none; }

.rp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 1rem;
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 1.5rem;
}
.rp-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
}
.rp-close {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}
.rp-close svg { width: 14px; height: 14px; }
.rp-close:hover { background: var(--slate-100); color: var(--slate-800); }

.rp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 1.75rem;
}
.rp-region-col { }
.rp-region-name {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--slate-100);
}
.rp-country-list { display: flex; flex-direction: column; gap: .15rem; }
.rp-country {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: .45rem .6rem;
  border-radius: var(--radius-sm);
  text-align: left;
  color: var(--slate-700);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  width: 100%;
  border: none;
  background: none;
  font-family: inherit;
}
.rp-country:hover { background: var(--slate-50); color: var(--indigo); }
.rp-country.rp-selected { background: var(--blue-l); color: var(--indigo); font-weight: 600; }
.rp-country .rp-sub { font-size: .75rem; color: var(--slate-400); font-weight: 400; }
.rp-country.rp-selected .rp-sub { color: var(--indigo); opacity: .7; }
.rp-native { font-size: .95rem; }
.rp-en-name { font-size: .75rem; color: var(--slate-400); }
.rp-country.rp-selected .rp-en-name { color: var(--indigo); opacity: .7; }

/* ============================================================
   NAV
   ============================================================ */
.nav-wrap {
  position: fixed;
  top: 38px; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: background .3s ease, border-color .3s ease, box-shadow var(--transition), backdrop-filter .3s ease;
}
.nav-wrap.scrolled { box-shadow: var(--shadow); }

/* Transparent nav — active when page-hero is behind the nav */
.nav-transparent {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}
.nav-transparent .logo-text,
.nav-transparent .logo-text strong { color: #fff; }
.nav-transparent .nav-links a { color: rgba(255,255,255,.82); }
.nav-transparent .nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-transparent .nav-links a.nav-active { color: #fff; font-weight: 600; }
.nav-transparent .btn-ghost { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.35); }
.nav-transparent .btn-ghost:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.nav-transparent .nav-toggle span { background: #fff; }

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  border-radius: 8px;
  flex-shrink: 0;
  padding: 3px;
  box-sizing: border-box;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-text { font-size: 1.05rem; font-weight: 400; color: var(--slate-800); letter-spacing: -.01em; }
.logo-text strong { font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  padding: .45rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--slate-600);
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--slate-900); background: var(--slate-100); }

.nav-drawer { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.nav-ctas { display: flex; align-items: center; gap: .5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 5rem;
  overflow: hidden;
  background: var(--slate-900);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.hero-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #6366f1, transparent); top: -200px; left: -150px; }
.hero-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #0d9488, transparent); top: 100px; right: -200px; }
.hero-orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, #7c3aed, transparent); bottom: -100px; left: 30%; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  padding-bottom: 2.5rem;
}

.hero-text { text-align: left; }

/* Warehouse image column */
.hero-image {
  position: relative;
}
.warehouse-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.08);
  display: block;
}
.hero-video-wrap {
  position: relative;
  display: block;
}
.hero-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}
.hero-play-btn svg {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
  transition: transform .2s;
}
.hero-play-btn:hover svg { transform: scale(1.1); }
.hero-play-btn.hidden { display: none; }
.hero-mute-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  padding: 0;
}
.hero-mute-btn:hover { background: rgba(0,0,0,0.75); transform: scale(1.1); }
.hero-mute-btn.hidden { display: none; }
.hero-mute-btn svg { width: 18px; height: 18px; }
.hero-mute-btn .icon-sound-off { display: none; }
.hero-mute-btn.muted .icon-sound-on  { display: none; }
.hero-mute-btn.muted .icon-sound-off { display: block; }
.hero-img-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 1rem;
  border-radius: 100px;
  background: rgba(15,23,42,.9);
  border: 1px solid rgba(99,102,241,.35);
  color: #a5b4fc;
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.hib-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border-radius: 100px;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  color: #a5b4fc;
  font-size: .825rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #a5b4fc;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

html[lang="fr"] .hero-headline { font-size: clamp(2rem, 4.4vw, 3.3rem); }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}
.desktop-br { display: block; }

.hero-sub {
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin: 0 0 2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; justify-content: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 0; }

.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
  width: 100%;
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.metric {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: .5rem 1rem;
}
.metric-value {
  display: inline;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
}
.metric-unit { font-size: 1.2rem; font-weight: 600; color: #a5b4fc; }
.metric-label { display: block; font-size: .8rem; color: rgba(255,255,255,.45); margin-top: .2rem; }
.metric-divider { width: 1px; height: 40px; background: rgba(255,255,255,.1); flex-shrink: 0; }

/* Hero preview window */
.hero-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
}

.preview-window {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 80px rgba(99,102,241,.15);
  overflow: hidden;
}
.preview-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  background: var(--slate-900);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.preview-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--slate-600);
}
.preview-dot:first-child { background: #ef4444; }
.preview-dot:nth-child(2) { background: #f59e0b; }
.preview-dot:nth-child(3) { background: #22c55e; }
.preview-url {
  margin-left: .5rem;
  font-size: .75rem;
  color: var(--slate-500);
  font-family: monospace;
}

.preview-dash { display: flex; height: 280px; }

.pd-sidebar {
  width: 52px;
  background: var(--slate-900);
  border-right: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.pd-logo-mini {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  margin-bottom: 6px;
}
.pd-nav-item {
  width: 32px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.1);
}
.pd-nav-active { background: var(--indigo); opacity: .7; }

.pd-body { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

.pd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.pd-breadcrumb {
  width: 140px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.12);
}
.pd-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--indigo));
}

.pd-content { flex: 1; padding: 10px 14px; display: flex; flex-direction: column; gap: 10px; }

.pd-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pd-kpi {
  border-radius: 6px;
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pd-kpi-blue   { background: rgba(59,130,246,.15); }
.pd-kpi-purple { background: rgba(124,58,237,.15); }
.pd-kpi-teal   { background: rgba(13,148,136,.15); }
.pd-kpi-amber  { background: rgba(217,119,6,.15); }
.pd-kpi-label { width: 60%; height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); }
.pd-kpi-val   { width: 80%; height: 9px; border-radius: 4px; background: rgba(255,255,255,.35); }
.pd-kpi-trend { width: 30%; height: 5px; border-radius: 3px; }
.pd-trend-up   { background: rgba(34,197,94,.5); }
.pd-trend-down { background: rgba(239,68,68,.4); }

.pd-charts-row { display: grid; grid-template-columns: 1fr 140px; gap: 8px; flex: 1; }
.pd-chart-main, .pd-chart-side {
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  padding: 8px;
  overflow: hidden;
}
.pd-chart-title { width: 55%; height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); margin-bottom: 8px; }

.pd-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 70px;
}
.pd-bar {
  flex: 1;
  background: rgba(99,102,241,.4);
  border-radius: 3px 3px 0 0;
  transition: background .3s;
}
.pd-bar-active { background: var(--indigo); }

.pd-donut-wrap { display: flex; justify-content: center; margin: 4px 0; }
.pd-donut {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 10px solid transparent;
  border-top-color: var(--indigo);
  border-right-color: #7c3aed;
  border-bottom-color: #0d9488;
  border-left-color: rgba(255,255,255,.1);
}
.pd-legend { display: flex; flex-direction: column; gap: 4px; }
.pd-legend-item { display: flex; align-items: center; gap: 4px; }
.pd-legend-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pd-dot-blue   { background: var(--indigo); }
.pd-dot-purple { background: #7c3aed; }
.pd-dot-teal   { background: #0d9488; }
.pd-legend-label { flex: 1; height: 5px; border-radius: 2px; background: rgba(255,255,255,.15); }

/* ============================================================
   LOGOS
   ============================================================ */
.logos-section { padding: 2.5rem 0; border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }
.logos-label { text-align: center; font-size: .8rem; color: var(--slate-400); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.25rem; }

.logos-track { overflow: hidden; position: relative; }
.logos-track::before, .logos-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
}
.logos-track::before { left: 0; background: linear-gradient(to right, white, transparent); }
.logos-track::after  { right: 0; background: linear-gradient(to left, white, transparent); }

.logos-inner {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logos-inner:hover { animation-play-state: paused; }
.logo-chip {
  display: flex;
  align-items: center;
  padding: .55rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  color: var(--slate-500);
  font-weight: 600;
  font-size: .875rem;
  white-space: nowrap;
  background: var(--white);
  letter-spacing: -.01em;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-100);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pc-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.pc-icon svg { width: 32px; height: 32px; }

.product-card-blue   .pc-icon { background: var(--blue-l);   color: var(--blue); }
.product-card-violet .pc-icon { background: var(--violet-l); color: var(--violet); }
.product-card-teal   .pc-icon { background: var(--teal-l);   color: var(--teal); }
.product-card-amber  .pc-icon { background: var(--amber-l);  color: var(--amber); }

.pc-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.product-card-blue   .pc-tag { color: var(--blue); }
.product-card-violet .pc-tag { color: var(--violet); }
.product-card-teal   .pc-tag { color: var(--teal); }
.product-card-amber  .pc-tag { color: var(--amber); }

.pc-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: .65rem;
}
.pc-desc { font-size: .9375rem; color: var(--slate-500); line-height: 1.65; margin-bottom: 1.25rem; flex: 1; }

.pc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.5rem;
}
.pc-features li {
  font-size: .875rem;
  color: var(--slate-600);
  padding-left: 1.2rem;
  position: relative;
}
.pc-features li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
}
.product-card-blue   .pc-features li::before { background: var(--blue); }
.product-card-violet .pc-features li::before { background: var(--violet); }
.product-card-teal   .pc-features li::before { background: var(--teal); }
.product-card-amber  .pc-features li::before { background: var(--amber); }

.pc-link {
  font-size: .9rem;
  font-weight: 600;
  transition: gap var(--transition), color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: auto;
}
.product-card-blue   .pc-link { color: var(--blue); }
.product-card-violet .pc-link { color: var(--violet); }
.product-card-teal   .pc-link { color: var(--teal); }
.product-card-amber  .pc-link { color: var(--amber); }
.pc-link:hover { gap: .55rem; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries { background: var(--slate-50); }

.industries-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.ind-tab {
  padding: .55rem 1.25rem;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate-600);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  transition: all var(--transition);
}
.ind-tab:hover { border-color: var(--indigo); color: var(--indigo); }
.ind-tab-active { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
.ind-tab-active:hover { color: var(--white); font-weight: 700; }

.ind-panel { display: none; }
.ind-panel-active { display: block; }

.ind-panel-img {
  grid-column: 1 / -1;
  height: 260px;
  margin: -2.5rem -2.5rem 0 -2.5rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.ind-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ind-panel-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow);
}

.ind-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: .75rem;
}
.ind-info p { color: var(--slate-600); font-size: .9375rem; line-height: 1.65; margin-bottom: 1.25rem; }

.ind-list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.75rem; }
.ind-list li {
  font-size: .9rem;
  color: var(--slate-600);
  padding-left: 1.3rem;
  position: relative;
}
.ind-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: .8rem;
}

.ind-visual { display: flex; flex-direction: column; gap: 1rem; }

.ind-visual-card {
  background: var(--slate-900);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--white);
}
.ivc-label { font-size: .78rem; color: rgba(255,255,255,.5); font-weight: 500; margin-bottom: .35rem; }
.ivc-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .6rem;
}
.ivc-value span { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,.6); margin-left: 2px; }
.ivc-bar-wrap { background: rgba(255,255,255,.1); border-radius: 100px; height: 6px; margin-bottom: .6rem; overflow: hidden; }
.ivc-bar {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(to right, var(--indigo), #06b6d4);
}
.ivc-meta { font-size: .78rem; color: rgba(255,255,255,.45); }
.ivc-pill {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  margin-top: .25rem;
}
.ivc-pill-ok { background: rgba(34,197,94,.2); color: #4ade80; }

/* ============================================================
   PLATFORM
   ============================================================ */
.platform {
  position: relative;
  background: var(--slate-900);
  color: var(--white);
  overflow: hidden;
}
.platform-bg { position: absolute; inset: 0; pointer-events: none; }
.platform-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.25), transparent 70%);
  top: -200px; right: -200px;
  filter: blur(60px);
}

.caps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.cap-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cap-card:hover { background: var(--slate-50); border-color: var(--indigo); box-shadow: var(--shadow); transform: translateY(-2px); }
.cap-card[data-reveal] { opacity: 0; transform: translateY(20px); }
.cap-card[data-reveal].revealed { opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s ease; }
.cap-card:hover[data-reveal].revealed { transform: translateY(-2px); }

.cap-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--indigo);
}
.cap-icon svg { width: 22px; height: 22px; }

.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: .5rem;
}
.cap-card p { font-size: .9rem; color: var(--slate-500); line-height: 1.65; }

/* ============================================================
   ANALYTICS
   ============================================================ */
.analytics { background: var(--white); }

.analytics-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.analytics-copy { max-width: 480px; }
.analytics-copy .section-tag { margin-bottom: .75rem; }
.analytics-copy .section-title { margin-bottom: 1rem; }
.analytics-copy > p { color: var(--slate-500); line-height: 1.7; margin-bottom: 1.5rem; }

.analytics-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.analytics-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9375rem;
  color: var(--slate-700);
}
.al-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--teal); margin-top: .05rem; }

/* Analytics mockup */
.am-window {
  background: var(--slate-900);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.am-titlebar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  background: var(--slate-900);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.am-dots { display: flex; gap: .4rem; }
.am-dots span { width: 10px; height: 10px; border-radius: 50%; }
.am-dots span:nth-child(1) { background: #ef4444; }
.am-dots span:nth-child(2) { background: #f59e0b; }
.am-dots span:nth-child(3) { background: #22c55e; }
.am-title { font-size: .75rem; color: var(--slate-400); margin-left: .5rem; font-family: monospace; }

.am-body { padding: 1.25rem; }

.am-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1.25rem; }
.am-kpi {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  padding: .75rem;
}
.am-kpi-label { font-size: .7rem; color: rgba(255,255,255,.4); margin-bottom: .2rem; }
.am-kpi-val { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.am-kpi-delta { font-size: .7rem; margin-top: .2rem; }
.am-delta-pos { color: #4ade80; }
.am-delta-neutral { color: rgba(255,255,255,.4); }

.am-charts { display: grid; grid-template-columns: 1fr 220px; gap: .75rem; margin-bottom: 1rem; }
.am-chart {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  padding: .9rem;
}
.am-chart-hd { font-size: .72rem; color: rgba(255,255,255,.45); margin-bottom: .75rem; font-weight: 500; }

.am-linechart svg { width: 100%; height: 80px; }

.am-stagebar { display: flex; flex-direction: column; gap: .5rem; }
.am-stage { display: grid; grid-template-columns: 70px 1fr 50px; align-items: center; gap: .5rem; }
.am-stage-label { font-size: .68rem; color: rgba(255,255,255,.45); }
.am-stage-bar-wrap { height: 6px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.am-stage-bar { height: 100%; border-radius: 3px; background: var(--indigo); transition: width 1s ease; }
.am-bar-teal  { background: var(--teal); }
.am-bar-amber { background: #f59e0b; }
.am-stage-val { font-size: .68rem; color: rgba(255,255,255,.45); text-align: right; }

.am-ai-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: var(--radius-sm);
  padding: .65rem .85rem;
}
.am-ai-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #a5b4fc;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
.am-ai-text { font-size: .78rem; color: #c7d2fe; }

/* ERP table mockup (CoreOps) */
.am-erp-table { margin-top: .6rem; }
.am-erp-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1.8fr 1.1fr .85fr;
  padding: .28rem .6rem;
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,.3);
  border-bottom: 1px solid rgba(255,255,255,.08);
  gap: .3rem;
}
.am-erp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.8fr 1.1fr .85fr;
  padding: .32rem .6rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  align-items: center;
  gap: .3rem;
  font-size: .66rem;
  color: rgba(255,255,255,.75);
  transition: background .15s;
}
.am-erp-row:last-child { border-bottom: none; }
.am-erp-row:hover { background: rgba(255,255,255,.04); }
.am-erp-site { font-weight: 600; color: rgba(255,255,255,.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-erp-order { color: rgba(255,255,255,.45); font-size: .6rem; }
.am-erp-prog { display: flex; align-items: center; gap: .35rem; }
.am-erp-prog-wrap { flex: 1; height: 4px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
.am-erp-prog-bar { height: 100%; border-radius: 99px; }
.am-erp-prog-blue { background: #60a5fa; }
.am-erp-prog-amber { background: #fbbf24; }
.am-erp-prog-green { background: #34d399; }
.am-erp-prog-pct { font-size: .6rem; color: rgba(255,255,255,.45); white-space: nowrap; }
.am-erp-badge { display: inline-flex; padding: .12rem .4rem; border-radius: 99px; font-size: .58rem; font-weight: 600; white-space: nowrap; }
.am-erp-ok   { background: rgba(52,211,153,.18); color: #6ee7b7; }
.am-erp-risk { background: rgba(251,191,36,.18);  color: #fcd34d; }
.am-erp-late { background: rgba(248,113,113,.18); color: #fca5a5; }
.am-erp-due  { font-size: .62rem; color: rgba(255,255,255,.4); white-space: nowrap; }
.am-erp-pend { background: rgba(255,255,255,.07); color: rgba(255,255,255,.35); }

/* --- Onboarding workflow mockup (PeopleFlow) --- */
.am-ob-new-hire { display: flex; align-items: center; gap: .5rem; margin: .4rem .6rem .35rem; padding: .3rem .5rem; background: rgba(139,92,246,.13); border-radius: var(--radius); }
.am-ob-avatar { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: linear-gradient(135deg,#7c3aed,#a78bfa); display: flex; align-items: center; justify-content: center; font-size: .55rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.am-ob-name { font-size: .66rem; font-weight: 600; color: rgba(255,255,255,.88); }
.am-ob-role { font-size: .58rem; color: rgba(255,255,255,.35); margin-left: auto; white-space: nowrap; }
.am-ob-progress { display: flex; align-items: center; gap: .5rem; padding: 0 1.1rem .4rem; }
.am-ob-prog-label { font-size: .58rem; color: rgba(255,255,255,.35); white-space: nowrap; }
.am-ob-prog-track { flex: 1; height: 3px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
.am-ob-prog-fill { height: 100%; border-radius: 99px; background: #a78bfa; }
.am-ob-prog-pct { font-size: .62rem; font-weight: 600; color: #a78bfa; }
.am-ob-table { margin-top: .2rem; }
.am-ob-head {
  display: grid;
  grid-template-columns: 2fr .9fr .85fr .6fr;
  padding: .25rem .6rem;
  font-size: .58rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: rgba(255,255,255,.3);
  border-bottom: 1px solid rgba(255,255,255,.08);
  gap: .3rem;
}
.am-ob-row {
  display: grid;
  grid-template-columns: 2fr .9fr .85fr .6fr;
  padding: .3rem .6rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  align-items: center; gap: .3rem;
  font-size: .64rem; color: rgba(255,255,255,.72);
  transition: background .15s;
}
.am-ob-row:last-child { border-bottom: none; }
.am-ob-row:hover { background: rgba(255,255,255,.04); }
.am-ob-task-name { display: flex; align-items: center; gap: .35rem; overflow: hidden; }
.am-ob-icon { font-size: .65rem; width: .8rem; text-align: center; flex-shrink: 0; line-height: 1; }
.am-ob-done-icon { color: #34d399; }
.am-ob-prog-icon { color: #60a5fa; }
.am-ob-pend-icon { color: rgba(255,255,255,.2); }
.am-ob-task-done { color: rgba(255,255,255,.35); text-decoration: line-through; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-ob-owner { font-size: .6rem; color: rgba(255,255,255,.38); }
.am-ob-due { font-size: .6rem; color: rgba(255,255,255,.35); }

/* --- Campaign management & lead scoring mockup (ClientSphere) --- */
.am-erp-live { background: rgba(45,212,191,.18); color: #5eead4; }
.am-cm-table { margin-top: .4rem; }
.am-cm-head {
  display: grid;
  grid-template-columns: 1.8fr .7fr .8fr .7fr .8fr;
  padding: .25rem .6rem;
  font-size: .58rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: rgba(255,255,255,.3);
  border-bottom: 1px solid rgba(255,255,255,.08);
  gap: .3rem;
}
.am-cm-row {
  display: grid;
  grid-template-columns: 1.8fr .7fr .8fr .7fr .8fr;
  padding: .3rem .6rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  align-items: center; gap: .3rem;
  font-size: .64rem; color: rgba(255,255,255,.72);
  transition: background .15s;
}
.am-cm-row:last-child { border-bottom: none; }
.am-cm-row:hover { background: rgba(255,255,255,.04); }
.am-cm-name { font-weight: 600; color: rgba(255,255,255,.88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-cm-channel { font-size: .6rem; color: rgba(255,255,255,.4); }
.am-cm-reach { font-size: .62rem; color: rgba(255,255,255,.55); }
.am-cm-conv { font-size: .64rem; font-weight: 600; color: #2dd4bf; }
.am-ls-divider { margin: .35rem .6rem 0; border: none; border-top: 1px solid rgba(255,255,255,.08); }
.am-ls-heading { padding: .3rem .6rem .1rem; font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.3); }
.am-ls-row { display: flex; align-items: center; gap: .5rem; padding: .22rem .6rem; }
.am-ls-name { font-size: .63rem; font-weight: 600; color: rgba(255,255,255,.82); width: 4.2rem; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-ls-bar-wrap { flex: 1; height: 4px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
.am-ls-bar { height: 100%; border-radius: 99px; }
.am-ls-bar-hi { background: #2dd4bf; }
.am-ls-bar-md { background: #38bdf8; }
.am-ls-bar-lo { background: rgba(255,255,255,.25); }
.am-ls-score { font-size: .65rem; font-weight: 700; width: 1.6rem; text-align: right; flex-shrink: 0; }
.am-ls-score-hi { color: #2dd4bf; }
.am-ls-score-md { color: #38bdf8; }
.am-ls-score-lo { color: rgba(255,255,255,.38); }
.am-ls-src { font-size: .57rem; color: rgba(255,255,255,.28); width: 3.2rem; text-align: right; flex-shrink: 0; }

/* ============================================================
   OUTCOMES
   ============================================================ */
.outcomes-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .35rem;
}
.stat-desc { font-size: .95rem; color: var(--slate-700); font-weight: 500; margin-bottom: .35rem; line-height: 1.4; }
.stat-source { font-size: .78rem; color: var(--slate-400); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.tcard-quote {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.tcard-quote::before { content: ''; }

.tcard-footer { display: flex; align-items: center; gap: .85rem; }
.tcard-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  flex-shrink: 0;
  font-size: .75rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tcard-avatar-violet { background: linear-gradient(135deg, var(--violet), var(--indigo)); }
.tcard-avatar-amber  { background: linear-gradient(135deg, var(--amber), #f97316); }
.tcard-name { font-weight: 600; font-size: .9375rem; color: var(--slate-900); }
.tcard-role { font-size: .8rem; color: var(--slate-500); }

/* ============================================================
   SECURITY
   ============================================================ */
.security {
  position: relative;
  background: linear-gradient(135deg, var(--slate-900) 0%, #0f0f1e 100%);
  overflow: hidden;
}
.security-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 70% 50%, rgba(99,102,241,.12), transparent 60%);
}

.security-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.section-sub-light { color: rgba(255,255,255,.55); margin-top: .5rem; line-height: 1.65; }

.sec-certs {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.cert-badge {
  padding: .45rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(99,102,241,.4);
  color: #c7d2fe;
  font-size: .8rem;
  font-weight: 600;
  background: rgba(99,102,241,.1);
  letter-spacing: .02em;
}

.security-features { display: flex; flex-direction: column; gap: 1.5rem; }
.sec-feat { display: flex; gap: 1rem; align-items: flex-start; }
.sec-feat-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  margin-top: .1rem;
}
.sec-feat-icon svg { width: 20px; height: 20px; }
.sec-feat h4 { font-size: 1rem; font-weight: 600; color: var(--slate-900); margin-bottom: .3rem; }
.sec-feat p { font-size: .875rem; color: var(--slate-500); line-height: 1.6; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: .25rem;
  background: var(--slate-100);
  border-radius: 100px;
  padding: .25rem;
  width: fit-content;
  margin: 0 auto 2.5rem;
}
.price-toggle-btn {
  padding: .5rem 1.25rem;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate-500);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.price-toggle-active { background: var(--white); color: var(--slate-800); box-shadow: var(--shadow-sm); }
.save-badge {
  background: linear-gradient(135deg, var(--teal), var(--indigo));
  color: white;
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 100px;
  letter-spacing: .03em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.price-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.price-card-featured { border-color: var(--indigo); box-shadow: 0 0 0 1px var(--indigo), var(--shadow-lg); }

.price-featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .9rem;
  border-radius: 100px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.price-tier { font-size: 1.1rem; font-weight: 700; color: var(--slate-900); margin-bottom: .35rem; }
.price-desc { font-size: .85rem; color: var(--slate-500); line-height: 1.5; margin-bottom: 1.25rem; }

.price-amount { display: flex; align-items: flex-end; gap: .15rem; margin-bottom: .35rem; }
.price-currency { font-size: 1.3rem; font-weight: 600; color: var(--slate-800); padding-bottom: .35rem; }
.price-val { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: var(--slate-900); line-height: 1; }
.price-period { font-size: .9rem; color: var(--slate-500); padding-bottom: .5rem; }
.price-amount-custom { align-items: center; }
.price-custom { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--slate-900); }

.price-basis { font-size: .8rem; color: var(--slate-400); margin-bottom: 1.5rem; }

.price-features {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 2rem;
}
.price-features li {
  font-size: .9rem;
  color: var(--slate-600);
  padding-left: 1.4rem;
  position: relative;
}
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: .85rem;
}

.pricing-note { text-align: center; font-size: .85rem; color: var(--slate-500); margin-top: 2rem; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ============================================================
   DEMO FORM
   ============================================================ */
.demo { background: var(--slate-50); }

.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.demo-copy > p { color: var(--slate-500); line-height: 1.7; margin-bottom: 1.5rem; font-size: .9375rem; }

.demo-perks { display: flex; flex-direction: column; gap: .65rem; }
.demo-perks li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9375rem;
  color: var(--slate-700);
}
.dp-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--teal); margin-top: .05rem; }

.demo-form-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.1rem;
}
.form-group label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-700);
}
.form-group label span { color: var(--indigo); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: .625rem .85rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  color: var(--slate-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #ef4444; }
.field-error { font-size: .78rem; color: #ef4444; min-height: 1em; }

.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m4 6 4 4 4-4'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 16px; padding-right: 2.25rem; cursor: pointer; }

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
}
.check-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--slate-700);
  cursor: pointer;
}
.check-label input[type="checkbox"] {
  width: 16px; height: 16px;
  border-radius: 3px;
  accent-color: var(--indigo);
  cursor: pointer;
  flex-shrink: 0;
}

.form-privacy { font-size: .78rem; color: var(--slate-400); text-align: center; margin-top: .85rem; }
.form-privacy a { color: var(--indigo); }
.form-privacy a:hover { text-decoration: underline; }

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}
.success-icon { width: 64px; margin: 0 auto 1.25rem; color: var(--teal); }
.form-success h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--slate-900); margin-bottom: .5rem; }
.form-success p { color: var(--slate-500); font-size: .9375rem; line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--slate-900);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo .logo-text { color: var(--white); }
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,.45); margin-top: .75rem; line-height: 1.65; max-width: 240px; }

.footer-socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { background: var(--indigo); border-color: var(--indigo); color: white; }

.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.footer-col h4 { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.8); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large → Medium */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-card:last-child { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; width: 100%; }
  .ind-panel-content { grid-template-columns: 1fr; }
  .ind-visual { flex-direction: row; }
  .ind-visual-card { flex: 1; }
  .analytics-inner { grid-template-columns: 1fr; }
  .analytics-mockup { max-width: 700px; margin: 0 auto; }
  .am-kpis { grid-template-columns: repeat(2, 1fr); }
  .am-charts { grid-template-columns: 1fr; }
  .am-chart-side { display: none; }
}

/* Medium → Small */
@media (max-width: 768px) {
  :root { --section-gap: 3.5rem; }

  .region-bar-hint { display: none; }
  .region-bar-sep  { display: none; }
  .rp-grid { grid-template-columns: 1fr 1fr; }
  .region-panel-wrap { top: 96px; max-height: calc(100vh - 96px); }

  /* Nav */
  .nav-drawer {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: .25rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-drawer.nav-open { display: flex; }
  .nav-links { margin-left: 0; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-ctas { flex-direction: row; justify-content: stretch; border-top: 1px solid var(--slate-200); padding-top: 1rem; margin-top: .5rem; }
  .nav-ctas .btn { flex: 1; justify-content: center; }
  .nav-toggle { display: flex; }

  /* Hero */
  .desktop-br { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-image { max-width: 540px; margin: 0 auto; }
  .hero-metrics { gap: .5rem; padding: 1rem; }
  .metric { min-width: 110px; }

  /* Sections */
  .security-inner { grid-template-columns: 1fr; }
  .demo-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card:last-child { grid-column: auto; max-width: none; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .ind-visual { flex-direction: column; }
  .pd-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .pd-charts-row { grid-template-columns: 1fr; }
  .pd-chart-side { display: none; }
}

@media (max-width: 600px) {
  .hero-metrics { flex-direction: column; }
  .metric-divider { width: 80px; height: 1px; }
  .outcomes-stats { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .caps-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .am-kpis { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .outcomes-stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .rp-grid { grid-template-columns: 1fr; }
}

/* ---------- RTL overrides ---------- */
[dir="rtl"] .nav-drawer { margin-right: auto; margin-left: 0; }
[dir="rtl"] .nav-logo  { margin-left: auto; margin-right: 0; }
[dir="rtl"] .region-bar-inner { flex-direction: row-reverse; }
[dir="rtl"] .rp-country { align-items: flex-end; text-align: right; }
[dir="rtl"] .rp-region-col { direction: rtl; }
[dir="rtl"] .hero-inner { direction: rtl; }
[dir="rtl"] .hero-badge { flex-direction: row-reverse; }
[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
[dir="rtl"] .section-header { direction: rtl; }
[dir="rtl"] .pc-features li { padding-left: 0; padding-right: 1.2rem; }
[dir="rtl"] .pc-features li::before { left: auto; right: 0; }
[dir="rtl"] .ind-list li { padding-left: 0; padding-right: 1.3rem; }
[dir="rtl"] .ind-list li::before { left: auto; right: 0; }
[dir="rtl"] .analytics-list li { flex-direction: row-reverse; }
[dir="rtl"] .demo-perks li { flex-direction: row-reverse; }
[dir="rtl"] .sec-feat { flex-direction: row-reverse; }
[dir="rtl"] .price-features li { padding-left: 0; padding-right: 1.4rem; }
[dir="rtl"] .price-features li::before { left: auto; right: 0; }
[dir="rtl"] .tcard-footer { flex-direction: row-reverse; }
[dir="rtl"] .footer-brand { text-align: right; }
[dir="rtl"] .footer-socials { justify-content: flex-end; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .am-stage { direction: rtl; }
[dir="rtl"] .rp-header { flex-direction: row-reverse; }

/* ============================================================
   LOGO WORDMARKS (real company names greyscale)
   ============================================================ */
.logo-img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.45);
  transition: filter var(--transition);
  user-select: none;
  flex-shrink: 0;
  padding: 0 2.25rem;
}
.logo-img:hover { filter: grayscale(100%) opacity(0.75); }

/* ============================================================
   HOMEPAGE — SOLUTIONS OVERVIEW
   ============================================================ */
.po-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.po-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.po-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.po-icon { width: 44px; height: 44px; margin-bottom: .35rem; }
.po-icon svg { width: 44px; height: 44px; }
.po-card-blue  { color: var(--blue-d);   } .po-card-blue:hover  { border-color: var(--blue);   }
.po-card-violet{ color: var(--violet-d); } .po-card-violet:hover{ border-color: var(--violet); }
.po-card-teal  { color: var(--teal-d);   } .po-card-teal:hover  { border-color: var(--teal);   }
.po-card-amber { color: var(--amber-d);  } .po-card-amber:hover { border-color: var(--amber);  }
.po-tag  { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--slate-400); }
.po-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--slate-900); }
.po-desc { font-size: .875rem; color: var(--slate-500); line-height: 1.65; flex: 1; }
.po-link { font-size: .875rem; font-weight: 600; margin-top: .25rem; }
.po-more { display: flex; gap: 1rem; align-items: center; justify-content: center; }

/* ============================================================
   HOMEPAGE — PLATFORM STRIP
   ============================================================ */
.platform-strip { background: var(--slate-900); padding: 2.75rem 0; }
.ps-grid {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.ps-item { text-align: center; }
.ps-num  { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--white); }
.ps-label{ font-size: .8125rem; color: rgba(255,255,255,.45); margin-top: .2rem; }
.ps-divider { width: 1px; height: 44px; background: rgba(255,255,255,.1); flex-shrink: 0; }
.ps-cta { margin-left: auto; }
.btn-ghost-light {
  color: rgba(255,255,255,.65);
  background: transparent;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}
.btn-ghost-light:hover { color: var(--white); }

/* ============================================================
   SUB-PAGE — PAGE HERO
   ============================================================ */
.page-hero {
  background-color: #0f172a;
  background-image:
    linear-gradient(135deg, rgba(15,23,42,.82) 0%, rgba(26,16,64,.78) 55%, rgba(12,26,46,.84) 100%),
    var(--hero-img, none);
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  padding: calc(5.5rem + 102px) 0 4rem;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 65% 50%, rgba(99,102,241,.13) 0%, transparent 70%);
  pointer-events: none;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 2rem;
}
.page-breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--transition); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--white); }
.bc-sep { color: rgba(255,255,255,.25); font-size: .75rem; }
.ph-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #a5b4fc;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 100px;
  padding: .28rem .85rem;
  margin-bottom: 1.1rem;
}
.ph-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: .9rem;
  max-width: 700px;
}
.ph-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2rem;
}
.ph-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
  background: transparent;
  border-radius: var(--radius-sm);
  padding: .625rem 1.25rem;
  font-weight: 500;
  font-size: .9375rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.btn-outline-light:hover { border-color: rgba(255,255,255,.6); color: var(--white); background: rgba(255,255,255,.06); }

/* ============================================================
   SUB-PAGE — PRODUCT JUMP NAV
   ============================================================ */
.prod-jump-nav {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 102px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.prod-jump-nav .container { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.prod-jump-nav .container::-webkit-scrollbar { display: none; }
.pjn-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .9rem 1.5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-500);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.pjn-dot { width: 7px; height: 7px; border-radius: 50%; }
.pjn-link:hover { color: var(--slate-800); }
.pjn-blue:hover  { border-bottom-color: var(--blue);   color: var(--blue-d);   }
.pjn-violet:hover{ border-bottom-color: var(--violet); color: var(--violet-d); }
.pjn-teal:hover  { border-bottom-color: var(--teal);   color: var(--teal-d);   }
.pjn-amber:hover { border-bottom-color: var(--amber);  color: var(--amber-d);  }

/* ============================================================
   SUB-PAGE — PRODUCT SECTIONS
   ============================================================ */
.prod-section { padding: var(--section-gap) 0; border-top: 1px solid var(--slate-100); }
.prod-section:nth-child(even) { background: var(--slate-50); }
.prod-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3.5rem;
}
.prod-section-alt .prod-section-inner { direction: rtl; }
.prod-section-alt .prod-section-inner > * { direction: ltr; }

.prod-section-identity { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.psi-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.psi-icon svg { width: 28px; height: 28px; }
.psi-icon-blue  { background: var(--blue-l);   color: var(--blue-d);   }
.psi-icon-violet{ background: var(--violet-l); color: var(--violet-d); }
.psi-icon-teal  { background: var(--teal-l);   color: var(--teal-d);   }
.psi-icon-amber { background: var(--amber-l);  color: var(--amber-d);  }
.psi-meta .psi-tag { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); margin-bottom: .25rem; }
.psi-meta h2 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; color: var(--slate-900); line-height: 1.2; }

.prod-section-text p { color: var(--slate-600); line-height: 1.78; margin-bottom: 1rem; font-size: .9375rem; }
.prod-caps-heading { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); margin: 1.5rem 0 .8rem; }
.prod-caps-list { list-style: none; display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.5rem; }
.prod-caps-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .9rem; color: var(--slate-600); line-height: 1.55; }
.prod-caps-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: .48rem; }
.prod-section-blue   .prod-caps-list li::before { background: var(--blue); }
.prod-section-violet .prod-caps-list li::before { background: var(--violet); }
.prod-section-teal   .prod-caps-list li::before { background: var(--teal); }
.prod-section-amber  .prod-caps-list li::before { background: var(--amber); }
.prod-cta-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9375rem; text-decoration: none; transition: gap var(--transition); }
.prod-cta-link:hover { gap: .7rem; }
.prod-section-blue   .prod-cta-link { color: var(--blue-d); }
.prod-section-violet .prod-cta-link { color: var(--violet-d); }
.prod-section-teal   .prod-cta-link { color: var(--teal-d); }
.prod-section-amber  .prod-cta-link { color: var(--amber-d); }

.prod-section-visual { display: flex; flex-direction: column; gap: 1rem; }
.psc-slider-wrap { position: relative; }
.psc-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.psc-slider::-webkit-scrollbar { display: none; }
.psc-slider .prod-stat-card { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; padding-left: 2.8rem; padding-right: 2.8rem; }
.psc-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 1.8rem; height: 1.8rem;
  border-radius: 50%;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-500);
  font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.psc-arrow-prev { left: .6rem; }
.psc-arrow-next { right: .6rem; }
.psc-arrow:hover { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.prod-stat-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.psc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.psc-label { font-size: .8rem; color: var(--slate-400); font-weight: 500; }
.psc-delta { font-size: .72rem; font-weight: 600; padding: .2rem .5rem; border-radius: 100px; }
.psc-pos { background: #dcfce7; color: #15803d; }
.psc-neg { background: #fee2e2; color: #b91c1c; }
.psc-value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--slate-900); line-height: 1; }
.psc-sub { font-size: .8rem; color: var(--slate-400); margin-top: .25rem; }
.psc-bar-wrap { height: 5px; background: var(--slate-100); border-radius: 100px; margin-top: .75rem; overflow: hidden; }
.psc-bar { height: 100%; border-radius: 100px; }
.psc-blue   { background: var(--blue); }
.psc-violet { background: var(--violet); }
.psc-teal   { background: var(--teal); }
.psc-amber  { background: var(--amber); }

.prod-modules-section { border-top: 1px solid var(--slate-100); padding-top: 2.5rem; }
.prod-modules-heading { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--slate-400); margin-bottom: 1.25rem; }
.prod-modules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.prod-module-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--transition);
}
.prod-module-card:hover { box-shadow: var(--shadow); border-color: var(--slate-300); transform: translateY(-2px); }
.pmc-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.pmc-icon svg { width: 18px; height: 18px; }
.pmc-icon-blue   { background: var(--blue-l);   color: var(--blue-d);   }
.pmc-icon-violet { background: var(--violet-l); color: var(--violet-d); }
.pmc-icon-teal   { background: var(--teal-l);   color: var(--teal-d);   }
.pmc-icon-amber  { background: var(--amber-l);  color: var(--amber-d);  }
.pmc-name { font-weight: 600; font-size: .9rem; color: var(--slate-800); margin-bottom: .35rem; }
.pmc-desc { font-size: .8125rem; color: var(--slate-500); line-height: 1.55; }

/* ============================================================
   SUB-PAGE — INDUSTRIES
   ============================================================ */
.ind-detail-modules { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.5rem; }
.idm-tag {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; font-weight: 500;
  padding: .3rem .8rem; border-radius: 100px;
  background: var(--slate-100); color: var(--slate-600);
  text-decoration: none; transition: all var(--transition);
}
.idm-tag:hover { background: var(--indigo); color: var(--white); }
.ind-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.ind-highlight-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.ihc-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--indigo); margin-bottom: .25rem; }
.ihc-label { font-size: .875rem; color: var(--slate-600); line-height: 1.5; }

/* ============================================================
   SUB-PAGE — PLATFORM
   ============================================================ */
.plat-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.plat-pillar {
  text-align: center; padding: 2rem 1.5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
}
.plat-pillar-icon {
  width: 52px; height: 52px;
  background: rgba(99,102,241,.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: #a5b4fc;
}
.plat-pillar-icon svg { width: 24px; height: 24px; }
.plat-pillar h3 { font-weight: 700; color: var(--white); margin-bottom: .5rem; font-size: 1.05rem; }
.plat-pillar p { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.65; }

.plat-int-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.plat-int-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.pic-category { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); margin-bottom: .75rem; }
.pic-desc { font-size: .8rem; color: var(--slate-500); line-height: 1.6; margin: 0; }
.pic-items { display: flex; flex-wrap: wrap; gap: .4rem; }
.pic-item { font-size: .75rem; background: var(--slate-100); color: var(--slate-600); padding: .25rem .6rem; border-radius: 100px; }

/* ============================================================
   SUB-PAGE — SECURITY
   ============================================================ */
.sec-cert-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.sec-cert-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.scc-badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: var(--radius-sm); margin-bottom: .75rem;
}
.scc-soc, .scc-iso, .scc-gdpr, .scc-hipaa, .scc-fed, .scc-pci { background: #dbeafe; color: #1d4ed8; }
.scc-name  { font-weight: 700; color: var(--slate-800); margin-bottom: .5rem; font-size: 1.05rem; }
.scc-desc  { font-size: .875rem; color: var(--slate-500); line-height: 1.6; }
.scc-scope { font-size: .8rem; color: var(--slate-400); margin-top: .75rem; font-style: italic; }

.sec-fw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.sec-fw-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.sfwc-icon { width: 44px; height: 44px; background: var(--slate-100); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--indigo); }
.sfwc-icon svg { width: 22px; height: 22px; }
.sfwc-title { font-weight: 700; font-size: 1.05rem; color: var(--slate-900); margin-bottom: .5rem; }
.sfwc-desc  { font-size: .9rem; color: var(--slate-500); line-height: 1.65; }
.sfwc-list  { margin-top: .85rem; list-style: none; }
.sfwc-list li { font-size: .875rem; color: var(--slate-600); padding: .25rem 0 .25rem 1.2rem; position: relative; line-height: 1.5; }
.sfwc-list li::before { content: ''; position: absolute; left: 0; top: .6rem; width: 5px; height: 5px; border-radius: 50%; background: var(--indigo); }

.sec-deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.sec-deploy-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.sdc-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); margin-bottom: .5rem; }
.sdc-name  { font-weight: 700; color: var(--slate-900); font-size: 1.05rem; margin-bottom: .5rem; }
.sdc-desc  { font-size: .875rem; color: var(--slate-500); line-height: 1.6; }

/* ============================================================
   SUB-PAGE — PAGE CTA
   ============================================================ */
.page-cta {
  background: linear-gradient(135deg, var(--slate-900) 0%, #1a1040 60%, #0c1a2e 100%);
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
}
.page-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 110%, rgba(99,102,241,.15) 0%, transparent 65%);
  pointer-events: none;
}
.pcs-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}
.pcs-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.pcs-text p { font-size: .9375rem; color: rgba(255,255,255,.55); max-width: 480px; line-height: 1.65; }
.pcs-actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

/* Active nav link on sub-pages */
.nav-links a.nav-active { color: var(--indigo); font-weight: 600; }

/* ============================================================
   RESPONSIVE — SUB-PAGES
   ============================================================ */
@media (max-width: 1024px) {
  .prod-modules-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-cert-grid-full { grid-template-columns: repeat(2, 1fr); }
  .plat-int-grid { grid-template-columns: repeat(2, 1fr); }
  .po-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-hero { padding: calc(3.5rem + 102px) 0 2.5rem; margin-top: 0; }
  .ph-title { font-size: 1.75rem; }
  .prod-section-inner { grid-template-columns: 1fr; direction: ltr !important; }
  .prod-section-alt .prod-section-inner { direction: ltr !important; }
  .prod-modules-grid { grid-template-columns: 1fr 1fr; }
  .ps-grid { gap: 1.5rem; }
  .ps-cta { margin-left: 0; width: 100%; text-align: center; }
  .pcs-inner { flex-direction: column; align-items: flex-start; }
  .sec-fw-grid { grid-template-columns: 1fr; }
  .sec-deploy-grid { grid-template-columns: 1fr; }
  .plat-pillars { grid-template-columns: 1fr; }
  .sec-cert-grid-full { grid-template-columns: 1fr; }
  .ind-highlight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .po-grid { grid-template-columns: 1fr; }
  .prod-modules-grid { grid-template-columns: 1fr; }
  .plat-int-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .logos-inner { animation: none; }
}

/* ============================================================
   DEMO MODAL
   ============================================================ */
.demo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.demo-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.demo-modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  position: relative;
  transform: translateY(20px) scale(.97);
  transition: transform .22s cubic-bezier(.2,0,.2,1), opacity .22s ease;
  opacity: 0;
}
.demo-modal-overlay.is-open .demo-modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.demo-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border: none; border-radius: 50%;
  background: rgba(0,0,0,.08);
  color: var(--slate-600);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
  z-index: 10;
  flex-shrink: 0;
}
.demo-modal-close:hover { background: rgba(0,0,0,.15); color: var(--slate-900); }
.demo-modal-left {
  background: linear-gradient(155deg, var(--slate-900) 0%, #1a1060 100%);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.demo-modal-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 80% at 20% 110%, rgba(99,102,241,.35) 0%, transparent 60%);
  pointer-events: none;
}
.demo-modal-left .section-tag {
  display: inline-flex;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  margin-bottom: 1.25rem;
}
.demo-modal-left h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.demo-modal-left p {
  font-size: .9375rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.demo-modal-perks { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.demo-modal-perks li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}
.demo-modal-perks .dp-icon {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: #a5b4fc;
  margin-top: 1px;
}
.demo-modal-right {
  padding: 2.25rem 2.25rem 2.25rem 2rem;
  overflow-y: auto;
}
.demo-modal-right .form-group { margin-bottom: .9rem; }
@media (max-width: 700px) {
  .demo-modal-box { grid-template-columns: 1fr; max-height: 95vh; }
  .demo-modal-left { border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 1.75rem 1.5rem; }
  .demo-modal-right { padding: 1.5rem; }
  .demo-modal-close { background: rgba(255,255,255,.15); color: #fff; }
  .demo-modal-close:hover { background: rgba(255,255,255,.25); color: #fff; }
}

/* ============================================================
   LEGAL PAGES (privacy, terms, cookies, accessibility)
   ============================================================ */
.legal-page { padding: calc(5rem + 102px) 0 5rem; min-height: 70vh; }
.legal-container { max-width: 780px; }
.legal-header { margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--slate-100); }
.legal-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--indigo); margin-bottom: .5rem; }
.legal-header h1 { font-size: 2.4rem; font-weight: 800; color: var(--slate-900); margin: .25rem 0 .75rem; line-height: 1.15; }
.legal-meta { font-size: .85rem; color: var(--slate-400); }
.legal-body { font-size: 1rem; line-height: 1.75; color: var(--slate-600); }
.legal-body p { margin-bottom: 1.1rem; }
.legal-body h2 { font-size: 1.2rem; font-weight: 700; color: var(--slate-900); margin: 2.2rem 0 .6rem; padding-top: .5rem; }
.legal-body h3 { font-size: 1rem; font-weight: 600; color: var(--slate-800); margin: 1.4rem 0 .4rem; }
.legal-body ul { padding-left: 1.4rem; margin-bottom: 1.1rem; }
.legal-body li { margin-bottom: .4rem; }
.legal-body a { color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--indigo-dark, #4338ca); }
.legal-body address { font-style: normal; background: var(--slate-50); border: 1px solid var(--slate-100); border-radius: var(--radius); padding: 1.1rem 1.4rem; margin-top: .5rem; line-height: 1.9; }
.legal-body code { font-family: ui-monospace, monospace; font-size: .88em; background: var(--slate-100); padding: .1em .35em; border-radius: 4px; }

/* Cookie category cards */
.cookie-category { border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; margin-bottom: 1.2rem; }
.cookie-category-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cookie-category-header h3 { margin: 0 0 .3rem; }
.cookie-category-header p { font-size: .88rem; color: var(--slate-500); margin: 0; }
.cookie-badge-required { flex-shrink: 0; font-size: .72rem; font-weight: 600; background: var(--slate-100); color: var(--slate-500); padding: .25rem .75rem; border-radius: 99px; white-space: nowrap; align-self: flex-start; margin-top: .15rem; }
.cookie-toggle { flex-shrink: 0; position: relative; display: inline-flex; align-items: center; cursor: pointer; margin-top: .15rem; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle-slider { display: block; width: 42px; height: 24px; background: var(--slate-200); border-radius: 99px; transition: background .2s; }
.cookie-toggle-slider::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--indigo); }
.cookie-toggle input:checked + .cookie-toggle-slider::after { transform: translateX(18px); }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .84rem; margin-top: .25rem; }
.cookie-table th { text-align: left; padding: .5rem .6rem; font-weight: 600; color: var(--slate-500); border-bottom: 1px solid var(--slate-100); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.cookie-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--slate-50); color: var(--slate-600); vertical-align: top; }
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table td:first-child { font-family: ui-monospace, monospace; font-size: .82em; color: var(--slate-700); }
.cookie-save-row { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
