/* ============================================================
           متغيرات CSS الرئيسية - الألوان والتأثيرات
        ============================================================ */
:root {
    --gold: #f0b400;
    --gold-light: #f5c842;
    --gold-lighter: #f0dda0;
    --gold-dark: #a07d20;
    --gold-deep: #7a5c1a;
    --gold-glow: rgba(201, 168, 76, 0.45);
    --gold-glow-strong: rgba(201, 168, 76, 0.75);
    --gold-soft: rgba(201, 168, 76, 0.08);

    --cream: #FDFAF4;
    --ink: #0F0E0A;
    --surface: #FFFFFF;
    --surface-2: #F8F6F1;
    --border: rgba(201, 168, 76, .18);
    --text-primary: #1A1814;
    --text-muted: #6B6356;
    --shadow-gold: 0 8px 32px rgba(201, 168, 76, .25);

    /* ألوان قسم الهيرو الداكن */
    --hero-bg-start: #0F0E0A;
    --hero-bg-end: #2A2418;
    --hero-text-light: #F0EBE0;
    --hero-text-muted: #C0B8A8;

    /* تأثيرات الزجاج */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-blur: blur(10px);

    /* تدرجات الذهبي */
    --gradient-gold-1: linear-gradient(135deg, #f0b400 0%, #eec54b 50%, #bf8c00 100%);
    --gradient-gold-2: linear-gradient(145deg, #f0b400 0%, #eec54b 70%, #bf8c00 100%);
    --gradient-gold-3: linear-gradient(225deg, #B8860B 0%, #DAA520 50%, #986d00 100%);
    --gradient-gold-soft: linear-gradient(145deg, rgba(255, 197, 38, 0.9) 0%, rgba(255, 191, 0, 0.9) 100%);

    /* متغيرات محسّنة */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-card: 0 4px 24px rgba(0,0,0,.06);
    --shadow-card-hover: 0 12px 40px rgba(0,0,0,.1);
    --transition-smooth: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-clean: all .25s ease;
    --border-gold-soft: 1px solid rgba(201, 168, 76, .2);
    --border-gold-subtle: 1px solid rgba(201, 168, 76, .12);
}

/* ── متغيرات الوضع الداكن ── */
.dark {
    --cream: #0D0C0A;
    --surface: #16140F;
    --surface-2: #1E1C16;
    --border: rgba(201, 168, 76, .15);
    --text-primary: #F0EBE0;
    --text-muted: #9A9080;
    --shadow-gold: 0 8px 32px rgba(201, 168, 76, .15);
    --gold-soft: rgba(201, 168, 76, .06);
    --glass-bg: rgba(30, 28, 22, 0.7);
    --glass-border: rgba(201, 168, 76, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --hero-bg-start: #050403;
    --hero-bg-end: #1A1610;
    --hero-text-light: #F0EBE0;
    --hero-text-muted: #B0A898;
}

html.dark {
    color-scheme: dark;
}


/* ============================================================
           إعادة الضبط الأساسي
        ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
}

body {
     font-family: 'Cairo', sans-serif;
     background: var(--cream);
     color: var(--text-primary);
     transition: background .3s ease, color .3s ease;
}

/* ── أنماط النص ── */
.font-display {
    font-family: 'Cairo', sans-serif;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

p {
    line-height: 1.75;
    color: var(--text-muted);
}

/* ── شريط التمرير ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--surface-2);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-gold-1);
    border-radius: 3px;
}


img {
    loading: lazy;
    decoding: async;
}

.hero img:first-of-type,
.slider-slide:first-child .slider-image {
    loading: eager;
    fetchpriority: high;
}

.slider-image {
    width: 100%;
    height: auto;
    display: block;
}

.store-logo {
    width: 40px;
    height: 40px;
    contain: layout style;
}

@font-face {
    font-family: 'Cairo';
    font-display: swap;
}


/* ============================================================
           أدوات التخطيط العامة
        ============================================================ */
.container-xl {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.section-pad {
    padding: clamp(4rem, 10vw, 7rem) 0;
}

.grid-auto {
    display: grid;
    gap: 2rem;
}

/* ============================================================
           شريط التنقل العلوي
        ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-clean);
}

.dark .navbar {
    background: rgba(22,20,15,.88);
    border-bottom-color: rgba(201, 168, 76, .1);
}

.dark .navbar {
    background: rgba(13, 12, 10, .88);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ── الشعار ── */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -.02em;
}

.logo img {
    width: 175px;
    margin-top: 15px;
    border-radius: 8px;
}

.logo span {
    color: var(--gold);
}

/* ── روابط التنقل (سطح المكتب) ── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: .950rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: .75rem;
}

/* ── زر شبح ── */
.btn-ghost {
    padding: .45rem 1.1rem;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    background: none;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================================
           الأزرار المحسّنة - تأثيرات الزجاج واللمعان
        ============================================================ */
button {
    font-family: 'Cairo', sans-serif;
}

.btn-gold,
.btn-solid-gold,
.btn-outline-gold,
.btn-nav-gold,
.btn-plan-gold,
.btn-plan-outline,
.btn-white,
.btn-ghost-white {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* تأثير اللمعان عند المرور */
.btn-gold::before,
.btn-solid-gold::before,
.btn-outline-gold::before,
.btn-nav-gold::before,
.btn-plan-gold::before,
.btn-white::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), rgba(255, 255, 255, .5), rgba(0, 0, 0, 0.3), transparent);
    transform: skewX(-20deg);
    z-index: -1;
}

.btn-gold:hover::before,
.btn-solid-gold:hover::before,
.btn-outline-gold:hover::before,
.btn-nav-gold:hover::before,
.btn-plan-gold:hover::before,
.btn-white:hover::before {
    animation: btnShine 1.2s ease-in-out infinite;
}

@keyframes btnShine {
    0% { left: -60%; }
    45% { left: 120%; }
    46% { left: -60%; }
    100% { left: -60%; }
}

/* تأثير الارتفاع والزجاج عند المرور */
.btn-gold:hover,
.btn-solid-gold:hover,
.btn-outline-gold:hover,
.btn-nav-gold:hover,
.btn-plan-gold:hover,
.btn-plan-outline:hover,
.btn-white:hover,
.btn-ghost-white:hover {
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px var(--gold-glow), 0 0 0 2px rgba(255, 255, 255, .1) inset;
    transform: translateY(-3px) scale(1.02);
}

.btn-gold:active,
.btn-solid-gold:active,
.btn-outline-gold:active,
.btn-nav-gold:active,
.btn-plan-gold:active,
.btn-plan-outline:active,
.btn-white:active,
.btn-ghost-white:active {
    transform: translateY(-1px) scale(0.98);
    transition: 0.1s;
}

/* ── أزرار ذهبية صلبة ── */
.btn-gold,
.btn-solid-gold,
.btn-nav-gold,
.btn-plan-gold {
    background: var(--gradient-gold-1);
    background-size: 200% 200%;
    background-position: 0% 0%;
    color: #0F0E0A;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(201, 168, 76, .4), 0 2px 8px rgba(201, 168, 76, .3);
    border: 2px solid #FFFFFF;
    backdrop-filter: blur(4px);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.5rem;
    background: var(--gradient-gold-1);
    color: var(--ink);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: .875rem;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px var(--gold-glow), 0 0 0 1px rgba(255, 255, 255, .1) inset;
    position: relative;
    overflow: hidden;
}

.btn-gold::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.2) 0%, transparent 50%);
    pointer-events: none;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--gold-glow-strong), 0 0 0 1px rgba(255, 255, 255, .2) inset;
    background: linear-gradient(145deg, #f5c842 0%, #f0b400 50%, #c79500 100%);
}

.btn-solid-gold {
    padding: .75rem 2.25rem;
    border-radius: 6px;
    font-size: .9rem;
}

.btn-nav-gold {
    padding: .5rem 1.3rem;
    border-radius: 6px;
    font-size: .78rem;
}

.btn-plan-gold {
    width: 100%;
    padding: .9rem;
    border-radius: 8px;
    font-size: .875rem;
}

.btn-gold:hover,
.btn-solid-gold:hover,
.btn-nav-gold:hover,
.btn-plan-gold:hover {
    background: linear-gradient(145deg, #f5c842, #f0b400, #c79500, #f0b400, #f5c842);
    background-size: 300% 100%;
    animation: goldBgShift 2s ease-in-out infinite;
    box-shadow: 0 12px 40px var(--gold-glow-strong), 0 0 0 3px rgba(255, 255, 255, .2) inset;
    color: #000000;
}

@keyframes goldBgShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── أزرار إطار ذهبي ── */
.btn-outline-gold,
.btn-plan-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    position: relative;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.5rem;
    background: transparent;
    color: var(--gold);
    text-decoration: none;
    border: 2px solid var(--gold);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: .875rem;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.btn-outline-gold:hover {
    animation: outlineGoldHover 2s ease-in-out infinite;
    background: var(--gold-soft);
    box-shadow: 0 4px 20px var(--gold-glow);
}

@keyframes outlineGoldHover {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(-5px); }
}

.btn-plan-outline {
    width: 100%;
    padding: .85rem;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 700;
    border: 2px solid var(--border);
}

.btn-outline-gold:hover,
.btn-plan-outline:hover {
    animation: outlinePlanHover 2s ease-in-out infinite;
    background: var(--gradient-gold-soft);
    border-color: transparent;
    color: #0F0E0A;
    box-shadow: 0 8px 32px var(--gold-glow), 0 0 0 2px rgba(255, 255, 255, .1) inset;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

@keyframes outlinePlanHover {
    0%, 100% { transform: translateY(-3px) scale(1.02); }
    50% { transform: translateY(-6px) scale(1.04); }
}

/* ── أزرار CTA الكبيرة ── */
.btn-white {
    padding: .85rem 2.25rem;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 700;
    background: var(--gradient-gold-1);
    color: #0F0E0A;
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow: 0 8px 32px rgba(201, 168, 76, .4), 0 2px 8px rgba(0, 0, 0, .2);
}

.btn-white:hover {
    background: linear-gradient(145deg, #f5c842, #f0b400, #c79500, #f0b400, #f5c842);
    background-size: 300% 100%;
    animation: btnWhiteHover 2s ease-in-out infinite;
    box-shadow: 0 16px 48px var(--gold-glow-strong), 0 0 0 3px rgba(255, 255, 255, .3) inset;
}

@keyframes btnWhiteHover {
    0%, 100% { transform: translateY(-3px) scale(1.02); }
    50% { transform: translateY(-6px) scale(1.04); }
}

.btn-ghost-white {
    padding: .85rem 2.25rem;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, .3);
    background: rgba(201, 168, 76, .1);
    color: var(--gold-light);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}

.btn-ghost-white:hover {
    animation: ghostWhiteHover 2s ease-in-out infinite;
    border-color: var(--gold);
    background: rgba(201, 168, 76, .25);
    color: #FFFFFF;
    box-shadow: 0 8px 32px rgba(201, 168, 76, .4);
}

@keyframes ghostWhiteHover {
    0%, 100% { transform: translateY(-3px) scale(1.02); }
    50% { transform: translateY(-6px) scale(1.05); }
}

/* ── تبديل اللغة والوضع الداكن ── */
.lang-toggle,
.dark-toggle {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(4px);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .85rem;
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
}

.lang-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: linear-gradient(145deg, var(--surface-2), rgba(201, 168, 76, .1));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, .15);
}

.lang-dropdown {
    position: relative;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    padding: .45rem 2rem .45rem .75rem;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color .3s ease, box-shadow .3s ease;
    font-family: 'Cairo', sans-serif;
    min-width: 140px;
}

.lang-select:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(201, 168, 76, .1);
}

.lang-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, .15);
}

.lang-dropdown::after {
    content: '▾';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: .7rem;
}

[dir="rtl"] .lang-dropdown::after {
    right: auto;
    left: 10px;
}

[dir="rtl"] .lang-select {
    padding: .45rem .75rem .45rem 2rem;
}

@media (max-width: 768px) {
    .lang-select {
        min-width: auto;
        font-size: .75rem;
        padding: .4rem 1.8rem .4rem .6rem;
    }
    [dir="rtl"] .lang-select {
        padding: .4rem .6rem .4rem 1.8rem;
    }
    .nav-right .lang-dropdown {
        display: none;
    }
}

.dark-toggle {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
}

.dark-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: linear-gradient(145deg, var(--surface-2), rgba(201, 168, 76, .15));
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 4px 16px rgba(201, 168, 76, .25);
}

/* ── زر النشرة البريدية ── */
.newsletter-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    border: none;
    background: var(--gradient-gold-1);
    color: #0F0E0A;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(201, 168, 76, .3);
    position: relative;
    overflow: hidden;
}

.newsletter-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), rgba(255, 255, 255, .5), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.newsletter-btn:hover::before {
    left: 120%;
}

.newsletter-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px var(--gold-glow-strong);
    background: var(--gradient-gold-2);
}

/* ── زر الهامبرغر (الجوال) ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
           قائمة الجوال - ميجا مينو جميل
        ============================================================ */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 99999;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
    display: block;
    opacity: 1;
}

/* LTR: القائمة تخرج من اليسار */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--surface);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 20px 0 60px rgba(0, 0, 0, .2);
}

/* RTL: القائمة تخرج من اليمين */
[dir="rtl"] .mobile-menu {
    left: auto;
    right: 0;
    transform: translateX(100%);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .2);
}

.dark .mobile-menu {
    background: var(--surface);
}

.mobile-menu.open {
    transform: translateX(0);
}

/* رأس القائمة */
.mm-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface-2);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mm-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.mm-logo span {
    color: var(--gold);
}

.mm-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.2s;
}

.mm-close:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* روابط القائمة */
.mm-nav {
    padding: 1rem 0;
    flex: 1;
}

/* LTR */
.mm-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
    position: relative;
}

.mm-nav a:hover {
    color: var(--gold);
    border-left-color: var(--gold);
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, .06));
    padding-left: 2rem;
}

/* RTL */
[dir="rtl"] .mm-nav a {
    border-left: none;
    border-right: 3px solid transparent;
}

[dir="rtl"] .mm-nav a:hover {
    border-right-color: var(--gold);
    background: linear-gradient(270deg, transparent, rgba(201, 168, 76, .06));
    padding-left: 1.5rem;
    padding-right: 2rem;
}

.mm-nav a .mm-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(201, 168, 76, .1);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.mm-nav a:hover .mm-icon {
    background: rgba(201, 168, 76, .2);
    border-color: var(--gold);
}

.mm-nav a .mm-label {
    flex: 1;
}

/* LTR: السهم */
.mm-nav a .mm-arrow {
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.25s ease;
    color: var(--gold);
}

.mm-nav a:hover .mm-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* RTL: السهم */
[dir="rtl"] .mm-nav a .mm-arrow {
    transform: translateX(5px);
}

[dir="rtl"] .mm-nav a:hover .mm-arrow {
    transform: translateX(0);
}

/* فاصل داخل القائمة */
.mm-divider {
    height: 1px;
    background: var(--border);
    margin: 0.75rem 1.5rem;
}

/* أسفل القائمة */
.mm-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}

.mm-footer-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.mm-cta {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold-1);
    color: #0F0E0A;
    box-shadow: 0 4px 20px rgba(201, 168, 76, .35);
    transition: all 0.3s ease;
}

.mm-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-glow);
}

.mm-controls {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* ============================================================
           قسم الهيرو - خلفية داكنة مع صورة المتجر
        ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 125px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--hero-bg-start), var(--hero-bg-end));
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 80% 40%, rgba(201, 168, 76, .15) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 20% 70%, rgba(201, 168, 76, .10) 0%, transparent 60%);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .1;
    background-image: linear-gradient(var(--gold) 1px, transparent 1px), linear-gradient(90deg, var(--gold) 1px, transparent 1px);
    background-size: 60px 60px;
}

.dark .hero-grid-pattern {
    opacity: .12;
}

/* ── شارة الهيرو المتحركة ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border-radius: 100px;
    border: 1.5px solid rgba(255, 215, 0, .3);
    background: rgba(255, 215, 0, .1);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
    backdrop-filter: blur(5px);
}

.hero-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(1.4);
    }
}

/* ── نصوص الهيرو ── */
.hero-title {
    font-size: clamp(1.5rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--hero-text-light);
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

/* LTR */
.hero-title em {
    font-style: italic;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 187, 0, .5);
}

/* RTL: em لا يحتاج italic */
[dir="rtl"] .hero-title em {
    font-style: normal;
}

.hero-subtitle {
    font-size: clamp(.95rem, 1.8vw, 1.15rem);
    max-width: 540px;
    margin-bottom: 2.5rem;
    color: var(--hero-text-muted);
}

[dir=rtl] .hero-subtitle {
    max-width: 560px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* ── إحصائيات الهيرو ── */
.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: .8rem;
    color: var(--hero-text-muted);
    margin-top: .2rem;
}

/* ============================================================
           البطاقة البصرية مع صورة المتجر
        ============================================================ */
.hero-visual {
    position: relative;
    display: flex;
    margin-top: -40px;
    align-items: center;
    justify-content: center;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.hero-card {
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 215, 0, .2);
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 215, 0, .1) inset;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, .1), transparent 70%);
    pointer-events: none;
}

.dark .hero-card {
    background: rgba(0, 0, 0, .4);
    border-color: rgba(255, 215, 0, .15);
}

/* ── عرض المتجر ── */
.store-showcase {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, .2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 215, 0, .2) inset;
    position: relative;
}

.store-header {
    background: rgba(255, 215, 0, .1);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, .2);
}

.store-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #ffbb00, #ff8c00);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(255, 187, 0, .4);
}

.store-title {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.store-rating {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, .3);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 215, 0, .3);
}

/* نجوم التقييم - النجوم دائماً من اليمين لليسار */
.stars {
    direction: rtl;
    unicode-bidi: bidi-override;
    color: #ffbb00;
    letter-spacing: 2px;
}

/* RTL: محاذاة التقييم */
[dir="rtl"] .store-rating {
    margin-right: 0;
    margin-left: auto;
}

/* LTR: محاذاة التقييم - النجوم من اليمين زي RTL */
[dir="ltr"] .store-rating {
    margin-right: auto;
    margin-left: 0;
}

/* ============================================================
           سلايدر الصور - مع دعم RTL
        ============================================================ */
.store-image-container {
    position: relative;
    padding: 10px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    min-height: 250px;
    transition: height 0.5s ease;
}

.store-slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4), 0 0 0 2px rgba(255, 215, 0, .2) inset;
    direction: ltr !important;
}

.slider-track {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    position: relative;
    width: 20%;
    height: 100%;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    height: auto;
    cursor: zoom-in;
    transition: transform 0.5s ease;
}

.slider-slide:hover .slider-image {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
    padding: 1.5rem 1rem 1rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.slider-slide:hover .slide-overlay {
    transform: translateY(0);
}

.slide-number {
    display: inline-block;
    background: var(--gold);
    color: #000;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.slide-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

/* أزرار السلايدر */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    border: 2px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.store-slider:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

/* LTR: أزرار السلايدر */
.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

/* RTL: أزرار السلايدر معكوسة */
[dir="rtl"] .slider-prev {
    left: auto;
    right: 10px;
}

[dir="rtl"] .slider-next {
    right: auto;
    left: 10px;
}

[dir="rtl"] .slider-prev svg,
[dir="rtl"] .slider-next svg {
    transform: rotate(180deg);
}

/* نقاط السلايدر */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, .3);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, .3);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gold);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--gold);
}

.dot:hover {
    background: var(--gold-light);
}

/* إحصائيات المتجر */
.store-stats {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: rgba(0, 0, 0, .3);
    border-top: 1px solid rgba(255, 215, 0, .2);
}

.store-stat-item {
    text-align: center;
}

.store-stat-value {
    color: #ffbb00;
    font-weight: 700;
    font-size: 1rem;
}

.store-stat-label {
    color: #aaa;
    font-size: 0.7rem;
}

/* بطاقات عائمة */
.float-card {
    position: absolute;
    border-radius: 30px;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, .3);
    padding: .6rem 1.2rem;
    font-size: .8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
    animation: float 4s ease-in-out infinite;
    white-space: nowrap;
    color: #fff;
    z-index: 5;
}

.dark .float-card {
    background: rgba(20, 20, 20, .8);
    border-color: rgba(255, 215, 0, .2);
}

/* LTR: مواضع البطاقات العائمة */
.float-card-1 {
    top: 5%;
    right: 0;
    animation-delay: 0s;
}

.float-card-2 {
    top: 30%;
    left: -20px;
    animation-delay: 1.5s;
}

.float-card-3 {
    bottom: 30%;
    right: 0;
    animation-delay: .7s;
}

/* RTL: مواضع البطاقات العائمة */
[dir="rtl"] .float-card-1 {
    right: auto;
    left: 0;
}

[dir="rtl"] .float-card-2 {
    left: auto;
    right: -10px;
}

[dir="rtl"] .float-card-3 {
    left: auto;
    right: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fc-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(255, 187, 0, .15);
    border: 1px solid rgba(255, 215, 0, .3);
}

.bg-gold-soft {
    background: rgba(255, 187, 0, .2);
}

.bg-green-soft {
    background: rgba(16, 185, 129, .2);
}

.bg-blue-soft {
    background: rgba(59, 130, 246, .2);
}

/* ============================================================
           رأس الأقسام
        ============================================================ */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem 1rem;
    border-radius: 100px;
    border: 1.5px solid rgba(201, 168, 76, .2);
    background: linear-gradient(135deg, rgba(201, 168, 76, .08) 0%, rgba(201, 168, 76, .04) 100%);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(201, 168, 76, .06);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 2px 8px rgba(201, 168, 76, .06); }
    50% { box-shadow: 0 2px 16px rgba(201, 168, 76, .15), 0 0 0 3px rgba(255,187,0,.05); }
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--text-primary);
    margin-bottom: .9rem;
}

.section-subtitle {
    font-size: 1rem;
    max-width: 540px;
}

.gold-divider {
    width: 50px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 1rem 0;
}

[dir=rtl] .gold-divider {
    background: linear-gradient(270deg, var(--gold), transparent);
}

/* ============================================================
           بطاقات الخدمات - مع أنيميشن التمرير بالترتيب
        ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
    gap: 1.75rem;
}

.service-card {
    background: var(--surface-2);
    border: var(--border-gold-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(201, 168, 76, .3);
}

.service-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) {
    transition-delay: 0s;
}

.service-card:nth-child(2) {
    transition-delay: 0.12s;
}

.service-card:nth-child(3) {
    transition-delay: 0.24s;
}

.service-card:nth-child(4) {
    transition-delay: 0.36s;
}

.service-card:nth-child(5) {
    transition-delay: 0.48s;
}

.service-card:nth-child(6) {
    transition-delay: 0.60s;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .1), 0 0 0 2px rgba(255, 187, 0, .15);
}

.service-card.in-view:hover {
    opacity: 1;
    transform: translateY(-6px) scale(1.02);
}

.dark .service-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4), 0 0 0 2px rgba(255, 187, 0, .2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.service-card:hover::after {
    opacity: 0.6;
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    background: rgba(201, 168, 76, .12);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.15) rotate(-5deg);
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .6rem;
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: .875rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    position: relative;
    z-index: 1;
}

.service-tag {
    padding: .25rem .75rem;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all .2s;
}

.service-card:hover .service-tag {
    border-color: var(--gold);
    color: var(--gold);
}

/* LTR: رقم البطاقة */
.service-card-num {
    position: absolute;
    bottom: 1.25rem;
    right: 1.5rem;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
    opacity: .05;
    pointer-events: none;
    transition: opacity .3s;
}

/* RTL: رقم البطاقة */
[dir="rtl"] .service-card-num {
    right: auto;
    left: 1.5rem;
}

.service-card:hover .service-card-num {
    opacity: .12;
}

/* ألوان أيقونات الخدمات */
.service-card[data-color="gold"] .service-icon-wrap {
    background: rgba(201, 168, 76, .15);
}

.service-card[data-color="blue"] .service-icon-wrap {
    background: rgba(59, 130, 246, .15);
}

.service-card[data-color="emerald"] .service-icon-wrap {
    background: rgba(16, 185, 129, .15);
}

.service-card[data-color="purple"] .service-icon-wrap {
    background: rgba(139, 92, 246, .15);
}

.service-card[data-color="rose"] .service-icon-wrap {
    background: rgba(244, 63, 94, .15);
}

.service-card[data-color="amber"] .service-icon-wrap {
    background: rgba(245, 158, 11, .15);
}

/* ============================================================
           قسم العملية / الخطوات
        ============================================================ */
.process-section {
    background: var(--surface-2);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

/* LTR: الخط الرابط */
.process-grid::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 5%;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .3;
}

/* RTL: الخط الرابط */
[dir="rtl"] .process-grid::before {
    left: auto;
    right: 5%;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-num {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    opacity: .15;
    line-height: 1;
    margin-bottom: .25rem;
}

.process-icon-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -.5rem auto 1.25rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--surface-2);
}

.process-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .5rem;
}

.process-desc {
    font-size: .83rem;
    max-width: 220px;
    margin: 0 auto;
}

/* ============================================================
           قسم الأسعار
        ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.75rem;
    align-items: start;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.25rem;
    position: relative;
    transition: transform .3s, box-shadow .3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}

.dark .pricing-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.pricing-card.popular {
    border-color: var(--gold);
    background: var(--surface);
    box-shadow: 0 0 0 2px var(--gold), var(--shadow-gold);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #0F0E0A;
    padding: .3rem 1.2rem;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.plan-name {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .75rem;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: .35rem;
}

.plan-currency {
    font-size: 1.1rem;
    opacity: .7;
}

.plan-period {
    font-size: .8rem;
    color: var(--text-muted);
}

.plan-desc {
    font-size: .85rem;
    margin: 1rem 0 1.5rem;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .875rem;
    color: var(--text-primary);
}

.plan-features li.disabled {
    color: var(--text-muted);
    opacity: .5;
}

.feat-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
}

.feat-check.yes {
    background: rgba(16, 185, 129, .15);
    color: #10B981;
}

.feat-check.no {
    background: var(--surface-2);
    color: var(--text-muted);
}


/* ============================================================
   قسم الأسئلة الشائعة — FAQ
   ============================================================ */

/* خلفية القسم */
.faq-section {
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(201, 168, 76, .07) 0%, transparent 70%);
    pointer-events: none;
}

/* ── رأس القسم ── */
.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* ── تبويبات الفلترة ── */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.faq-tab {
    padding: .45rem 1.1rem;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    font-family: 'Cairo', sans-serif;
}

.faq-tab:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.faq-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #0F0E0A;
    box-shadow: 0 4px 16px rgba(201, 168, 76, .35);
}

/* ── قائمة الأسئلة ── */
.faq-list {
    margin: 0 auto 2rem;
}

/* ── عنصر سؤال ── */
.faq-item {
    border-bottom: 1px solid var(--border);
    position: relative;
    transition: background .2s ease;
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-item.open {
    background: rgba(201, 168, 76, .04);
    border-radius: 0;
}

/* شريط جانبي للعنصر المفتوح */
.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: var(--gold);
    border-radius: 3px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s ease;
}

[dir="rtl"] .faq-item::before {
    left: auto;
    right: 0;
}

.faq-item.open::before {
    transform: scaleY(1);
}

/* مخفي بالفلتر */
.faq-item.faq-hidden {
    display: none;
}

/* ── زر السؤال ── */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1.3rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: start;
    color: var(--text-primary);
    font-family: 'Cairo', sans-serif;
    transition: color .2s ease;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-item.open .faq-question {
    color: var(--gold);
}

/* أيقونة السؤال */
.faq-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    border: 1.5px solid rgba(201,168,76,.3);
    background: rgba(201,168,76,.1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover .faq-icon-wrap {
    animation: faqIconPulse 1.4s ease-in-out infinite;
    background: rgba(201,168,76,.18);
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(201,168,76,.25);
}

@keyframes faqIconPulse {
    0%, 100% { transform: scale(1.1) rotate(-5deg); }
    50% { transform: scale(1.2) rotate(5deg); }
}

/* رقم السؤال */
.faq-q-num {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--gold);
    opacity: .45;
    flex-shrink: 0;
    min-width: 1.8rem;
    transition: opacity .2s;
}

.faq-item.open .faq-q-num,
.faq-question:hover .faq-q-num {
    opacity: 1;
}

/* نص السؤال */
.faq-q-text {
    flex: 1;
    font-size: .97rem;
    font-weight: 600;
    line-height: 1.55;
}

/* أيقونة +/- */
.faq-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
}

.faq-question:hover .faq-icon {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 168, 76, .08);
}

.faq-item.open .faq-icon {
    background: var(--gold);
    border-color: var(--gold);
    color: #0F0E0A;
    transform: rotate(180deg);
}

.faq-icon-minus {
    display: none;
}

.faq-icon-plus {
    display: block;
}

.faq-item.open .faq-icon-minus {
    display: block;
}

.faq-item.open .faq-icon-plus {
    display: none;
}

/* ── الإجابة ── */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.4, 0, .2, 1);
}

.faq-answer.open {
    max-height: 800px;
}

/* indent الإجابة تحت النص */
.faq-answer-inner {
    padding: 0 1.25rem 1.5rem 4.1rem;
}

[dir="rtl"] .faq-answer-inner {
    padding: 0 4.1rem 1.5rem 1.25rem;
}

.faq-answer-inner p {
    font-size: .9rem;
    line-height: 1.9;
    color: var(--text-muted);
    white-space: pre-line;
}

/* ── عداد النتائج ── */
.faq-count {
    text-align: center;
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

#faqCountNum {
    font-weight: 700;
    color: var(--gold);
}

/* ── CTA ── */
.faq-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    text-align: center;
    padding-top: .5rem;
}

.faq-cta p {
    font-size: .92rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .faq-q-num {
        display: none;
    }

    .faq-q-text {
        font-size: .88rem;
    }

    .faq-answer-inner {
        padding: 0 1rem 1.25rem 2.4rem;
    }

    [dir="rtl"] .faq-answer-inner {
        padding: 0 2.4rem 1.25rem 1rem;
    }

    .faq-tabs {
        gap: .45rem;
    }

    .faq-tab {
        font-size: .75rem;
        padding: .4rem .9rem;
    }
}

/* ============================================================
           قسم CTA (الدعوة للتصرف)
        ============================================================ */
.cta-section {
    position: relative;
    overflow: hidden;
    background: var(--ink);
}

.dark .cta-section {
    background: #000;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201, 168, 76, .12) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: #F0EBE0;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* LTR */
.cta-title em {
    font-style: italic;
    color: var(--gold);
}

/* RTL */
[dir="rtl"] .cta-title em {
    font-style: normal;
}

.cta-subtitle {
    text-align: center;
    color: rgba(240, 235, 224, .6);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ============================================================
           الفوتر المحسّن
        ============================================================ */
.footer {
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    padding: 4.5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.footer::after {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,.04) 0%, transparent 70%);
    pointer-events: none;
}

[dir="rtl"] .footer::after {
    left: auto;
    right: -80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
    transition: color .2s;
}

.footer-logo span {
    color: var(--gold);
}

.footer-logo:hover {
    color: var(--gold);
}

.footer-tagline {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: .75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-col-title {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.25rem;
    position: relative;
    display: inline-block;
}

/* LTR */
.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    opacity: 0.5;
}

/* RTL */
[dir=rtl] .footer-col-title::after {
    left: auto;
    right: 0;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.footer-links li a {
    font-size: .9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* LTR */
.footer-links li a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

/* RTL */
[dir=rtl] .footer-links li a:hover {
    transform: translateX(-5px);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-size: .9rem;
    color: var(--text-muted);
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all 0.2s;
}

.footer-contact-item:hover .footer-contact-icon {
    border-color: var(--gold);
    transform: scale(1.05);
}

.footer-contact-text {
    flex: 1;
}

.footer-contact-text a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-text a:hover {
    color: var(--gold);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-family: 'Cairo', sans-serif;
    font-size: .9rem;
    transition: all 0.2s;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, .1);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .85rem;
}

.footer-copyright {
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

.pricing-check {
    width: 18px;
    height: 18px;
    color: #10B981;
    flex-shrink: 0;
    margin-inline-end: 0.5rem;
}

.footer-new .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3.5rem;
}

.footer-new .footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    padding-block: 0.15rem;
}

.footer-new .footer-col-contact {
    position: relative;
}

.footer-new .footer-contact-list {
    gap: 0.85rem;
}

.footer-new .social-links {
    margin-top: 0.5rem;
}

.footer-new .social-link svg {
    width: 18px;
    height: 18px;
}

.footer-new .footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

@media (max-width: 992px) {
    .footer-new .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-new .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }
    .footer-new .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-new .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-new .footer-brand {
        text-align: center;
    }
    .footer-new .social-links {
        justify-content: center;
    }
}

/* ============================================================
           الأشكال العائمة
        ============================================================ */
.float-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatMedium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(-8deg); }
}

@keyframes floatFast {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-25px) rotate(12deg) scale(1.1); }
}

@keyframes floatPulse {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
    50% { transform: translateY(-15px) scale(1.15); opacity: 0.25; }
}

/* Hero floating shapes */
.float-circle-1 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    top: 15%;
    left: 8%;
    animation: floatSlow 8s ease-in-out infinite;
}

.float-circle-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: 25%;
    right: 10%;
    animation: floatMedium 6s ease-in-out infinite 1s;
}

.float-diamond-1 {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255,187,0,0.4);
    top: 60%;
    right: 15%;
    animation: floatFast 5s ease-in-out infinite 0.5s;
    transform: rotate(45deg);
}

.float-dots-1 {
    width: 100px;
    height: 100px;
    top: 70%;
    left: 12%;
    background-image: radial-gradient(circle, var(--gold) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    animation: floatPulse 7s ease-in-out infinite 2s;
}

/* Demo section floating shapes */
.float-ring-1 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid rgba(59,130,246,0.3);
    top: 10%;
    right: 5%;
    animation: floatSlow 9s ease-in-out infinite;
}

.float-ring-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(16,185,129,0.3);
    bottom: 15%;
    left: 8%;
    animation: floatMedium 7s ease-in-out infinite 1.5s;
}

/* Features section floating shapes */
.float-hex-1 {
    width: 100px;
    height: 100px;
    top: 5%;
    left: 5%;
    background: linear-gradient(135deg, rgba(255,187,0,0.15), transparent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: floatSlow 10s ease-in-out infinite;
}

.float-hex-2 {
    width: 70px;
    height: 70px;
    bottom: 10%;
    right: 8%;
    background: linear-gradient(135deg, rgba(139,92,246,0.15), transparent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: floatMedium 8s ease-in-out infinite 2s;
}

/* Stats section floating shapes */
.float-star-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    right: 10%;
    background: var(--gold);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: floatFast 6s ease-in-out infinite;
    opacity: 0.1;
}

.float-star-2 {
    width: 50px;
    height: 50px;
    bottom: 15%;
    left: 12%;
    background: #3B82F6;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: floatMedium 7s ease-in-out infinite 1s;
    opacity: 0.1;
}

/* Testimonials section floating shapes */
.float-wave-1 {
    width: 200px;
    height: 60px;
    top: 5%;
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(255,187,0,0.1), transparent);
    border-radius: 50%;
    animation: floatSlow 8s ease-in-out infinite;
}

.float-wave-2 {
    width: 150px;
    height: 40px;
    bottom: 10%;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.1), transparent);
    border-radius: 50%;
    animation: floatMedium 9s ease-in-out infinite 2s;
}

/* Benefits section floating shapes */
.float-cross-1 {
    width: 60px;
    height: 60px;
    top: 15%;
    right: 8%;
    background: var(--gold);
    clip-path: polygon(35% 0%, 65% 0%, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0% 65%, 0% 35%, 35% 35%);
    animation: floatFast 7s ease-in-out infinite;
    opacity: 0.12;
}

.float-cross-2 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 10%;
    background: #10B981;
    clip-path: polygon(35% 0%, 65% 0%, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0% 65%, 0% 35%, 35% 35%);
    animation: floatMedium 6s ease-in-out infinite 1.5s;
    opacity: 0.12;
}

/* FAQ section floating shapes */
.float-triangle-1 {
    width: 80px;
    height: 80px;
    top: 8%;
    left: 6%;
    background: linear-gradient(135deg, rgba(255,187,0,0.15), transparent);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: floatSlow 9s ease-in-out infinite;
}

.float-triangle-2 {
    width: 50px;
    height: 50px;
    bottom: 12%;
    right: 8%;
    background: linear-gradient(135deg, rgba(139,92,246,0.15), transparent);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: floatMedium 7s ease-in-out infinite 2.5s;
}

/* Responsive - hide floating shapes on mobile */
@media (max-width: 768px) {
    .float-shape {
        display: none;
    }
}


/* ============================================================
           التأثيرات عند التمرير (عام)
        ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 {
    transition-delay: .1s;
}

.reveal-delay-2 {
    transition-delay: .2s;
}

.reveal-delay-3 {
    transition-delay: .3s;
}

.reveal-delay-4 {
    transition-delay: .4s;
}

/* ============================================================
           الخط المتحرك تحت عناوين الخدمات
        ============================================================ */
.underline-gold {
    position: relative;
    display: inline-block;
}

/* LTR */
.underline-gold::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

/* RTL */
[dir="rtl"] .underline-gold::after {
    transform-origin: right;
}

.service-card:hover .underline-gold::after {
    transform: scaleX(1);
}

/* ============================================================
           auto-hover
        ============================================================ */
.service-card.auto-hover {
    transform: translateY(-6px) scale(1.02) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12), 0 0 0 2px rgba(255, 187, 0, .2) !important;
}

.dark .service-card.auto-hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 0 2px rgba(255, 187, 0, .25) !important;
}

.service-card.auto-hover::before {
    opacity: 1 !important;
}

.service-card.auto-hover::after {
    opacity: 0.6 !important;
}

.service-card.auto-hover .service-icon-wrap {
    transform: scale(1.15) rotate(-5deg) !important;
}

.service-card.auto-hover .service-tag {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
}

.service-card.auto-hover .service-card-num {
    opacity: .12 !important;
}

.service-card.auto-hover .underline-gold::after {
    transform: scaleX(1) !important;
}

.pricing-card.auto-hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .1), 0 0 0 2px rgba(255, 187, 0, .15) !important;
    border-color: var(--gold) !important;
}

.dark .pricing-card.auto-hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35), 0 0 0 2px rgba(255, 187, 0, .2) !important;
}

.process-step.auto-hover .process-icon-ring {
    transform: scale(1.12) !important;
    background: rgba(201, 168, 76, .08) !important;
    box-shadow: 0 0 0 10px var(--surface-2), 0 0 20px rgba(201, 168, 76, .25) !important;
}

.process-step.auto-hover .process-num {
    opacity: .35 !important;
}

.process-step.auto-hover .process-title {
    color: var(--gold) !important;
}

.process-icon-ring {
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.process-num {
    transition: opacity 0.35s ease;
}

.process-title {
    transition: color 0.35s ease;
}

/* LTR */
.footer-links li a.auto-hover {
    color: var(--gold) !important;
    transform: translateX(5px) !important;
}

/* RTL */
[dir="rtl"] .footer-links li a.auto-hover {
    transform: translateX(-5px) !important;
}

.footer-contact-item.auto-hover .footer-contact-icon {
    border-color: var(--gold) !important;
    transform: scale(1.08) !important;
}

.footer-logo.auto-hover {
    color: var(--gold) !important;
}

.social-link.auto-hover {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-gold) !important;
}

.btn-solid-gold.auto-hover,
.btn-gold.auto-hover,
.btn-plan-gold.auto-hover {
    background: var(--gradient-gold-2) !important;
    box-shadow: 0 12px 40px var(--gold-glow-strong), 0 0 0 3px rgba(255, 255, 255, .2) inset !important;
    transform: translateY(-3px) scale(1.02) !important;
    color: #000 !important;
}

.btn-outline-gold.auto-hover,
.btn-plan-outline.auto-hover {
    background: var(--gradient-gold-soft) !important;
    border-color: transparent !important;
    color: #0F0E0A !important;
    box-shadow: 0 8px 32px var(--gold-glow) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

/* ============================================================
           الشبكة ذات العمودين للهيرو
        ============================================================ */
.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: center;
}

[dir=rtl] .hero-content-grid {
    direction: rtl;
}

/* ============================================================
           الاستجابة للشاشات الصغيرة
        ============================================================ */
@media (max-width: 1024px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: block;
        margin-top: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .btn-gold.desktop-only {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .process-grid::before {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 0.5rem;
    }

    .store-image-container {
        padding: 0.75rem;
        min-height: 0;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas a,
    .hero-ctas button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .store-header {
        flex-wrap: wrap;
    }

    .store-rating {
        margin-left: 0;
        width: 100%;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
    }
}

/* ============================================================
           WhatsApp Float Button
        ============================================================ */
.whatsapp-float {
     position: fixed;
     bottom: 24px;
     left: 24px;
     z-index: 9999;
     display: flex;
     align-items: center;
     text-decoration: none;
}

@media (max-width: 768px) {
     .whatsapp-float {
          bottom: 16px;
          left: 16px;
     }
     [dir="rtl"] .whatsapp-float {
          left: auto;
          right: 16px;
     }
     .wa-circle {
          width: 52px;
          height: 52px;
     }
     .wa-circle svg {
          width: 28px;
          height: 28px;
     }
     .wa-label {
          display: none;
     }
     .whatsapp-float:hover .wa-label {
          display: block;
     }
}

.wa-circle {
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
    transition: transform .25s, box-shadow .25s;
    position: relative;
}

.wa-circle::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(37, 211, 102, .25);
    animation: pulse 2s infinite;
}

.wa-circle svg {
    width: 34px;
    height: 34px;
    fill: white;
    position: relative;
    z-index: 1;
}

.wa-label {
    margin-left: 15px;
    background: white;
    color: #1a1a2e;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px 9px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
    white-space: nowrap;
    transform: translateX(10px);
    opacity: 0;
    transition: opacity .3s, transform .3s;
    pointer-events: none;
}

[dir="rtl"] .wa-label {
    margin-left: 0;
    margin-right: 15px;
    transform: translateX(-10px);
}

[dir="rtl"] .whatsapp-float:hover .wa-label {
    transform: translateX(0);
}

.whatsapp-float:hover .wa-label {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float:hover .wa-circle {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(37, 211, 102, .55);
}

.wa-online {
     position: absolute;
     bottom: -3px;
     right: -3px;
     width: 16px;
     height: 16px;
     background: #4ade80;
     border: 2.5px solid white;
     border-radius: 50%;
     z-index: 2;
     box-sizing: border-box;
}

[dir="rtl"] .wa-online {
     right: auto;
     left: -3px;
}

/* ============================================================
   صفحة متجر لارافل - الأنماط
   ============================================================ */

/* الهيرو */
.store-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-hero .hero-badge {
    margin-bottom: 1.5rem;
}

.store-hero .hero-title {
    margin-bottom: 1.5rem;
}

/* قسم الحزم */
.store-packages-section {
    background: var(--surface);
}

/* تصنيفات المتجر */
.store-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 2.5rem;
}

.category-btn {
    padding: .55rem 1.25rem;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    font-family: 'Cairo', sans-serif;
}

.category-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: linear-gradient(145deg, var(--surface-2), rgba(201, 168, 76, .08));
}

.category-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #0F0E0A;
    box-shadow: 0 4px 16px rgba(201, 168, 76, .35);
}

/* شبكة الحزم */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 1.75rem;
}

/* بطاقات الحزم */
.package-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        display 0.3s ease;
}

.package-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.package-card.hidden-by-filter {
    display: none !important;
}

.package-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .1), 0 0 0 2px rgba(255, 187, 0, .15);
}

.dark .package-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4), 0 0 0 2px rgba(255, 187, 0, .2);
}

.package-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s;
}

.package-card:hover::before {
    opacity: 1;
}

/* شارة مميز */
.package-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: .25rem .75rem;
    border-radius: 100px;
    background: linear-gradient(145deg, #ffd700, #ff8c00);
    color: #0F0E0A;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    z-index: 2;
}

[dir="rtl"] .package-featured-badge {
    right: auto;
    left: 12px;
}

/* شارة الأكثر رواجاً */
.package-popular-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: .25rem .75rem;
    border-radius: 100px;
    background: linear-gradient(145deg, #ff4500, #e63900);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    z-index: 2;
}

[dir="rtl"] .package-popular-badge {
    left: auto;
    right: 12px;
}

/* رأس الحزمة */
.package-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
}

.package-icon {
    font-size: 1.8rem;
}

.package-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.package-version {
    font-size: .7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-2);
    padding: .2rem .5rem;
    border-radius: 4px;
}

.package-downloads {
    font-size: .72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .25rem;
}

/* اسم الحزمة */
.package-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .25rem;
}

/* مؤلف الحزمة */
.package-author {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: .75rem;
}

.package-author a {
    color: var(--gold);
    transition: color .2s;
}

.package-author a:hover {
    color: var(--gold-light);
}

/* وصف الحزمة */
.package-desc {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* تقييم الحزمة */
.package-rating {
    margin-bottom: 1rem;
}

.package-rating-num {
    font-size: .85rem;
    font-weight: 700;
    color: var(--gold);
    margin-right: .25rem;
}

.package-reviews {
    font-size: .75rem;
    color: var(--text-muted);
}

/* السعر */
.package-pricing {
    margin-bottom: 1rem;
}

.package-price {
    display: inline-block;
    padding: .3rem .8rem;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 700;
}

.badge-free {
    background: rgba(16, 185, 129, .12);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, .3);
}

.badge-premium {
    background: linear-gradient(145deg, rgba(255, 187, 0, .15), rgba(255, 140, 0, .15));
    color: var(--gold-dark);
    border: 1px solid rgba(255, 187, 0, .4);
}

/* الوسوم */
.package-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1.25rem;
}

.package-tag {
    padding: .2rem .6rem;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 600;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all .2s;
}

.package-card:hover .package-tag {
    border-color: var(--gold);
    color: var(--gold);
}

/* أزرار الحزمة */
.package-actions {
    display: flex;
    gap: .5rem;
}

.btn-install {
    padding: .5rem 1rem;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    flex: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
}

.btn-details {
    padding: .5rem 1rem;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
}

.btn-details:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================================
   قسم المميزات
   ============================================================ */
.store-features-section {
    position: relative;
    overflow: hidden;
}

.store-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.75rem;
}

.store-feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all .3s ease;
    opacity: 0;
    transform: translateY(40px);
}

.store-feature-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.store-feature-card:hover {
    border-color: var(--gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08), 0 0 0 2px rgba(255, 187, 0, .1) inset;
    transform: translateY(-4px);
}

.store-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.store-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .6rem;
}

.store-feature-card p {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   قسم الشهادات
   ============================================================ */
.testimonials-section {
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 1.75rem;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, .08);
    border-color: var(--gold);
}

.testimonial-stars {
    margin-bottom: 1.25rem;
}

.testimonial-text {
    font-size: .95rem;
    color: var(--text-primary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.testimonial-avatar {
    font-size: 2rem;
}

.testimonial-role {
    display: block;
    font-size: .8rem;
    color: var(--text-muted);
}

/* ============================================================
   قسم الأسعار في المتجر
   ============================================================ */
.pricing-section {
    position: relative;
    overflow: hidden;
}

/* ============================================================
   رسالة عدم وجود نتائج
   ============================================================ */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.no-results::before {
    content: '🔍';
    display: block;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ============================================================
   CTA خاص بالمتجر
   ============================================================ */
.store-cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

/* ============================================================
   استجابة للشاشات المختلفة
   ============================================================ */
@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .store-features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .store-categories {
        gap: .5rem;
    }

    .category-btn {
        padding: .45rem 1rem;
        font-size: .8rem;
    }
}

/* ============================================================
   صفحة عرض سكربت Market OS - الأنماط الجديدة
   ============================================================ */

/* ── الهيرو ── */
.script-hero {
     min-height: 92vh;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
     overflow: hidden;
     background: linear-gradient(145deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

@media (max-width: 768px) {
     .script-hero {
          min-height: auto;
          padding: 4rem 0;
     }
}

.script-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(255,187,0,.08) 0%, transparent 60%),
                radial-gradient(ellipse 40% 60% at 30% 80%, rgba(255,187,0,.05) 0%, transparent 50%);
    pointer-events: none;
}

.script-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,187,0,.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,187,0,.05) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.script-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .15;
    pointer-events: none;
}

.script-hero-glow.glow-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: -5%;
    background: rgba(255,187,0,.3);
}

.script-hero-glow.glow-2 {
    width: 400px;
    height: 400px;
    bottom: -15%;
    left: -5%;
    background: rgba(139,92,246,.2);
}

.script-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

.script-hero-content > * {
    opacity: 0;
    animation: heroFadeIn 0.8s ease forwards;
}

.script-badge { animation-delay: 0.2s; }
.script-hero-title { animation-delay: 0.4s; }
.script-hero-desc { animation-delay: 0.6s; }
.script-hero-badges { animation-delay: 0.8s; }
.script-hero-actions { animation-delay: 1s; }

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.script-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1.2rem;
    border-radius: 100px;
    border: 1px solid rgba(255,215,0,.3);
    background: rgba(255,215,0,.08);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    backdrop-filter: blur(8px);
    margin-bottom: 2rem;
}

.script-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

.script-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
    line-height: 1.1;
}

.script-hero-title .highlight {
    background: linear-gradient(135deg, var(--gold) 0%, #ff8c00 25%, #ffe57f 50%, #ff8c00 75%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 100%;
    animation: heroShine 4s ease-in-out infinite;
}

@keyframes heroShine {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.script-hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--hero-text-muted, #c0b8a8);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.script-hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.script-hero-badge {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: #ccc;
    font-size: .78rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.script-hero-badge .s-icon { font-size: 1rem; }

.script-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    background: var(--gradient-gold-1);
    color: var(--ink);
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px var(--gold-glow), 0 0 0 1px rgba(255,255,255,.1) inset;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.2) 0%, transparent 50%);
    pointer-events: none;
}

.btn-hero-primary:hover {
    animation: heroBtnHover 1.8s ease-in-out infinite;
    box-shadow: 0 12px 40px var(--gold-glow-strong);
    background: linear-gradient(145deg, #f5c842, #f0b400, #c79500, #f0b400, #f5c842);
    background-size: 300% 100%;
    color: var(--ink);
}

@keyframes heroBtnHover {
    0%, 100% { transform: translateY(-3px) scale(1.02); }
    50% { transform: translateY(-6px) scale(1.04); }
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255,255,255,.07);
    color: var(--hero-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,.15);
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
    animation: heroSecondaryHover 2s ease-in-out infinite;
    background: rgba(255,255,255,.12);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 4px 20px rgba(201,168,76,.15);
}

@keyframes heroSecondaryHover {
    0%, 100% { transform: translateY(-3px); }
    50% { transform: translateY(-6px); }
}

/* ── قسم الشاشة / العرض ── */
.script-demo-section {
     padding: 7rem 0;
     background: var(--surface);
     position: relative;
     overflow: hidden;
}

.script-demo-container {
     display: flex;
     align-items: center;
     gap: 3rem;
     max-width: 1100px;
     margin: 0 auto;
     padding: 0 2rem;
     flex-wrap: wrap;
}

@media (max-width: 768px) {
     .script-demo-section { padding: 3rem 0; }
     .script-demo-container { gap: 1.5rem; padding: 0 1rem; }
}

.script-demo-text { flex: 1; min-width: 300px; }

.script-demo-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.script-demo-text h2 .highlight { color: var(--gold); }

.script-demo-text .demo-features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.script-demo-text .demo-features-list li {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .5rem 0;
    font-size: .95rem;
    color: var(--text-primary);
}

.script-demo-text .demo-features-list li .df-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.script-demo-text .demo-features-list li:hover .df-icon {
    animation: iconFloat 1.6s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: scale(1.3) rotate(-5deg) translateY(0); }
    50% { transform: scale(1.35) rotate(-8deg) translateY(-4px); }
}

.script-demo-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.script-mockup {
     width: 100%;
     max-width: 420px;
     height: 520px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    border: 2px solid rgba(255,215,0,.2);
    box-shadow: 0 40px 80px rgba(0,0,0,.4);
    overflow: hidden;
    position: relative;
    animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.script-mockup::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 32px;
    background: rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.script-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
}

.mockup-dots { display: flex; gap: 6px; }

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
}

.mockup-dots span:first-child { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:last-child { background: #27c93f; }

.mockup-url {
    color: rgba(255,255,255,.4);
    font-size: .7rem;
    background: rgba(255,255,255,.08);
    padding: 2px 8px;
    border-radius: 4px;
}

.script-mockup-body { padding: 16px; color: rgba(255,255,255,.8); font-size: .75rem; overflow: hidden; }

.mockup-product {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.mockup-product-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    flex-shrink: 0;
}

.mockup-product-info { flex: 1; }
.mockup-product-info .mp-name { font-weight: 600; margin-bottom: 4px; color: #fff; }
.mockup-product-info .mp-price { color: var(--gold); font-weight: 700; }
.mockup-product-info .mp-desc { color: rgba(255,255,255,.4); font-size: .7rem; margin-top: 2px; }

/* ── معرض الصور ── */
.script-gallery-section {
     padding: 5rem 0;
     background: var(--surface-2);
     position: relative;
     overflow: hidden;
}

@media (max-width: 768px) {
     .script-gallery-section { padding: 3rem 0; }
}

.script-gallery-section::before {
     content: '';
     position: absolute;
     inset: 0;
     background: radial-gradient(ellipse at 20% 50%, rgba(201,168,76,.05) 0%, transparent 60%),
                 radial-gradient(ellipse at 80% 50%, rgba(16,185,129,.04) 0%, transparent 60%);
     pointer-events: none;
}

/* ── Lightbox Zoom ── */
.lightbox-overlay {
     position: fixed;
     inset: 0;
     background: rgba(0, 0, 0, .92);
     z-index: 10000;
     cursor: zoom-out;
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     visibility: hidden;
     pointer-events: none;
     transition: opacity .4s ease, visibility .4s ease;
}

.lightbox-overlay.open {
     opacity: 1;
     visibility: visible;
     pointer-events: auto;
}

.lightbox-modal {
     position: relative;
     max-width: 90vw;
     max-height: 90vh;
     border-radius: 24px;
     overflow: hidden;
     padding: 1.25rem;
     transform: scale(0.7) translateY(30px);
     transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1);
     box-shadow: 0 30px 80px rgba(0, 0, 0, .6),
                 0 25px 60px rgba(0,0,0,.25),
                 0 0 0 1px rgba(255,187,0,.1);
     background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
     border: 1px solid rgba(255,187,0,.15);
}

.lightbox-overlay.open .lightbox-modal {
     transform: scale(1) translateY(0);
}

.lightbox-modal:hover {
     box-shadow: 0 30px 80px rgba(0, 0, 0, .6),
                 0 25px 60px rgba(0,0,0,.25),
                 0 0 0 1px rgba(255,187,0,.15),
                 0 0 40px rgba(255,187,0,.08);
}

.lightbox-close {
      position: absolute;
      top: 12px;
      right: 12px;
     background: rgba(0,0,0,.4);
     border: 1px solid rgba(255,187,0,.2);
     color: var(--gold);
     font-size: 2rem;
     cursor: pointer;
     width: 44px;
     height: 44px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     backdrop-filter: blur(10px);
     transition: all .3s cubic-bezier(0.22, 1, 0.36, 1);
     z-index: 10;
     line-height: 1;
}

.lightbox-close:hover {
     background: rgba(255,187,0,.2);
     border-color: rgba(255,187,0,.4);
     transform: rotate(90deg) scale(1.1);
     box-shadow: 0 8px 24px rgba(255,187,0,.2);
}

.lightbox-image {
     width: 100%;
     height: auto;
     object-fit: contain;
     display: block;
     position: relative;
     z-index: 1;
     max-height: 80vh;
}

.lightbox-caption {
     font-family: 'Cairo', sans-serif;
}

.lightbox-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,.25),
                0 0 0 1px rgba(255,187,0,.1);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.lightbox-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255,187,0,.15);
    pointer-events: none;
    z-index: 2;
}

.lightbox-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255,187,0,.08) 0%, transparent 50%);
    animation: glowRotate 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.lightbox-image-wrap .lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: #F0EBE0;
    font-size: .95rem;
    font-weight: 600;
    padding: 2.5rem 1rem 3rem;
    background: linear-gradient(to top, rgba(0,0,0,.85) 30%, transparent);
    pointer-events: none;
    z-index: 3;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,187,0,.1);
    border: 1px solid rgba(255,187,0,.2);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all .3s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox-nav:hover {
    background: rgba(255,187,0,.2);
    border-color: rgba(255,187,0,.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(255,187,0,.2);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

/* RTL: swap positions */
[dir="rtl"] .lightbox-prev {
    left: auto;
    right: 16px;
}

[dir="rtl"] .lightbox-next {
    right: auto;
    left: 16px;
}

/* RTL: flip arrows */
[dir="rtl"] .lightbox-prev .lb-arrow,
[dir="rtl"] .lightbox-next .lb-arrow {
    transform: scaleX(-1);
}

/* SVG arrow */
.lb-arrow {
    display: block;
    width: 20px;
    height: 20px;
}

/* ── Pagination dots (slider style) ── */
.lightbox-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    background: rgba(0,0,0,.3);
    padding: .5rem 1rem;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,187,0,.3);
    pointer-events: none;
}

.lb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.1);
    cursor: pointer;
    padding: 0;
    transition: all .3s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
    position: relative;
}

.lb-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.lb-dot.active {
    background: var(--gold);
    width: 32px;
    border-radius: 5px;
    box-shadow: 0 0 12px rgba(255,187,0,.4);
}

.lb-dot.active::after {
    border-color: rgba(255,187,0,.3);
}

.lb-dot:hover:not(.active) {
    background: rgba(255,187,0,.4);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
    }
    .lb-arrow { width: 20px; height: 20px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    [dir="rtl"] .lightbox-prev { left: auto; right: 8px; }
    [dir="rtl"] .lightbox-next { right: auto; left: 8px; }
    .lightbox-dots { bottom: 12px; padding: .4rem .8rem; }
    .lightbox-image-wrap .lightbox-caption { font-size: .85rem; padding: 2rem .8rem 2.5rem; }
}

@media (max-width: 768px) {
     .lightbox-modal { max-width: 95vw; max-height: 90vh; padding: .75rem; }
     .lightbox-close { top: 12px; font-size: 1.5rem; width: 36px; height: 36px; }
     .lightbox-caption { font-size: .8rem; }
}

.script-gallery-grid {
     display: grid;
     grid-template-columns: 1.6fr 1fr;
     grid-template-rows: 1fr 1fr;
     gap: 1rem;
     position: relative;
     z-index: 1;
}

.script-gallery-main {
    grid-row: 1 / -1;
}

.script-gallery-item {
     border-radius: 16px;
     overflow: hidden;
     position: relative;
     background: var(--surface);
     border: 1px solid var(--border);
     transition: all .4s ease;
     cursor: pointer;
}

.script-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,.12);
    border-color: var(--gold);
}

.script-gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.script-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.script-gallery-main .script-gallery-image {
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.script-gallery-side .script-gallery-image {
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.script-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity .35s ease;
}

.script-gallery-item:hover .script-gallery-overlay {
    opacity: 1;
}

.script-gallery-label {
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: .4rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.1);
}

.script-gallery-expand {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all .3s ease;
    cursor: pointer;
}

.script-gallery-item:hover .script-gallery-expand {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

@media (max-width: 768px) {
    .script-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .script-gallery-main {
        grid-row: auto;
    }
    .script-gallery-main .script-gallery-image {
        min-height: 240px;
    }
    .script-gallery-side .script-gallery-image {
        min-height: 180px;
    }
    .script-gallery-image img {
        object-fit: contain;
    }
    .script-gallery-overlay {
        opacity: 1;
        padding: 1rem;
    }
}

/* ── قسم المميزات ── */
.script-features-section {
     padding: 5rem 0;
     background: var(--surface);
     position: relative;
     overflow: hidden;
}

@media (max-width: 768px) {
     .script-features-section { padding: 3rem 0; }
}

.script-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255,187,0,.06) 0%, transparent 70%);
    pointer-events: none;
}

.script-section-header {
     text-align: center;
     margin-bottom: 3rem;
     position: relative;
     padding: 0 1rem;
}

@media (min-width: 769px) {
     .script-section-header { padding: 0 2rem; }
}

.script-section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.25rem auto 0;
    border-radius: 2px;
    opacity: .6;
    box-shadow: 0 0 12px rgba(201,168,76,.2);
}

.script-section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .8rem;
}

.script-section-header .highlight {
    color: var(--gold);
    background: linear-gradient(90deg, var(--gold), #ffe57f, var(--gold));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sectionHighlightShine 4s ease-in-out infinite;
}

@keyframes sectionHighlightShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.script-section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

.script-showcase-slider-section .script-section-header h2 {
    color: #F0EBE0;
}

.script-showcase-slider-section .script-section-header p {
    color: rgba(240,235,224,.6);
}

.script-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.75rem;
}

.script-feature-card {
    background: var(--surface);
    border: var(--border-gold-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem 1.6rem;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.script-feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .4s ease;
}

.script-feature-card:hover::before {
    opacity: 1;
}

.script-feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.script-feature-card:hover {
    border-color: var(--gold);
    box-shadow: 0 16px 48px rgba(0,0,0,.1), 0 0 0 2px rgba(255,187,0,.08) inset;
    transform: translateY(-6px);
}

.script-feature-card:hover::after { opacity: 1; }

.script-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(255,187,0,.1), rgba(255,140,0,.05));
    border: 1px solid rgba(255,215,0,.15);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.script-feature-card:hover .script-feature-icon {
    animation: iconFeaturePulse 1.4s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(255,187,0,.25);
}

@keyframes iconFeaturePulse {
    0%, 100% { transform: scale(1.15) rotate(-5deg) translateY(-4px); }
    50% { transform: scale(1.25) rotate(-8deg) translateY(-8px); }
}

.script-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .6rem;
}

.script-feature-card p {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── قسم الإحصائيات ── */
.script-stats-section {
    padding: 6rem 0;
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}

.script-stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,187,0,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,187,0,.04) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.script-stats-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 1.5rem;
     position: relative;
     z-index: 2;
}

@media (max-width: 768px) {
     .script-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
     .script-stat-item { padding: 1.5rem .5rem; }
}

.script-stat-item { text-align: center; padding: 2rem 1rem; transition: transform 0.3s ease; }

.script-stat-item:hover {
    transform: translateY(-4px);
}

.script-stat-num {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), #ffe57f, #ff8c00);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1;
    margin-bottom: .5rem;
    animation: statNumShine 3s ease-in-out infinite;
}

@keyframes statNumShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

:root {
    --webkit-text-fill: transparent;
}

.script-stat-num,
[dir="ltr"] .script-stat-num {
    -webkit-text-fill-color: transparent;
}

.script-stat-label {
    font-size: .85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── قسم كيف يعمل ── */
.script-how-section { padding: 5rem 0; background: var(--surface); overflow: hidden; }

@media (max-width: 768px) {
     .script-how-section { padding: 3rem 0; }
     .script-how-grid { gap: 1rem; }
}

.script-how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.script-how-grid::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 5%;
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(255,187,0,.3), var(--gold));
    opacity: .3;
    z-index: 0;
}

[dir="rtl"] .script-how-grid::before {
    background: linear-gradient(270deg, var(--gold), rgba(255,187,0,.3), var(--gold));
}

/* ── قسم المتجر فى الصفحة الرئيسية ── */
.script-home-store-section {
    padding: 5rem 0;
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .script-home-store-section { padding: 3rem 0; }
}

.script-home-store-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .3;
}

.script-home-store-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .3;
}

.script-home-store-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .script-home-store-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .script-home-store-grid { grid-template-columns: 1fr; }
}

.script-home-store-card {
    background: var(--surface);
    border: var(--border-gold-subtle);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.script-home-store-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.script-home-store-card:hover::before { opacity: 1; }

.script-home-store-card:hover {
    animation: hscCardFloat 2s ease-in-out infinite;
    border-color: var(--gold);
    box-shadow: 0 12px 36px rgba(0,0,0,.08), 0 0 0 1px rgba(255,187,0,.1) inset;
}

@keyframes hscCardFloat {
    0%, 100% { transform: translateY(-6px); }
    50% { transform: translateY(-10px); }
}

.hsc-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.1rem;
    border: 1px solid;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.script-home-store-card:hover .hsc-icon {
    animation: hscIconPulse 1.5s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(255,187,0,.2);
}

@keyframes hscIconPulse {
    0%, 100% { transform: scale(1.18) rotate(-6deg); }
    50% { transform: scale(1.25) rotate(-9deg); }
}

.script-home-store-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .5rem;
}

.script-home-store-card p {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.script-home-store-cta {
    text-align: center;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.script-home-store-cta .btn-gold {
    padding: .85rem 2.5rem;
    font-size: 1rem;
    border-radius: 50px;
}

/* ============================================================
   سكشن الأخباري في الرئيسية
   ============================================================ */
.script-home-news-section {
    padding: 5rem 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .script-home-news-section { padding: 3rem 0; }
}

.script-home-news-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .3;
}

.script-home-news-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .3;
}

.float-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.float-star-1 {
    top: 10%;
    right: 5%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--gold), transparent 70%);
    border-radius: 50%;
    opacity: .15;
    animation: floatShape 6s ease-in-out infinite;
}

.float-star-2 {
    bottom: 15%;
    left: 3%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--gold), transparent 70%);
    border-radius: 50%;
    opacity: .1;
    animation: floatShape 8s ease-in-out infinite reverse;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.script-home-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .script-home-news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .script-home-news-grid { grid-template-columns: 1fr; }
}

.script-home-news-card {
    background: var(--surface);
    border: var(--border-gold-subtle);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.script-home-news-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.script-home-news-card:hover::before { opacity: 1; }

.script-home-news-card:hover {
    animation: hncCardFloat 2s ease-in-out infinite;
    border-color: var(--gold);
    box-shadow: 0 12px 36px rgba(0,0,0,.08), 0 0 0 1px rgba(255,187,0,.1) inset;
}

@keyframes hncCardFloat {
    0%, 100% { transform: translateY(-6px); }
    50% { transform: translateY(-10px); }
}

.hnc-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.1rem;
    border: 1px solid;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.script-home-news-card:hover .hnc-icon {
    animation: hncIconPulse 1.5s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(255,187,0,.2);
}

@keyframes hncIconPulse {
    0%, 100% { transform: scale(1.18) rotate(-6deg); }
    50% { transform: scale(1.25) rotate(-9deg); }
}

.script-home-news-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .5rem;
}

.script-home-news-card p {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.script-home-news-cta {
    text-align: center;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.script-home-news-cta .btn-gold {
    padding: .85rem 2.5rem;
    font-size: 1rem;
    border-radius: 50px;
}



/* ── أنماط رقم الخطوة ── */
.script-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #e69500);
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(255,187,0,.3);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.script-how-step:hover .script-step-num {
    animation: iconStepPulse 1.2s ease-in-out infinite;
    box-shadow: 0 6px 24px rgba(255,187,0,.45);
}

@keyframes iconStepPulse {
    0%, 100% { transform: scale(1.25); }
    50% { transform: scale(1.35); box-shadow: 0 8px 32px rgba(255,187,0,.6); }
}

.script-how-step {
    text-align: center;
}

.script-how-step h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: .5rem; }

.script-how-step p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ── قسم الأسعار ── */
.pricing-decor-wrapper {
     position: relative;
     overflow: hidden;
}

.pricing-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    animation: pricingFloat 6s ease-in-out infinite;
}

.pricing-decor-1 {
    top: -40px;
    left: -30px;
}

.pricing-decor-2 {
    bottom: -20px;
    right: -40px;
    animation-delay: 1.5s;
}

.pricing-decor-3 {
    top: 50%;
    left: -60px;
    animation-delay: 3s;
}

.pricing-decor-4 {
    bottom: 30%;
    right: -30px;
    animation-delay: 0.8s;
}

.pricing-decor-5 {
    top: 20%;
    right: 15%;
    animation-delay: 2.2s;
}

.pricing-decor-6 {
    bottom: 15%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes pricingFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

.script-pricing-grid {
    padding: 3rem 1rem 1rem 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1.75rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.script-pricing-card {
    background: var(--surface-2);
    border: var(--border-gold-soft);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    transition: var(--transition-smooth);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.script-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,.3), transparent);
    transition: opacity .4s ease;
}

.script-pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,.06), transparent);
    transition: left 0.7s ease;
    pointer-events: none;
}

.script-pricing-card:hover::after {
    left: 120%;
}

.script-pricing-card:hover::before {
    opacity: 1;
}

.script-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(201, 168, 76, .35);
}

.script-pricing-card.popular {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(255,215,0,.05) 0%, var(--surface-2) 100%);
    box-shadow: 0 0 0 2px rgba(255,187,0,.15), var(--shadow-card);
}

.script-pricing-card.popular:hover {
    box-shadow: 0 0 0 2px rgba(255,187,0,.2), var(--shadow-card-hover);
}

.script-pricing-card-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), #e69500);
    color: #000;
    padding: .3rem 1.2rem;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255,187,0,.3);
    animation: popularBadgePulse 2.5s ease-in-out infinite;
}

@keyframes popularBadgePulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(255,187,0,.3); }
    50% { box-shadow: 0 4px 20px rgba(255,187,0,.5), 0 0 0 4px rgba(255,187,0,.08); }
}

.script-pricing-name {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .5rem;
}

.script-pricing-amount {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: .25rem;
}

.script-pricing-amount .currency { font-size: 1.2rem; opacity: .7; }

.script-pricing-period {
    font-size: .75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1.5rem;
}

.script-pricing-desc {
    font-size: .875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    min-height: 48px;
}

.script-pricing-features { list-style: none; text-align: start; margin-bottom: 2rem; }

.script-pricing-features li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .85rem;
    color: var(--text-primary);
    padding: .35rem 0;
    border-bottom: 1px solid rgba(107,114,128,.1);
}

.script-pricing-features li:last-child { border-bottom: none; }

.script-pricing-features li .check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.script-pricing-features li .check.green { background: rgba(16,185,129,.12); color: #10B981; }

.script-pricing-features li .check.gray { background: var(--surface-3, #e5e7eb); color: var(--text-muted); }

.script-pricing-btn {
    display: block;
    width: 100%;
    padding: .85rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.script-pricing-btn.gold-btn {
    background: var(--gradient-gold-1);
    color: var(--ink);
    border: none;
    box-shadow: 0 4px 20px var(--gold-glow), 0 0 0 1px rgba(255,255,255,.1) inset;
}

.script-pricing-btn.gold-btn:hover {
    box-shadow: 0 8px 28px var(--gold-glow-strong), 0 0 0 1px rgba(255,255,255,.2) inset;
    transform: translateY(-2px);
    color: var(--ink);
    background: linear-gradient(145deg, #f5c842 0%, #f0b400 50%, #c79500 100%);
}

.script-pricing-btn.outline-btn {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.script-pricing-btn.outline-btn:hover {
    background: var(--gold-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--gold-glow);
}

/* ── قسم الشهادات ── */
.script-testimonials-section {
    padding: 7rem 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.script-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1.75rem;
}

.script-testimonial-card {
    background: var(--surface);
    border: var(--border-gold-subtle);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.script-testimonial-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(201, 168, 76, .25);
}

.script-testimonial-card:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 36px rgba(0,0,0,.08);
    transform: translateY(-4px);
}

.script-testimonial-stars { margin-bottom: 1.25rem; }

.script-testimonial-text {
    font-size: .92rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.script-testimonial-author { display: flex; align-items: center; gap: .75rem; }

.script-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), #e69500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000;
    font-weight: 700;
}

.script-testimonial-name { font-weight: 700; font-size: .9rem; color: var(--text-primary); }

.script-testimonial-role { font-size: .78rem; color: var(--text-muted); }

/* ── قسم المميزات المتقدمة ── */
.script-showcase-section {
     padding: 6rem 0;
     background: var(--surface-2);
     position: relative;
     overflow: hidden;
}

@media (max-width: 768px) {
     .script-showcase-section { padding: 3rem 0; }
}

.script-showcase-section::before {
     content: '';
     position: absolute;
     top: -100px;
     left: 50%;
     transform: translateX(-50%);
     width: 600px;
     height: 400px;
     background: radial-gradient(ellipse, rgba(255,187,0,.06) 0%, transparent 70%);
     pointer-events: none;
}

.script-showcase-title {
     font-size: clamp(1.8rem, 5vw, 3rem);
     font-weight: 800;
     text-align: center;
     margin-bottom: .8rem;
     color: transparent;
     -webkit-text-stroke: 1px rgba(255,215,0,.15);
     letter-spacing: -.03em;
}

.script-showcase-desc {
     font-size: 1rem;
     color: var(--text-muted);
     max-width: 550px;
     margin: 0 auto 3rem;
     text-align: center;
}

.script-showcase-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 1.25rem;
     max-width: 900px;
     margin: 0 auto;
}

@media (max-width: 768px) {
     .script-showcase-grid { grid-template-columns: 1fr; gap: 1rem; max-width: 100%; }
}

.script-showcase-item {
     display: flex;
     align-items: flex-start;
     gap: 1.1rem;
     background: var(--surface);
     border: var(--border-gold-subtle);
     border-radius: var(--radius-md);
     padding: 1.35rem 1.25rem;
     transition: var(--transition-smooth);
     box-shadow: var(--shadow-card);
     position: relative;
     overflow: hidden;
}

.script-showcase-item:hover {
     border-color: var(--gold);
     background: rgba(255,187,0,.03);
     transform: translateX(4px);
     box-shadow: var(--shadow-card-hover);
}

[dir="rtl"] .script-showcase-item:hover { transform: translateX(-4px); }

.si-icon-wrap {
     width: 48px;
     height: 48px;
     border-radius: 14px;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     font-size: 1.4rem;
     transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s ease;
}

.script-showcase-item:hover .si-icon-wrap {
     animation: iconSwing 1.5s ease-in-out infinite;
     box-shadow: 0 6px 20px rgba(255,187,0,.2);
}

@keyframes iconSwing {
     0%, 100% { transform: scale(1.2) rotate(10deg); }
     50% { transform: scale(1.25) rotate(15deg); }
}

.si-icon-wrap.gold {
     background: linear-gradient(135deg, rgba(255,187,0,.15), rgba(255,140,0,.08));
     border: 1px solid rgba(255,187,0,.3);
}

.si-icon-wrap.blue {
     background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(59,130,246,.08));
     border: 1px solid rgba(59,130,246,.3);
}

.si-icon-wrap.emerald {
     background: linear-gradient(135deg, rgba(16,185,129,.15), rgba(16,185,129,.08));
     border: 1px solid rgba(16,185,129,.3);
}

.si-icon-wrap.purple {
     background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(139,92,246,.08));
     border: 1px solid rgba(139,92,246,.3);
}

.si-content h4 {
     font-size: .95rem;
     font-weight: 700;
     color: var(--text-primary);
     margin-bottom: .25rem;
}

.si-content p {
     font-size: .82rem;
     color: var(--text-muted);
     line-height: 1.65;
     margin: 0;
}

@media (max-width: 768px) {
      .script-showcase-section { padding: 3rem 0; }
}

/* ── قسم التقييمات / المراجعات ── */
.script-reviews-section {
     padding: 5rem 0;
     background: var(--surface-2);
     position: relative;
     overflow: hidden;
}

@media (max-width: 768px) {
     .script-reviews-section { padding: 3rem 0; }
}

.script-reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,187,0,.04) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(139,92,246,.04) 0%, transparent 50%);
    pointer-events: none;
}

.script-reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.script-reviews-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .5rem;
}

.script-overall-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: .5rem;
}

.script-overall-rating .big-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.script-overall-rating .stars-big { font-size: 1.5rem; color: var(--gold); }

.script-overall-rating .reviews-count {
    font-size: .85rem;
    color: var(--text-muted);
}

/* ── قسم المميزات (قائمة) ── */
.script-benefits-section {
     padding: 5rem 0;
     background: var(--surface);
     position: relative;
     overflow: hidden;
}

@media (max-width: 768px) {
     .script-benefits-section { padding: 3rem 0; }
}

.script-pricing-section {
    padding: 7rem 0;
    background: var(--surface-2);
    position: relative;
}

.script-benefits-list {
     max-width: 800px;
     margin: 0 auto;
     overflow: hidden;
}

.script-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: var(--surface);
    border: var(--border-gold-subtle);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.script-benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,.04), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.script-benefit-item:hover::before {
    left: 120%;
}

.script-benefit-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.script-benefit-item:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 168, 76, .25);
}

.script-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255,187,0,.1), rgba(255,140,0,.05));
    border: 1px solid rgba(255,215,0,.15);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.script-benefit-item:hover .script-benefit-icon {
    animation: iconBenefitPulse 1.6s ease-in-out infinite;
    box-shadow: 0 8px 20px rgba(255,187,0,.2);
}

@keyframes iconBenefitPulse {
    0%, 100% { transform: scale(1.2) rotate(-8deg) translateY(-3px); }
    50% { transform: scale(1.28) rotate(-12deg) translateY(-6px); }
}

.script-benefit-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .3rem;
}

.script-benefit-item p {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── قسم الأسئلة الشائعة ── */
.script-faq-section {
     padding: 5rem 0;
     background: var(--surface-2);
     position: relative;
     overflow: hidden;
}

@media (max-width: 768px) {
     .script-faq-section { padding: 3rem 0; }
}

.script-faq-item {
    background: var(--surface);
    border: var(--border-gold-subtle);
    border-radius: var(--radius-md);
    margin-bottom: .75rem;
    overflow: hidden;
    transition: var(--transition-clean);
}

.script-faq-item.open {
    border-color: rgba(201, 168, 76, .3);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.script-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: right;
    color: var(--text-primary);
    font-family: 'Cairo', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    transition: color .2s;
    gap: .85rem;
}

.script-faq-question:hover { color: var(--gold); }

.sf-q-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    background: rgba(201,168,76,.1);
    border: 1.5px solid rgba(201,168,76,.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.script-faq-question:hover .sf-q-icon {
    animation: sfqIconPulse 1.5s ease-in-out infinite;
    background: rgba(201,168,76,.18);
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(201,168,76,.25);
}

@keyframes sfqIconPulse {
    0%, 100% { transform: scale(1.1) rotate(-6deg); }
    50% { transform: scale(1.2) rotate(6deg); }
}

.sf-q-text {
    flex: 1;
    text-align: start;
}

.script-faq-icon {
    font-size: .8rem;
    transition: transform .3s ease, color .3s ease;
    color: var(--text-muted);
    flex-shrink: 0;
}

.script-faq-question:hover .script-faq-icon {
    transform: scale(1.3) rotate(90deg);
    color: var(--gold);
}

.script-faq-item.open .script-faq-icon { transform: rotate(180deg); color: var(--gold); }

.script-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.script-faq-item.open .script-faq-answer { max-height: 300px; }

.script-faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: .9rem;
}

/* ── CTA نهاية الصفحة ── */
.script-cta-section {
     padding: 5rem 0;
     background: linear-gradient(135deg, #0f0c08, #1a1a2e, #16213e);
     position: relative;
     overflow: hidden;
     text-align: center;
     border-top: 1px solid rgba(201, 168, 76, .15);
     border-bottom: 1px solid rgba(201, 168, 76, .15);
}

@media (max-width: 768px) {
     .script-cta-section { padding: 3rem 0; }
     .script-cta-title { font-size: 1.8rem; }
     .script-cta-subtitle { font-size: .95rem; }
}

.script-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,187,0,.08), transparent);
    pointer-events: none;
}

.script-cta-section .container-xl { position: relative; z-index: 2; }

.script-cta-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.script-cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 2rem;
    background: var(--gold);
    color: #000;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px var(--gold-glow);
    position: relative;
    overflow: hidden;
}

.btn-cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.25) 0%, transparent 50%);
    pointer-events: none;
}

.btn-cta-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    pointer-events: none;
}

.btn-cta-primary:hover::after {
    animation: btnShineCta 1.5s ease-in-out infinite;
}

@keyframes btnShineCta {
    0% { left: -100%; }
    45% { left: 120%; }
    46% { left: -100%; }
    100% { left: -100%; }
}

.btn-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px var(--gold-glow-strong);
    background: var(--gold-light);
}

.btn-cta-primary:hover {
    animation: ctaBtnHover 2s ease-in-out infinite;
    box-shadow: 0 12px 40px rgba(255,187,0,.5);
    color: #000;
}

@keyframes ctaBtnHover {
    0%, 100% { transform: translateY(-3px) scale(1.02); }
    50% { transform: translateY(-6px) scale(1.04); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
     .script-hero-content { padding: 3rem 1rem 2rem; }
     .script-hero-title { font-size: 1.8rem; }
     .script-hero-badges { gap: .5rem; flex-wrap: wrap; }
     .script-badge { font-size: .7rem; padding: .3rem .8rem; }
     .script-mockup { width: 100%; max-width: 300px; height: auto; }
     .script-stats-grid { grid-template-columns: repeat(2, 1fr); }
     .script-stat-num { font-size: 2rem; }
     .script-showcase-title { font-size: 1.8rem; }
     .script-pricing-card-popular { display: none; }
     .pricing-decor-1,
     .pricing-decor-2,
     .pricing-decor-3,
     .pricing-decor-4,
     .pricing-decor-5,
     .pricing-decor-6 { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   Showcase Slider Section — Amazing Feature Showcase
   ═══════════════════════════════════════════════════════════ */
.script-showcase-slider-section {
    padding: 4rem 0 7rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0a14 0%, #12121f 50%, #0a0a14 100%);
}

.script-showcase-slider-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,187,0,.06) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(59,130,246,.04) 0%, transparent 60%);
    pointer-events: none;
}

.showcase-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    transition: filter 0.5s ease;
}

.showcase-slider:hover {
    filter: brightness(1.05);
}

.showcase-slider-track {
    position: relative;
    border-radius: 24px;
    height: auto;
    overflow: hidden;
    transition: box-shadow 0.5s ease;
}

.showcase-slider:hover .showcase-slider-track {
    box-shadow: 0 0 40px rgba(255,187,0,.08);
}

.showcase-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(60px) scale(0.96);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.7s;
    pointer-events: none;
    padding: 1.5rem;
}

.showcase-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 2;
}

/* ── Slide Image ── */
.slide-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,.25),
                0 0 0 1px rgba(255,187,0,.1);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.slide-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255,187,0,.15);
    pointer-events: none;
    z-index: 2;
}

.slide-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255,187,0,.08) 0%, transparent 50%);
    animation: glowRotate 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes glowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.slide-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-slide.active .slide-img {
    transform: scale(1.02);
}

.slide-reflection {
    position: absolute;
    bottom: -30%;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to bottom, rgba(255,187,0,.03), transparent);
    transform: scaleY(-1);
    opacity: 0.3;
    filter: blur(8px);
    z-index: 0;
    pointer-events: none;
}

/* ── Slide Content ── */
.slide-content {
    padding: 1rem 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,187,0,.12), rgba(255,187,0,.04));
    border: 1px solid rgba(255,187,0,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(255,187,0,.1);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease;
}

.showcase-slide.active .slide-icon-badge {
    animation: badgePop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes badgePop {
    0% { transform: scale(0.5) rotate(-10deg); opacity: 0; }
    60% { transform: scale(1.1) rotate(2deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.slide-icon-badge:hover {
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 0 12px 32px rgba(255,187,0,.2);
}

.slide-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #F0EBE0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.showcase-slide.active .slide-title {
    animation: slideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.slide-desc {
    font-size: 1.05rem;
    color: rgba(240,235,224,.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.showcase-slide.active .slide-desc {
    animation: slideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.slide-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.slide-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(240,235,224,.8);
    padding: 0.6rem 1rem;
    border-radius: 10px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    transition: all 0.3s ease;
}

.slide-features li:hover {
    background: rgba(255,187,0,.06);
    border-color: rgba(255,187,0,.15);
    transform: translateX(4px);
}

[dir="rtl"] .slide-features li:hover {
    transform: translateX(-4px);
}

.sf-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16,185,129,.3);
}

.showcase-slide.active .slide-features li:nth-child(1) { animation: slideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both; }
.showcase-slide.active .slide-features li:nth-child(2) { animation: slideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both; }
.showcase-slide.active .slide-features li:nth-child(3) { animation: slideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both; }

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ── Slider UI elements hidden by default, show on hover ── */
.slider-nav-btn,
.slider-dots,
.slide-counter,
.slider-progress,
.showcase-slider::after {
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.3s ease;
}

.showcase-slider:hover .slider-nav-btn,
.showcase-slider:hover .slider-dots,
.showcase-slider:hover .slide-counter,
.showcase-slider:hover .slider-progress,
.showcase-slider:hover::after {
    opacity: 1;
}

/* ── Navigation Buttons ── */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,187,0,.1);
    border: 1px solid rgba(255,187,0,.2);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.4s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slider-nav-btn:hover {
    background: rgba(255,187,0,.2);
    border-color: rgba(255,187,0,.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(255,187,0,.2);
}

.slider-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

[dir="rtl"] .slider-prev {
    left: auto;
    right: 0;
}

[dir="rtl"] .slider-next {
    right: auto;
    left: 0;
}

/* ── Dots ── */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 3rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.slider-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--gold);
    width: 32px;
    border-radius: 5px;
    box-shadow: 0 0 12px rgba(255,187,0,.4);
}

.slider-dot.active::after {
    border-color: rgba(255,187,0,.3);
}

.slider-dot:hover:not(.active) {
    background: rgba(255,187,0,.4);
    transform: scale(1.2);
}

/* ── Slide Counter ── */
.slide-counter {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
    color: rgba(240,235,224,.5);
    letter-spacing: 2px;
}

.current-num {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}

.sep {
    opacity: 0.4;
}

/* ── Progress Bar ── */
.showcase-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,.06);
    border-radius: 1px;
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), #f0c84a);
    border-radius: 1px;
    transition: opacity 0.4s ease, width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 5;
    box-shadow: 0 0 8px rgba(255,187,0,.4);
}

/* ── Responsive ── */
@media (max-width: 968px) {
    .script-showcase-slider-section {
        overflow: visible;
    }

    .showcase-slide {
        position: relative;
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        display: none;
    }

    .showcase-slide.active {
        display: grid;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .showcase-slider {
        max-width: none;
        padding: 0 50px;
    }

    .slider-nav-btn {
        width: 44px;
        height: 44px;
    }

    .showcase-slider-track {
        min-height: 0;
        overflow: visible;
    }

    .slider-nav-btn,
    .slider-dots,
    .slide-counter,
    .slider-progress,
    .showcase-slider::after {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .script-showcase-slider-section {
        padding: 3rem 0 6rem;
    }

    .showcase-slider {
        padding: 0;
        margin-left: calc(-1 * clamp(1.25rem, 5vw, 3rem));
        margin-right: calc(-1 * clamp(1.25rem, 5vw, 3rem));
    }

    .showcase-slide {
        padding: 1rem;
        gap: 1.5rem;
    }

    .slide-content {
        padding: 0.5rem 0 1.5rem;
    }

    .slide-icon-badge {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .slide-title {
        font-size: 1.3rem;
    }

    .slide-desc {
        font-size: 0.95rem;
    }

    .slide-features li {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }

    .slider-nav-btn {
        width: 38px;
        height: 38px;
        top: 40%;
    }

    .slider-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .slide-counter {
        bottom: -50px;
        font-size: 0.75rem;
    }

    .slider-dots {
        margin-top: 2.5rem;
    }

    .showcase-slider::after,
    .slider-progress {
        left: 0;
        right: 0;
    }
}

/* ===== Zoom Button ===== */
.slide-zoom-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
    z-index: 5;
    padding: 8px;
}
.slide-image-wrap:hover .slide-zoom-btn {
    opacity: 1;
    transform: scale(1);
}
.slide-zoom-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
    transform: scale(1.1);
}
.slide-zoom-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .slide-zoom-btn {
        width: 34px;
        height: 34px;
        padding: 6px;
        bottom: 0.6rem;
        right: 0.6rem;
    }
    .slide-zoom-btn svg { width: 15px; height: 15px; }
}

