/* Lead-Magnet & Strategic Articles Platform — Abdeldjalil Bezzahia (عبد الجليل بزاهية)
   Personal Brand Design System (Brand v2 Cobalt & Midnight):
   - Signature Royal Cobalt (#1336e8) & Midnight depth (#07135f / #070b16)
   - Secondary voice: Mist (#b9c6ff) for labels, tags, and sub-text
   - Channel / Success: WhatsApp Green (#25d366); Disqualification: Mistake Red (#ff3b30)
   - Punchy authoritative typography: Changa & Alexandria for Arabic, Montserrat for Latin
   - Executive Authority Metrics Bar with vertical cobalt dividers
   - Clean, non-reactive executive dossier layout (zero gimmicks, zero hover-lift on info cards)
   - 100% precision vector SVGs, ultra-fast sub-100ms load time */

:root {
  color-scheme: dark;

  /* Abdeldjalil Bezzahia — Brand v2 Cobalt & Midnight Palette */
  /* Sources: src/brand/cobalt.ts, brand/BRAND_COBALT.md, docs/ABDELDJALIL_BRAND_BOOK.md */
  --cobalt: #1336e8;
  --cobalt-top: #0b2ee0;
  --midnight: #07135f;
  --mist: #b9c6ff;

  /* Executive Deep Slate & Midnight Surfaces (Calm authority, depth without flat black) */
  --bg: #070b16;
  --bg-elevated: #0c1224;
  --surface: #101932;
  --surface-subtle: #162244;
  --surface-sunken: #090e1c;
  --border: rgba(185, 198, 255, 0.09);
  --border-strong: rgba(185, 198, 255, 0.18);
  --border-subtle: rgba(185, 198, 255, 0.05);

  /* Typography */
  --label-primary: #ffffff;
  --label-secondary: #b9c6ff;
  --label-tertiary: #7e8fb8;
  --label-muted: rgba(185, 198, 255, 0.4);

  /* Brand Cobalt Accent (Trust, systems, calm authority) */
  --tint: #1336e8;
  --tint-hover: #2349f0;
  --tint-subtle: rgba(19, 54, 232, 0.14);
  --tint-border: rgba(19, 54, 232, 0.38);
  --tint-glow: rgba(19, 54, 232, 0.45);

  /* Functional Status (Strict Brand Rules):
     - Green #25d366 (WhatsApp is the heart of his lead systems; only for what works)
     - Red #ff3b30 (Used strictly for «خطأ», refusals, losses, or hard disqualification)
     - Amber #f59e0b (Caution / Maybe)
     - NO GOLD (Guru trope avoided per BRAND_COBALT.md) */
  --state-yes: #25d366;
  --state-yes-bg: rgba(37, 211, 102, 0.12);
  --state-yes-border: rgba(37, 211, 102, 0.32);

  --state-no: #ff3b30;
  --state-no-bg: rgba(255, 59, 48, 0.12);
  --state-no-border: rgba(255, 59, 48, 0.32);

  --state-maybe: #f59e0b;
  --state-maybe-bg: rgba(245, 158, 11, 0.12);
  --state-maybe-border: rgba(245, 158, 11, 0.32);

  /* Fonts: Changa for headlines, Alexandria + IBM Plex Sans Arabic for body, Montserrat for Latin */
  --font-arabic: "Alexandria", "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "SF Arabic", system-ui, sans-serif;
  --font-heading: "Changa", "Alexandria", "IBM Plex Sans Arabic", sans-serif;
  --font-latin: "Montserrat", "Barlow Condensed", -apple-system, BlinkMacSystemFont, "Inter", sans-serif;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 10px 32px rgba(0, 0, 0, 0.45);
  --shadow-ambient: 0 0 32px rgba(19, 54, 232, 0.2);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  background: var(--bg);
  color: var(--label-primary);
  font: 400 16px/1.75 var(--font-arabic);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--label-primary); font-family: var(--font-heading); line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; }
.lat { unicode-bidi: isolate; font-family: var(--font-latin); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; display: inline-block; }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; border-radius: var(--radius-xs); }
::selection { background: var(--tint-subtle); color: #fff; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; top: -60px; right: 20px; background: var(--surface); color: var(--label-primary); padding: 10px 18px; border-radius: var(--radius-sm); z-index: 60; }
.skip:focus { top: 16px; }

/* ── 1. Acquisition-style Announcement Bar ── */
.ann-bar {
  background: var(--tint);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 50;
}
.ann-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding-block: 8px;
  gap: 16px;
}
.ann-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ann-badge {
  background: #fff;
  color: #070b16;
  font: 800 11px/1 var(--font-heading);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex: none;
}
.ann-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
}
.ann-text strong { color: #fff; font-weight: 700; }
.ann-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.15s;
}
.ann-cta:hover { background: rgba(255, 255, 255, 0.28); }

/* ── 2. Header & Navigation ── */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 18, 36, 0.94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.top-start {
  display: flex;
  align-items: center;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--label-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s, background-color 0.15s;
}
.top-link:hover { color: var(--label-primary); background: var(--surface); }
.top-link .ic { opacity: 0.7; }

.top-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.brand-center {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--label-primary);
  font-weight: 700;
  font-size: 17px;
}
.brand-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--tint), var(--midnight));
  color: #fff;
  font: 800 18px/1 var(--font-heading);
  box-shadow: 0 2px 12px var(--tint-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.brand-name { white-space: nowrap; letter-spacing: -0.01em; }

.top-end {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--label-secondary);
  font: 600 12px/1 var(--font-latin);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.lang-btn:hover { border-color: var(--border-strong); color: var(--label-primary); }
.lang-btn .ic { font-size: 13px; opacity: 0.6; }
.lang-code.active { color: #fff; font-weight: 700; }
.lang-sep { opacity: 0.3; }

.top-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: #fff;
  font: 700 13px/1 var(--font-arabic);
  border: 1px solid var(--tint-border);
  box-shadow: 0 2px 10px var(--tint-glow);
  transition: all 0.2s;
}
.top-cta:hover { background: var(--tint-hover); opacity: 0.95; }
.top-cta .ic { width: 15px; height: 15px; }

/* Language Toast Notification */
.lang-toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--surface);
  color: var(--label-primary);
  border: 1px solid var(--border-strong);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s;
}
.lang-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ── 3. Buttons (Acquisition Pill Style) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--radius-pill);
  font: 700 15px/1 var(--font-arabic); cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: #ffffff;
  color: #070b16;
  border: 2px solid #ffffff;
}
.btn-primary:hover {
  background: #e6edff;
  color: #070b16;
  border-color: #e6edff;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
}
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  background: var(--surface);
  color: var(--label-primary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface-subtle);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-cta {
  background: var(--tint);
  color: #fff;
  border: 2px solid var(--tint);
  font-size: 16px;
  padding: 0 32px;
  box-shadow: 0 4px 20px var(--tint-glow);
}
.btn-cta:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* ── 4. Hero Section ── */
.hero {
  padding: 72px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(19, 54, 232, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-in {
  display: flex; flex-direction: column; align-items: center;
  max-width: 860px; margin-inline: auto;
  position: relative; z-index: 1;
}
.hero-tag-bar { margin-bottom: 20px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--label-primary);
}
.hero-tag .ic { color: var(--tint); }

.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--label-primary);
}
.hero-text {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--label-secondary);
  line-height: 1.78;
  margin-top: 20px;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ── 5. Acquisition-inspired Metrics & Authority Bar ── */
.metrics-bar {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
  padding: 28px 0;
  margin-bottom: 56px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric-col {
  border-inline-start: 3px solid var(--tint);
  padding-inline-start: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.metric-val {
  font-family: var(--font-latin);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--label-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.metric-unit {
  font-family: var(--font-arabic);
  font-size: 18px;
  font-weight: 700;
  color: var(--tint);
  margin-inline-start: 4px;
}
.metric-lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--label-secondary);
  margin-top: 6px;
  line-height: 1.4;
}

/* ── 6. Library & Filter Tabs ── */
.library-sec { padding: 48px 0 80px; }
.lib-head { text-align: center; margin-bottom: 28px; }
.lib-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.lib-head p { color: var(--label-secondary); margin-top: 6px; font-size: 16px; max-width: 52ch; margin-inline: auto; }

.seg {
  display: flex; gap: 6px; padding: 5px; margin: 0 auto 36px; width: fit-content; max-width: 100%;
  background: var(--bg-elevated); border-radius: var(--radius-pill); border: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 0 16px; border-radius: var(--radius-pill);
  color: var(--label-secondary); font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: all 0.15s;
}
.tab .tab-n {
  font-size: 11px; color: var(--label-tertiary); font-variant-numeric: tabular-nums;
  background: var(--surface); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--border);
}
.tab:hover { color: var(--label-primary); background: var(--surface); }
.tab[aria-current="true"] {
  background: #ffffff; color: #07090f;
  font-weight: 700;
}
.tab[aria-current="true"] .tab-n {
  color: #07090f; background: rgba(0, 0, 0, 0.1); border-color: transparent;
}

/* ── 7. Blueprint Cards & Teasers ── */
.cards { list-style: none; display: grid; gap: 24px; max-width: 960px; margin-inline: auto; }
.card-item[hidden], .teaser-card[hidden] { display: none; }

.card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  position: relative;
  transition: border-color 0.2s;
}
.card:hover {
  border-color: var(--tint-border);
}

.card-badge, .card-ribbon {
  position: absolute;
  top: 14px;
  inset-inline-end: 0;
  z-index: 10;
  background: var(--tint);
  color: #fff;
  font: 800 11px/1 var(--font-heading);
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 2px 10px rgba(19, 54, 232, 0.4);
}

.cover {
  background: linear-gradient(145deg, #0b1a4a 0%, #070e24 100%);
  padding: 32px 32px 0; height: 260px; overflow: hidden; display: flex; justify-content: center;
  position: relative;
}
.sheet {
  width: 100%; max-width: 360px; background: var(--surface-subtle); border-radius: 14px 14px 0 0;
  padding: 22px 24px; border: 1px solid var(--border-strong); border-bottom: 0;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.4);
}
.sheet-badge-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;
}
.sheet-badge {
  font: 800 10px/1 var(--font-heading);
  color: #fff;
  background: var(--tint);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.sheet-kind { font-size: 11px; font-weight: 700; color: var(--label-tertiary); text-transform: uppercase; }
.sheet-title { font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 12px; color: var(--label-primary); }
.sheet ol { list-style: none; counter-reset: s; }
.sheet li {
  counter-increment: s; display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; line-height: 1.5; color: var(--label-secondary); padding: 6px 0;
  border-top: 1px solid var(--border);
}
.sheet li::before {
  content: counter(s); flex: none; width: 17px; height: 17px; border-radius: 50%;
  background: var(--surface-sunken); color: var(--label-secondary);
  font: 700 10px/17px var(--font-latin); text-align: center;
}

.card-body { display: flex; flex-direction: column; gap: 10px; padding: 32px; flex: 1; }
.card-subject {
  font-size: 12px; font-weight: 700; color: var(--tint);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.card h3 { font-size: 23px; font-weight: 800; }
.card-text { font-size: 15px; color: var(--label-secondary); line-height: 1.7; flex: 1; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.facts li {
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px;
  background: var(--surface-subtle); color: var(--label-secondary); border: 1px solid var(--border);
}
.card-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; min-height: 44px; padding: 0 22px; border-radius: var(--radius-pill);
  background: var(--tint); color: #fff; font-weight: 700; font-size: 14px;
  border: 1px solid var(--tint-border); transition: all 0.2s;
  align-self: flex-start;
}
.card:hover .card-go { background: var(--tint-hover); }

/* Teaser / Coming Soon Card */
.teaser-card {
  grid-column: 1 / -1; max-width: 960px; width: 100%; margin-inline: auto;
}
.teaser-inner {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px dashed var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--mist);
  background: var(--tint-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--tint-border);
}
.teaser-title { font-size: 22px; font-weight: 700; color: var(--label-primary); }
.teaser-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border); margin-top: 8px;
  font-size: 13px; color: var(--label-tertiary);
}
.teaser-meta { display: inline-flex; align-items: center; gap: 6px; }
.teaser-soon { font-weight: 700; color: var(--tint); }

@media (min-width: 768px) {
  .card { flex-direction: row; }
  .cover { flex: 0 0 38%; height: auto; min-height: 310px; align-items: flex-end; padding: 32px 28px 0; }
  .card-body { padding: 36px; justify-content: center; }
}

/* ── 8. Articles Section ── */
.articles-sec {
  padding: 64px 0 96px;
  border-top: 1px solid var(--border);
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.2s;
}
.article-card:hover { border-color: var(--tint-border); }
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 12px;
}
.article-subject {
  color: var(--tint);
  font-weight: 700;
  background: var(--tint-subtle);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--tint-border);
}
.article-readtime {
  color: var(--label-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.article-title {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.38;
  margin-bottom: 12px;
}
.article-title a { color: var(--label-primary); }
.article-title a:hover { color: var(--tint); }
.article-lead {
  font-size: 15px;
  color: var(--label-secondary);
  line-height: 1.68;
  margin-bottom: 24px;
  flex-grow: 1;
}
.article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tint);
  margin-top: auto;
}
.article-link:hover { text-decoration: underline; }

/* ── 9. Tool Detail Page (/filtre/) ── */
.thead { padding: 48px 0 32px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--label-tertiary); margin-bottom: 12px; }
.crumbs a { color: var(--label-secondary); font-weight: 600; }
.crumbs a:hover { color: var(--tint); }
.thead h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; }
.tlead { font-size: clamp(17px, 1.8vw, 20px); color: var(--label-secondary); margin-top: 14px; max-width: 62ch; line-height: 1.7; }
.facts-light { margin-top: 20px; }

/* Qualification Funnel Roadmap */
.pipeline-blueprint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-top: 32px;
  box-shadow: var(--shadow-subtle);
  overflow-x: auto;
}
.pipeline-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  flex: 1;
  min-width: 175px;
}
.pipeline-card.active {
  background: var(--tint-subtle);
  border-color: var(--tint);
  box-shadow: 0 2px 10px var(--tint-glow);
}
.pipeline-badge {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--tint);
  font: 800 13px/1 var(--font-latin);
  border: 1px solid var(--border);
}
.pipeline-card.active .pipeline-badge {
  background: var(--tint);
  color: #fff;
  border-color: var(--tint);
}
.pipeline-detail {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.pipeline-detail strong { font-size: 13px; color: var(--label-primary); font-weight: 700; }
.pipeline-detail small { font-size: 11px; color: var(--label-secondary); }
.pipeline-arrow {
  color: var(--label-tertiary);
  font-size: 16px;
  flex: none;
  opacity: 0.6;
}
.pipeline-card.pipeline-success {
  border-color: var(--state-yes-border);
  background: var(--state-yes-bg);
}
.pipeline-card.pipeline-success .pipeline-badge {
  background: var(--state-yes);
  color: #fff;
  border-color: var(--state-yes);
}

/* Tool Layout */
.tool-in {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px;
  padding-block: 24px 96px; align-items: start;
}
.toc { position: sticky; top: 120px; display: grid; gap: 12px; }
.toc-title { font-size: 12px; font-weight: 700; color: var(--label-tertiary); text-transform: uppercase; letter-spacing: 0.05em; padding-inline: 12px; }
.toc ol {
  list-style: none; background: var(--surface); border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-subtle);
}
.toc li + li a { border-top: 1px solid var(--border); }
.toc a {
  display: block; padding: 10px 16px; color: var(--label-secondary); font-size: 13px; font-weight: 600;
  transition: all 0.15s;
}
.toc a:hover { color: var(--label-primary); background: var(--surface-subtle); }
.toc a[aria-current="true"] { color: #fff; font-weight: 700; background: var(--tint-subtle); border-inline-start: 3px solid var(--tint); }
.btn-pdf { min-height: 42px; font-size: 13px; border-radius: var(--radius-md); width: 100%; }

.tool { max-width: 760px; }
.tool:focus { outline: none; }

/* Executive Overview (محاور الأداة) */
.gets-box {
  background: var(--surface); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 44px;
  border: 1px solid var(--border); border-inline-start: 4px solid var(--tint);
  box-shadow: var(--shadow-subtle);
}
.gets-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.gets-tag {
  font-size: 11px; font-weight: 700; color: var(--tint);
  background: var(--tint-subtle); padding: 2px 8px; border-radius: 4px;
}
.gets-header h3 { font-size: 18px; font-weight: 800; }
.gets { list-style: none; }
.gets li {
  position: relative; display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 8px 0;
  font-size: 15px; font-weight: 500; color: var(--label-primary);
}
.gets li + li { border-top: 1px solid var(--border); }
.gets .ic { color: var(--state-yes); }

/* Rule Card */
.rule-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--tint);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-subtle);
}
.rule-badge-bar { margin-bottom: 12px; }
.rule-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
  color: var(--tint); background: var(--tint-subtle); padding: 4px 10px; border-radius: 6px;
}
.rule-title { font-size: 23px; font-weight: 800; margin-bottom: 12px; }
.rule-body { margin-bottom: 24px; }
.rule-text { font-size: 17px; line-height: 1.8; color: var(--label-primary); }

.rule-actions-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border);
}
.rule-pill {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  border-radius: var(--radius-md); font-size: 13px; line-height: 1.6;
}
.rule-deny { background: var(--state-no-bg); border: 1px solid var(--state-no-border); }
.rule-allow { background: var(--state-yes-bg); border: 1px solid var(--state-yes-border); }
.rule-sign {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.rule-deny .rule-sign { background: var(--state-no); color: #fff; }
.rule-allow .rule-sign { background: var(--state-yes); color: #fff; }

/* ── 10. Pillar-Grouped Diagnostic Questions ── */
.blk-steps { margin-bottom: 56px; }
.steps-header h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.steps-intro { color: var(--label-secondary); font-size: 15px; margin-bottom: 28px; }

.pillars-container { display: grid; gap: 32px; }
.pillar-group {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
}
.pillar-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.pillar-indicator {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--tint);
  box-shadow: 0 0 8px var(--tint-glow);
}
.pillar-head h3 { font-size: 17px; font-weight: 800; color: var(--label-primary); }

.steps-list { list-style: none; display: grid; gap: 16px; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  cursor: default;
}
.step-card-top {
  display: flex; align-items: center; justify-content: flex-start;
  margin-bottom: 12px;
}
.step-meta-start {
  display: flex; align-items: center; gap: 10px;
}
.step-counter {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 8px; background: var(--tint); color: #fff;
  font: 800 14px/1 var(--font-latin);
}
.step-pillar-label {
  font-size: 12px; font-weight: 700; color: var(--label-secondary);
  background: var(--surface-subtle); padding: 3px 10px; border-radius: 6px;
  border: 1px solid var(--border);
}
.step-card .q { font-size: 17px; font-weight: 700; line-height: 1.55; color: var(--label-primary); }
.step-card .why {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 14px;
  padding: 12px 16px; border-radius: var(--radius-md);
  background: var(--surface-subtle); border: 1px solid var(--border-strong);
}
.why-badge {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  font-size: 11px; font-weight: 700; color: var(--tint); background: var(--surface);
  padding: 2px 8px; border-radius: 4px; border: 1px solid var(--border);
}
.why-desc { font-size: 13px; color: var(--label-secondary); line-height: 1.6; }

/* ── 11. Signals Matrix (Fixed Duplication & RTL Order) ── */
.blk-signals { margin-bottom: 56px; }
.blk-signals h2 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.sig-matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sig-col {
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-subtle);
}
.sig-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
}
.sig-title { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.sig-status {
  font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}
.sig-status-green { background: var(--state-yes); color: #fff; }
.sig-status-red { background: var(--state-no); color: #fff; }

.sig-g { border-color: var(--state-yes-border); }
.sig-g .sig-header { color: var(--state-yes); background: var(--state-yes-bg); }
.sig-r { border-color: var(--state-no-border); }
.sig-r .sig-header { color: var(--state-no); background: var(--state-no-bg); }

.sig-col ul { list-style: none; padding: 12px 20px 20px; }
.sig-col li {
  display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 0;
  font-size: 14px; color: var(--label-primary); line-height: 1.6;
}
.sig-col li + li { border-top: 1px solid var(--border); }
.sig-ico { flex: none; width: 16px; height: 16px; margin-top: 3px; }
.sig-g .sig-ico { color: var(--state-yes); }
.sig-r .sig-ico { color: var(--state-no); }

/* ── 12. Decision Matrix & Checklist ── */
.blk-check { margin-bottom: 56px; }
.check-header-block h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.check-lead { color: var(--label-secondary); font-size: 15px; margin-bottom: 24px; }

.check-document-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 840px) { .check-document-box { grid-template-columns: 1fr; } }

.check-criteria-list, .check-decision-rules {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: var(--shadow-subtle);
}
.check-list-title, .decision-rules-title {
  display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--label-secondary); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.check-criteria-list ul { list-style: none; display: grid; gap: 12px; }
.check-criteria-list li {
  display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6;
  color: var(--label-primary);
}
.check-box-icon { flex: none; color: var(--tint); margin-top: 3px; }
.check-box-icon .ic { width: 18px; height: 18px; }

.check-decision-rules { display: flex; flex-direction: column; gap: 12px; }
.decision-rule {
  padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid var(--border);
  background: var(--surface-subtle); display: flex; flex-direction: column; gap: 6px;
}
.decision-rule p { font-size: 14px; line-height: 1.55; color: var(--label-primary); }
.decision-tag {
  align-self: flex-start; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 4px;
}
.decision-rule-yes { background: var(--state-yes-bg); border-color: var(--state-yes-border); }
.decision-rule-yes .decision-tag { background: var(--state-yes); color: #fff; }
.decision-rule-maybe { background: var(--state-maybe-bg); border-color: var(--state-maybe-border); }
.decision-rule-maybe .decision-tag { background: var(--state-maybe); color: #fff; }
.decision-rule-no { background: var(--state-no-bg); border-color: var(--state-no-border); }
.decision-rule-no .decision-tag { background: var(--state-no); color: #fff; }

/* ── 13. WhatsApp Copy Template ── */
.blk-copy { margin-bottom: 56px; }
.blk-copy h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.copy-lead { color: var(--label-secondary); margin-bottom: 20px; font-size: 15px; }

.copy-document-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-subtle);
}
.copy-header-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--surface-subtle); border-bottom: 1px solid var(--border);
  gap: 16px; flex-wrap: wrap;
}
.copy-tag { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.copy-tag .ic { width: 18px; height: 18px; color: #25d366; }
.btn-copy {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px;
  background: var(--tint); color: #fff; border: 0; border-radius: var(--radius-sm);
  font: 700 13px/1 var(--font-arabic); cursor: pointer; transition: all 0.2s;
}
.btn-copy:hover { background: var(--tint-hover); }
.btn-copy.copied { background: var(--state-yes); }
.btn-copy .ic { width: 15px; height: 15px; }

.copy-document-block .msg {
  font: 400 15px/1.85 var(--font-arabic); white-space: pre-wrap; border: 0;
  background: var(--surface-sunken); color: var(--label-primary); padding: 24px 22px; margin: 0;
  overflow-x: auto;
}

/* ── 14. Actionable Next Step CTA (Fixed Dead-End) ── */
.next {
  background: linear-gradient(135deg, var(--surface) 0%, #151a30 100%);
  border-radius: var(--radius-xl); padding: 44px 36px; margin-bottom: 48px;
  border: 1px solid var(--tint-border); box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.next::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--tint), transparent);
}
.next-tag { margin-bottom: 14px; }
.next h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; }
.next p { color: var(--label-secondary); margin: 12px auto 28px; font-size: 16px; max-width: 54ch; line-height: 1.7; }

.more h2 {
  font-size: 12px; font-weight: 700; color: var(--label-tertiary); text-transform: uppercase;
  letter-spacing: 0.05em; padding-inline: 14px; margin-bottom: 10px;
}
.more-list { list-style: none; background: var(--surface); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.more-list a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 12px 20px; color: var(--tint); font-weight: 700; }
.more-list a:hover { background: var(--surface-subtle); }
.back a { display: inline-flex; align-items: center; gap: 8px; padding-block: 10px; font-weight: 700; color: var(--tint); }
.from { margin-bottom: 28px; color: var(--label-secondary); font-size: 14px; }

/* ── 15. Article Dossier ── */
.page-article { background-color: var(--bg); }
.article-dossier { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
.article-dossier-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.article-badge-row { display: flex; align-items: center; gap: 12px; margin: 18px 0 22px; flex-wrap: wrap; }
.article-subject-tag {
  font-size: 12px; font-weight: 700; color: var(--tint); background: var(--surface-subtle);
  padding: 4px 12px; border-radius: 6px; border: 1px solid var(--border);
}
.article-read-badge, .article-date-badge { font-size: 13px; color: var(--label-tertiary); display: inline-flex; align-items: center; gap: 6px; }
.article-headline { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.32; color: var(--label-primary); margin-bottom: 18px; }
.article-subheadline { font-size: 18px; line-height: 1.7; color: var(--label-secondary); margin-bottom: 28px; }
.article-author-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px;
  background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--radius-md); width: fit-content;
}
.author-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  background: var(--tint); color: #fff; font: 700 15px/1 var(--font-arabic);
}
.article-author-card strong { display: block; font-size: 14px; color: var(--label-primary); }
.article-author-card small { display: block; font-size: 12px; color: var(--label-secondary); }

.article-prose { font-size: 17px; line-height: 1.85; color: var(--label-primary); }
.article-section { margin-bottom: 44px; }
.article-section h2 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.article-section p { margin-bottom: 18px; color: var(--label-secondary); }
.article-points-list { list-style: none; display: grid; gap: 14px; margin: 24px 0; padding: 0; }
.article-points-list li {
  display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.65;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 18px;
}
.point-bullet { color: var(--tint); flex: none; margin-top: 3px; }
.takeaway-box {
  background: var(--surface-subtle); border: 1px solid var(--border);
  border-inline-start: 4px solid var(--tint); border-radius: var(--radius-md); padding: 20px 22px; margin: 28px 0;
}
.takeaway-header { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 8px; }
.takeaway-icon { color: var(--tint); }
.takeaway-box p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.65; }

.article-tool-cta {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 32px 30px; margin: 48px 0 32px; box-shadow: var(--shadow-subtle);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--tint); margin-bottom: 8px; }
.cta-text h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.cta-text p { font-size: 14px; color: var(--label-secondary); margin: 0; max-width: 50ch; }
.back-link-row { margin-top: 24px; }
.back-link-row a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--tint); }

/* ── 16. Footer ── */
.foot {
  border-top: 1px solid var(--border); padding: 48px 0 36px;
  color: var(--label-secondary); font-size: 14px; background: var(--bg-elevated); margin-top: auto;
}
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-name { font-weight: 800; color: var(--label-primary); font-size: 18px; font-family: var(--font-heading); }
.foot-quote { font-family: var(--font-heading); font-size: 15px; font-weight: 700; color: var(--mist); margin-top: 6px; letter-spacing: 0.02em; }
.foot-line { margin-top: 6px; color: var(--label-secondary); font-size: 14px; max-width: 48ch; line-height: 1.6; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 24px; max-width: 580px; }
.foot-nav a { display: inline-block; padding-block: 8px; color: var(--label-secondary); font-weight: 500; }
.foot-nav a:hover { color: var(--tint); }
.foot-legal { font-size: 13px; color: var(--label-tertiary); margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }

/* ── 17. Responsive ── */
@media (max-width: 900px) {
  .tool-in { grid-template-columns: 1fr; gap: 28px; }
  .toc { display: none; }
  .sig-matrix { grid-template-columns: 1fr; }
  .rule-actions-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pipeline-blueprint { flex-direction: column; align-items: stretch; gap: 8px; }
  .pipeline-arrow { transform: rotate(90deg); text-align: center; }
}

@media (max-width: 680px) {
  .wrap { padding-inline: 18px; }
  .ann-in { justify-content: center; text-align: center; }
  .ann-cta { display: none; }
  .top-in { gap: 8px; }
  .top-start .top-link span { display: none; }
  .top-center { position: static; transform: none; }
  .brand-name { font-size: 15px; }
  .top-cta span { display: none; }
  .top-cta { padding: 0 10px; min-height: 34px; }
  .hero { padding: 48px 0 28px; text-align: right; }
  .hero-in { align-items: stretch; }
  .hero h1 { font-size: 30px; }
  .hero-actions .btn { width: 100%; border-radius: var(--radius-pill); }
  .metrics-grid { grid-template-columns: 1fr; gap: 16px; }
  .lib-head { text-align: right; }
  .seg { margin-inline: 0; width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .cover { height: 210px; padding: 24px 20px 0; }
  .card-body { padding: 24px; }
  .thead h1 { font-size: 30px; }
  .next { padding: 32px 20px; }
  .foot-in { flex-direction: column; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ── Executive PDF Download & Print Header Styles ── */
.print-header, .print-footer {
  display: none;
}

.thead-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.btn-pdf-head {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(19, 54, 232, 0.35);
  cursor: pointer;
}

/* ── Executive Lead Capture Modal (Pop-up Window) ── */
body.modal-open {
  overflow: hidden;
}

.lead-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 22, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 16px;
}

.lead-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal-card {
  background: #0d152a;
  border: 1px solid rgba(185, 198, 255, 0.2);
  border-radius: 18px;
  padding: 32px 28px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(19, 54, 232, 0.25);
  text-align: center;
  position: relative;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lead-modal-backdrop.active .lead-modal-card {
  transform: translateY(0) scale(1);
}

.lead-modal-close {
  position: absolute;
  top: 14px;
  left: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background-color 0.15s;
}

.lead-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lead-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(19, 54, 232, 0.15);
  border: 1px solid rgba(19, 54, 232, 0.4);
  color: var(--mist);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.lead-modal-badge .ic {
  width: 14px;
  height: 14px;
  color: var(--tint-text);
}

.lead-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  font-family: Changa, sans-serif;
  line-height: 1.35;
}

.lead-modal-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #b9c6ff;
  margin-bottom: 22px;
}

.lead-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-input-wrap {
  width: 100%;
}

.lead-input {
  background: #070b16;
  border: 1px solid rgba(185, 198, 255, 0.25);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-input:focus {
  border-color: #1336e8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 54, 232, 0.35);
}

.lead-input::placeholder {
  color: rgba(185, 198, 255, 0.45);
}

.lead-submit-btn {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  background: #ffffff;
  color: #070b16;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid #ffffff;
  transition: all 0.2s ease;
}

.lead-submit-btn:hover {
  background: #e6edff;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
}

.lead-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.lead-modal-status {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  min-height: 18px;
}

.lead-modal-status.error {
  color: var(--mistake);
}

.lead-modal-status.loading {
  color: var(--mist);
}

.lead-modal-status.success {
  color: var(--whatsapp);
}

.lead-modal-trust {
  font-size: 11.5px;
  color: rgba(185, 198, 255, 0.6);
  margin-top: 14px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ── High-Precision Executive PDF & Print Stylesheet ── */
@media print {
  @page {
    size: A4 portrait;
    margin: 15mm 12mm 15mm 12mm;
  }
  
  :root {
    --bg: #ffffff !important;
    --surface: #ffffff !important;
    --text: #070b16 !important;
    --muted: #4a5568 !important;
    --cobalt: #1336e8 !important;
    --tint: #1336e8 !important;
    --shadow-subtle: none !important;
    --shadow-card: none !important;
  }

  body {
    background: #ffffff !important;
    color: #070b16 !important;
    font-size: 11pt !important;
    line-height: 1.6 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Hide all web navigation and interactive elements */
  .ann-bar,
  .top,
  .foot,
  .toc,
  .skip,
  .next,
  .more,
  .back,
  [data-copy],
  .lang-toast,
  .pipeline-blueprint,
  .lead-modal-backdrop,
  .btn-pdf,
  .btn-pdf-head,
  .thead-actions,
  .copy-header-bar button,
  .crumbs {
    display: none !important;
  }

  /* Executive Print Header */
  .print-header {
    display: block !important;
    border-bottom: 2px solid #1336e8 !important;
    padding-bottom: 12px !important;
    margin-bottom: 22px !important;
  }

  .print-header-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 8px !important;
  }

  .print-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .print-emblem {
    width: 36px !important;
    height: 36px !important;
    background: #1336e8 !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .print-title {
    font-size: 15pt !important;
    font-weight: 800 !important;
    color: #070b16 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  .print-sub {
    font-size: 8.5pt !important;
    color: #4a5568 !important;
    margin: 2px 0 0 0 !important;
  }

  .print-contact {
    text-align: left !important;
    font-size: 8.5pt !important;
    color: #1a202c !important;
    line-height: 1.4 !important;
  }

  .print-meta-bar {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 8.5pt !important;
    font-weight: 700 !important;
    color: #1336e8 !important;
    background: #eef2ff !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Executive Print Footer */
  .print-footer {
    display: block !important;
    border-top: 1px solid #cbd5e0 !important;
    padding-top: 10px !important;
    margin-top: 32px !important;
    font-size: 8pt !important;
    color: #718096 !important;
    text-align: center !important;
  }

  .tool-in {
    display: block !important;
    padding: 0 !important;
  }

  .tool {
    max-width: 100% !important;
  }

  .thead {
    padding: 0 0 16px 0 !important;
    border: none !important;
  }

  .thead h1 {
    font-size: 18pt !important;
    color: #070b16 !important;
    margin-bottom: 8px !important;
  }

  .tlead {
    font-size: 11pt !important;
    color: #2d3748 !important;
    margin-bottom: 12px !important;
  }

  .facts {
    margin-bottom: 16px !important;
  }

  .facts li {
    background: #edf2f7 !important;
    color: #2d3748 !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 8.5pt !important;
    -webkit-print-color-adjust: exact !important;
  }

  .gets-box {
    background: #f7fafc !important;
    border: 1px solid #cbd5e0 !important;
    padding: 12px 16px !important;
    margin-bottom: 18px !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    -webkit-print-color-adjust: exact !important;
  }

  .gets-header h3 {
    color: #070b16 !important;
  }

  .gets li {
    color: #2d3748 !important;
  }

  .blk {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    margin-bottom: 22px !important;
  }

  .blk h2 {
    color: #070b16 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 6px !important;
  }

  .step-card,
  .check-document-box,
  .check-criteria-list,
  .check-decision-rules,
  .copy-document-block,
  .rule-card,
  .sig-col {
    border: 1px solid #cbd5e0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #070b16 !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .step-header strong {
    color: #070b16 !important;
  }

  .step-why, .step-listen {
    color: #2d3748 !important;
  }

  .copy-document-block .msg {
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e0 !important;
    padding: 14px !important;
    font-size: 10pt !important;
    -webkit-print-color-adjust: exact !important;
  }

  .copy-tag {
    color: #1336e8 !important;
  }

  .rule-card {
    background: #f8fafc !important;
    -webkit-print-color-adjust: exact !important;
  }

  .rule-header strong {
    color: #070b16 !important;
  }
}
