/* LBI Egypt V21 — Micro-Precision Executive Calibration
   Scope: public product catalog + product pages + footer refinement only.
   Delta-only visual rhythm, typography, CTA, card, FAQ, pricing, and ecosystem relationship calibration. */

.lbi-v20-executive-products,
.lbi-v20-product-story{
    --v21-ink:#111827;
    --v21-soft-ink:#243145;
    --v21-muted:#64748b;
    --v21-faint:#eef3fb;
    --v21-line:#e5ebf4;
    --v21-line-strong:#dbe4f2;
    --v21-primary:#3730a3;
    --v21-primary-soft:#eef2ff;
    --v21-shadow:0 18px 44px rgba(15,23,42,.07);
    --v21-shadow-hover:0 24px 56px rgba(15,23,42,.105);
    --v21-section:clamp(42px,5.4vw,72px);
    color:var(--v21-ink);
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

/* 1. Arabic typography calibration */
[dir="rtl"] .lbi-v20-executive-products,
[dir="rtl"] .lbi-v20-product-story{
    font-weight:400;
    letter-spacing:0!important;
}
[dir="rtl"] .lbi-v20-executive-products :is(h1,h2,h3,summary),
[dir="rtl"] .lbi-v20-product-story :is(h1,h2,h3,summary){
    font-weight:700!important;
    letter-spacing:0!important;
    word-spacing:.015em!important;
}
[dir="rtl"] .lbi-v20-executive-products :is(p,li,small,em,span),
[dir="rtl"] .lbi-v20-product-story :is(p,li,small,em,span){
    font-weight:400!important;
    word-spacing:.035em!important;
}
[dir="rtl"] .lbi-v20-executive-products .lbi-v19-copy h1,
[dir="rtl"] .lbi-v20-product-story .lbi-v17-hero h1,
[dir="rtl"] .lbi-v20-product-story .lbi-v17-hero .lbi-v8-title{
    line-height:1.42!important;
    max-width:720px!important;
}
[dir="rtl"] .lbi-v20-executive-products .lbi-v19-copy p,
[dir="rtl"] .lbi-v20-product-story .lbi-v17-hero p,
[dir="rtl"] .lbi-v20-product-story .lbi-v17-hero .lbi-v8-lead{
    line-height:2!important;
    color:rgba(226,232,240,.88)!important;
}
[dir="rtl"] .lbi-v20-product-story :is(.lbi-v17-section-head p,.lbi-v17-card p,.lbi-v17-workflow p,.lbi-v17-process p,.lbi-v17-panel p,.lbi-v17-review-grid p,.lbi-v18-capability-grid p,.lbi-v18-addon-grid p,.lbi-v17-related p,.lbi-v17-faq p){
    line-height:1.86!important;
}
[dir="rtl"] .lbi-v20-executive-products .lbi-v19-2-card p,
[dir="rtl"] .lbi-v20-executive-products .lbi-v19-2-benefits li{
    line-height:1.74!important;
}

/* 2. Executive visual rhythm */
.lbi-v20-product-story .lbi-v8-section,
.lbi-v20-executive-products .lbi-v19-section,
.lbi-v20-executive-products .lbi-v19-why,
.lbi-v20-executive-products .lbi-v19-final{
    padding-top:var(--v21-section)!important;
    padding-bottom:var(--v21-section)!important;
}
.lbi-v20-product-story .lbi-v17-section-head,
.lbi-v20-executive-products .lbi-v19-section-head{
    margin-bottom:clamp(18px,2.2vw,28px)!important;
}
.lbi-v20-product-story .lbi-v17-section-head h2,
.lbi-v20-executive-products .lbi-v19-section-head h2{
    color:var(--v21-ink)!important;
    letter-spacing:-.018em!important;
}
.lbi-v20-product-story .lbi-v17-section-head p,
.lbi-v20-executive-products .lbi-v19-section-head p{
    color:#5b6b82!important;
    max-width:680px!important;
}

/* 3. CTA priority intelligence */
.lbi-v20-executive-products .lbi-v19-actions,
.lbi-v20-product-story .lbi-v17-actions{
    gap:10px!important;
    align-items:center!important;
}
.lbi-v20-executive-products :is(.lbi-v19-btn-primary,.lbi-v8-btn--primary),
.lbi-v20-product-story :is(.lbi-v8-btn--primary){
    background:linear-gradient(135deg,#4338ca,#2563eb)!important;
    border-color:rgba(255,255,255,.18)!important;
    box-shadow:0 14px 30px rgba(37,99,235,.24)!important;
    color:#fff!important;
    font-weight:700!important;
}
.lbi-v20-executive-products :is(.lbi-v19-btn-ghost,.lbi-v16-btn-soft),
.lbi-v20-product-story :is(.lbi-v16-btn-soft,.lbi-v8-btn--whatsapp,.lbi-v8-btn--light){
    background:rgba(255,255,255,.08)!important;
    border:1px solid rgba(255,255,255,.20)!important;
    box-shadow:none!important;
    color:rgba(255,255,255,.88)!important;
    font-weight:600!important;
}
.lbi-v20-product-story .lbi-v17-cta .lbi-v8-btn--light:first-child,
.lbi-v20-executive-products .lbi-v19-final-card .lbi-v19-btn-primary{
    background:#fff!important;
    color:#1d2a57!important;
    border-color:#fff!important;
    box-shadow:0 14px 28px rgba(15,23,42,.16)!important;
}
.lbi-v20-product-story .lbi-v17-cta .lbi-v8-btn--whatsapp,
.lbi-v20-executive-products .lbi-v19-final-card .lbi-v19-btn-ghost{
    opacity:.82!important;
}

/* 4. Hero reassurance panel fix */
.lbi-v20-product-story .lbi-v17-hero-note{
    color:rgba(248,250,252,.94)!important;
    background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.075))!important;
    border:1px solid rgba(226,232,240,.24)!important;
    box-shadow:0 18px 42px rgba(2,6,23,.18)!important;
    backdrop-filter:blur(12px)!important;
}
.lbi-v20-executive-products .lbi-v19-trust-row span{
    color:rgba(248,250,252,.9)!important;
    background:linear-gradient(135deg,rgba(15,23,42,.48),rgba(30,41,59,.30))!important;
    border-color:rgba(226,232,240,.18)!important;
}

/* 5. Enterprise card depth system */
.lbi-v20-product-story :is(.lbi-v17-card,.lbi-v17-workflow article,.lbi-v17-process article,.lbi-v17-panel,.lbi-v17-review-grid article,.lbi-v18-capability-grid article,.lbi-v18-addon-grid article,.lbi-v17-pricing article,.lbi-v17-related a),
.lbi-v20-executive-products :is(.lbi-v19-2-card,.lbi-v19-why-grid div,.lbi-v19-final-card){
    border:1px solid var(--v21-line)!important;
    box-shadow:var(--v21-shadow)!important;
    background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
}
.lbi-v20-product-story :is(.lbi-v17-card,.lbi-v17-workflow article,.lbi-v17-process article,.lbi-v17-panel,.lbi-v17-review-grid article,.lbi-v18-capability-grid article,.lbi-v18-addon-grid article,.lbi-v17-pricing article,.lbi-v17-related a):hover,
.lbi-v20-executive-products :is(.lbi-v19-2-card,.lbi-v19-why-grid div):hover{
    transform:translateY(-2px)!important;
    border-color:var(--v21-line-strong)!important;
    box-shadow:var(--v21-shadow-hover)!important;
}
.lbi-v20-product-story :is(.lbi-v17-card h3,.lbi-v17-workflow h3,.lbi-v17-process h3,.lbi-v17-panel h3,.lbi-v17-review-grid h3,.lbi-v18-capability-grid h3,.lbi-v18-addon-grid h3,.lbi-v17-related h3),
.lbi-v20-executive-products .lbi-v19-2-card h3{
    color:var(--v21-soft-ink)!important;
}

/* 6. FAQ executive refinement */
.lbi-v20-product-story .lbi-v17-faq{
    display:grid!important;
    gap:10px!important;
    max-width:920px!important;
    margin-inline:auto!important;
}
.lbi-v20-product-story .lbi-v17-faq details{
    border:1px solid var(--v21-line)!important;
    border-radius:16px!important;
    background:linear-gradient(180deg,#fff,#fbfdff)!important;
    box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
    overflow:hidden!important;
}
.lbi-v20-product-story .lbi-v17-faq summary{
    padding:14px 18px!important;
    font-size:.94rem!important;
    line-height:1.45!important;
    color:#1f2a44!important;
    cursor:pointer!important;
    list-style:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
}
.lbi-v20-product-story .lbi-v17-faq summary::-webkit-details-marker{display:none!important}
.lbi-v20-product-story .lbi-v17-faq summary:after{
    content:"+";
    width:24px;
    height:24px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--v21-primary-soft);
    color:var(--v21-primary);
    font-weight:800;
    flex:0 0 24px;
}
.lbi-v20-product-story .lbi-v17-faq details[open] summary:after{content:"−"}
.lbi-v20-product-story .lbi-v17-faq p{
    margin:0!important;
    padding:0 18px 16px!important;
    font-size:.88rem!important;
    line-height:1.68!important;
    color:#56657a!important;
}

/* 7. Pricing architecture calibration */
.lbi-v20-product-story .lbi-v17-pricing{
    align-items:stretch!important;
}
.lbi-v20-product-story .lbi-v17-pricing article{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    min-height:100%!important;
}
.lbi-v20-product-story .lbi-v17-pricing article.is-recommended{
    border-color:#aebcff!important;
    box-shadow:0 24px 62px rgba(67,56,202,.15)!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8f9ff 100%)!important;
}
.lbi-v20-product-story .lbi-v17-pricing article.is-recommended:before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:4px;
    background:linear-gradient(90deg,#4338ca,#2563eb);
}
.lbi-v20-product-story .lbi-v17-pricing article > span{
    align-self:flex-start!important;
    padding:5px 10px!important;
    border-radius:999px!important;
    background:#eef2ff!important;
    color:#3730a3!important;
    font-size:.72rem!important;
    line-height:1.2!important;
    font-weight:800!important;
}
.lbi-v20-product-story .lbi-v17-pricing strong{
    color:#0f172a!important;
    letter-spacing:-.02em!important;
}
.lbi-v20-product-story .lbi-v17-pricing a{
    margin-top:auto!important;
}

/* 8 + 10. Enterprise storyflow and ecosystem relationship intelligence */
.lbi-v20-product-story .lbi-v17-trust{
    background:#fff!important;
    border-bottom:1px solid #edf2f8!important;
}
.lbi-v20-product-story .lbi-v17-chip-grid span{
    border-radius:999px!important;
    background:#fff!important;
    color:#334155!important;
}
.lbi-v20-product-story .lbi-v17-workflow article b,
.lbi-v20-product-story .lbi-v17-process article b{
    background:#eef2ff!important;
    color:#3730a3!important;
    border:1px solid #dbe4ff!important;
}
.lbi-v20-product-story .lbi-v17-related a{
    text-decoration:none!important;
}
.lbi-v20-product-story .lbi-v17-related a span{
    color:#4338ca!important;
    background:#eef2ff!important;
    border-radius:999px!important;
    padding:5px 9px!important;
    font-weight:800!important;
}

/* 9. Footer intelligence refinement */
.lbi-v13-footer .lbi-v13-footer-grid{
    gap:34px!important;
    padding-top:38px!important;
    padding-bottom:30px!important;
}
.lbi-v13-footer .lbi-v13-footer-brand h2{
    font-size:clamp(20px,1.75vw,25px)!important;
    line-height:1.36!important;
    letter-spacing:-.01em!important;
}
.lbi-v13-footer .lbi-v13-footer-brand p{
    line-height:1.72!important;
    color:rgba(226,232,240,.76)!important;
}
.lbi-v13-footer .lbi-v13-footer-links{
    gap:20px 26px!important;
}
.lbi-v13-footer .lbi-v13-footer-links h3{
    color:#fff!important;
    letter-spacing:.01em!important;
    margin-bottom:9px!important;
}
.lbi-v13-footer .lbi-v13-footer-links a{
    color:rgba(226,232,240,.76)!important;
    line-height:1.48!important;
}
.lbi-v13-footer .lbi-v13-footer-links a:hover{
    color:#fff!important;
}
.lbi-v13-footer .lbi-v13-footer-signals span{
    background:rgba(255,255,255,.07)!important;
    border-color:rgba(255,255,255,.12)!important;
}

@media(max-width:767px){
    .lbi-v20-executive-products,
    .lbi-v20-product-story{--v21-section:34px}
    .lbi-v20-executive-products .lbi-v19-copy h1,
    .lbi-v20-product-story .lbi-v17-hero h1,
    .lbi-v20-product-story .lbi-v17-hero .lbi-v8-title{
        font-size:clamp(1.72rem,8vw,2.08rem)!important;
    }
    [dir="rtl"] .lbi-v20-executive-products .lbi-v19-copy h1,
    [dir="rtl"] .lbi-v20-product-story .lbi-v17-hero h1,
    [dir="rtl"] .lbi-v20-product-story .lbi-v17-hero .lbi-v8-title{
        line-height:1.46!important;
    }
    .lbi-v20-executive-products .lbi-v19-copy p,
    .lbi-v20-product-story .lbi-v17-hero p,
    .lbi-v20-product-story .lbi-v17-hero .lbi-v8-lead{
        font-size:.92rem!important;
    }
    .lbi-v20-product-story .lbi-v17-hero-note{
        font-size:.84rem!important;
        line-height:1.72!important;
    }
    .lbi-v20-product-story .lbi-v17-faq summary{
        padding:13px 14px!important;
        font-size:.9rem!important;
    }
    .lbi-v20-product-story .lbi-v17-faq p{
        padding:0 14px 14px!important;
    }
    .lbi-v13-footer .lbi-v13-footer-links{
        gap:14px 18px!important;
    }
}
