@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700;800&display=swap');

/* إعادة تعيين عام */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    background-color: #FBF7FC;
    overflow-x: hidden;
}


/* ═══════════════════════════════════════════════════════════
   SALLA ELEMENTS VISIBILITY CONTROL
   ═══════════════════════════════════════════════════════════ */
/* ✅ Keep visible: */
/*    - salla-advertisement (top notification bar) */
/*    - .top-navbar (search & contacts) */
/*    - #after-header */
/*    - main#main-content */
/*    - footer.store-footer (original Salla footer) */
/* ❌ Hide only: */
/*    - #mainnav (main navigation bar) */
/* ═══════════════════════════════════════════════════════════ */

/* Ensure Salla advertisement stays visible */
salla-advertisement {
    display: block !important;
    visibility: visible !important;
}

/* Ensure top navbar (search & contacts) stays visible */
.top-navbar {
    display: block !important;
    visibility: visible !important;
}

/* Ensure after-header element stays visible */
#after-header,
.s-design-after--header {
    display: block !important;
    visibility: visible !important;
}

/* ❌ ONLY hide the main navigation bar */
#mainnav,
#mainnav.main-nav-container,
.main-nav-container {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Hide main content ONLY when in SPA mode (home/products on main URL) */
body.spa-mode main#main-content {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* ❌ Hide original Salla mobile menu/sidebar (keep only our custom mobile menu) */
.s-mobile-menu:not(#mobileMenu),
.s-sidebar-menu,
.s-offcanvas-menu,
[class*="s-mobile"]:not(#mobileMenu),
[class*="offcanvas"]:not(#mobileMenu),
.mobile-navbar:not(#mobileMenu),
aside.s-sidebar,
.s-nav-drawer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Keep Salla's original footer - don't hide it */
footer.store-footer {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
}

/* Hide custom footer if it somehow gets injected */
footer#main-footer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* ❌ إخفاء الصور المتحركة والبنرات */
/* ⚠️ DISABLED - This was hiding important Salla elements like salla-advertisement */
/* If you want to hide specific banners, add them individually below */

/* Also disabled - was too broad */

/* ===============================
           Main Header (contains advertisement, top-navbar, and custom nav)
           =============================== */
#main-header {
    width: 100%;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    direction: rtl;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Salla Advertisement container inside header */
#salla-advertisement-container {
    width: 100%;
}

/* Top Navbar (search & contacts) container inside header */
#top-navbar-container {
    width: 100%;
    background-color: #FFFFFF;
}

/* Header inner container (logo, nav, actions) */
.header-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-text {

    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
}

/* القائمة العادية للشاشات الكبيرة */
.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    font-size: 15px;


    transition: all 0.3s ease;
    padding: 8px 12px;
    white-space: nowrap;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
}

.nav-links a:hover {

    background-color: #f8f4ff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 12px;
    width: 0;
    height: 2px;


    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: calc(100% - 24px);
}

/* زر القائمة للهواتف */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;


    border-radius: 3px;
    transition: all 0.3s ease;
}

/* القائمة المنزلقة للهواتف */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 80px 25px 30px;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-links a {
    text-decoration: none;
    font-size: 16px;


    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.mobile-nav-links a:hover {
    background-color: #f8f4ff;


    transform: translateX(-5px);
}

.close-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 28px;


    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-menu:hover {
    background-color: #f0f0f0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.overlay.active {
    display: block;
}

/* منع التمرير عند فتح القائمة */
body.menu-open {
    overflow: hidden;
}

/* إضافة مسافة للهيدر الثابت */
/* Updated to account for: advertisement (46px) + top-navbar (46px) + main-header (60px) */
.header-spacer {
    height: 160px;
}

/* ===============================
           Hero Section
           =============================== */
#custom-hero-section {
    background: #F8F0FF;
    padding: 70px 20px 90px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-sub-title {
    font-size: 14px;
    font-weight: bolder;


    background-color: #f7f3ff;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 5px;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;


    margin-top: 20px;
}

.hero-title .highlight-text {}

.hero-description {
    font-size: 16px;
    color: #777777;
    margin: 20px auto 30px auto;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

/* 🚀 تنسيقات أزرار قسم Hero */
.btn {
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    direction: rtl;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 120px;
    justify-content: center;
}

.btn.primary-action {
    background-color: #8770FF;
    color: white;
    box-shadow: 0 4px 10px rgba(135, 112, 255, 0.4);
}

.btn.primary-action:hover {
    background-color: #7058D6;
    box-shadow: 0 6px 15px rgba(135, 112, 255, 0.6);
}

.btn.secondary-action {
    background-color: #FFFFFF;
    color: #333333;
    border: 2px solid #A083E9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn.secondary-action:hover {
    background-color: #A083E9;
    color: white;
    border-color: #A083E9;
}

/* قسم الإحصائيات الجديد - داخل الهوم */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;


    font-size: 12px;
    flex-direction: row-reverse;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;


}

.stat-label {
    font-size: 12px;
    color: #666666;
}

/* ===============================
           Cards Section 
           =============================== */
.cards-section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;


    margin-bottom: 5px;
    padding-top: 30px;
}

.cards-section-description {
    font-size: 14px;
    color: #777777;
    max-width: 600px;
    margin: 10px auto 25px;
    text-align: center;
    padding: 0 15px;
}

.cards-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.card {
    background-color: #FFFFFF;
    border: 2px solid #f2ecff;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);


}

.icon-box {
    font-size: 32px;
    margin-bottom: 12px;


    background-color: #f7f3ff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
}

.card-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;


}

.card-desc {
    font-size: 13px;
    color: #777777;
    line-height: 1.4;
}

/* ===============================
           Key Features Section
           =============================== */
.key-features-section {
    padding: 60px 20px;
    background-color: #f7f7f7;
    text-align: center;
    direction: rtl;
}

.key-features-title {
    color: #FF69B4;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 900;
}

.features-list-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.features-column {
    text-align: right;
    min-width: 300px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-weight: 700;
    color: #333;
    transition: all 0.2s ease-in-out;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
}

.feature-item:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.feature-item .icon {
    color: #6DC269;
    margin-left: 10px;
    font-size: 22px;
    min-width: 25px;
}

.feature-item .text {
    font-size: 17px;
}

/* ===============================
           Terms Section
           =============================== */
.terms-section {
    padding: 60px 20px;
    background-color: #f7f7f7;
    text-align: center;
    direction: rtl;
}

.terms-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.terms-header {
    padding: 20px;
    background-color: #F8F4FD;
    border-bottom: 1px solid #eee;
}

.terms-list {
    padding: 10px 0;
}

.term-item {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.term-item:last-child {
    border-bottom: none;
}

.term-icon {
    color: #7A49FF;
    margin-left: 15px;
    font-size: 20px;
    opacity: 0.6;
}

.term-text {
    font-size: 17px;
    color: #333;
    font-weight: 500;
}

/* ===============================
           Subscription Plans Section
           =============================== */
.subscription-section {
    padding: 50px 15px;
    text-align: center;
    background-color: #FBF7FC;
}

.subscription-section-title {
    font-size: 24px;
    font-weight: 800;


    margin-bottom: 8px;
}

.subscription-section-subtitle {
    font-size: 14px;
    color: #777777;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.plan-card {
    background-color: #FFFFFF;
    border: 2px solid #E6E6E6;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card.active {
    border-color: #A083E9;
    box-shadow: 0 8px 25px rgba(160, 131, 233, 0.2);
}

.plan-card .badge {
    position: absolute;
    top: -12px;
    background: linear-gradient(145deg, #A083E9 0%, #CE93D8 100%);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(160, 131, 233, 0.3);
}

.plan-card.active .btn-subscribe {}

.plan-card.inactive .btn-subscribe {
    background-color: #F0F0F0;


}

.plan-card.inactive .btn-subscribe:hover {
    background-color: #E0E0E0;
}

.plan-card-title {
    font-size: 20px;
    font-weight: 800;


    margin-bottom: 5px;
}

.plan-card-price {
    font-size: 32px;
    font-weight: 800;


    margin-bottom: 5px;
}

.plan-card-price span {
    font-size: 14px;
    font-weight: 500;
    color: #777777;
    margin-right: 5px;
}

.plan-card-features {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 0;
    text-align: right;
    width: 100%;
}

.plan-card-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555555;
}

.plan-card-features li span:first-child {

    font-size: 16px;
    margin-left: 8px;
}

.plan-card-features li span:last-child {
    flex-grow: 1;
}

.plan-card .btn-subscribe {
    padding: 10px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    color: white;
    display: inline-block;
    text-align: center;
}

.plan-card .btn-subscribe:hover {
    background-color: #8C73D1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(160, 131, 233, 0.4);
}

.plan-card.active .btn-subscribe {
    background: linear-gradient(145deg, #A083E9 0%, #CE93D8 100%);
}

.plan-card.active .btn-subscribe:hover {
    background: linear-gradient(145deg, #8C6FD3 0%, #B87DC2 100%);
}

/* Loading skeleton for subscription plans */
.plan-card-skeleton {
    background-color: #FFFFFF;
    border: 2px solid #E6E6E6;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 350px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-text {
    font-size: 16px;
    color: #777777;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.btn-learn-more-container {
    text-align: center;
    padding-top: 40px;
}

.btn-learn-more {
    padding: 10px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    color: #A083E9;
    background-color: #FFFFFF;
    border: 2px solid #A083E9;
    transition: background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-learn-more:hover {
    background: linear-gradient(145deg, #A083E9 0%, #CE93D8 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(160, 131, 233, 0.3);
}

/* ===============================
           Popular Apps Section
           =============================== */
.popular-apps-section {
    padding: 50px 15px;
    text-align: center;
    background-color: #FFFFFF;
}

.popular-apps-title {
    font-size: 24px;
    font-weight: 800;


    margin-bottom: 8px;
}

.popular-apps-subtitle {
    font-size: 14px;
    color: #777777;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.app-card {
    background-color: #FFFFFF;
    border: 2px solid #f2ecff;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    min-height: 120px;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);


}

.app-icon-container {
    background-color: #FFFFFF;
    border-radius: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
}

.app-icon {
    font-size: 28px;


}

.app-name {
    font-weight: 600;
    font-size: 14px;


    text-align: center;
}

.more-apps-text {
    margin-top: 40px;
    font-size: 14px;
    color: #777777;
}

.more-apps-text span {

    font-weight: bold;
}

/* ===============================
           FAQ Section
           =============================== */
.faq-section {
    padding: 50px 15px;
    text-align: center;
    background-color: #FBF7FC;
}

.faq-title {
    font-size: 24px;
    font-weight: 800;


    margin-bottom: 8px;
}

.faq-subtitle {
    font-size: 14px;
    color: #777777;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: right;
    padding: 0 15px;
}



.faq-question {
    font-size: 16px;
    font-weight: 700;


    margin-bottom: 8px;
}

.faq-answer {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}

/* ===============================
           Premium FAQ Section
           =============================== */
.premium-faq-section {
    padding: 40px 20px;
    direction: rtl;
}

.premium-faq-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 25px;
}

.premium-faq-title span {
    color: #ff2d55;
}

.premium-faq {
    max-width: 780px;
    margin: auto;
}

.premium-faq-item {
    background: #fff;
    border-radius: 14px;
    padding: 0 18px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.premium-faq-item input {
    display: none;
}

.premium-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
}

.premium-faq-answer {
    padding: 0 0 14px;
    height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 1rem;
    transition: 0.35s ease;
    color: #444;
}

.premium-arrow {
    width: 10px;
    height: 10px;
    border-right: 3px solid #ff007a;
    border-bottom: 3px solid #ff007a;
    transform: rotate(45deg);
    transition: 0.3s;
}

.premium-faq-item input:checked~.premium-faq-question .premium-arrow {
    transform: rotate(-135deg);
}

.premium-faq-item input:checked~.premium-faq-answer {
    height: auto;
    opacity: 1;
    padding-top: 6px;
}

/* ===============================
           Ready to Start Section
           =============================== */
.ready-to-start-section {
    padding: 50px 15px;
    text-align: center;


    border-radius: 12px;
    margin: 30px 15px;
    background: linear-gradient(145deg, #A083E9 0%, #CE93D8 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ready-to-start-title {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.ready-to-start-subtitle {
    font-size: 14px;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.ready-to-start-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ready-btn {
    background-color: white;


    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
    min-width: 180px;
    justify-content: center;
}

.ready-btn:hover {
    background-color: #F0F0F0;
    color: #222222;
    transform: translateY(-2px);
}

/* ===============================
           Footer Styles 
           =============================== */
#main-footer {
    background-color: #FFFFFF;
    padding: 40px 15px 15px;
    border-top: 1px solid #EEEEEE;
    direction: rtl;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 25px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    text-align: right;
}

.footer-col {
    min-width: 150px;
    flex: 1;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 700;


    margin-bottom: 15px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links a,
.footer-contact a {
    text-decoration: none;
    color: #666666;
    font-size: 13px;
    line-height: 2;
    transition: color 0.3s ease;
    display: block;
}

.footer-links a:hover,
.footer-contact a:hover {}

.footer-info .logo-text {
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-description {
    color: #777777;
    font-size: 13px;
    line-height: 1.5;
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-logo .logo-image {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #EEEEEE;
    padding-top: 15px;
    font-size: 12px;
    color: #AAAAAA;
    position: relative;
}

.made-with-manos {
    position: absolute;
    left: 15px;
    bottom: 15px;
    background-color: #222;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
}

/* Social Media Icons */
.social-media {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icon:hover {

    color: white;
    transform: translateY(-2px);
}

/* ID Anchors for Navigation */
.anchor-point {
    padding-top: 70px;
    margin-top: -70px;
    display: block;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-title {
        font-size: 24px;
    }

    /* الكروت: 1 في الهاتف */
    .cards-section {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* التطبيقات: 2 في الهاتف */
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-list-container {
        gap: 15px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    /* الكروت: 2 في التابلت */
    .cards-section {
        grid-template-columns: repeat(2, 1fr);
    }

    /* التطبيقات: 4 في التابلت */
    .apps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1025px) {

    /* الكروت: 4 في اللابتوب */
    .cards-section {
        grid-template-columns: repeat(4, 1fr);
    }

    /* التطبيقات: 4 في اللابتوب */
    .apps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 769px) {

    .mobile-menu,
    .overlay {
        display: none !important;
    }
}

@media (min-width: 768px) {


    .logo-text {
        font-size: 18px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}




/* 
 * SKY ZOOM - Complete Salla Theme CSS
 * All styles in one file for easy integration
 * Version: 2.0
 */

/* ═══════════════════════════════════════════════════════════
   FONTS & VARIABLES
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

:root {
    --primary-purple: #A083E9;
    --primary-dark-text: #333333;
    --desired-gradient: linear-gradient(145deg, #A083E9 0%, #CE93D8 100%);
    --secondary-color: #8770FF;
    --background-light: #FBF7FC;
    --white: #FFFFFF;
    --gray-light: #f7f7f7;
    --gray-text: #777777;
    --border-light: #f2ecff;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL RESET & BASE STYLES
   ═══════════════════════════════════════════════════════════ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cairo', sans-serif !important;
    margin: 0;
    padding: 0;
    direction: rtl;
    background-color: var(--background-light);
    overflow-x: hidden;
    color: var(--primary-dark-text);
}

html {
    scroll-behavior: smooth;
}

/* ⚠️ IMPORTANT: Only hide #mainnav, keep everything else visible! */
/* ✅ Keep visible: salla-advertisement, top-navbar (search & contacts), after-header, main content */
/* ❌ Hide only: #mainnav (main navigation bar) */
/* This is intentionally left empty - we only hide #mainnav at the top of the file */

/* Hide original Salla mobile menu/sidebar (keep only our custom mobile menu) */
.s-mobile-menu:not(#mobileMenu),
.s-sidebar-menu,
.s-offcanvas-menu,
[class*="s-mobile"]:not(#mobileMenu),
[class*="offcanvas"]:not(#mobileMenu),
.mobile-navbar:not(#mobileMenu),
aside.s-sidebar,
.s-nav-drawer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Keep Salla's original footer visible */
footer.store-footer,
.store-footer__inner {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
}

/* Hide custom footer if it somehow gets injected */
footer#main-footer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   HEADER STYLES (duplicate section - matches above)
   ═══════════════════════════════════════════════════════════ */
#main-header {
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    direction: rtl;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-image {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-text {
    color: var(--primary-purple);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    font-size: 15px;
    color: var(--primary-dark-text);
    transition: var(--transition);
    padding: 8px 12px;
    white-space: nowrap;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-purple);
    background-color: #f8f4ff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 12px;
    width: 0;
    height: 2px;
    background-color: var(--primary-purple);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: calc(100% - 24px);
}

.header-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark-text);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.header-icon:hover {
    background-color: var(--primary-purple);
    color: var(--white);
}

.header-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff2d55;
    color: var(--white);
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-purple);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 80px 25px 30px;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-links a {
    text-decoration: none;
    font-size: 16px;
    color: var(--primary-dark-text);
    padding: 12px 15px;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.mobile-nav-links a:hover {
    background-color: #f8f4ff;
    color: var(--primary-purple);
    transform: translateX(-5px);
}

.close-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-purple);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-menu:hover {
    background-color: #f0f0f0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.overlay.active {
    display: block;
}

body.menu-open {
    overflow: hidden;
}

/* Updated to account for: advertisement (46px) + top-navbar (46px) + main-header (60px) */
.header-spacer {
    height: 160px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER STYLES
   ═══════════════════════════════════════════════════════════ */
#main-footer {
    background-color: var(--white);
    padding: 40px 15px 15px;
    border-top: 1px solid #EEEEEE;
    direction: rtl;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 25px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    text-align: right;
}

.footer-col {
    min-width: 150px;
    flex: 1;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark-text);
    margin-bottom: 15px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links a,
.footer-contact a {
    text-decoration: none;
    color: #666666;
    font-size: 13px;
    line-height: 2;
    transition: color 0.3s ease;
    display: block;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-purple);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-logo .logo-image {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.footer-description {
    color: var(--gray-text);
    font-size: 13px;
    line-height: 1.5;
    max-width: 350px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #EEEEEE;
    padding-top: 15px;
    font-size: 12px;
    color: #AAAAAA;
}

.social-media {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

.social-icon:hover {
    background-color: var(--primary-purple);
    color: var(--white);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    direction: rtl;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 120px;
    justify-content: center;
}

.btn.primary-action {
    background-color: #8770FF;
    color: var(--white);
    box-shadow: 0 4px 10px rgba(135, 112, 255, 0.4);
}

.btn.primary-action:hover {
    background-color: #7058D6;
    box-shadow: 0 6px 15px rgba(135, 112, 255, 0.6);
    transform: translateY(-2px);
}

.btn.secondary-action {
    background-color: var(--white);
    color: var(--primary-dark-text);
    border: 2px solid var(--primary-purple);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn.secondary-action:hover {
    background-color: var(--primary-purple);
    color: var(--white);
    border-color: var(--primary-purple);
}

.btn.full-width {
    width: 100%;
    margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════ */
.card {
    background-color: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border: 2px solid var(--primary-purple);
}

.icon-box {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--primary-purple);
    background-color: #f7f3ff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
}

.card-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--primary-dark-text);
}

.card-desc {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   AUTH MODAL
   ═══════════════════════════════════════════════════════════ */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.auth-modal.active {
    display: flex;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 1;
}

.auth-modal-close:hover {
    background-color: #f0f0f0;
    color: var(--primary-dark-text);
}

.auth-modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.auth-modal-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark-text);
    margin-bottom: 8px;
}

.auth-modal-header p {
    font-size: 14px;
    color: var(--gray-text);
}

.auth-modal-body {
    padding: 30px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-text);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.auth-tab.active {
    color: var(--primary-purple);
}

.auth-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-purple);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.auth-tab.active::after {
    transform: scaleX(1);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark-text);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: var(--transition);
    direction: rtl;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(160, 131, 233, 0.1);
}

.forgot-password {
    font-size: 13px;
    color: var(--primary-purple);
    text-decoration: none;
    transition: var(--transition);
}

.forgot-password:hover {
    text-decoration: underline;
}

body.modal-open {
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.product-card {
    background-color: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-purple);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.product-card-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background-color: #f8f8f8;
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 20px;
    color: var(--white);
    z-index: 1;
}

.product-badge.sale {
    background-color: #ff2d55;
}

.product-badge.new {
    background-color: #34c759;
}

.product-card-body {
    padding: 15px;
}

.product-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-dark-text);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.price-current {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-purple);
}

.price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.add-to-cart-btn {
    width: 100%;
    margin: 0 15px 15px;
}

/* ═══════════════════════════════════════════════════════════
   NOTIFICATIONS
   ═══════════════════════════════════════════════════════════ */
.notification {
    position: fixed;
    top: 90px;
    right: 20px;
    padding: 15px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    min-width: 250px;
    direction: rtl;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-right: 4px solid #34c759;
}

.notification.error {
    border-right: 4px solid #ff3b30;
}

.notification.info {
    border-right: 4px solid #007aff;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero-section {
    background: linear-gradient(135deg, #F8F0FF 0%, #E8F4FF 100%);
    padding: 70px 20px 90px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-sub-title {
    font-size: 14px;
    font-weight: bolder;
    color: var(--primary-purple);
    background-color: #f7f3ff;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-dark-text);
    margin: 20px 0;
}

.hero-title .highlight-text {
    color: var(--primary-purple);
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 18px;
    color: var(--gray-text);
    margin: 20px auto 30px auto;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    min-width: 100px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-purple);
}

.stat-label {
    font-size: 14px;
    color: #666666;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */
.features-section,
.products-section,
.categories-section,
.faq-section,
.cta-section {
    padding: 60px 20px;
}

.features-section {
    background-color: var(--white);
}

.products-section {
    background-color: var(--background-light);
}

.categories-section {
    background-color: var(--white);
}

.faq-section {
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark-text);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--gray-text);
    max-width: 700px;
    margin: 10px auto 25px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    background-color: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 180px;
    justify-content: center;
    color: var(--primary-dark-text);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-purple);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark-text);
    margin-bottom: 8px;
}

.category-count {
    font-size: 13px;
    color: var(--gray-text);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: right;
}


.faq-question {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark-text);
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.cta-section {
    background: var(--desired-gradient);
    border-radius: 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.anchor-point {
    padding-top: 70px;
    margin-top: -70px;
    display: block;
}

/* ═══════════════════════════════════════════════════════════
   LOADING SKELETON
   ═══════════════════════════════════════════════════════════ */
.loading-skeleton {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skeleton-card {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 12px;
    height: 350px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 24px;
    }

    .features-grid,
    .categories-grid,
    .loading-skeleton {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-subtitle {
        font-size: 14px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 20px;
    }

    .auth-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .auth-modal-body {
        padding: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    .features-grid,
    .categories-grid,
    .loading-skeleton {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 769px) {

    .mobile-menu,
    .overlay {
        display: none !important;
    }


}


/* ═══════════════════════════════════════════════════════════
   PRODUCT PAGE DESCRIPTION STYLING
   ═══════════════════════════════════════════════════════════ */
.product-description {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-description h3 {
    color: var(--primary-purple);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
}

.product-description .description-content {
    line-height: 1.8;
    color: var(--primary-dark-text);
}

.product-description .description-content h2,
.product-description .description-content h3 {
    color: var(--primary-purple);
    margin: 15px 0 10px 0;
    font-weight: 700;
}

.product-description .description-content h2 {
    font-size: 20px;
}

.product-description .description-content h3 {
    font-size: 18px;
}

.product-description .description-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.product-description .description-content ul li {
    padding: 8px 0;
    padding-right: 25px;
    position: relative;
    font-size: 15px;
}

.product-description .description-content ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #6DC269;
    font-weight: bold;
    font-size: 18px;
}

.product-description .description-content ol {
    padding-right: 25px;
    margin: 15px 0;
}

.product-description .description-content ol li {
    padding: 5px 0;
    font-size: 15px;
}

.product-description .description-content p {
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.8;
}

.product-description .description-content strong {
    color: var(--primary-purple);
    font-weight: 700;
}

/* Loading Spinner Overlay */
#spa-loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#spa-loading-overlay.active {
    display: flex;
}

.spa-loading-content {
    text-align: center;
    color: white;
}

.spa-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #A083E9;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spa-loading-content p {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* ===============================
           Customer Reviews Section
           =============================== */
.customer-reviews-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    direction: rtl;
}

#salla-reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Ensure Salla reviews component is visible and styled properly */
#salla-reviews-container salla-reviews {
    display: block !important;
    visibility: visible !important;
}

/* Style the reviews header */
#salla-reviews-container .s-reviews-header-wrapper {
    margin-bottom: 30px;
}

#salla-reviews-container .s-reviews-header {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-dark-text);
    margin-bottom: 10px;
}

/* Style the display all link */
#salla-reviews-container .s-reviews-display-all {
    color: var(--primary-purple);
    font-weight: 600;
    transition: all 0.3s ease;
}

#salla-reviews-container .s-reviews-display-all:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Enhance testimonial cards */
#salla-reviews-container .s-reviews-testimonial {
    background: #FFFFFF;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#salla-reviews-container .s-reviews-testimonial:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Style testimonial text */
#salla-reviews-container .s-reviews-testimonial__text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Style customer name */
#salla-reviews-container .s-reviews-testimonial__info h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark-text);
}

/* Style avatar */
#salla-reviews-container .s-reviews-testimonial__avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--border-light);
}

/* Style rating stars */
#salla-reviews-container .s-rating-stars-wrapper {
    display: flex;
    gap: 4px;
}

#salla-reviews-container .s-rating-stars-selected {
    color: #FFB800;
}

/* Slider navigation buttons */
#salla-reviews-container .s-slider-nav-arrow {
    background: var(--primary-purple);
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#salla-reviews-container .s-slider-nav-arrow:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

#salla-reviews-container .s-slider-nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Quote icon styling */
#salla-reviews-container .s-reviews-testimonial__icon {
    opacity: 0.1;
    color: var(--primary-purple);
}

/* Responsive adjustments for reviews */
@media (max-width: 768px) {
    .customer-reviews-section {
        padding: 40px 15px;
    }

    #salla-reviews-container .s-reviews-header {
        font-size: 22px;
    }

    #salla-reviews-container .s-reviews-testimonial {
        padding: 20px;
    }

    #salla-reviews-container .s-reviews-testimonial__text p {
        font-size: 14px;
    }
}

/* ============================================== */
/* Product Special Sections (For Specific Products) */
/* ============================================== */

.product-special-sections {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

/* Key Features Section */
.key-features-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.key-features-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.features-list-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(160, 131, 233, 0.2);
}

.feature-item .icon {
    color: #4CAF50;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-item .text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Scoped utility classes for product sections - prevent conflicts with Salla */
.product-special-sections .mt-16 {
    margin-top: 64px;
}

.product-special-sections .mb-8 {
    margin-bottom: 32px;
}

.product-special-sections .mb-4 {
    margin-bottom: 16px;
}

.product-special-sections .mt-2 {
    margin-top: 8px;
}

.product-special-sections .mt-8 {
    margin-top: 32px;
}

.product-special-sections .text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.product-special-sections .text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.product-special-sections .text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.product-special-sections .text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.product-special-sections .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.product-special-sections .font-bold {
    font-weight: 700;
}

.product-special-sections .font-semibold {
    font-weight: 600;
}

.product-special-sections .text-center {
    text-align: center;
}

.product-special-sections .text-right {
    text-align: right;
}

.product-special-sections .text-gray-900 {
    color: #111827;
}

.product-special-sections .text-gray-700 {
    color: #374151;
}

.product-special-sections .text-purple-900 {
    color: #581c87;
}

.product-special-sections .text-purple-700 {
    color: #7e22ce;
}

.product-special-sections .text-green-500 {
    color: #22c55e;
}

.product-special-sections .text-muted-foreground {
    color: #6b7280;
}

/* Grid system */
.product-special-sections .grid {
    display: grid;
}

.product-special-sections .gap-6 {
    gap: 24px;
}

.product-special-sections .gap-4 {
    gap: 16px;
}

.product-special-sections .gap-3 {
    gap: 12px;
}

.product-special-sections .gap-2 {
    gap: 8px;
}

@media (min-width: 768px) {
    .product-special-sections .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .product-special-sections .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .product-special-sections .xl\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Card styles */
.product-special-sections .bg-card {
    background-color: white;
}

.product-special-sections .text-card-foreground {
    color: #0f172a;
}

.product-special-sections .flex {
    display: flex;
}

.product-special-sections .flex-col {
    flex-direction: column;
}

.product-special-sections .flex-1 {
    flex: 1 1 0%;
}

.product-special-sections .flex-shrink-0 {
    flex-shrink: 0;
}

.product-special-sections .items-center {
    align-items: center;
}

.product-special-sections .items-start {
    align-items: flex-start;
}

.product-special-sections .justify-between {
    justify-content: space-between;
}

.product-special-sections .rounded-xl {
    border-radius: 12px;
}

.product-special-sections .rounded-lg {
    border-radius: 8px;
}

.product-special-sections .rounded-md {
    border-radius: 6px;
}

.product-special-sections .rounded-full {
    border-radius: 9999px;
}

.product-special-sections .border-2 {
    border-width: 2px;
    border-color: #e5e7eb;
}

.product-special-sections .border-b {
    border-bottom-width: 1px;
    border-bottom-color: #e5e7eb;
    margin-bottom: 5px;
}



.product-special-sections .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.product-special-sections .py-6 {
    padding-top: 24px;
    padding-bottom: 24px;
}

.product-special-sections .py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.product-special-sections .p-6 {
    padding: 24px;
}

.product-special-sections .p-8 {
    padding: 32px;
}

.product-special-sections .p-4 {
    padding: 16px;
}

.product-special-sections .pb-4 {
    padding-bottom: 16px;
}

.product-special-sections .pt-0 {
    padding-top: 0;
}

.product-special-sections .w-12 {
    width: 48px;
}

.product-special-sections .h-12 {
    height: 48px;
}

.product-special-sections .w-5 {
    width: 20px;
}

.product-special-sections .h-5 {
    height: 20px;
}

.product-special-sections .size-4 {
    width: 16px;
    height: 16px;
}

.product-special-sections .w-full {
    width: 100%;
}

.product-special-sections .space-y-4>*+* {
    margin-top: 16px;
}

.product-special-sections .space-y-2>*+* {
    margin-top: 8px;
}

/* Gradients */
.product-special-sections .bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.product-special-sections .from-purple-500 {
    --tw-gradient-from: #a855f7;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(168, 85, 247, 0));
}

.product-special-sections .to-pink-500 {
    --tw-gradient-to: #ec4899;
}

.product-special-sections .from-yellow-400 {
    --tw-gradient-from: #facc15;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(250, 204, 21, 0));
}

.product-special-sections .to-yellow-600 {
    --tw-gradient-to: #ca8a04;
}

.product-special-sections .from-blue-500 {
    --tw-gradient-from: #3b82f6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.product-special-sections .to-purple-500 {
    --tw-gradient-to: #a855f7;
}

.product-special-sections .from-green-500 {
    --tw-gradient-from: #22c55e;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 197, 94, 0));
}

.product-special-sections .to-green-600 {
    --tw-gradient-to: #16a34a;
}

.product-special-sections .from-red-500 {
    --tw-gradient-from: #ef4444;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 68, 68, 0));
}

.product-special-sections .to-red-600 {
    --tw-gradient-to: #dc2626;
}

.product-special-sections .bg-gray-50 {
    background-color: #f9fafb;
}

.product-special-sections .bg-purple-50 {
    background-color: #faf5ff;
}

.product-special-sections .border-purple-200 {
    border-color: #e9d5ff;
}

/* Transitions */
.product-special-sections .transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.product-special-sections .transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

.product-special-sections .duration-200 {
    transition-duration: 200ms;
}

.product-special-sections .translate-y-0\.5 {
    transform: translateY(2px);
}

/* Hover effects */
.product-special-sections .hover\:border-pink-500:hover {
    border-color: #ec4899;
}

.product-special-sections .hover\:border-yellow-500:hover {
    border-color: #eab308;
}

.product-special-sections .hover\:border-blue-500:hover {
    border-color: #3b82f6;
}

.product-special-sections .hover\:border-green-500:hover {
    border-color: #22c55e;
}

.product-special-sections .hover\:border-red-500:hover {
    border-color: #ef4444;
}

.product-special-sections .hover\:underline:hover {
    text-decoration: underline;
}

/* FAQ Accordion */
.product-faq-accordion {
    max-width: 100%;
}



.faq-question {
    width: 100%;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #A083E9;
}

.faq-answer {
    padding: 0 16px;
    transition: all 0.3s ease;
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* Text color for special sections */
.product-special-sections .text-white {
    color: white;
}

.product-special-sections .text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.product-special-sections .pointer-events-none {
    pointer-events: none;
}

.product-special-sections .shrink-0 {
    flex-shrink: 0;
}

.product-special-sections .mt-0\.5 {
    margin-top: 2px;
}

.product-special-sections .outline-none {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.product-special-sections .overflow-hidden {
    overflow: hidden;
}

/* SVG icon blue color */
.product-special-sections .text-blue-500 {
    color: #3b82f6;
}

/* Responsive adjustments for features */
@media (max-width: 768px) {
    .features-list-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .key-features-title {
        font-size: 24px;
    }

    .feature-item {
        padding: 12px;
    }

    .feature-item .text {
        font-size: 14px;
    }

    .product-special-sections {
        margin-top: 30px;
        padding: 0 20px;
    }

    .product-special-sections .mt-16 {
        margin-top: 40px;
    }

    .product-special-sections .text-3xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}


.product-special-apps {
    padding-left: 20px;
    padding-right: 20px;
}

/* Ready to Start Section Styles */
.product-special-sections .ready-to-start-section {
    margin-top: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    border-radius: 16px;
    text-align: center;
}

.product-special-sections .ready-to-start-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 16px;
    text-align: center;
}

.product-special-sections .ready-to-start-subtitle {
    font-size: 1.125rem;
    color: #0369a1;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.6;
}

.product-special-sections .ready-to-start-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.product-special-sections .ready-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
    border: 2px solid transparent;
}

.product-special-sections .ready-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.product-special-sections .ready-btn:active {
    transform: translateY(0);
}

.product-special-sections .ready-btn i {
    font-size: 1.25rem;
    display: inline-block;
}

.product-special-sections .ready-btn span {
    white-space: nowrap;
}

/* Responsive styles for Ready to Start section */
@media (max-width: 768px) {
    .product-special-sections .ready-to-start-section {
        padding: 30px 15px;
        margin-top: 30px;
    }

    .product-special-sections .ready-to-start-title {
        font-size: 1.5rem;
    }

    .product-special-sections .ready-to-start-subtitle {
        font-size: 1rem;
    }

    .product-special-sections .ready-to-start-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .product-special-sections .ready-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}