/* ================================================
   ON-PREMISE AI FOR LEGAL TEAMS — PAGE STYLES
   Layered on top of beveron-common.css (.bv-page scope)
   Distinct layouts. Mobile-first. LCP-safe.
   ================================================ */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

#pai-page {
  --pai-bg: #ffffff;
  --pai-bg-soft: #f6f9fc;
  --pai-bg-alt: #eef4fb;
  --pai-surface: #ffffff;
  --pai-dark: #0b1a2b;
  --pai-dark-2: #122a44;
  --pai-border: #e2e8f0;
  --pai-border-strong: #cbd5e1;
  --pai-text: #0f172a;
  --pai-text-2: #475569;
  --pai-text-3: #64748b;
  --pai-text-light: #e2e8f0;
  --pai-text-light-muted: #94a3b8;
  --pai-brand: #0084c8;
  --pai-brand-dark: #006b9f;
  --pai-brand-soft: #e0f2fe;
  --pai-warn: #ef4444;
  --pai-good: #16a34a;
  --pai-warm: #fae251;
  --pai-radius-sm: 10px;
  --pai-radius-md: 16px;
  --pai-radius-lg: 24px;
  --pai-radius-xl: 32px;
  --pai-shadow-sm: 0 1px 3px rgba(11, 26, 43, 0.06);
  --pai-shadow-md: 0 8px 24px rgba(11, 26, 43, 0.08);
  --pai-shadow-lg: 0 24px 60px rgba(11, 26, 43, 0.12);

  background: var(--pai-bg);
  color: var(--pai-text);
  line-height: 1.65;
  overflow-x: hidden;
}

#pai-page img { max-width: 100%; height: auto; display: block; }

.pai-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pai-wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

.pai-sec { padding: 96px 0; }
.pai-sec-sm { padding: 64px 0; }

.pai-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pai-surface);
  border: 1px solid var(--pai-border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pai-text-2);
  box-shadow: var(--pai-shadow-sm);
  margin-bottom: 20px;
}
.pai-badge i { color: var(--pai-brand); font-size: 0.85rem; }
.pai-badge.on-dark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--pai-text-light);
}
.pai-badge.on-dark i { color: #6ec6ee; }

.pai-h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--pai-text);
  margin: 0 0 18px;
}
.pai-h2.on-dark { color: #fff; }
.pai-lead {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--pai-text-2);
  margin: 0 0 16px;
}
.pai-lead.on-dark { color: var(--pai-text-light); }
.pai-lead + .pai-lead { margin-top: 0; }

.pai-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.pai-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.pai-btn-primary {
  background: var(--pai-brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 132, 200, 0.28);
}
.pai-btn-primary:hover { background: var(--pai-brand-dark); transform: translateY(-1px); color:#fff; }
.pai-btn-ghost {
  background: transparent;
  color: var(--pai-text);
  border-color: var(--pai-border-strong);
}
.pai-btn-ghost:hover { background: var(--pai-bg-soft); color: var(--pai-text); }
.pai-btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.35); }
.pai-btn-ghost.on-dark:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* =========================
   HERO — split layout + console mockup + KPI strip
   Targets 90vh on common laptop heights.
   ========================= */
.pai-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 82px 0 32px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0,132,200,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(0,132,200,0.07), transparent 60%),
    linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
  border-bottom: 1px solid var(--pai-border);
  overflow: hidden;
}
.pai-hero .pai-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 56px;
}
.pai-hero .pai-wrap { width: 100%; }
.pai-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.pai-hero .pai-badge { margin-bottom: 14px; }
.pai-hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 14px;
  color: var(--pai-text);
}
.pai-hero h1 .accent { color: var(--pai-brand); display: inline; }
.pai-hero-sub {
  font-size: clamp(0.94rem, 1.1vw, 1.04rem);
  color: var(--pai-text-2);
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 560px;
}
.pai-hero .pai-cta-row { margin-top: 18px; }
.pai-hero .pai-btn { padding: 11px 22px; font-size: 0.9rem; }

/* =========================
   HERO VISUAL — Conceptual SVG illustration
   "AI integration in legal tech + on-premise + benefits"
   Sized to keep the full hero (with KPI strip) inside 90vh.
   ========================= */
.pai-hero-visual {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
}
.pai-illust {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0, 132, 200, 0.18));
}
@keyframes pai-spin-slow {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .pai-illust [style*="pai-spin-slow"] { animation: none !important; }
}

/* Floating benefit pills around the central SVG */
.pai-bp {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--pai-border);
  border-radius: 100px;
  padding: 8px 14px 8px 8px;
  box-shadow:
    0 14px 32px -10px rgba(11, 26, 43, 0.22),
    0 4px 10px rgba(0, 132, 200, 0.08);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--pai-text);
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pai-bp:hover {
  transform: translateY(-2px);
  border-color: var(--pai-brand);
  box-shadow: 0 18px 40px -10px rgba(0, 132, 200, 0.28);
}
.pai-bp i {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--pai-brand-soft);
  color: var(--pai-brand);
  display: grid; place-items: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

/* Position pills around the SVG perimeter */
.pai-bp--1 { top: 4%; left: -5%; }            /* top-left: Legal */
.pai-bp--2 { top: 4%; right: -2%; }            /* top-right: Data inside */
.pai-bp--3 { top: 48%; left: -8%; transform: translateY(-50%); }   /* middle-left: Servers */
.pai-bp--4 { top: 48%; right: -8%; transform: translateY(-50%); }  /* middle-right: No public AI */
.pai-bp--5 { bottom: 4%; left: -2%; }          /* bottom-left: Audit */
.pai-bp--6 { bottom: 4%; right: -2%; }         /* bottom-right: Identity */

.pai-bp--3:hover, .pai-bp--4:hover {
  transform: translateY(-50%) translateY(-2px);
}

/* KPI strip — compact 4-up feature row anchored to hero bottom */
.pai-kpis {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pai-kpi {
  background: var(--pai-surface);
  border: 1px solid var(--pai-border);
  border-radius: var(--pai-radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--pai-shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pai-kpi:hover {
  transform: translateY(-2px);
  border-color: var(--pai-brand);
  box-shadow: var(--pai-shadow-md);
}
.pai-kpi i {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--pai-brand-soft);
  color: var(--pai-brand);
  display: grid; place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.pai-kpi strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pai-text);
  line-height: 1.25;
}
.pai-kpi span {
  display: block;
  font-size: 0.7rem;
  color: var(--pai-text-3);
  line-height: 1.35;
  margin-top: 1px;
}

/* =========================
   WHY SECTION — split with modern highlights
   ========================= */
.pai-why { background: var(--pai-bg); }
.pai-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pai-why-img-wrap {
  position: relative;
  border-radius: var(--pai-radius-lg);
  overflow: hidden;
  box-shadow: var(--pai-shadow-lg);
  background: var(--pai-bg-alt);
  aspect-ratio: 4 / 3;
}
.pai-why-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.pai-why-img-wrap::after {
  content: "";
  position: absolute; inset: auto -8% -10% auto;
  width: 60%; aspect-ratio: 1/1;
  background: var(--pai-brand);
  opacity: 0.08;
  border-radius: 50%;
  pointer-events: none;
}

.pai-why-highlights {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pai-why-highlight {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--pai-surface);
  border: 1px solid var(--pai-border);
  border-radius: var(--pai-radius-md);
  padding: 26px 24px;
  box-shadow: var(--pai-shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pai-why-highlight:hover {
  transform: translateY(-2px);
  border-color: var(--pai-brand);
  box-shadow: var(--pai-shadow-md);
}
.pai-why-highlight-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--pai-brand-soft);
  color: var(--pai-brand);
  display: grid; place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.pai-why-highlight h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--pai-text);
  letter-spacing: -0.01em;
}
.pai-why-highlight p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--pai-text-2);
}

/* =========================
   DEPLOYMENT — two big comparison cards
   ========================= */
.pai-deploy { background: var(--pai-bg-soft); }
.pai-deploy-head { text-align: center; max-width: 780px; margin: 0 auto 50px; }
.pai-deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.pai-deploy-card {
  position: relative;
  background: var(--pai-surface);
  border: 1px solid var(--pai-border);
  border-radius: var(--pai-radius-lg);
  padding: 36px 32px;
  box-shadow: var(--pai-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.pai-deploy-card:hover { transform: translateY(-4px); box-shadow: var(--pai-shadow-md); border-color: var(--pai-brand); }
.pai-deploy-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--pai-brand-soft);
  color: var(--pai-brand);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.pai-deploy-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.pai-deploy-card p {
  color: var(--pai-text-2);
  margin: 0 0 18px;
  line-height: 1.7;
}
.pai-deploy-feat {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: grid; gap: 8px;
}
.pai-deploy-feat li {
  display: flex; gap: 10px;
  font-size: 0.93rem;
  color: var(--pai-text);
}
.pai-deploy-feat li i { color: var(--pai-good); margin-top: 4px; font-size: 0.85rem; }
.pai-deploy-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pai-brand);
  margin-top: auto;
}

.pai-deploy-note {
  margin-top: 32px;
  background: var(--pai-surface);
  border: 1px dashed var(--pai-border-strong);
  border-radius: var(--pai-radius-md);
  padding: 20px 24px;
  display: flex; gap: 16px;
  align-items: flex-start;
}
.pai-deploy-note i { color: var(--pai-brand); font-size: 1.2rem; margin-top: 3px; }
.pai-deploy-note strong { color: var(--pai-text); display: block; margin-bottom: 4px; }
.pai-deploy-note p { margin: 0; color: var(--pai-text-2); font-size: 0.95rem; }

/* =========================
   HOW IT WORKS — vertical timeline (dark)
   ========================= */
.pai-how {
  background: linear-gradient(180deg, var(--pai-dark) 0%, var(--pai-dark-2) 100%);
  color: var(--pai-text-light);
  position: relative;
  overflow: hidden;
}
.pai-how::before, .pai-how::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}
.pai-how::before { background: var(--pai-brand); top: -150px; right: -100px; }
.pai-how::after { background: var(--pai-brand); bottom: -200px; left: -150px; opacity: 0.05; }
.pai-how-inner { position: relative; }
.pai-how-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.pai-how-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.pai-timeline { position: relative; padding-left: 36px; list-style: none; margin: 0; }
.pai-timeline::before {
  content: "";
  position: absolute;
  left: 13px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(110,198,238,0.5) 0%, rgba(110,198,238,0.1) 100%);
}
.pai-tl-item { position: relative; padding-bottom: 26px; }
.pai-tl-item:last-child { padding-bottom: 0; }
.pai-tl-dot {
  position: absolute;
  left: -36px; top: 4px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pai-brand);
  display: grid; place-items: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px rgba(0,132,200,0.15);
}
.pai-tl-item h4 {
  color: #fff;
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pai-tl-item p {
  color: var(--pai-text-light-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}
.pai-how-img-wrap {
  position: relative;
  border-radius: var(--pai-radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 4 / 3;
  box-shadow: var(--pai-shadow-lg);
}
.pai-how-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* =========================
   MERGED: PRODUCTS + IMPLEMENTATION
   Hard 50/50 section split — LEFT half is LIGHTEST (white), RIGHT half is MEDIUM.
   No card framing, the section colors do the work.
   ========================= */
.pai-prod-impl {
  background: linear-gradient(
    90deg,
    var(--pai-bg) 0%,
    var(--pai-bg) 50%,
    var(--pai-bg-soft) 50%,
    var(--pai-bg-soft) 100%
  );
}
.pai-prod-impl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;     /* equal-height columns */
}
.pai-prod-impl-col {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}
/* Constrain text-content blocks to a natural reading width
   so the Products column doesn't sprawl wider than the Implementation column */
.pai-prod-impl-col > .pai-badge {
  align-self: flex-start;       /* shrinks badge to content width */
}
.pai-prod-impl-col > .pai-col-h,
.pai-prod-impl-col > .pai-col-lead {
  max-width: 480px;
}
.pai-col-h {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--pai-text);
  margin: 0 0 12px;
}
.pai-col-lead {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--pai-text-2);
  margin: 0 0 24px;
}
.pai-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Products grid in LEFT (medium) column — 2x2 white tiles, stretches to fill */
.pai-products-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

/* Implementation vertical list in RIGHT (medium) column — white step cards on soft bg */
.pai-impl-vlist {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pai-impl-vlist .pai-impl-vstep { flex: 1; }
.pai-impl-vstep {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--pai-surface);
  border: 1px solid var(--pai-border);
  border-radius: var(--pai-radius-md);
  padding: 16px 18px;
  box-shadow: var(--pai-shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pai-impl-vstep:hover {
  transform: translateY(-2px);
  border-color: var(--pai-brand);
  box-shadow: var(--pai-shadow-md);
}
.pai-impl-vstep .pai-impl-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--pai-brand);
  color: var(--pai-brand);
  font-weight: 800;
  font-size: 0.82rem;
  display: grid; place-items: center;
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  box-shadow: 0 4px 12px rgba(0, 132, 200, 0.18);
  flex-shrink: 0;
}
.pai-impl-vstep h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pai-text);
  margin: 0 0 4px;
  line-height: 1.3;
}
.pai-impl-vstep p {
  font-size: 0.85rem;
  color: var(--pai-text-3);
  margin: 0;
  line-height: 1.5;
}
.pai-product-tile {
  background: var(--pai-surface);      /* white tile pops on medium left bg */
  border: 1px solid var(--pai-border);
  border-radius: var(--pai-radius-md);
  padding: 22px 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  height: 100%;
  box-shadow: var(--pai-shadow-sm);
}
.pai-product-tile:hover {
  transform: translateY(-3px);
  border-color: var(--pai-brand);
  box-shadow: var(--pai-shadow-md);
  color: inherit;
}
.pai-product-tile h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--pai-text);
}
.pai-product-tile p {
  font-size: 0.78rem;
  color: var(--pai-text-3);
  margin: 0;
  line-height: 1.45;
}
.pai-product-tile:hover {
  transform: translateY(-3px);
  border-color: var(--pai-brand);
  box-shadow: var(--pai-shadow-md);
  color: inherit;
}
.pai-product-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--pai-brand-soft);
  color: var(--pai-brand);
  display: grid; place-items: center;
  font-size: 1.3rem;
}
.pai-product-tile h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--pai-text);
}
.pai-product-tile p {
  font-size: 0.85rem;
  color: var(--pai-text-3);
  margin: 0;
  line-height: 1.55;
}

/* =========================
   BENEFITS — DARK variant (3x2 grid)
   ========================= */
.pai-benefits {
  background: linear-gradient(180deg, var(--pai-dark) 0%, var(--pai-dark-2) 100%);
  color: var(--pai-text-light);
  position: relative;
  overflow: hidden;
}
.pai-benefits::before, .pai-benefits::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.pai-benefits::before {
  width: 480px; height: 480px;
  background: var(--pai-brand);
  opacity: 0.08;
  top: -180px; left: -140px;
}
.pai-benefits::after {
  width: 360px; height: 360px;
  background: var(--pai-brand);
  opacity: 0.05;
  bottom: -160px; right: -120px;
}
.pai-benefits .pai-wrap { position: relative; z-index: 1; }
.pai-benefits .pai-h2 { color: #ffffff; }
.pai-benefits .pai-lead { color: var(--pai-text-light); }
.pai-benefits .pai-badge {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--pai-text-light);
}
.pai-benefits .pai-badge i { color: #6ec6ee; }
.pai-benefits-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.pai-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pai-benefit-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--pai-radius-md);
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  backdrop-filter: blur(8px);
}
.pai-benefit-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.08);
  border-color: var(--pai-brand);
  box-shadow: 0 14px 32px -10px rgba(0,132,200,0.28);
}
.pai-benefit-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  color: #6ec6ee;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.pai-benefit-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.pai-benefit-card p {
  font-size: 0.93rem;
  color: var(--pai-text-light-muted);
  margin: 0;
  line-height: 1.7;
}
.pai-benefit-icon {
  position: absolute;
  top: 24px; right: 26px;
  color: #6ec6ee;
  font-size: 1.1rem;
  opacity: 0.6;
}

/* =========================
   AUDIENCE — LIGHTEST variant: split layout, equal-height columns
   ========================= */
.pai-audience { background: var(--pai-bg); }
/* Split layout: LEFT = intro (badge+h2+lead+image), RIGHT = 3 personas.
   Width = .pai-wrap (1200px max), identical to Public AI vs Secure AI section. */
.pai-audience-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.pai-audience-intro {
  display: flex;
  flex-direction: column;
  max-width: 480px;          /* keep content at natural reading width */
}
.pai-audience-intro > .pai-badge {
  align-self: flex-start;    /* shrinks badge to content width inside the flex column */
}
.pai-audience-intro .pai-h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  max-width: 100%;
}
.pai-audience-intro .pai-lead { max-width: 100%; }
.pai-audience-img {
  position: relative;
  margin-top: 24px;
  border-radius: var(--pai-radius-lg);
  overflow: hidden;
  box-shadow: var(--pai-shadow-lg);
  flex: 1;
  min-height: 280px;
  max-width: 100%;           /* image stays inside the constrained intro */
}
.pai-audience-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.pai-audience-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,26,43,0.25) 100%);
  pointer-events: none;
}

.pai-audience-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 18px;
}
.pai-persona {
  background: var(--pai-surface);
  border: 1px solid var(--pai-border);
  border-radius: var(--pai-radius-lg);
  padding: 28px 28px;
  display: flex;
  gap: 22px;
  align-items: center;
  height: 100%;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pai-persona:hover {
  transform: translateY(-3px);
  border-color: var(--pai-brand);
  box-shadow: var(--pai-shadow-md);
}
.pai-persona-body h3 { color: var(--pai-text); }
.pai-persona-body p { color: var(--pai-text-2); }
.pai-persona-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pai-brand) 0%, var(--pai-brand-dark) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0,132,200,0.28);
}
.pai-persona-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.pai-persona-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =========================
   COMPARE — public vs on-premise AI (MEDIUM)
   ========================= */
.pai-compare { background: var(--pai-bg-soft); }
.pai-compare-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.pai-compare-table {
  background: var(--pai-surface);
  border: 1px solid var(--pai-border);
  border-radius: var(--pai-radius-lg);
  overflow: hidden;
  box-shadow: var(--pai-shadow-sm);
}
.pai-compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-bottom: 1px solid var(--pai-border);
}
.pai-compare-row:last-child { border-bottom: 0; }
.pai-compare-row > div { padding: 18px 22px; font-size: 0.95rem; }
.pai-compare-head-row { background: var(--pai-bg-soft); }
.pai-compare-head-row > div {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pai-text-3);
}
.pai-compare-head-row .col-public { color: var(--pai-text-2); }
.pai-compare-head-row .col-private {
  color: var(--pai-brand);
  background: var(--pai-brand-soft);
}
.pai-compare-row .col-label { font-weight: 700; color: var(--pai-text); }
.pai-compare-row .col-public { color: var(--pai-text-2); border-left: 1px solid var(--pai-border); }
.pai-compare-row .col-private {
  color: var(--pai-text);
  background: rgba(224, 242, 254, 0.35);
  border-left: 1px solid var(--pai-border);
  font-weight: 600;
}
.pai-compare-row .col-private i { color: var(--pai-good); margin-right: 6px; }
.pai-compare-row .col-public i { color: var(--pai-warn); margin-right: 6px; }

/* =========================
   IMPLEMENTATION — horizontal numbered stepper (MEDIUM)
   ========================= */
.pai-impl { background: var(--pai-bg-soft); }
.pai-impl-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.pai-impl-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
/* Dotted connector removed — cards stand on their own */
.pai-impl-step {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--pai-surface);
  border: 1px solid var(--pai-border);
  border-radius: var(--pai-radius-md);
  padding: 28px 18px 22px;
  box-shadow: var(--pai-shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pai-impl-step:hover {
  transform: translateY(-3px);
  border-color: var(--pai-brand);
  box-shadow: var(--pai-shadow-md);
}
.pai-impl-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--pai-brand);
  color: var(--pai-brand);
  font-weight: 800;
  font-size: 1.05rem;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  font-family: "JetBrains Mono", monospace;
  box-shadow: 0 6px 16px rgba(0, 132, 200, 0.18);
}
.pai-impl-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pai-text);
  margin: 0 0 6px;
  line-height: 1.35;
}
.pai-impl-step p {
  font-size: 0.85rem;
  color: var(--pai-text-3);
  margin: 0;
  line-height: 1.55;
}

/* =========================
   FAQ — DARK variant (consistent with How + Audience gradient)
   ========================= */
.bv-page .pai-faq-dark {
  background: linear-gradient(180deg, var(--pai-dark) 0%, var(--pai-dark-2) 100%);
  position: relative;
  overflow: hidden;
}
.bv-page .pai-faq-dark::before, .bv-page .pai-faq-dark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.bv-page .pai-faq-dark::before {
  width: 480px; height: 480px;
  background: var(--pai-brand);
  opacity: 0.08;
  top: -180px; left: -140px;
}
.bv-page .pai-faq-dark::after {
  width: 360px; height: 360px;
  background: var(--pai-brand);
  opacity: 0.05;
  bottom: -160px; right: -120px;
}
.bv-page .pai-faq-dark .wrap-narrow { position: relative; z-index: 1; }
.bv-page .pai-faq-dark .sec-heading { color: #ffffff; }
.bv-page .pai-faq-dark .badge-label {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--pai-text-light);
}
.bv-page .pai-faq-dark .badge-label i { color: #6ec6ee; }

.bv-page .pai-faq-dark .faq-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.bv-page .pai-faq-dark .faq-item[open] {
  background: rgba(255,255,255,0.07);
  border-color: var(--pai-brand);
  box-shadow: 0 14px 32px -10px rgba(0,132,200,0.25);
}
.bv-page .pai-faq-dark .faq-item summary { color: #ffffff; }
.bv-page .pai-faq-dark .faq-item summary i {
  color: rgba(255,255,255,0.55);
}
.bv-page .pai-faq-dark .faq-item[open] summary i { color: var(--pai-brand); }
.bv-page .pai-faq-dark .faq-item > div { color: var(--pai-text-light-muted); }

/* =========================
   FAQ — base pattern (used by both light and dark variants)
   ========================= */
.bv-page .faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.bv-page .faq-item[open] {
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 24px rgba(0, 132, 200, 0.08);
}
.bv-page .faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  color: var(--text-primary);
  gap: 16px;
}
.bv-page .faq-item summary::-webkit-details-marker { display: none; }
.bv-page .faq-item summary i {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  transition: transform 0.3s, color 0.3s;
  flex-shrink: 0;
}
.bv-page .faq-item[open] summary i {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}
.bv-page .faq-item > div {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* =========================
   INLINE CTA inside the DARK "How It Works" section
   ========================= */
.pai-how-cta {
  margin-top: 56px;
  background:
    radial-gradient(600px 200px at 20% 0%, rgba(110,198,238,0.18), transparent 70%),
    linear-gradient(135deg, rgba(0,132,200,0.16) 0%, rgba(11,26,43,0.4) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--pai-radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.pai-how-cta-text { flex: 1; min-width: 280px; }
.pai-how-cta h3 {
  color: #ffffff;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.pai-how-cta p {
  color: var(--pai-text-light-muted);
  font-size: 0.92rem;
  margin: 6px 0 0;
  line-height: 1.55;
}
.pai-how-cta .pai-btn {
  flex-shrink: 0;
  box-shadow: 0 14px 32px -8px rgba(0,132,200,0.45);
}
@media (max-width: 720px) {
  .pai-how-cta { padding: 22px 22px; gap: 18px; margin-top: 40px; }
  .pai-how-cta .pai-btn { width: 100%; justify-content: center; }
}

/* =========================
   CTA STRIP — reusable inline mid-page conversion banner
   Drops between sections, scrolls to #contact-us.
   ========================= */
.pai-cta-strip {
  background:
    radial-gradient(600px 300px at 80% -20%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, var(--pai-brand) 0%, #0ea5e9 50%, var(--pai-brand-dark) 100%);
  padding: 36px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.pai-cta-strip::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  bottom: -220px; left: -120px;
  pointer-events: none;
}
.pai-cta-strip .pai-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.pai-cta-strip-content { flex: 1; min-width: 280px; }
.pai-cta-strip h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.pai-cta-strip p {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  margin: 6px 0 0;
  line-height: 1.55;
}
.pai-cta-strip .pai-btn {
  background: #ffffff;
  color: var(--pai-brand-dark);
  border: 1.5px solid #ffffff;
  flex-shrink: 0;
  box-shadow: 0 12px 28px -6px rgba(11, 26, 43, 0.25);
}
.pai-cta-strip .pai-btn:hover {
  background: var(--pai-text);
  color: #ffffff;
  border-color: var(--pai-text);
  transform: translateY(-2px);
}
@media (max-width: 720px) {
  .pai-cta-strip { padding: 28px 0; }
  .pai-cta-strip .pai-wrap { gap: 18px; }
  .pai-cta-strip .pai-btn { width: 100%; justify-content: center; }
}

/* =========================
   CTA BLOCK — MEDIUM variant (consistent with Deployment + Implementation)
   ========================= */
.pai-cta {
  background: var(--pai-bg-soft);
  color: var(--pai-text);
  position: relative;
  overflow: hidden;
}
.pai-cta::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: var(--pai-brand);
  opacity: 0.04;
  top: -300px; right: -200px;
  pointer-events: none;
}
.pai-cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.pai-cta h2 { color: var(--pai-text); }
.pai-cta p { color: var(--pai-text-2); }
.pai-cta-form {
  background: #ffffff;
  border: 1px solid var(--pai-border);
  border-radius: var(--pai-radius-lg);
  padding: 28px;
  box-shadow: var(--pai-shadow-md);
}
.pai-cta-form h3 {
  color: var(--pai-text); font-size: 1.15rem; font-weight: 700;
  margin: 0 0 18px; letter-spacing: -0.01em;
}
.pai-form-row { margin-bottom: 14px; }
.pai-form-row input,
.pai-form-row select,
.pai-form-row textarea {
  width: 100%;
  padding: 13px 16px;
  background: #ffffff;
  border: 1px solid var(--pai-border);
  border-radius: 10px;
  color: var(--pai-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.pai-form-row input::placeholder,
.pai-form-row textarea::placeholder { color: var(--pai-text-3); }
.pai-form-row input:focus,
.pai-form-row select:focus,
.pai-form-row textarea:focus {
  outline: none;
  border-color: var(--pai-brand);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0,132,200,0.12);
}

/* Custom dropdown chevron — dark icon on light background */
.pai-form-row select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230084c8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

/* Dropdown options */
.pai-form-row select,
.pai-form-row select option {
  font-weight: 400;
}
.pai-form-row select option {
  background: #ffffff;
  color: var(--pai-text);
  padding: 12px 16px;
}
.pai-form-row select option:disabled {
  color: var(--pai-text-3);
  font-style: italic;
}
.pai-form-row select option:checked,
.pai-form-row select option:hover {
  background: var(--pai-brand-soft);
  color: var(--pai-brand-dark);
}
.pai-err-label { color: var(--pai-warn); }
.pai-form-row textarea { resize: vertical; min-height: 90px; }
.pai-err-label { font-size: 0.82rem; margin-top: 5px; display: block; min-height: 16px; }
.pai-submit-msg { text-align: center; font-weight: 600; margin-top: 10px; min-height: 22px; }
.pai-submit {
  width: 100%;
  background: var(--pai-brand);
  color: #fff;
  padding: 14px 22px;
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.pai-submit:hover { background: #009ce8; transform: translateY(-1px); }
.pai-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* =========================
   REVEAL ANIMATION
   ========================= */
.pai-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.pai-reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .pai-reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================
   RESPONSIVE — mobile-first LCP guard
   ========================= */
@media (max-width: 1024px) {
  .pai-hero { min-height: auto; padding: 92px 0 48px; }
  .pai-hero .pai-wrap { gap: 36px; }
  .pai-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .pai-hero-visual { max-width: 360px; margin: 0 auto; }
  .pai-kpis { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pai-why-highlights { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .pai-why-grid { grid-template-columns: 1fr; gap: 40px; }
  .pai-how-grid { grid-template-columns: 1fr; gap: 40px; }
  .pai-products-grid { grid-template-columns: 1fr 1fr; }
  .pai-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .pai-audience-split { grid-template-columns: 1fr; gap: 40px; }
  .pai-audience-intro { position: static; max-width: 100%; }
  .pai-audience-img { max-width: 480px; aspect-ratio: 16 / 10; margin: 24px auto 0; min-height: 0; }
  .pai-cta-grid { grid-template-columns: 1fr; }
  /* Stacked layout: vertical 50/50 split (lightest top, medium bottom) */
  .pai-prod-impl {
    background: linear-gradient(
      180deg,
      var(--pai-bg) 0%,
      var(--pai-bg) 50%,
      var(--pai-bg-soft) 50%,
      var(--pai-bg-soft) 100%
    );
  }
  .pai-prod-impl-grid { grid-template-columns: 1fr; gap: 56px; }
  .pai-prod-impl-col { padding: 12px 0; }
  .pai-products-grid { grid-template-rows: auto; flex: 0 1 auto; }
  .pai-product-tile { height: auto; }
  .pai-impl-vlist { flex: 0 1 auto; }
  .pai-impl-vlist .pai-impl-vstep { flex: 0 1 auto; }
}

@media (max-width: 720px) {
  .pai-sec { padding: 64px 0; }
  .pai-hero { padding: 84px 0 40px; }
  .pai-hero .pai-wrap { gap: 28px; }
  .pai-hero h1 { font-size: clamp(1.6rem, 6vw, 2.1rem); }
  .pai-hero-sub { font-size: 0.92rem; }
  .pai-h2 { font-size: clamp(1.5rem, 5.5vw, 1.95rem); }
  .pai-kpis { grid-template-columns: 1fr 1fr; }
  .pai-kpi { padding: 10px 12px; }
  .pai-kpi i { width: 32px; height: 32px; font-size: 0.85rem; }
  .pai-kpi strong { font-size: 0.78rem; }
  .pai-kpi span { font-size: 0.66rem; }
  /* Hide hero SVG illustration on mobile — text-only hero for performance & clarity */
  .pai-hero-visual { display: none; }
  .pai-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .pai-hero h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .pai-hero-sub { max-width: 100%; }
  .pai-why-highlights { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .pai-why-highlight { padding: 18px 18px; gap: 10px; }
  .pai-why-highlight-ico { width: 38px; height: 38px; font-size: 1rem; }
  .pai-deploy-grid { grid-template-columns: 1fr; }
  .pai-deploy-card { padding: 28px 22px; }
  .pai-products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pai-product-tile { padding: 18px 14px; }
  .pai-benefits-grid { grid-template-columns: 1fr; }
  .pai-compare-row { grid-template-columns: 1fr; }
  .pai-prod-impl-grid { grid-template-columns: 1fr; gap: 20px; }
  .pai-prod-impl-col { padding: 24px 20px; }
  .pai-impl-vstep { padding: 14px 16px; gap: 12px; }
  .pai-impl-vstep .pai-impl-num { width: 36px; height: 36px; font-size: 0.78rem; }
  .pai-compare-row > div { padding: 14px 18px; }
  .pai-compare-head-row { display: none; }
  .pai-compare-row .col-public,
  .pai-compare-row .col-private { border-left: 0; border-top: 1px solid var(--pai-border); }
  .pai-compare-row .col-public::before { content: "Public AI · "; font-weight: 700; color: var(--pai-text-3); }
  .pai-compare-row .col-private::before { content: "Beveron On-Premise · "; font-weight: 700; color: var(--pai-brand); }
  /* old .pai-impl-grid removed — section merged into .pai-prod-impl */
  .pai-cta-form { padding: 22px 20px; }
  .pai-persona { padding: 22px 20px; gap: 16px; }
  .pai-persona-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .pai-audience-img { aspect-ratio: 4 / 3; }
  .pai-wrap, .pai-wrap-narrow { padding: 0 18px; }
  .bv-page .faq-item summary { padding: 16px 18px; font-size: 0.95rem; }
  .bv-page .faq-item > div { padding: 0 18px 16px; }
}

/* =========================
   WHATSAPP FLOAT
   ========================= */
.whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 999; }
.whatsapp a {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35);
  text-decoration: none;
}
.whatsapp a h5 { margin: 0; }
footer{
  margin-top: -140px !important;
}