/* ============================================================
   DOLEB — Mina-inspired architecture, Doleb brand
   White, airy, large type, rounded, teal/lime accent
   ============================================================ */

:root {
    --brand:       #1CAA9A;
    --brand-dark:  #158F81;
    --brand-xl:    #E8F8F6;
    --brand-light: #D0F1EC;
    --accent:      #88DB59;

    --text:        #1E1E1E;
    --text-2:      #43545B;
    --text-3:      #A5ACAF;

    --bg:          #FFFFFF;
    --bg-2:        #F5FAF9;
    --border:      #EEEEEE;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-full: 9999px;

    --shadow-xs: 0 1px 4px rgba(0,0,0,0.06);
    --shadow-sm: 0 2px 12px rgba(28,170,154,0.08);
    --shadow-md: 0 8px 32px rgba(28,170,154,0.12);

    --ease: 0.2s ease;
    --max-w: 1100px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: 'Manrope', 'Inter', sans-serif; line-height: 1.18; font-optical-sizing: auto; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- SKIP LINK ---- */
.skip-link { position:absolute; top:-100px; inset-inline-start:16px; z-index:9999; background:var(--brand); color:#fff; padding:10px 20px; border-radius:var(--r-sm); font-weight:600; font-size:.9rem; transition:top .2s; }
.skip-link:focus { top:16px; }

/* ---- CONTAINER ---- */
.container { width:100%; max-width:var(--max-w); margin:0 auto; padding:0 clamp(20px,4vw,48px); }

/* ================================================================
   HEADER
   ================================================================ */
#site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--ease), box-shadow var(--ease);
}
#site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 16px rgba(0,0,0,0.05); }
.navbar { display:flex; align-items:center; justify-content:space-between; height:66px; }
.logo-img { height:52px; width:auto; }
.nav-links { display:flex; align-items:center; gap:4px; margin-inline:32px auto; }
.nav-link {
    font-size:.92rem; font-weight:500; color:var(--text-2);
    padding:8px 14px; border-radius:var(--r-full);
    transition:color var(--ease), background var(--ease);
}
.nav-link:hover { color:var(--brand); background:var(--brand-xl); }
.nav-link[aria-current="page"] { color:var(--brand-dark); font-weight:600; }
.nav-buttons { display:flex; align-items:center; gap:10px; }
.btn-nav-login {
    font-size:.9rem; font-weight:600; color:var(--text-2);
    padding:9px 20px; border-radius:var(--r-full);
    border:1.5px solid var(--border);
    transition:all var(--ease);
}
.btn-nav-login:hover { border-color:var(--brand); color:var(--brand); }
.btn-nav-lang {
    font-size:.9rem; font-weight:600; color:var(--text-2);
    padding:9px 12px; border-radius:var(--r-full);
    transition:color var(--ease), background var(--ease);
}
.btn-nav-lang:hover { color:var(--brand); background:var(--brand-xl); }
.btn-nav-lang:lang(ar) { font-family:'IBM Plex Sans Arabic', 'Inter', sans-serif; }
.btn-nav-cta {
    font-size:.9rem; font-weight:700;
    background:var(--brand); color:#fff;
    padding:9px 22px; border-radius:var(--r-full);
    border:1.5px solid var(--brand);
    transition:all var(--ease);
}
.btn-nav-cta:hover { background:var(--brand-dark); border-color:var(--brand-dark); transform:translateY(-1px); }

/* Hamburger */
.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; border-radius:var(--r-sm); }
.hamburger:hover { background:var(--brand-xl); }
.hamburger-line { display:block; width:22px; height:2px; background:var(--text); border-radius:2px; transition:transform .25s,opacity .25s; }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity:0; }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.mobile-menu { display:none; position:absolute; top:100%; inset-inline:0; background:var(--bg); border-top:1px solid var(--border); box-shadow:0 8px 32px rgba(0,0,0,0.08); z-index:99; }
.mobile-menu.open { display:block; }
.mobile-menu-inner { display:flex; flex-direction:column; padding:16px clamp(20px,4vw,48px) 24px; gap:4px; }
.mobile-nav-link { display:block; padding:12px 8px; font-size:1rem; font-weight:500; border-radius:var(--r-sm); transition:background var(--ease),color var(--ease); }
.mobile-nav-link:hover { background:var(--brand-xl); color:var(--brand); }
.mobile-cta { margin-top:12px; text-align:center; }

/* ================================================================
   MAIN CTA BUTTON
   ================================================================ */
.btn-cta {
    display: inline-flex; align-items:center; justify-content:center;
    background: var(--brand); color: #fff;
    font-family: 'Inter', sans-serif; font-weight: 700;
    font-size: clamp(.95rem,1.6vw,1.05rem);
    padding: 15px 36px; border-radius: var(--r-full);
    border: none; cursor: pointer; min-height: 48px;
    transition: all var(--ease);
    box-shadow: 0 4px 16px rgba(28,170,154,0.25);
}
.btn-cta:hover, .btn-cta:focus-visible {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(28,170,154,0.35);
}
.btn-cta-sm { padding: 12px 28px; font-size: .95rem; }
.is-coming-soon { cursor: default; pointer-events: none; opacity: .75; box-shadow: none; }
.footer-soon { font-size: .88rem; color: var(--text-3); opacity: 1; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
    padding: clamp(52px,7vw,88px) 0 clamp(44px,6vw,72px);
    background: var(--bg);
    text-align: center;
}
.hero-content { max-width: 640px; margin: 0 auto; }
.hero-title {
    font-size: clamp(1.85rem,4.1vw,3.1rem);
    font-weight: 800; color: var(--text);
    line-height: 1.12; margin-bottom: 18px;
    letter-spacing: -0.025em;
}
.hero-accent {
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
    font-size: clamp(.97rem,1.6vw,1.08rem); color: var(--text-2);
    max-width: 500px; margin: 0 auto 28px; font-weight: 500; line-height: 1.65;
}
.hero-proof {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-top: 16px;
}
.proof-stars { color: #F59E0B; font-size: .9rem; letter-spacing: 2px; }
.proof-label { font-size: .8rem; font-weight: 500; color: var(--text-3); }

/* ================================================================
   SECTION TITLES
   ================================================================ */
.s-title {
    font-size: clamp(1.42rem,2.7vw,1.95rem);
    font-weight: 800; text-align: center;
    color: var(--text); letter-spacing: -.02em;
    margin-bottom: clamp(10px,1.5vw,16px);
}
.s-sub {
    text-align: center; font-size: clamp(.92rem,1.5vw,1.02rem);
    color: var(--text-2); font-weight: 500; max-width: 480px;
    margin: 0 auto clamp(28px,4vw,44px);
}

/* ================================================================
   WHY SECTION
   ================================================================ */
.why-section { padding: clamp(44px,6vw,72px) 0; background: var(--bg-2); }
.why-section .s-title { margin-bottom: clamp(24px,4vw,40px); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.why-card {
    background: var(--bg); border-radius: var(--r-xl);
    padding: clamp(28px,3vw,40px);
    border: 1px solid var(--border);
    transition: transform var(--ease), box-shadow var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-stat {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.85rem,3.2vw,2.6rem); font-weight: 800;
    color: var(--brand); line-height: 1; margin-bottom: 10px;
}
.why-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.why-desc { font-size: .9rem; color: var(--text-2); line-height: 1.65; font-weight: 500; }

/* ================================================================
   FEATURE SECTIONS
   ================================================================ */
.feat-section { padding: clamp(44px,6vw,72px) 0; }
.feat-light { background: var(--bg); }
.feat-white { background: var(--bg-2); }

.feat-row {
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: clamp(40px,6vw,80px);
}
.feat-row-flip > .feat-img { order: -1; }

.feat-chip {
    display: inline-block; background: var(--brand-xl); color: var(--brand-dark);
    font-size: .72rem; font-weight: 700; padding: 5px 14px;
    border-radius: var(--r-full); letter-spacing: .06em;
    text-transform: uppercase; margin-bottom: 16px;
}
.feat-title {
    font-size: clamp(1.2rem,2.2vw,1.65rem); font-weight: 800;
    color: var(--text); margin-bottom: 20px; letter-spacing: -.018em;
    line-height: 1.2;
}
.feat-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.feat-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: clamp(.92rem,1.5vw,1rem); color: var(--text-2); font-weight: 500; line-height: 1.55;
}
.feat-check {
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; min-width: 22px;
    background: var(--brand); color: #fff;
    border-radius: 50%; font-size: .75rem; margin-top: 1px;
    font-style: normal;
}
.feat-img {
    display: flex;
    align-items: center;
    justify-content: center;
}
.feat-img img {
    width: 100%; height: auto; border-radius: var(--r-xl);
    box-shadow: 0 16px 48px rgba(28,170,154,0.12), 0 2px 8px rgba(0,0,0,0.06);
    object-fit: contain;
}
/* Phone mockup: screenshots are taller than the frame, so they pan top → bottom on hover */
.phone {
    position: relative;
    width: min(100%, 220px);
    aspect-ratio: 9 / 19.5;
    padding: 8px;
    background: #16191A;
    border-radius: 36px;
    box-shadow:
        inset 0 0 0 2px #2E3436,
        0 30px 60px -12px rgba(21,143,129,0.28),
        0 12px 24px -8px rgba(0,0,0,0.18);
}
.phone::before {
    content: '';
    position: absolute; z-index: 2;
    top: 16px; left: 50%; transform: translateX(-50%);
    width: 31%; height: 18px;
    background: #000; border-radius: var(--r-full);
}
.phone::after {
    content: '';
    position: absolute;
    top: 22%; right: -3px;
    width: 3px; height: 12%;
    background: #2E3436; border-radius: 0 2px 2px 0;
}
.phone-screen {
    width: 100%; height: 100%;
    border-radius: 29px; overflow: hidden;
    background: #F2F2F2;
}
.phone-screen img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top;
    border-radius: 0; box-shadow: none;
    transition: object-position 4s ease-in-out;
}
.phone:hover .phone-screen img { object-position: bottom; }
@media (prefers-reduced-motion: reduce) { .phone-screen img { transition: none; } }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testi-section { padding: clamp(44px,6vw,72px) 0; background: var(--bg); }
.testi-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
    margin-top: clamp(24px,4vw,40px);
}
.testi-card {
    background: var(--bg-2); border-radius: var(--r-xl);
    padding: clamp(24px,3vw,32px);
    border: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 16px;
    transition: transform var(--ease), box-shadow var(--ease);
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testi-stars { color: #F59E0B; font-size: .95rem; letter-spacing: 2px; }
.testi-text {
    font-size: clamp(.88rem,1.4vw,.97rem); color: var(--text);
    line-height: 1.65; font-weight: 500; flex: 1;
}
.testi-text strong { font-weight: 700; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
    width: 38px; height: 38px; min-width: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700; font-family: 'Manrope', sans-serif;
}
.av1 { background: #E8F8F6; color: #158F81; }
.av2 { background: #F0FBE8; color: #5BA82E; }
.av3 { background: #EEEEEE; color: #43545B; }
.testi-name { font-size: .85rem; font-weight: 700; color: var(--text); }
.testi-loc { font-size: .75rem; color: var(--text-3); margin-top: 2px; }

/* ================================================================
   FINAL CTA
   ================================================================ */
.cta-section { padding: clamp(44px,6vw,72px) 0; background: var(--bg); }
.cta-box {
    background: linear-gradient(135deg, var(--brand-xl) 0%, var(--brand-light) 100%);
    border-radius: var(--r-xl); border: 1px solid rgba(28,170,154,0.15);
    padding: clamp(36px,5vw,64px) clamp(28px,4vw,60px);
    text-align: center;
}
.cta-title {
    font-size: clamp(1.42rem,2.7vw,2rem); font-weight: 800;
    color: var(--text); margin-bottom: 12px; letter-spacing: -.02em;
}
.cta-sub {
    font-size: clamp(.92rem,1.5vw,1.02rem); color: var(--text-2);
    max-width: 480px; margin: 0 auto 28px; font-weight: 500; line-height: 1.6;
}

/* ================================================================
   PRE-FOOTER & FOOTER
   ================================================================ */
.pre-footer { padding: clamp(20px,4vw,40px) 0; background: var(--bg); }
.doleb-hero-image { text-align: center; }
.doleb-hero-image img { max-width:100%; max-height:280px; width:auto; margin:0 auto; border-radius:var(--r-xl); object-fit:cover; }
@media(max-width:640px){ .doleb-hero-image img { max-height:160px; } }

footer { padding: clamp(32px,5vw,56px) 0 clamp(24px,4vw,40px); background: var(--bg); border-top: 1px solid var(--border); }
.footer-content { display:flex; gap:clamp(32px,5vw,80px); margin-bottom:clamp(24px,4vw,40px); flex-wrap:wrap; }
.footer-column { flex:1; min-width:120px; }
.footer-title { font-family:'Manrope',sans-serif; font-size:.88rem; font-weight:700; color:var(--text); margin-bottom:16px; text-transform:uppercase; letter-spacing:.04em; }
.footer-links { display:flex; flex-direction:column; gap:10px; }
.footer-links a { font-size:.88rem; color:var(--text-2); transition:color var(--ease); }
.footer-links a:hover { color:var(--brand); }
.social-mobile-only { display:none; }
.footer-grants { display:flex; justify-content:center; margin-bottom:clamp(20px,3vw,32px); }
.footer-grants a { opacity:.85; transition:opacity var(--ease); }
.footer-grants a:hover { opacity:1; }
.footer-grants img { width:200px; height:auto; margin:0 auto; }
@media(max-width:640px){
    .footer-grants { margin-bottom:32px; padding-bottom:8px; }
    .footer-grants img { width:160px; }
    .copyright { padding-top:28px; }
}
.copyright { text-align:center; font-size:.8rem; color:var(--text-3); padding-top:clamp(20px,3vw,32px); border-top:1px solid var(--border); }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.js-loaded .reveal { opacity:0; transform:translateY(20px); transition:opacity .5s ease, transform .5s ease; transition-delay:var(--reveal-delay,0s); will-change:transform,opacity; }
.js-loaded .reveal.visible { opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion:reduce) { .reveal { opacity:1; transform:none; transition:none; } }

/* ================================================================
   FAQ PAGE
   ================================================================ */
.faq-section { padding:clamp(32px,6vw,64px) 0; }
.faq-container { max-width:740px; margin:0 auto; }
.faq-item { margin-bottom:10px; border-radius:var(--r-md); overflow:hidden; border:1px solid var(--border); background:var(--bg); }
.faq-heading { font-size:inherit; font-weight:inherit; }
.faq-question { display:block; width:100%; border:none; text-align:start; font-family:inherit; color:var(--text); background:var(--bg-2); padding-block:18px; padding-inline:20px 52px; font-size:1rem; font-weight:600; cursor:pointer; position:relative; transition:background var(--ease); min-height:44px; }
.faq-question:hover { background:var(--brand-xl); }
.faq-question::after { content:'+'; position:absolute; inset-inline-end:18px; top:50%; transform:translateY(-50%); font-size:1.4rem; color:var(--brand); font-weight:400; line-height:1; }
.faq-item.active .faq-question::after { content:'−'; }
.faq-answer { padding:0 20px; max-height:0; overflow:hidden; transition:max-height .3s ease,padding .3s ease; font-size:.95rem; color:var(--text-2); line-height:1.7; }
.faq-item.active .faq-answer { padding:16px 20px 20px; max-height:600px; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-section { padding:clamp(32px,6vw,64px) 0; }
.contact-container { max-width:680px; margin:0 auto; }
.contact-info { text-align:center; }
.contact-intro { font-size:1rem; line-height:1.7; color:var(--text-2); margin-bottom:28px; }
.contact-methods { display:flex; flex-direction:column; align-items:center; gap:20px; margin-top:24px; }
.contact-method { text-align:center; }
.contact-method h3 { font-size:1.1rem; font-weight:600; margin-bottom:6px; display:flex; align-items:center; justify-content:center; gap:8px; }

/* ================================================================
   ABOUT / MISSION
   ================================================================ */
.about-hero { padding:clamp(32px,6vw,64px) 0; }
.about-hero .s-title { font-size:clamp(1.6rem,3.5vw,2.55rem); text-align:center; margin-bottom:32px; }
.section-title { font-size:clamp(1.6rem,3.5vw,2.4rem); font-weight:700; text-align:center; color:var(--text); margin-bottom:clamp(24px,4vw,40px); line-height:1.2; font-family:'Manrope',sans-serif; letter-spacing:-.018em; }
.about-content p { font-size:clamp(.95rem,1.8vw,1.1rem); line-height:1.8; color:var(--text-2); max-width:760px; margin:0 auto 28px; padding:0 clamp(0px,3vw,60px); }
.about-content h2 { font-family:'Manrope',sans-serif; font-size:clamp(1.3rem,2.7vw,1.85rem); font-weight:700; text-align:center; color:var(--text); margin:clamp(32px,5vw,56px) auto 24px; max-width:760px; letter-spacing:-.018em; }
.effortless-text { color:var(--brand); }

/* Terms / Privacy */
.terms-section,.privacy-section { padding:clamp(32px,6vw,64px) 0; }
.terms-container,.privacy-container { max-width:860px; margin:0 auto; }
.terms-content,.privacy-content { background:var(--bg); padding:clamp(20px,3vw,36px); border-radius:var(--r-lg); border:1px solid var(--border); }
.terms-last-updated,.privacy-last-updated { color:var(--text-3); font-style:italic; font-size:.88rem; margin-bottom:28px; }
.terms-content h2,.privacy-content h2 { font-size:1.25rem; font-weight:700; text-align:start; margin:28px 0 12px; }
.terms-content p,.privacy-content p { font-size:.95rem; line-height:1.7; color:var(--text-2); margin-bottom:16px; }
.privacy-content ul { padding-inline-start:20px; margin-bottom:16px; }
.privacy-content li { font-size:.95rem; line-height:1.7; color:var(--text-2); margin-bottom:8px; }

/* ================================================================
   RESPONSIVE — TABLET ≤ 900px
   ================================================================ */
@media (max-width: 900px) {
    .hamburger { display:flex; }
    .nav-links, .nav-buttons { display:none; }
    .why-grid { grid-template-columns:1fr; gap:14px; }
    .feat-row, .feat-row-flip { grid-template-columns:1fr; }
    .feat-row-flip > .feat-img { order:0; }
    .feat-img img { border-radius:var(--r-lg); }
    .phone { width: min(100%, 190px); padding: 7px; border-radius: 32px; }
    .phone::before { top: 14px; height: 16px; }
    .phone-screen { border-radius: 26px; }
    .testi-grid { grid-template-columns:1fr; max-width:520px; margin-inline:auto; }
    .footer-column:last-child { display:none; }
    .social-mobile-only { display:list-item; }
}

/* ================================================================
   RESPONSIVE — MOBILE ≤ 600px
   ================================================================ */
@media (max-width: 600px) {
    .hero-title { letter-spacing:-.015em; }

    /* Buttons: smaller padding, smaller text on mobile */
    .btn-cta {
        padding: 11px 24px;
        font-size: .9rem;
        min-height: 42px;
        width: 100%;
        max-width: 300px;
    }
    .btn-cta-sm {
        padding: 9px 20px;
        font-size: .85rem;
        min-height: 38px;
        width: auto;
        max-width: none;
    }
    .btn-nav-login, .btn-nav-cta { font-size: .82rem; padding: 7px 14px; }

    .why-grid { gap:12px; }
    .cta-box { padding:32px 20px; }
    .footer-content { gap:20px; }
    .footer-column { min-width:120px; }
}

/* ================================================================
   BLOG — LIST PAGE
   ================================================================ */
.blog-hero { padding: clamp(44px,6vw,72px) 0 clamp(20px,3vw,32px); text-align: center; background: var(--bg); }
.blog-hero-title { font-size: clamp(1.65rem,3.5vw,2.55rem); font-weight: 800; letter-spacing: -.025em; color: var(--text); margin-bottom: 12px; }
.blog-hero-sub { font-size: clamp(.95rem,1.6vw,1.08rem); color: var(--text-2); font-weight: 500; }

.blog-section { padding: clamp(32px,5vw,56px) 0 clamp(44px,7vw,88px); background: var(--bg); }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: var(--r-xl); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform var(--ease), box-shadow var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img-link { display: block; }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-body { padding: clamp(20px,2.5vw,28px); display: flex; flex-direction: column; flex: 1; gap: 10px; }
.blog-card-date { font-size: .75rem; color: var(--text-3); font-weight: 500; }
.blog-card-title { font-size: clamp(1rem,1.8vw,1.18rem); font-weight: 700; color: var(--text); line-height: 1.3; }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--brand); }
.blog-card-desc { font-size: .88rem; color: var(--text-2); line-height: 1.6; flex: 1; }
.blog-card-link { font-size: .88rem; font-weight: 700; color: var(--brand); margin-top: auto; }
.blog-card-link:hover { color: var(--brand-dark); }
.blog-empty { text-align: center; padding: 60px 0; color: var(--text-3); font-size: 1rem; }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ================================================================
   BLOG — POST PAGE
   ================================================================ */
.post-section { padding: clamp(32px,5vw,56px) 0 clamp(44px,7vw,88px); background: var(--bg); }
.post-container { max-width: 740px; margin: 0 auto; }
.post-back { font-size: .88rem; font-weight: 600; color: var(--text-2); display: inline-block; margin-bottom: 20px; }
.post-back:hover { color: var(--brand); }
.post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.post-date { font-size: .78rem; color: var(--text-3); font-weight: 500; }
.post-reading-time { font-size: .78rem; color: var(--text-3); font-weight: 500; }
.post-reading-time::before { content: '·'; margin-inline-end: 12px; }
.post-title { font-size: clamp(1.5rem,3.2vw,2.2rem); font-weight: 800; color: var(--text); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 16px; }
.post-desc { font-size: clamp(.97rem,1.6vw,1.08rem); color: var(--text-2); line-height: 1.65; font-weight: 500; margin-bottom: 28px; }
.post-cover { width: 100%; border-radius: var(--r-xl); margin-bottom: 36px; object-fit: cover; max-height: 420px; }

.post-body { font-size: clamp(.95rem,1.5vw,1.05rem); color: var(--text); line-height: 1.8; }
.post-body h2 { font-size: clamp(1.1rem,2.2vw,1.45rem); font-weight: 700; margin: 40px 0 16px; color: var(--text); letter-spacing: -.018em; }
.post-body h3 { font-size: clamp(1.05rem,2vw,1.25rem); font-weight: 700; margin: 28px 0 12px; color: var(--text); }
.post-body p { margin-bottom: 20px; color: var(--text-2); }
.post-body ul, .post-body ol { padding-inline-start: 24px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.post-body li { color: var(--text-2); }
.post-body strong { font-weight: 700; color: var(--text); }
.post-body a { color: var(--brand); text-decoration: underline; }
.post-body a:hover { color: var(--brand-dark); }
.post-body blockquote { border-inline-start: 3px solid var(--brand); padding: 12px 20px; margin: 24px 0; background: var(--brand-xl); border-start-start-radius: 0; border-end-start-radius: 0; border-start-end-radius: var(--r-sm); border-end-end-radius: var(--r-sm); color: var(--text-2); font-style: italic; }
.post-body code { background: var(--bg-2); padding: 2px 6px; border-radius: 4px; font-size: .88em; font-family: monospace; }
.post-body hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }

.post-cta-box { margin-top: 48px; background: linear-gradient(135deg, var(--brand-xl) 0%, var(--brand-light) 100%); border: 1px solid rgba(28,170,154,0.15); border-radius: var(--r-xl); padding: clamp(28px,4vw,44px); text-align: center; }
.post-cta-text { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 20px; }

/* ================================================================
   ARABIC / RTL
   ================================================================ */
.flip-rtl { display:inline-block; }
[dir="rtl"] .flip-rtl { transform:scaleX(-1); }

:lang(ar) body,
:lang(ar) .btn-cta { font-family:'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4,
:lang(ar) .why-stat, :lang(ar) .footer-title, :lang(ar) .testi-avatar,
:lang(ar) .section-title, :lang(ar) .about-content h2 {
    font-family:'IBM Plex Sans Arabic', 'Manrope', 'Inter', sans-serif;
}
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4 { line-height:1.4; }
:lang(ar) .hero-title { line-height:1.35; }
:lang(ar) .why-stat { line-height:1.2; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4,
:lang(ar) .hero-title, :lang(ar) .s-title, :lang(ar) .feat-title, :lang(ar) .cta-title,
:lang(ar) .section-title, :lang(ar) .blog-hero-title, :lang(ar) .post-title,
:lang(ar) .feat-chip, :lang(ar) .footer-title { letter-spacing:0; }
:lang(ar) .terms-last-updated, :lang(ar) .privacy-last-updated { font-style:normal; }
