/*
 LBI Egypt V26 — Executive Readability + Visual Densification Engine
 Additive public CSS layer only. Scope: public frontend readability, contrast, density, and procurement scanning.
 No database/routes/controllers/models/runtime/admin/auth/payment changes.
*/
:root{
  --lbi-v26-ink:#071225;
  --lbi-v26-ink-2:#0f172a;
  --lbi-v26-copy:#253247;
  --lbi-v26-muted:#475569;
  --lbi-v26-soft:#f8fafc;
  --lbi-v26-line:rgba(15,23,42,.105);
  --lbi-v26-blue:#1e3a8a;
  --lbi-v26-indigo:#4338ca;
  --lbi-v26-green:#047857;
  --lbi-v26-shadow:0 18px 46px rgba(15,23,42,.075);
}

/* Global public typography contract: Cairo remains Arabic authority; no faded semantic text. */
html[lang="ar"] body,
html[dir="rtl"] body,
html[lang="ar"] .lbi-v10-saas,
html[dir="rtl"] .lbi-v10-saas,
html[lang="ar"] .lbi-v19-products,
html[dir="rtl"] .lbi-v19-products{
  font-family:"Cairo",Tahoma,Arial,sans-serif!important;
}
.lbi-v10-saas,
.lbi-v19-products,
.lbi-v16-product,
.lbi-v17-product,
.lbi-v20-product-story{
  color:var(--lbi-v26-ink)!important;
}
.lbi-v10-saas p,
.lbi-v10-saas small,
.lbi-v19-products p,
.lbi-v19-products small,
.lbi-v16-product p,
.lbi-v17-product p{
  opacity:1!important;
  text-shadow:none!important;
}

/* Homepage hero readability recovery: dark enterprise typography on light hero. */
.lbi-v10-hero,
.lbi-v11-hero{
  padding-block:clamp(54px,6.4vw,78px) clamp(30px,4vw,44px)!important;
  background:
    radial-gradient(circle at 14% 18%,rgba(79,70,229,.09),transparent 30%),
    radial-gradient(circle at 86% 12%,rgba(14,165,233,.08),transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
}
.lbi-v10-hero:before,
.lbi-v11-hero:before{opacity:.42!important;}
.lbi-v10-hero-copy,
.lbi-v11-hero-copy{color:var(--lbi-v26-ink)!important;}
.lbi-v10-hero h1,
.lbi-v11-hero h1,
#lbi-v10-hero-title{
  color:var(--lbi-v26-ink)!important;
  font-weight:850!important;
  letter-spacing:-.028em!important;
  line-height:1.16!important;
  text-shadow:none!important;
}
html[dir="rtl"] #lbi-v10-hero-title,
html[lang="ar"] #lbi-v10-hero-title{
  letter-spacing:-.006em!important;
  font-weight:750!important;
}
.lbi-v10-lead,
.lbi-v11-hero .lbi-v10-lead,
.lbi-v10-hero-copy p,
.lbi-v11-hero-copy p{
  color:var(--lbi-v26-copy)!important;
  font-weight:600!important;
  line-height:1.78!important;
}
.lbi-v10-eyebrow,
.lbi-v11-eyebrow,
.lbi-v10-proof span,
.lbi-v11-proof span,
.lbi-v10-micro{
  color:#1e3a8a!important;
  background:#eef4ff!important;
  border-color:rgba(30,58,138,.16)!important;
  opacity:1!important;
  text-shadow:none!important;
}
.lbi-v10-micro{
  display:inline-flex!important;
  margin-top:12px!important;
  border:1px solid rgba(30,58,138,.14)!important;
  border-radius:999px!important;
  padding:6px 10px!important;
  background:#f8fbff!important;
  color:#334155!important;
  font-weight:800!important;
}
.lbi-v10-btn,
.lbi-v11-actions .lbi-v10-btn{
  color:var(--lbi-v26-ink)!important;
  opacity:1!important;
  text-shadow:none!important;
}
.lbi-v10-btn-primary,
.lbi-v11-actions .lbi-v10-btn-primary{
  color:#ffffff!important;
  background:linear-gradient(135deg,#4f46e5,#312e81)!important;
  border-color:transparent!important;
}
.lbi-v10-btn-soft,
.lbi-v11-actions .lbi-v10-btn-soft{
  color:#075985!important;
  background:#ffffff!important;
  border-color:rgba(14,116,144,.22)!important;
}
.lbi-v10-btn-line,
.lbi-v11-actions .lbi-v10-btn-line{
  color:#0f172a!important;
  background:#ffffff!important;
  border-color:rgba(15,23,42,.18)!important;
}
.lbi-v10-btn:hover,
.lbi-v10-btn:focus-visible{filter:contrast(1.05)!important;}

/* Laptop/dashboard labels: convert decorative labels into readable confidence signals. */
.lbi-v10-dashboard-card,
.lbi-v11-dashboard-card{
  box-shadow:0 22px 70px rgba(15,23,42,.12)!important;
  border-color:rgba(15,23,42,.105)!important;
}
.lbi-v11-dashboard-top,
.lbi-v10-dashboard-chip,
.lbi-v11-dashboard-chip,
.lbi-v11-dashboard-metrics span{
  opacity:1!important;
  text-shadow:none!important;
}
.lbi-v11-dashboard-top{
  color:var(--lbi-v26-ink)!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid rgba(15,23,42,.10)!important;
}
.lbi-v11-dashboard-top span{color:#047857!important;font-weight:850!important;}
.lbi-v11-dashboard-top strong{color:var(--lbi-v26-ink)!important;font-weight:950!important;}
.lbi-v10-dashboard-chip,
.lbi-v11-dashboard-chip{
  background:#071225!important;
  color:#ffffff!important;
  border-color:rgba(255,255,255,.26)!important;
}
.lbi-v10-dashboard-chip span,
.lbi-v11-dashboard-chip span{color:#dbeafe!important;}
.lbi-v10-dashboard-chip strong,
.lbi-v11-dashboard-chip strong{color:#ffffff!important;}
.lbi-v11-dashboard-metrics span{
  color:#0f172a!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(15,23,42,.10)!important;
  font-weight:850!important;
}

/* Three operational trust indicators under hero image. */
.lbi-v10-feature-grid,
.lbi-v11-feature-grid{gap:16px!important;}
.lbi-v10-feature-tile,
.lbi-v11-feature-tile{
  min-height:0!important;
  padding:16px 18px!important;
  border-color:rgba(15,23,42,.10)!important;
  background:#ffffff!important;
  box-shadow:0 12px 34px rgba(15,23,42,.055)!important;
  opacity:1!important;
}
.lbi-v10-feature-tile i,
.lbi-v11-feature-tile i{
  color:#1e3a8a!important;
  background:#eef4ff!important;
  opacity:1!important;
}
.lbi-v10-feature-tile h3,
.lbi-v11-feature-tile h3{
  color:var(--lbi-v26-ink)!important;
  font-weight:900!important;
  line-height:1.32!important;
}
.lbi-v10-feature-tile small,
.lbi-v11-feature-tile small{
  color:#334155!important;
  font-weight:750!important;
  opacity:1!important;
}

/* Visual densification: reduce stretched landing-page fatigue while preserving calmness. */
.lbi-v10-section,
.lbi-v11-section,
.lbi-v13-authority-section,
.lbi-v10-final-cta{
  padding-block:clamp(46px,5.4vw,66px)!important;
}
.lbi-v10-section-head,
.lbi-v11-section-head{
  margin-bottom:clamp(20px,2.6vw,30px)!important;
}
.lbi-v10-section-head h2,
.lbi-v11-section-head h2,
.lbi-v10-story h2,
.lbi-v11-story h2,
.lbi-v10-final-box h2,
.lbi-v11-final-box h2{
  color:var(--lbi-v26-ink)!important;
  line-height:1.22!important;
  font-weight:850!important;
}
.lbi-v10-section-head p,
.lbi-v11-section-head p,
.lbi-v10-story p,
.lbi-v11-story p,
.lbi-v10-final-box p,
.lbi-v11-final-box p{
  color:var(--lbi-v26-muted)!important;
  line-height:1.72!important;
  font-weight:600!important;
}
.lbi-v10-product-body,
.lbi-v11-product-body{padding:17px!important;}
.lbi-v10-product-body p,
.lbi-v11-product-body p{
  -webkit-line-clamp:2!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.lbi-v13-product-proof,
.lbi-v11-product-tags{gap:7px!important;}
.lbi-v13-product-proof small,
.lbi-v11-product-tags small{
  color:#334155!important;
  background:#f8fafc!important;
  border-color:rgba(15,23,42,.10)!important;
  opacity:1!important;
}

/* Product marketplace density: shorter cards, stronger scan rhythm, no fake vertical stretch. */
.lbi-v19-section,
.lbi-v19-2-products .lbi-v19-section{
  padding-block:clamp(44px,5vw,62px)!important;
}
.lbi-v19-section-head{margin-bottom:clamp(20px,2.4vw,28px)!important;}
.lbi-v19-section-head h2{font-size:clamp(27px,3vw,38px)!important;line-height:1.22!important;}
.lbi-v19-section-head p{line-height:1.68!important;color:var(--lbi-v26-muted)!important;font-weight:600!important;}
.lbi-v19-2-grid{gap:18px!important;}
.lbi-v19-2-card{
  border-radius:22px!important;
  box-shadow:var(--lbi-v26-shadow)!important;
}
.lbi-v19-2-media{height:176px!important;padding:8px!important;}
.lbi-v19-2-media img{border-radius:16px!important;}
.lbi-v19-2-media span{
  color:#0f172a!important;
  background:rgba(255,255,255,.96)!important;
  font-weight:850!important;
  bottom:14px!important;
  inset-inline-start:14px!important;
  max-width:calc(100% - 28px)!important;
}
.lbi-v19-2-body{padding:16px!important;gap:9px!important;}
.lbi-v19-2-top{margin-bottom:6px!important;}
.lbi-v19-2-badge,
.lbi-v19-rating{opacity:1!important;font-weight:900!important;}
.lbi-v19-2-card h3{font-size:18px!important;line-height:1.28!important;margin-bottom:5px!important;}
.lbi-v19-2-card p{
  min-height:0!important;
  font-size:13.5px!important;
  line-height:1.58!important;
  color:#475569!important;
  -webkit-line-clamp:2!important;
  margin-bottom:6px!important;
}
.lbi-v19-2-benefits{padding-top:9px!important;margin-top:4px!important;}
.lbi-v19-2-benefits strong{margin-bottom:6px!important;color:#0f172a!important;}
.lbi-v19-2-benefits ul{gap:5px!important;}
.lbi-v19-2-benefits li{font-size:12.8px!important;line-height:1.42!important;color:#334155!important;}
.lbi-v19-2-foot{margin-top:10px!important;padding-top:11px!important;gap:10px!important;}
.lbi-v19-2-price strong{font-size:16px!important;}
.lbi-v19-2-actions{gap:8px!important;}
.lbi-v19-2-actions a{min-height:38px!important;padding:8px 10px!important;border-radius:11px!important;font-size:12.5px!important;}
.lbi-v19-why{padding-block:clamp(36px,4vw,52px)!important;}
.lbi-v19-why-grid div{min-height:92px!important;padding:14px 12px!important;}
.lbi-v19-final{padding-block:clamp(36px,4.8vw,58px)!important;}
.lbi-v19-final-card{padding:26px 32px!important;}
.lbi-v19-final-card h2,
.lbi-v19-final h2{color:#ffffff!important;}
.lbi-v19-final-card p{color:rgba(226,232,240,.92)!important;}

/* Final contrast guard for known light-on-light failures. */
.lbi-v10-saas [style*="color:white"],
.lbi-v10-saas [style*="color: white"],
.lbi-v10-saas .text-white:not(.lbi-v10-btn-primary):not(.lbi-v10-dashboard-chip):not(.lbi-v11-dashboard-chip),
.lbi-v10-saas [class*="muted"],
.lbi-v10-saas [class*="subtitle"]{
  opacity:1!important;
}
.lbi-v10-hero .text-white,
.lbi-v11-hero .text-white{color:var(--lbi-v26-ink)!important;}

@media (min-width:1181px){
  .lbi-v19-2-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:991px){
  .lbi-v10-hero,
  .lbi-v11-hero{padding-top:42px!important;}
  .lbi-v10-hero-copy,
  .lbi-v11-hero-copy{text-align:center!important;}
  .lbi-v10-actions,
  .lbi-v11-actions,
  .lbi-v10-proof,
  .lbi-v11-proof{justify-content:center!important;}
  .lbi-v10-micro{margin-inline:auto!important;}
}
@media (max-width:767px){
  .lbi-v10-hero h1,
  .lbi-v11-hero h1,
  #lbi-v10-hero-title{font-size:clamp(30px,8.4vw,40px)!important;line-height:1.24!important;}
  .lbi-v10-lead{font-size:15px!important;line-height:1.74!important;}
  .lbi-v10-section,
  .lbi-v11-section,
  .lbi-v13-authority-section,
  .lbi-v10-final-cta{padding-block:38px!important;}
  .lbi-v10-feature-grid,
  .lbi-v11-feature-grid{grid-template-columns:1fr!important;}
  .lbi-v10-feature-tile,
  .lbi-v11-feature-tile{padding:14px 15px!important;}
  .lbi-v19-2-media{height:168px!important;}
  .lbi-v19-2-body{padding:15px!important;}
  .lbi-v19-2-actions{grid-template-columns:1fr!important;}
  .lbi-v19-why-grid{grid-template-columns:1fr 1fr!important;}
  .lbi-v19-final-card{padding:22px!important;}
}
@media (max-width:480px){
  .lbi-v10-actions,
  .lbi-v11-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important;}
  .lbi-v10-actions a,
  .lbi-v11-actions a{width:100%!important;}
  .lbi-v19-why-grid{grid-template-columns:1fr!important;}
}
@media (prefers-reduced-motion:reduce){
  .lbi-v10-btn,.lbi-v19-2-card{transition:none!important;transform:none!important;}
}
