/* ============================================================
           متغيرات CSS الرئيسية - الألوان والتأثيرات
        ============================================================ */
:root {
    --gold: #ffbb00;
    --gold-light: #ffcf3e;
    --gold-lighter: #F5DFA0;
    --gold-dark: #9E7A2E;
    --gold-deep: #7A5C1A;
    --gold-glow: rgba(201, 168, 76, 0.5);
    --gold-glow-strong: rgba(201, 168, 76, 0.8);

    --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, #ffbb00 0%, #eec54b 50%, #bf8c00 100%);
    --gradient-gold-2: linear-gradient(145deg, #ffbb00 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%);
}

/* ── متغيرات الوضع الداكن ── */
.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);
    --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 {
    font-size: 16px;
}

body {
    padding-top: 79px;
    font-family: 'Cairo', sans-serif;
    background: var(--cream);
    color: var(--text-primary);
    transition: background .3s ease, color .3s ease;
    overflow-x: hidden;
}

/* ── أنماط النص ── */
.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;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.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: 100;
    background: rgba(253, 250, 244, .88);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background .3s, border-color .3s;
}

.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);
    transition: left 0.7s ease;
    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 {
    left: 120%;
}

/* تأثير الارتفاع والزجاج عند المرور */
.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 {
    padding: .55rem 1.4rem;
    border-radius: 6px;
    font-size: .8rem;
}

.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: var(--gradient-gold-2);
    background-size: 200% 200%;
    background-position: 100% 100%;
    box-shadow: 0 12px 40px var(--gold-glow-strong), 0 0 0 3px rgba(255, 255, 255, .2) inset;
    color: #000000;
}

/* ── أزرار إطار ذهبي ── */
.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 {
    padding: .75rem 2rem;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 600;
}

.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 {
    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);
}

/* ── أزرار 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: var(--gradient-gold-2);
    box-shadow: 0 16px 48px var(--gold-glow-strong), 0 0 0 3px rgba(255, 255, 255, .3) inset;
}

.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 {
    border-color: var(--gold);
    background: rgba(201, 168, 76, .25);
    color: #FFFFFF;
    box-shadow: 0 8px 32px rgba(201, 168, 76, .4);
    transform: translateY(-3px) scale(1.02);
}

/* ── تبديل اللغة والوضع الداكن ── */
.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 16px rgba(201, 168, 76, .2);
}

.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: 98;
    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: 99;
    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: 5rem;
    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(2rem, 6vw, 4.5rem);
    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: -150px;
    align-items: center;
    justify-content: center;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 620px;
    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);
}

[dir="rtl"] .store-rating {
    margin-right: 0;
    margin-left: auto;
}

.stars {
    color: #ffbb00;
    letter-spacing: 2px;
}

/* ============================================================
           سلايدر الصور - مع دعم RTL
        ============================================================ */
.store-image-container {
    position: relative;
    padding: 10px;
    display: flex;
    justify-content: center;
    min-height: 300px;
}

.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;
    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: 40px;
    height: 40px;
    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;
    opacity: 0;
}

.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 {
    right: auto;
    left: 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 .9rem;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: rgba(201, 168, 76, .07);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.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);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    cursor: default;
}

.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-cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform .2s ease;
}

.faq-item.open .faq-cat-dot {
    transform: scale(1.4);
}

.faq-cat-general {
    background: var(--gold);
}

.faq-cat-website {
    background: #3B82F6;
}

.faq-cat-store {
    background: #10B981;
}

.faq-cat-support {
    background: #8B5CF6;
}

/* رقم السؤال */
.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: 4rem 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.3;
}

.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);
}

/* ============================================================
           تأثير الظهور عند التمرير (عام)
        ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(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 1fr;
    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;
    }

    .store-image-container {
        padding: 1rem;
    }
}

@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: 32px;
    left: 32px;
    z-index: 9999;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.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;
    top: 4px;
    right: 4px;
    width: 13px;
    height: 13px;
    background: #4ade80;
    border: 2px solid white;
    border-radius: 50%;
    z-index: 2;
}