/* ============================================================
   منصة متاجر — طبقة التصميم الجديدة (تعمل بدون بناء Vite)
   تُحمَّل بعد التنسيقات المُجمّعة فتتجاوزها.
   اتجاه: احترافي نظيف + لمسات فاخرة — هوية خضراء (نظام تصميم متاجر)
   ============================================================ */

:root {
    /* رامب العلامة الأخضر — مطابق لـ docs/desigen/styles.css */
    --mt-primary: #039855;       /* brand-600 */
    --mt-primary-600: #12b76a;   /* brand-500 (hover) */
    --mt-primary-500: #32d583;   /* brand-400 */
    --mt-indigo: #027a48;        /* brand-700 (لمسة غامقة) */
    --mt-primary-050: #ecfdf3;   /* brand-50 */
    --mt-primary-100: #d1fadf;   /* brand-100 */
    --mt-primary-200: #a6f4c5;   /* brand-200 */

    --mt-ink: #101828;
    --mt-ink-2: #475467;
    --mt-muted: #667085;
    --mt-line: #e7eaee;
    --mt-line-2: #eef0f3;
    --mt-page: #f4f5f7;
    --mt-surface: #ffffff;

    --mt-green: #12b76a;
    --mt-green-050: #e7f8ef;
    --mt-amber: #b54708;
    --mt-amber-050: #fef3e2;
    --mt-teal: #0d9488;
    --mt-rose: #f04438;

    --mt-grad: linear-gradient(135deg, #12b76a 0%, #039855 55%, #027a48 100%);
    --mt-grad-soft: linear-gradient(135deg, #32d583 0%, #12b76a 100%);
    --mt-grad-dark: linear-gradient(135deg, #05291d 0%, #05603a 55%, #027a48 100%);

    --mt-shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
    --mt-shadow-sm: 0 2px 8px rgba(16, 24, 40, .06);
    --mt-shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
    --mt-shadow-lg: 0 18px 44px rgba(16, 24, 40, .12);
    --mt-shadow-xl: 0 28px 64px rgba(16, 24, 40, .18);
    --mt-glow: 0 14px 32px rgba(18, 183, 106, .28);

    --mt-r-sm: 10px;
    --mt-r: 14px;
    --mt-r-lg: 20px;
    --mt-r-xl: 28px;

    --mt-t: .22s cubic-bezier(.4, 0, .2, 1);
}

* { letter-spacing: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: "IBM Plex Sans Arabic", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif !important;
    background: var(--mt-page) !important;
    color: var(--mt-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(680px circle at 88% -4%, rgba(18, 183, 106, .10), transparent 60%),
        radial-gradient(560px circle at 2% 2%, rgba(3, 152, 85, .07), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, var(--mt-page) 360px);
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1320px; padding-inline: 1.5rem; }
@media (min-width: 1400px) { .container { max-width: 1360px; } }
::selection { background: var(--mt-primary-200); color: var(--mt-ink); }

/* أداة العرض الكامل (تكسر حدود الحاوية للأشرطة) */
.full-bleed { width: 100%; }
.landing-main { display: block; width: 100%; overflow-x: clip; }
.landing-main > section:first-child { margin-top: 0; }

* { scrollbar-width: thin; scrollbar-color: var(--mt-primary-200) transparent; }
*::-webkit-scrollbar { height: 8px; width: 8px; }
*::-webkit-scrollbar-thumb { background: var(--mt-primary-200); border-radius: 999px; }

/* ===== الهيدر ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: background var(--mt-t), box-shadow var(--mt-t), border-color var(--mt-t);
    background: rgba(255, 255, 255, .72);
    border-bottom: 1px solid transparent;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, .92);
    border-bottom-color: var(--mt-line);
    box-shadow: 0 6px 24px rgba(27, 21, 48, .07);
}
.site-header .navbar { padding-block: .7rem; }

.navbar-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.35rem; color: var(--mt-ink); }
.brand-mark {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    color: #fff; font-size: 1.1rem; background: var(--mt-grad); box-shadow: var(--mt-glow);
}
.brand-accent { color: var(--mt-primary-600); }

.nav-main { gap: .15rem; }
.nav-main .nav-link {
    display: inline-flex; align-items: center; gap: .4rem;
    color: #4a4566; font-weight: 600; font-size: .95rem; border-radius: 10px;
    padding: .5rem .85rem !important; position: relative;
    transition: color var(--mt-t), background var(--mt-t);
}
.nav-main .nav-link i { font-size: 1.05rem; opacity: .8; }
.nav-main .nav-link:hover, .nav-main .nav-link:focus { color: var(--mt-primary-600); background: var(--mt-primary-050); }
.nav-main .nav-link.active { color: var(--mt-primary); background: var(--mt-primary-050); }
.nav-main .nav-link.active::after {
    content: ""; position: absolute; inset-inline: .85rem; bottom: .15rem; height: 2px;
    border-radius: 2px; background: var(--mt-grad);
}
.nav-cta { gap: .5rem; }
.nav-cta .nav-link { display: inline-flex; align-items: center; gap: .35rem; color: #4a4566; font-weight: 600; border-radius: 10px; padding: .5rem .7rem !important; }
.nav-cta .nav-link:hover { color: var(--mt-primary-600); background: var(--mt-primary-050); }

.btn-ghost { background: transparent; border: 1.5px solid var(--mt-line); color: var(--mt-ink-2); }
.btn-ghost:hover { background: var(--mt-primary-050); border-color: var(--mt-primary-200); color: var(--mt-primary-600); }

.navbar-toggler { border-color: var(--mt-line); padding: .35rem .55rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem var(--mt-primary-100); }

@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none;
        flex-basis: 100%;
        margin-top: .75rem; padding: .85rem; border-radius: var(--mt-r);
        background: #fff; border: 1px solid var(--mt-line); box-shadow: var(--mt-shadow-md);
    }
    .navbar-collapse.is-open { display: block; animation: mt-rise .25s ease both; }
    .nav-main { flex-direction: column; gap: .1rem; margin-bottom: .5rem; }
    .nav-main .nav-link { width: 100%; }
    .nav-cta { flex-direction: column; gap: .5rem; padding-top: .65rem; border-top: 1px solid var(--mt-line); align-items: stretch !important; }
    .nav-cta .btn, .nav-cta form, .nav-cta .btn-sm, .nav-cta .nav-item { width: 100%; }
    .nav-cta .nav-link { width: 100%; }
}

/* الأزرار */
.btn {
    border-radius: 10px; font-weight: 700; min-height: 42px; padding-inline: 1.1rem;
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    transition: transform var(--mt-t), box-shadow var(--mt-t), background var(--mt-t), filter var(--mt-t);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 50px; font-size: 1rem; padding-inline: 1.5rem; }
.btn-sm { min-height: 36px; }
.btn-primary { color: #fff; background: var(--mt-grad); border: 0; box-shadow: var(--mt-glow); }
.btn-primary:hover, .btn-primary:focus {
    color: #fff; background: var(--mt-grad); filter: brightness(1.06);
    box-shadow: 0 18px 40px rgba(18, 183, 106, .36); transform: translateY(-2px);
}
.btn-outline-primary { color: var(--mt-primary-600); border: 1.5px solid var(--mt-primary-200); background: #fff; }
.btn-outline-primary:hover { background: var(--mt-primary-050); border-color: var(--mt-primary-500); color: var(--mt-primary); }
.btn-light { background: #fff; border: 1px solid var(--mt-line); color: var(--mt-ink); box-shadow: var(--mt-shadow-sm); }
.btn-light:hover { background: #fff; border-color: var(--mt-primary-200); transform: translateY(-2px); box-shadow: var(--mt-shadow-md); }
.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; transform: translateY(-2px); }
.btn-success { background: var(--mt-green); border-color: var(--mt-green); }

/* البطاقات والأسطح */
.card, .surface { background: var(--mt-surface); border: 1px solid var(--mt-line); border-radius: var(--mt-r); box-shadow: var(--mt-shadow-sm); }

.section-title, .page-head, .detail-hero__top { display: flex; gap: 1rem; justify-content: space-between; }
.section-title { align-items: flex-end; margin-bottom: 1rem; }
.section-title h2, .section-title h3 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.section-title p, .page-head p, .detail-hero p { color: var(--mt-muted); line-height: 1.75; }

.page-head {
    align-items: flex-end; margin-bottom: 1.25rem; padding: 1.4rem 1.5rem; background: var(--mt-surface);
    border: 1px solid var(--mt-line); border-radius: var(--mt-r); box-shadow: var(--mt-shadow-sm);
    position: relative; overflow: hidden;
}
.page-head::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--mt-grad); }
.page-head h1, .page-head h2, .page-head h3, .page-head h4,
.detail-hero h1, .detail-hero h2, .detail-hero h3, .detail-hero h4 { margin: 0; font-weight: 800; }
.page-head h1, .page-head h2, .page-head h3, .page-head h4 { font-size: 1.5rem; }
.detail-hero h1, .detail-hero h2, .detail-hero h3, .detail-hero h4 { font-size: 1.6rem; }

.page-actions, .meta-row { display: flex; flex-wrap: wrap; align-items: center; }
.page-actions { gap: .6rem; }
.meta-row { gap: .45rem; }

.catalog-grid, .meta-grid { display: grid; gap: 1.1rem; }
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.meta-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }

.listing-card {
    display: block; height: 100%; padding: 1.25rem; color: var(--mt-ink); background: var(--mt-surface);
    border: 1px solid var(--mt-line); border-radius: var(--mt-r); box-shadow: var(--mt-shadow-xs);
    transition: transform var(--mt-t), border-color var(--mt-t), box-shadow var(--mt-t);
}
.listing-card:hover { transform: translateY(-4px); border-color: var(--mt-primary-200); box-shadow: var(--mt-shadow-lg); }
.listing-card__top { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: .85rem; }
.listing-card__icon {
    width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 12px;
    color: var(--mt-primary-600); background: var(--mt-primary-050); font-size: 1.3rem; font-weight: 800;
}
.listing-card h2, .listing-card h3, .listing-card h4, .listing-card h5, .listing-card h6 { margin: 0 0 .2rem; font-size: 1.05rem; font-weight: 800; }
.listing-card p { margin: 0 0 .85rem; color: var(--mt-muted); line-height: 1.7; font-size: .92rem; }

.request-list { display: grid; gap: .85rem; }
.request-item {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem;
    color: var(--mt-ink); background: var(--mt-surface); border: 1px solid var(--mt-line);
    border-radius: var(--mt-r); box-shadow: var(--mt-shadow-xs);
    transition: border-color var(--mt-t), box-shadow var(--mt-t), transform var(--mt-t);
}
.request-item:hover { border-color: var(--mt-primary-200); box-shadow: var(--mt-shadow-md); transform: translateY(-2px); }
.request-item h3 { margin: 0 0 .3rem; font-size: 1rem; font-weight: 800; }
.request-item p { margin: 0; color: var(--mt-muted); line-height: 1.6; font-size: .9rem; }
.request-meta { flex: 0 0 auto; text-align: left; color: var(--mt-primary-600); font-weight: 800; }

.meta-box { padding: 1rem; background: var(--mt-line-2); border: 1px solid var(--mt-line); border-radius: var(--mt-r-sm); }
.meta-box span { display: block; color: var(--mt-muted); font-size: .8rem; margin-bottom: .25rem; }
.meta-box strong { font-size: .95rem; }
.meta-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.detail-hero {
    padding: 1.6rem; background: var(--mt-surface); border: 1px solid var(--mt-line); border-radius: var(--mt-r);
    box-shadow: var(--mt-shadow-sm); margin-bottom: 1.25rem;
}
.detail-hero__top { align-items: flex-start; margin-bottom: .8rem; }

/* النماذج */
.form-shell, .auth-panel {
    margin-inline: auto; background: var(--mt-surface); border: 1px solid var(--mt-line);
    border-radius: var(--mt-r-lg); box-shadow: var(--mt-shadow-lg); overflow: hidden;
}
.form-shell { max-width: 880px; }
.auth-panel { max-width: 480px; }
.auth-panel--wide { max-width: 720px; }
.form-shell__head, .auth-panel__head { padding: 1.75rem; color: #fff; position: relative; overflow: hidden; }
.form-shell__head { background: var(--mt-grad-dark); }
.auth-panel__head { background: var(--mt-grad-dark); }
.form-shell__head::after, .auth-panel__head::after {
    content: ""; position: absolute; inset-block: -40%; inset-inline-end: -10%; width: 280px;
    background: radial-gradient(circle, rgba(50, 213, 131, .45), transparent 70%); pointer-events: none;
}
.form-shell__head h1, .form-shell__head h2, .form-shell__head h3, .form-shell__head h4,
.auth-panel h1, .auth-panel h2, .auth-panel h3, .auth-panel h4 { margin: 0; font-weight: 800; position: relative; }
.form-shell__head h1, .form-shell__head h2, .form-shell__head h3, .form-shell__head h4 { font-size: 1.5rem; }
.auth-panel h1, .auth-panel h2, .auth-panel h3, .auth-panel h4 { font-size: 1.4rem; }
.form-shell__head p { color: #d6cdf5; margin: .4rem 0 0; line-height: 1.75; position: relative; }
.form-shell__body, .auth-panel__body { padding: 1.75rem; }
.form-label { color: var(--mt-ink-2); font-weight: 700; font-size: .9rem; margin-bottom: .4rem; }
.form-control, .form-select {
    min-height: 46px; border-radius: 10px; border: 1.5px solid var(--mt-line); background: #fff;
    transition: border-color var(--mt-t), box-shadow var(--mt-t);
}
textarea.form-control { min-height: 120px; }
.form-control:focus, .form-select:focus { border-color: var(--mt-primary-500); box-shadow: 0 0 0 .25rem var(--mt-primary-100); }
.form-text { color: var(--mt-muted); }
.form-check-input { border-color: #b6b1cf; }
.form-check-input:checked { background-color: var(--mt-primary-600); border-color: var(--mt-primary-600); }
.form-check-input:focus { box-shadow: 0 0 0 .25rem var(--mt-primary-100); }

/* الجداول */
.table { --bs-table-bg: #fff; border: 1px solid var(--mt-line); border-radius: var(--mt-r); overflow: hidden; margin-bottom: 0; }
.table thead th { background: var(--mt-primary-050); color: var(--mt-ink-2); border-bottom: 1px solid var(--mt-line); font-size: .84rem; font-weight: 800; }
.table td, .table th { padding: .95rem; vertical-align: middle; }
.table tbody tr { transition: background var(--mt-t); }
.table tbody tr:hover { background: var(--mt-primary-050); }

/* مساعدات */
.empty-state { padding: 1.5rem; text-align: center; color: var(--mt-muted); background: var(--mt-line-2); border: 1px dashed var(--mt-primary-200); border-radius: var(--mt-r); }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .7rem; border-radius: 999px; background: var(--mt-primary-050); color: var(--mt-primary); font-weight: 700; font-size: .78rem; }
.badge-soft { background: var(--mt-primary-050); color: var(--mt-primary-600); border: 1px solid var(--mt-primary-200); }
.badge-soft-success { background: var(--mt-green-050); color: #05966a; border: 1px solid #a7e8cf; }
.badge-soft-warning { background: var(--mt-amber-050); color: var(--mt-amber); border: 1px solid #fed7aa; }
.badge-soft-neutral { background: var(--mt-line-2); color: var(--mt-ink-2); border: 1px solid var(--mt-line); }
.price-row { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed var(--mt-line); }
.app-alert { border-radius: var(--mt-r-sm); border: 1px solid transparent; box-shadow: var(--mt-shadow-xs); }
.receipt-thumb { max-height: 150px; object-fit: cover; width: 100%; border-radius: var(--mt-r-sm); }
.request-image { max-height: 240px; width: auto; border-radius: var(--mt-r-sm); }
.cost-panel { max-width: 380px; }
.bid-panel { max-width: 420px; width: 100%; }
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.error-card { max-width: 520px; }

/* ===== الفوتر ===== */
.site-footer {
    margin-top: 4rem;
    padding-block: 3.5rem 0;
    background: var(--mt-grad-dark);
    color: #c7c0e0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: ""; position: absolute; inset-block-start: -40%; inset-inline-start: -5%;
    width: 460px; height: 460px; background: radial-gradient(circle, rgba(18, 183, 106, .35), transparent 70%); pointer-events: none;
}
.site-footer::after {
    content: ""; position: absolute; inset-block-start: -30%; inset-inline-end: -8%;
    width: 380px; height: 380px; background: radial-gradient(circle, rgba(3, 152, 85, .28), transparent 70%); pointer-events: none;
}
.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}
.footer-brand .footer-logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.4rem; color: #fff; margin-bottom: 1rem; }
.footer-brand p { color: #b9b2d4; line-height: 1.9; max-width: 38ch; margin: 0 0 1.25rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
    width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #d1fadf;
    font-size: 1.05rem; transition: transform var(--mt-t), background var(--mt-t), color var(--mt-t);
}
.footer-social a:hover { background: var(--mt-grad); border-color: transparent; color: #fff; transform: translateY(-3px); }

.footer-col h6 { color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: 1.1rem; position: relative; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-col a { color: #b9b2d4; transition: color var(--mt-t), padding-inline-start var(--mt-t); }
.footer-col a:hover { color: #fff; padding-inline-start: .25rem; }
.footer-contact ul { gap: .85rem; }
.footer-contact li { display: flex; align-items: center; gap: .55rem; color: #b9b2d4; }
.footer-contact li .bi { color: #6ce9a6; }
.footer-badge {
    display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.1rem;
    padding: .5rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 700;
    background: rgba(18, 183, 106, .18); border: 1px solid rgba(166, 244, 197, .35); color: #d1fadf;
}
.footer-bottom {
    position: relative;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem;
    padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1);
    color: #9890b8; font-size: .9rem;
}

@media (max-width: 991.98px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .site-footer { padding-top: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== الهيرو (شريط بعرض كامل) ===== */
.home-shell { display: grid; gap: 1.25rem; }
.hero-band {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding-block: clamp(2.5rem, 6vw, 5rem);
    background:
        radial-gradient(900px circle at 85% 15%, rgba(50, 213, 131, .5), transparent 55%),
        radial-gradient(760px circle at 8% 95%, rgba(3, 152, 85, .42), transparent 55%),
        var(--mt-grad-dark);
}
.hero-band::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 72% 28%, #000, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 72% 28%, #000, transparent 78%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
    min-height: clamp(420px, 52vh, 540px);
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .9fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}
.home-hero-v2__copy { width: 100%; max-width: 640px; position: relative; z-index: 2; }
.hero-band h1 { margin: 1.1rem 0; max-width: 14ch; font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
.hero-band .home-hero-v2__copy > p { max-width: 54ch; color: #d8d2ee; font-size: 1.08rem; line-height: 1.85; }

/* العمود البصري في الهيرو */
.hero-aside { position: relative; z-index: 2; display: grid; gap: 1rem; width: 100%; }
.hero-live {
    padding: 1.6rem; border-radius: var(--mt-r-lg); color: #fff;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(16px); box-shadow: 0 24px 50px rgba(2, 8, 23, .3);
}
.hero-live__tag { display: inline-flex; align-items: center; gap: .45rem; color: #d1fadf; font-weight: 700; font-size: .85rem; }
.hero-live__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: mt-pulse 2s infinite; }
.hero-live strong { display: block; margin: .4rem 0 .15rem; font-size: 2.8rem; line-height: 1; font-weight: 800; color: #fff; }
.hero-live small { display: block; color: #c7c0e0; }
.hero-metrics { display: grid; gap: .75rem; }
.hero-metric {
    display: flex; align-items: center; gap: .85rem; padding: .9rem 1.1rem; border-radius: var(--mt-r);
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
.hero-metric__icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(18, 183, 106, .35); border: 1px solid rgba(166, 244, 197, .4); color: #d1fadf; font-size: 1.15rem; }
.hero-metric strong { display: block; color: #fff; font-size: 1.25rem; line-height: 1; font-weight: 800; }
.hero-metric small { display: block; color: #b9b2d4; margin-top: .2rem; }
.hero-trust {
    display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 1.75rem 0 0; padding: 0;
}
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; color: #cfc8e8; font-weight: 600; font-size: .92rem; }
.hero-trust li .bi { color: #34d399; font-size: 1.05rem; }
.home-kicker-v2, .section-eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; }
.home-kicker-v2 {
    min-height: 40px; padding: .5rem .9rem; border-radius: 999px; color: #d1fadf;
    background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); font-size: .9rem;
}
.section-eyebrow { margin-bottom: .5rem; color: var(--mt-primary-600); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.home-hero-v2 h1 { margin: 1.1rem 0; max-width: 680px; font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.home-hero-v2 h1 .grad-text, .grad-text {
    background: linear-gradient(120deg, #a6f4c5, #6ce9a6, #12b76a);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-hero-v2 p { max-width: 620px; color: #d8d2ee; font-size: 1.1rem; line-height: 1.85; }
.home-search {
    width: min(640px, 100%); min-height: 60px; display: grid; grid-template-columns: auto 1fr auto;
    align-items: center; gap: .5rem; margin-top: 1.5rem; padding: .4rem; border-radius: 999px;
    background: rgba(255, 255, 255, .97); border: 1px solid rgba(255, 255, 255, .3);
    box-shadow: 0 18px 40px rgba(2, 8, 23, .28); color: var(--mt-ink);
}
.home-search i { padding-inline: 1rem .15rem; color: var(--mt-primary-600); font-size: 1.15rem; }
.home-search input { min-width: 0; border: 0; outline: 0; background: transparent; font-weight: 600; color: var(--mt-ink); }
.home-search input::placeholder { color: #8c88a3; }
.home-search button {
    min-height: 48px; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--mt-grad); color: #fff;
    font-weight: 800; box-shadow: var(--mt-glow); transition: filter var(--mt-t), transform var(--mt-t);
}
.home-search button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.home-actions-v2 { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

.home-live-card {
    position: absolute; inset-inline-end: clamp(1rem, 4vw, 3.5rem); inset-block-start: 50%; transform: translateY(-50%);
    z-index: 2; width: min(230px, calc(100% - 2rem)); padding: 1.4rem; border-radius: var(--mt-r-lg);
    background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(16px); box-shadow: 0 24px 50px rgba(2, 8, 23, .32);
}
.home-live-card span { display: inline-flex; align-items: center; gap: .4rem; color: #d1fadf; font-weight: 700; font-size: .85rem; }
.home-live-card span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: mt-pulse 2s infinite; }
.home-live-card strong { display: block; margin: .35rem 0 .1rem; font-size: 2.4rem; line-height: 1; color: #fff; font-weight: 800; }
.home-live-card small { display: block; color: #c7c0e0; }
@keyframes mt-pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); }
    70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* الإحصائيات */
.home-stats-row, .journey-grid, .provider-grid, .board-columns { display: grid; gap: 1.1rem; }
.home-stats-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-stat-v2, .journey-card, .home-panel, .provider-card, .board-column { border-radius: var(--mt-r); background: var(--mt-surface); border: 1px solid var(--mt-line); box-shadow: var(--mt-shadow-xs); }
.home-stat-v2 { padding: 1.4rem; position: relative; overflow: hidden; transition: transform var(--mt-t), box-shadow var(--mt-t), border-color var(--mt-t); }
.home-stat-v2::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 38px; height: 38px; background: var(--mt-grad); opacity: .12; border-end-end-radius: 100%; }
.home-stat-v2:hover { transform: translateY(-3px); box-shadow: var(--mt-shadow-md); border-color: var(--mt-primary-200); }
.home-stat-v2 span { display: block; color: var(--mt-muted); font-weight: 600; font-size: .9rem; }
.home-stat-v2 strong { display: block; margin-top: .5rem; font-size: 1.9rem; line-height: 1; font-weight: 800; background: var(--mt-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* عناوين الأقسام */
.home-section { margin-top: 3.5rem; }
.home-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.home-section__head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; }
.link-action, .board-links a { display: inline-flex; align-items: center; gap: .25rem; color: var(--mt-primary-600); font-weight: 800; transition: gap var(--mt-t), color var(--mt-t); }
.link-action:hover, .board-links a:hover { color: var(--mt-primary); gap: .5rem; }

/* مسارات العمل */
.journey-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.journey-card { min-height: 200px; display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem; color: var(--mt-ink); position: relative; overflow: hidden; transition: transform var(--mt-t), border-color var(--mt-t), box-shadow var(--mt-t); }
.journey-card::after { content: ""; position: absolute; inset-block-end: -30%; inset-inline-start: -10%; width: 130px; height: 130px; background: radial-gradient(circle, var(--mt-primary-100), transparent 70%); opacity: 0; transition: opacity var(--mt-t); }
.journey-card:hover, .provider-card:hover, .product-mini:hover, .board-item:hover { transform: translateY(-4px); border-color: var(--mt-primary-200); box-shadow: var(--mt-shadow-lg); }
.journey-card:hover::after { opacity: 1; }
.journey-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--mt-grad); font-size: 1.4rem; box-shadow: var(--mt-glow); transition: transform var(--mt-t); }
.journey-card:hover .journey-card__icon { transform: scale(1.08) rotate(-4deg); }
.journey-card strong, .provider-card strong, .product-mini strong, .board-item strong { color: var(--mt-ink); font-weight: 800; font-size: 1.05rem; position: relative; }
.journey-card p { margin: 0; color: var(--mt-muted); line-height: 1.75; position: relative; }

/* تخطيط السوق */
.home-market-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .85fr); gap: 1.1rem; }
.home-panel { padding: 1.5rem; }
.home-panel--accent { background: radial-gradient(500px circle at 100% 0%, rgba(18, 183, 106, .12), transparent 60%), var(--mt-grad-dark); border-color: transparent; color: #fff; }
.home-panel--accent .section-eyebrow { color: #a6f4c5; }
.home-panel--accent h2 { color: #fff; }
.product-strip { display: grid; gap: .85rem; }
.product-mini, .provider-card, .board-item { color: var(--mt-ink); transition: transform var(--mt-t), border-color var(--mt-t), box-shadow var(--mt-t); }
.product-mini { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: 1rem; border: 1px solid var(--mt-line); border-radius: var(--mt-r); background: #fff; }
.product-mini__media, .provider-card__avatar { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--mt-grad); font-weight: 800; font-size: 1.2rem; }
.product-mini__body small, .provider-card small, .board-item small, .board-item span { display: block; color: var(--mt-muted); }
.product-mini__price { color: var(--mt-green); font-weight: 800; white-space: nowrap; font-size: 1.02rem; }
.country-grid, .category-cloud { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }
.country-grid span, .category-cloud span { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .5rem .85rem; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: transform var(--mt-t), background var(--mt-t); }
.home-panel--accent .country-grid span, .home-panel--accent .category-cloud span { background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .2); color: #d1fadf; }
.home-panel--accent .country-grid span:hover, .home-panel--accent .category-cloud span:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.country-grid span { background: #fff; border: 1px solid var(--mt-line); }
.category-cloud span { background: var(--mt-primary-050); border: 1px solid var(--mt-primary-200); color: var(--mt-primary-600); }

/* المزودون */
.provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.provider-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.25rem; }
.provider-card > i.bi-patch-check-fill { color: var(--mt-primary-600); font-size: 1.25rem; }
.provider-card--shipping .provider-card__avatar { background: linear-gradient(135deg, var(--mt-teal), var(--mt-green)); }

/* لوحة الطلبات */
.request-board { padding: 1.75rem; border: 1px solid var(--mt-line); border-radius: var(--mt-r-lg); background: var(--mt-surface); box-shadow: var(--mt-shadow-sm); }
.board-links { display: flex; flex-wrap: wrap; gap: .8rem; }
.board-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.board-column { padding: 1.4rem; background: var(--mt-line-2); border-color: var(--mt-line); }
.board-column h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; font-size: 1.1rem; font-weight: 800; }
.board-column h3 .bi { color: var(--mt-primary-600); }
.board-item { display: grid; gap: .3rem; padding: 1rem; margin-top: .75rem; border-radius: var(--mt-r-sm); background: #fff; border: 1px solid var(--mt-line); }
.board-item span { color: var(--mt-muted); font-size: .88rem; }
.board-item small { color: var(--mt-primary-600); font-weight: 700; }

/* حركة ظهور */
@media (prefers-reduced-motion: no-preference) {
    .home-section, .home-stats-row { animation: mt-rise .6s cubic-bezier(.4, 0, .2, 1) both; }
}
@keyframes mt-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* تجاوب — لوحي */
@media (max-width: 991.98px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2rem; min-height: auto; }
    .home-hero-v2__copy { max-width: 100%; }
    .hero-band h1 { max-width: 18ch; }
    .hero-aside { max-width: 480px; }
    .home-stats-row, .journey-grid, .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-market-layout, .board-columns { grid-template-columns: 1fr; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* تجاوب — جوال */
@media (max-width: 575.98px) {
    .container { padding-inline: 1rem; }
    .hero-band { text-align: center; }
    .hero-inner { text-align: center; }
    .home-hero-v2__copy { width: 100%; max-width: 100%; }
    .home-kicker-v2 { font-size: .8rem; }
    .hero-band h1 { font-size: 2.05rem; line-height: 1.18; margin: .9rem auto; max-width: 100%; }
    .hero-band .home-hero-v2__copy > p { font-size: 1rem; line-height: 1.75; margin-inline: auto; }
    .home-kicker-v2, .home-search { margin-inline: auto; }
    .home-search { grid-template-columns: auto 1fr; border-radius: var(--mt-r); }
    .home-search button { grid-column: 1 / -1; width: 100%; border-radius: var(--mt-r-sm); }
    .home-actions-v2 { justify-content: center; }
    .home-actions-v2 .btn { flex: 1 1 100%; }
    .hero-trust { justify-content: center; }
    .hero-aside { max-width: 100%; margin-inline: auto; text-align: start; }
    .home-stats-row, .journey-grid, .provider-grid { grid-template-columns: 1fr; }
    .home-section { margin-top: 2.5rem; }
    .home-section__head { flex-direction: column; align-items: flex-start; gap: .5rem; }
    .product-mini { grid-template-columns: auto 1fr; row-gap: .5rem; }
    .product-mini__price { grid-column: 1 / -1; text-align: start; }
    .provider-card { grid-template-columns: auto 1fr; }
    .provider-card > i.bi-patch-check-fill { grid-column: 1 / -1; }
    .section-title, .page-head, .detail-hero__top { display: block; }
    .page-head { padding: 1.1rem 1.25rem; }
    .page-actions { margin-top: .8rem; }
    .navbar .btn { width: 100%; margin-top: .5rem; }
    .catalog-grid, .meta-grid { grid-template-columns: 1fr; }
    .request-item { display: block; }
    .request-meta { display: block; text-align: start; margin-top: .7rem; }
    .form-shell__body, .form-shell__head, .auth-panel__body, .auth-panel__head { padding: 1.25rem; }
    .request-board { padding: 1.25rem; }
}

/* ============================================================
   أقسام اللاندينج الإضافية
   ============================================================ */

/* عنوان مركزي للأقسام */
.section-head-center { max-width: 640px; margin: 0 auto 2.25rem; text-align: center; }
.section-head-center .section-eyebrow { justify-content: center; }
.section-head-center h2 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; }
.section-head-center p { margin: .75rem 0 0; color: var(--mt-muted); font-size: 1.05rem; line-height: 1.8; }

/* شريط الإحصائيات */
.stats-band { background: linear-gradient(180deg, #fff, var(--mt-page)); border-block: 1px solid var(--mt-line); padding-block: 2.25rem; margin-top: -1px; }

/* رابط "ابدأ" داخل بطاقة المسار */
.journey-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .2rem; color: var(--mt-primary-600); font-weight: 800; transition: gap var(--mt-t); }
.journey-card:hover .journey-card__more { gap: .5rem; }

/* المزايا */
.features-band {
    margin-top: 3.5rem;
    padding-block: clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(600px circle at 12% 0%, var(--mt-primary-050), transparent 60%),
        radial-gradient(600px circle at 100% 100%, #eef2ff, transparent 60%),
        var(--mt-surface);
    border-block: 1px solid var(--mt-line);
}
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature-card {
    padding: 1.75rem; background: var(--mt-surface); border: 1px solid var(--mt-line); border-radius: var(--mt-r-lg);
    box-shadow: var(--mt-shadow-xs); transition: transform var(--mt-t), box-shadow var(--mt-t), border-color var(--mt-t);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--mt-shadow-lg); border-color: var(--mt-primary-200); }
.feature-icon {
    width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 1.1rem;
    font-size: 1.55rem; color: var(--mt-primary-600); background: var(--mt-primary-050); border: 1px solid var(--mt-primary-100);
}
.feature-card strong { display: block; font-size: 1.15rem; font-weight: 800; margin-bottom: .45rem; }
.feature-card p { margin: 0; color: var(--mt-muted); line-height: 1.8; }

/* خطوات كيف تعمل */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; position: relative; }
.step-card { position: relative; padding: 1.75rem 1.5rem; background: var(--mt-surface); border: 1px solid var(--mt-line); border-radius: var(--mt-r-lg); box-shadow: var(--mt-shadow-xs); }
.step-num {
    position: absolute; inset-block-start: 1.25rem; inset-inline-end: 1.25rem;
    font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--mt-primary-100);
}
.step-icon {
    width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; margin-bottom: 1rem;
    font-size: 1.5rem; color: #fff; background: var(--mt-grad); box-shadow: var(--mt-glow);
}
.step-card strong { display: block; font-size: 1.1rem; font-weight: 800; margin-bottom: .45rem; }
.step-card p { margin: 0; color: var(--mt-muted); line-height: 1.75; }

/* آراء العملاء */
.testimonials-band {
    margin-top: 3.5rem; padding-block: clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(700px circle at 50% 0%, rgba(18, 183, 106, .1), transparent 60%),
        var(--mt-grad-dark);
    color: #fff;
}
.testimonials-band .section-eyebrow { color: #a6f4c5; }
.testimonials-band .section-head-center h2 { color: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.testimonial-card {
    position: relative; margin: 0; padding: 1.9rem 1.75rem; border-radius: var(--mt-r-lg);
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
}
.testimonial-quote { position: absolute; inset-block-start: 1.1rem; inset-inline-end: 1.4rem; font-size: 2rem; color: rgba(166, 244, 197, .5); }
.testimonial-card blockquote { margin: 0 0 1.4rem; color: #e7e2f5; line-height: 1.9; font-size: 1.02rem; }
.testimonial-card figcaption { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: #fff; background: var(--mt-grad); }
.testimonial-card figcaption strong { display: block; color: #fff; font-weight: 700; }
.testimonial-card figcaption small { color: #b9b2d4; }

/* الأسئلة الشائعة */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .85rem; }
.faq-item { background: var(--mt-surface); border: 1px solid var(--mt-line); border-radius: var(--mt-r); box-shadow: var(--mt-shadow-xs); overflow: hidden; transition: border-color var(--mt-t), box-shadow var(--mt-t); }
.faq-item[open] { border-color: var(--mt-primary-200); box-shadow: var(--mt-shadow-md); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 700; font-size: 1.05rem; color: var(--mt-ink);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .bi { color: var(--mt-primary-600); transition: transform var(--mt-t); flex: 0 0 auto; }
.faq-item[open] summary .bi { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 1.4rem 1.3rem; color: var(--mt-muted); line-height: 1.85; }

/* شريط الدعوة لإجراء */
.cta-band { margin-top: 4rem; padding-block: clamp(3rem, 6vw, 4.5rem); background: var(--mt-grad); position: relative; overflow: hidden; }
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 48px 48px; mask-image: radial-gradient(circle at 80% 50%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 80% 50%, #000, transparent 75%); pointer-events: none;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { margin: 0 0 .5rem; color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
.cta-inner p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 1.1rem; line-height: 1.7; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* تجاوب الأقسام الإضافية */
@media (max-width: 991.98px) {
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .hero-inner { min-height: auto; }
}
@media (max-width: 575.98px) {
    .features-grid, .steps-grid { grid-template-columns: 1fr; }
    .section-head-center { text-align: start; margin-bottom: 1.75rem; }
    .section-head-center .section-eyebrow { justify-content: flex-start; }
    .hero-trust { gap: .85rem 1.25rem; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1 1 100%; }
}
