/* ===============================
   GOOGLE FONTS & BASE SETUP
=============================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* ===============================
   CSS VARIABLES
=============================== */
:root {
    --color-primary: #2d1fa3;
    --color-primary-light: #4f37e5;
    --color-primary-lighter: #6f5cee;
    --color-accent: #7c6bf0;
    --color-dark: #000000;
    --color-light-text: #FFFFFF;
    --spacing-large: 50px;
    --spacing-medium: 40px;
    --spacing-small: 20px;
    --transition-smooth: all 0.3s ease;
    --transition-hover: all 0.25s ease;
}

/* ===============================
   LOADER STYLES
=============================== */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0812 0%, #1a1550 50%, #0a0812 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(45, 31, 163, 0.3);
    border-top: 4px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    color: var(--color-light-text);
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.loader-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    text-align: center;
}

/* ===============================
   KEYFRAMES & ANIMATIONS
=============================== */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideInUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes pulse-purple {
    0% { box-shadow: 0 0 0 0 rgba(79, 55, 229, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(79, 55, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 55, 229, 0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

@keyframes slideShow {
    0% { opacity: 0; transform: scale(1.05); }
    5% { opacity: 1; transform: scale(1); }
    20% { opacity: 1; transform: scale(1); }
    25% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ===============================
   SCROLLBAR STYLING
=============================== */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #0a0812;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 8px;
    border: 2px solid #0a0812;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-primary-light);
}

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

/* خلفية الصفحة الرئيسية — بنفسجي داكن جداً موحد */
body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-light-text);
    margin: 0;
    background: #150b3c;
    direction: rtl;
    overflow-x: hidden;
}

/* ===============================
   TYPOGRAPHY
=============================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-light-text);
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
}

h1 { font-size: 3.6em; line-height: 1.2; }
h2 { font-size: 2.6em; line-height: 1.3; }
h3 { font-size: 2em; }
h4 { font-size: 1.6em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1em; }

p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

/* ===============================
   LINKS
=============================== */
a {
    text-decoration: none;
    color: var(--color-primary-light);
    transition: var(--transition-hover);
}

a:hover {
    color: var(--color-primary-lighter);
    text-shadow: 0 0 8px rgba(111, 92, 238, 0.5);
}

/* ===============================
   LAYOUT COMPONENTS
=============================== */
.container {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.section {
    padding-top: var(--spacing-medium);
    padding-bottom: var(--spacing-medium);
    position: relative;
    z-index: 1;
    margin-bottom: var(--spacing-small);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col { padding: 0 15px; }
.col-12 { width: 100%; }
.col-lg-6 { width: 50%; }
.col-lg-4 { width: 33.333%; }
.col-lg-3 { width: 25%; }
.col-md-6 { width: 50%; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.justify-content-center { justify-content: center; }

/* ===============================
   BUTTONS
=============================== */
.btn-wrapper {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    color: var(--color-light-text);
    background-color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    transition: var(--transition-hover);
    margin: 10px;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: var(--color-light-text);
    box-shadow: 0px 0px 15px 4px rgba(79, 55, 229, 0.6);
    transform: scale(1.05) translateY(-2px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.btn:active {
    transform: scale(1.02) translateY(0);
    transition: all 0.1s ease;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-light-text);
    box-shadow: 0px 0px 15px 4px rgba(45, 31, 163, 0.6);
}

.btn-accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    font-size: 17px;
    animation: pulse-purple 2s infinite;
}

.btn-accent:hover {
    background-color: var(--color-primary-lighter);
    border-color: var(--color-primary-lighter);
    box-shadow: 0px 0px 15px 4px rgba(124, 107, 240, 0.7);
}

/* ===============================
   HEADER
=============================== */
.header {
    background: linear-gradient(135deg, #060411 0%, #1a1550 100%);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(79, 55, 229, 0.4);
    border-bottom: 3px solid var(--color-primary);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.nav-menu ul li a {
    color: var(--color-light-text);
    font-size: 17px;
    font-weight: 600;
    padding: 12px 24px;
    display: block;
    position: relative;
    transition: var(--transition-hover);
    border-radius: 25px;
    margin: 0 6px;
}

.nav-menu ul li a:hover {
    color: var(--color-light-text);
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-light));
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(79, 55, 229, 0.5);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-menu ul li a:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.logo-container img {
    max-height: 65px;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 0 8px rgba(79, 55, 229, 0.5));
}

.logo-container img:hover {
    transform: rotate(5deg) scale(1.05);
    filter: drop-shadow(0 0 15px rgba(79, 55, 229, 0.8));
}

.cart-icon {
    color: var(--color-light-text);
    font-size: 26px;
    margin-right: 20px;
    cursor: pointer;
    transition: var(--transition-hover);
    position: relative;
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-light));
    padding: 15px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(79, 55, 229, 0.3);
}

.cart-icon:hover {
    background: linear-gradient(45deg, var(--color-primary-light), var(--color-primary-lighter));
    transform: scale(1.1) translateY(-2px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(79, 55, 229, 0.6);
    color: var(--color-light-text);
}

.cart-icon:active {
    transform: scale(1.05) translateY(0);
    transition: all 0.1s ease;
}

/* ===============================
   MOBILE NAVIGATION
=============================== */
.mobile-nav {
    display: none;
    align-items: center;
    gap: 15px;
}

.logo-wrapper {
    flex-shrink: 0;
}

.mobile-cart-icon {
    color: var(--color-light-text);
    font-size: 22px;
    text-decoration: none;
    position: relative;
    transition: var(--transition-hover);
    background: var(--color-primary);
    padding: 12px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-cart-icon:hover {
    color: var(--color-light-text);
    background: var(--color-primary-light);
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 4px 12px rgba(79, 55, 229, 0.5);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 28px;
    height: 28px;
    justify-content: center;
    transition: var(--transition-hover);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--color-light-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 85px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 85px);
    background: linear-gradient(180deg, #060411 0%, #1a1550 100%);
    border-left: 2px solid var(--color-primary);
    transition: right 0.3s ease;
    z-index: 999;
    padding: 20px 0;
    box-shadow: -4px 0 16px rgba(79, 55, 229, 0.5);
}

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

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    border-bottom: 1px solid rgba(79, 55, 229, 0.3);
}

.mobile-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: var(--color-light-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition-hover);
}

.mobile-menu ul li a:hover {
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-light));
    color: white;
    transform: translateX(-8px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* ===============================
   HERO SECTION — بنفسجي داكن عميق
=============================== */
#one {
    background-size: cover;
    background-position: center center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    animation: slideShow 20s infinite;
}

.slideshow-image:nth-child(1) {
    background-image: url('http://4k.prosmarter.net/wp-content/uploads/2026/02/cat49-26.webp');
    animation-delay: 0s;
}

.slideshow-image:nth-child(2) {
    background-image: url('http://4k.prosmarter.net/wp-content/uploads/2026/02/2827992.webp');
    animation-delay: 5s;
}

.slideshow-image:nth-child(3) {
    background-image: url('http://4k.prosmarter.net/wp-content/uploads/2026/02/Barcelona.jpg.webp');
    animation-delay: 10s;
}

#one::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* overlay داكن فوق الصور — بنفسجي مع أسود */
    background: linear-gradient(135deg, rgba(13, 11, 32, 0.75) 0%, rgba(26, 21, 80, 0.80) 50%, rgba(13, 11, 32, 0.75) 100%);
    z-index: 1;
}

#one .container {
    position: relative;
    z-index: 10;
    animation: fadeIn 2s ease-out;
}

#one h1 {
    font-size: 42px;
    color: var(--color-light-text);
    text-shadow: 0 0 16px rgba(79, 55, 229, 0.8);
    position: relative;
    z-index: 15;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-btn-wrapper {
    margin-top: 40px;
    text-align: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-light-text);
    background: var(--color-primary);
    border-radius: 50px;
    text-decoration: none;
    border: none;
    transition: var(--transition-hover);
}

.hero-btn:hover {
    background: var(--color-primary-light);
    color: var(--color-light-text);
    box-shadow: 0 12px 30px rgba(79, 55, 229, 0.45);
    transform: translateY(-3px) scale(1.02);
}

.hero-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(79, 55, 229, 0.35);
}

/* ===============================
   STATS — أزرق-بنفسجي متوسط
=============================== */
#stats {
    background: linear-gradient(135deg, #0f0a28 0%, #241970 50%, #0f0a28 100%);
    padding: var(--spacing-small) 0;
    margin-bottom: var(--spacing-small);
}

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

.stat-item {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    border: 1px solid rgba(111, 92, 238, 0.25);
    transition: var(--transition-hover);
    backdrop-filter: blur(8px);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(79, 55, 229, 0.3);
    border-color: var(--color-primary-light);
    background: rgba(79, 55, 229, 0.12);
}

.stat-number {
    font-size: 2.8em;
    font-weight: 800;
    color: var(--color-light-text);
    margin-bottom: 10px;
    animation: countUp 1s ease-out;
}

.stat-label {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ===============================
   PRODUCTS — أسود مع بنفسجي خفيف مركزي
=============================== */
#buy-now {
    background: linear-gradient(180deg, #080614 0%, #150f3d 50%, #080614 100%);
    padding-top: var(--spacing-medium);
    padding-bottom: var(--spacing-medium);
    margin-bottom: var(--spacing-small);
}

#buy-now h2 {
    color: var(--color-light-text);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 35px;
    justify-items: center;
}

.product-box {
    width: 100%;
    max-width: 280px;
}

.product-card {
    background: linear-gradient(180deg, #1b1545 0%, #2a1f70 50%, #130f38 100%);
    border: 2px solid rgba(79, 55, 229, 0.4);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    padding: 20px;
    text-align: center;
    transition: all 0.6s;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    height: auto;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 55, 229, 0.15), transparent);
    transition: left 0.6s;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 16px 36px rgba(79, 55, 229, 0.5);
    border-color: var(--color-primary-light);
}

.product-card img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.4s;
    border: 3px solid var(--color-primary);
}

.product-card:hover img {
    transform: scale(1.08) rotate(4deg);
    border-color: var(--color-primary-light);
}

.product-card h3 {
    font-size: 20px;
    margin-top: 0;
    color: var(--color-light-text);
    margin-bottom: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-card .price {
    color: #fff200;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(255, 242, 0, 0.4);
}

.product-card .device-info {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(79, 55, 229, 0.25);
    border-radius: 8px;
    border: 1px solid rgba(79, 55, 229, 0.4);
}

.product-card .btn {
    width: 100%;
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-light));
    font-size: 15px;
    font-weight: 600;
    margin-top: auto;
    border: none;
    padding: 12px 20px;
}

.product-card .btn:hover {
    background: linear-gradient(45deg, var(--color-primary-light), var(--color-primary-lighter));
    transform: none;
    box-shadow: 0 6px 15px rgba(111, 92, 238, 0.6);
}

/* ===============================
   CONTENT SECTIONS — أسود داكن
=============================== */
.content-section {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-small);
    overflow: hidden;
}

.content-section .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.content-row {
    display: flex;
    align-items: center;
    min-height: 500px;
    margin: 0;
}

.content-image {
    width: 50%;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin: 30px 0;
}

.content-text {
    width: 50%;
    padding: 40px;
    background: linear-gradient(135deg, #060411 0%, #110d35 100%);
    display: flex;
    align-items: center;
    min-height: 500px;
}

.text-content {
    width: 100%;
}

.content-section h2 {
    font-size: 2.2em;
    color: var(--color-light-text) !important;
    margin-top: 25px;
    margin-bottom: 25px;
    position: relative;
    padding-right: 16px;
}

.content-section h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-light));
    border-radius: 2px;
}

.content-section p {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 16px;
}

#content-1 .content-image {
    background-image: url('http://4k.prosmarter.net/wp-content/uploads/2026/02/large.webp');
    order: 2;
}

#content-1 .content-text {
    order: 1;
}

#content-2 .content-image {
    background-image: url('http://4k.prosmarter.net/wp-content/uploads/2026/02/0a8.webp');
    order: 1;
}

#content-2 .content-text {
    order: 2;
    background: linear-gradient(135deg, #100c30 0%, #060411 100%);
}

#content-2 .content-section h2::before {
    right: auto;
    left: 0;
}

#content-2 .content-section h2 {
    padding-right: 0;
    padding-left: 16px;
}

#content-3 .content-image {
    background-image: url('http://4k.prosmarter.net/wp-content/uploads/2026/02/5594.webp');
    order: 2;
}

#content-3 .content-text {
    order: 1;
}

#content-4 .content-image {
    background-image: url('https://smarterpro.net/wp-content/uploads/2025/11/iptv-1.avif');
    order: 1;
}

#content-4 .content-text {
    order: 2;
    background: linear-gradient(135deg, #100c30 0%, #060411 100%);
}

#content-4 .content-section h2::before {
    right: auto;
    left: 0;
}

#content-4 .content-section h2 {
    padding-right: 0;
    padding-left: 16px;
}

/* ===============================
   FEATURES — بنفسجي متوسط مع gradient مائل
=============================== */
#features {
    background: linear-gradient(160deg, #0a0820 0%, #1d1760 50%, #0a0820 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-small) 0;
    margin-bottom: var(--spacing-small);
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(79, 55, 229, 0.08) 0%, transparent 70%);
    z-index: 1;
}

#features .container {
    position: relative;
    z-index: 2;
}

.features-header {
    text-align: center;
    margin-bottom: 40px;
}

.features-header h2 {
    font-size: 2.4em;
    background: linear-gradient(45deg, var(--color-primary-light), var(--color-light-text));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.features-header p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 35px;
}

.feature-card-v2 {
    background: rgba(10, 8, 30, 0.7);
    border: 1px solid rgba(79, 55, 229, 0.3);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.feature-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 55, 229, 0.08) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
}

.feature-card-v2:hover::before {
    opacity: 1;
}

.feature-card-v2:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 16px 32px rgba(79, 55, 229, 0.35);
}

.feature-icon {
    font-size: 2.8em;
    color: var(--color-light-text);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: all 0.5s;
}

.feature-card-v2:hover .feature-icon {
    transform: scale(1.15) rotate(8deg);
    text-shadow: 0 0 16px rgba(79, 55, 229, 0.8);
    color: var(--color-primary-lighter);
}

.feature-card-v2 h3 {
    font-size: 1.5em;
    color: var(--color-light-text);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.feature-card-v2 p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1em;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ===============================
   REVIEWS — بنفسجي داكن عكسي
=============================== */
#reviews {
    background: linear-gradient(135deg, #12103a 0%, #07050f 50%, #12103a 100%);
    padding: var(--spacing-medium) 0;
    margin-bottom: var(--spacing-small);
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-header h2 {
    font-size: 2.6em;
    color: var(--color-light-text);
    margin-bottom: 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 35px;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(79, 55, 229, 0.3);
    border-color: var(--color-primary-light);
    background: rgba(79, 55, 229, 0.1);
}

.review-stars {
    font-size: 1.6em;
    color: #ffd700;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.review-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    color: var(--color-light-text);
    font-weight: 600;
    font-size: 1.05em;
}

/* ===============================
   CUSTOMER SERVICE — أسود مع بنفسجي خفيف
=============================== */
#customer-service {
    background: linear-gradient(135deg, #080614 0%, #110e35 50%, #080614 100%);
    padding: var(--spacing-medium) 0;
    margin-bottom: var(--spacing-small);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 35px;
}

.service-card {
    background: rgba(8, 6, 20, 0.8);
    border: 1px solid rgba(79, 55, 229, 0.25);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 16px 32px rgba(79, 55, 229, 0.35);
    background: rgba(45, 31, 163, 0.15);
}

.service-icon {
    font-size: 2.8em;
    color: var(--color-light-text);
    margin-bottom: 20px;
    transition: var(--transition-hover);
}

.service-card:hover .service-icon {
    color: var(--color-primary-lighter);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5em;
    color: var(--color-light-text);
    margin-bottom: 15px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* ===============================
   CTA SECTION
=============================== */
#cta {
    background-image: url('https://4k.prosmarter.net/wp-content/uploads/2026/02/1223.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    animation: fadeIn 1.5s ease-out;
    margin-bottom: var(--spacing-small);
    border-radius: 24px;
    margin: var(--spacing-small) 20px;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 11, 36, 0.88) 0%, rgba(31, 24, 112, 0.80) 50%, rgba(13, 11, 36, 0.88) 100%);
    z-index: 1;
}

#cta .container {
    position: relative;
    z-index: 3;
}

#cta h2, #cta h5 {
    position: relative;
    z-index: 3;
    color: var(--color-light-text);
    text-align: center;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(13, 11, 36, 0.6);
}

#cta h2 {
    font-size: 2em;
}

#cta h5 {
    font-weight: 400;
    font-size: 1.1em;
}

#cta .btn-wrapper {
    margin-top: 25px;
}

#cta .btn {
    font-size: 18px;
    padding: 16px 35px;
    box-shadow: 0 8px 24px rgba(79, 55, 229, 0.4);
}

/* ===============================
   FAQ — symmetric بنفسجي داكن
=============================== */
#faq {
    background: linear-gradient(180deg, #080614 0%, #140f3a 50%, #080614 100%);
    padding: var(--spacing-medium) 0;
    margin-bottom: var(--spacing-small);
}

#faq h4 {
    color: var(--color-light-text);
}

.accordion {
    border: 0;
    border-radius: 16px;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(8, 6, 20, 0.85);
    border: 1px solid rgba(79, 55, 229, 0.25);
}

.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: transparent;
    color: var(--color-light-text);
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-hover);
    border-radius: 12px;
}

.accordion-title:hover {
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-light));
    transform: translateX(-4px);
    color: var(--color-light-text);
}

.accordion-icon {
    font-size: 22px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--color-light-text);
    transition: transform 0.3s;
}

.accordion-content {
    padding: 0 30px;
    text-align: right;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-out;
    border-radius: 0 0 12px 12px;
}

.accordion-content.active {
    max-height: 500px;
    padding: 20px 30px;
    transition: all 0.4s ease-in;
}

.accordion-title:hover .accordion-icon {
    transform: rotate(180deg);
    background: linear-gradient(45deg, var(--color-primary-light), var(--color-primary-lighter));
}

/* ===============================
   FOOTER — أسود مع بنفسجي خفيف
=============================== */
.footer {
    background: linear-gradient(135deg, #060410 0%, #110d38 50%, #060410 100%);
    border-top: 3px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(79, 55, 229, 0.07) 0%, transparent 50%);
    z-index: 1;
}

.footer-top {
    padding: 50px 0 35px;
    position: relative;
    z-index: 2;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    transition: var(--transition-hover);
    border: 1px solid rgba(79, 55, 229, 0.3);
}

.footer-nav a:hover {
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-light-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 55, 229, 0.4);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    padding: 35px 0;
    border-top: 1px solid rgba(79, 55, 229, 0.25);
    position: relative;
    z-index: 2;
}

.footer-content {
    text-align: center;
}

.footer-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.payment-icon {
    width: 65px;
    height: 42px;
    background: var(--color-light-text);
    border: 1px solid rgba(79, 55, 229, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-hover);
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.payment-icon:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(79, 55, 229, 0.3);
}

.payment-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 20px;
}

/* ===============================
   WOOCOMMERCE FIXES
=============================== */
.woocommerce-info { display: none !important; }
.woocommerce-additional-fields { display: none !important; }
.woocommerce-privacy-policy-text { display: none !important; }
.woocommerce-checkout .woocommerce-form__label-for-checkbox { display: none !important; }

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product {
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce ul.products li::before,
.woocommerce ul.products li::after {
    content: none !important;
    display: none !important;
}

.woocommerce ul.products li.product.first { grid-column: auto !important; }
.woocommerce .clear { display: none !important; }

.single-product .single_add_to_cart_button {
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-light-text);
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-size: 22px;
    font-weight: 800;
    padding: 20px;
    border-radius: 12px;
    border: none;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-hover);
}

.single-product .single_add_to_cart_button:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 55, 229, 0.5);
}

.single-product .single_add_to_cart_button.loading { opacity: .75; }

.single-product form.cart {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.single-product .summary .price {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--color-primary);
}

.single-product .product_title {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-size: 32px;
    font-weight: 900;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: #fff200;
}

a { color: var(--color-light-text); }

/* ===============================
   ACTIVATION POPUP
=============================== */
.activation-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

.activation-popup {
    max-width: 850px;
    width: 100%;
    background: linear-gradient(135deg, #1a1550, #060411);
    border-radius: 20px;
    padding: 45px;
    color: var(--color-light-text);
    font-family: "Cairo", "Tajawal", sans-serif;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    text-align: center;
    position: relative;
}

.activation-popup .close-popup {
    position: absolute;
    top: 18px;
    left: 18px;
    font-size: 26px;
    color: var(--color-primary-lighter);
    cursor: pointer;
    transition: var(--transition-hover);
}

.activation-popup .close-popup:hover {
    color: var(--color-primary-light);
    transform: scale(1.2);
}

.activation-popup h2 {
    font-size: 34px;
    margin-bottom: 10px;
    color: var(--color-primary-lighter);
}

.activation-popup .subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: #c5bfff;
    opacity: 0.9;
}

.activation-step {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    background: #0f0a28 !important;
}

.activation-step span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.activation-popup textarea {
    width: 100%;
    height: 170px;
    background: #0a0812;
    color: var(--color-light-text);
    border-radius: 12px;
    border: 2px solid var(--color-primary);
    padding: 18px;
    font-size: 16px;
    resize: none;
    direction: rtl;
    margin-bottom: 25px;
    transition: var(--transition-hover);
}

.activation-popup textarea:focus {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 15px rgba(79, 55, 229, 0.5);
    outline: none;
}

.activation-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.activation-btn {
    padding: 15px 40px;
    border-radius: 35px;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-hover);
    border: none;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.activation-btn.copy {
    background: var(--color-primary);
    color: var(--color-light-text);
}

.activation-btn.copy:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 55, 229, 0.5);
}

.activation-btn.close {
    background: transparent;
    color: var(--color-primary-light);
    border: 2px solid var(--color-primary-light);
}

.activation-btn.close:hover {
    background: var(--color-primary-light);
    color: var(--color-light-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 55, 229, 0.5);
}

/* ===============================
   TEXT LOGO
=============================== */
.text-logo {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 1px;
    color: #ffffff !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    direction: ltr;
}

.text-logo span {
    color: #4f37e5 !important;
    margin-left: 4px;
}

.text-logo:hover,
.text-logo:focus,
.text-logo:active,
.text-logo:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}

.text-logo:hover span,
.text-logo:focus span,
.text-logo:active span,
.text-logo:visited span {
    color: #4f37e5 !important;
}

/* ===============================
   COUNTER ANIMATION
=============================== */
.counter {
    display: inline-block;
}

/* ===============================
   WOOCOMMERCE PRODUCT IMAGE
=============================== */
.single-product .woocommerce-product-gallery img {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

/* إخفاء لودر ووردبريس الافتراضي */
.woocommerce .blockUI.blockOverlay,
.woocommerce .loader,
.woocommerce-checkout .blockUI.blockOverlay,
.woocommerce-checkout .loader,
.wp-block-woocommerce-cart .blockUI.blockOverlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ===============================
   RESPONSIVE DESIGN
=============================== */
@media (max-width: 1023px) {
    .section { padding-top: 50px; padding-bottom: 50px; margin-bottom: 60px; }
    .col-lg-6, .col-lg-4, .col-lg-3 { width: 100%; }
    h1 { font-size: 2.8em; }
    h2 { font-size: 2.1em; }
    h3 { font-size: 1.6em; }
    p { font-size: 1em; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .features-grid { grid-template-columns: 1fr; gap: 25px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .reviews-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-grid { grid-template-columns: 1fr; gap: 20px; }
    .content-row { flex-direction: column; min-height: auto; }
    .content-image, .content-text { width: 100%; height: 350px; }
    .content-text { padding: 30px 20px; }
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .desktop-nav { display: none !important; }
    .mobile-nav { display: flex !important; align-items: center; width: 100%; }
    .header { padding: 15px 0; }
    .mobile-menu { top: 75px; height: calc(100vh - 75px); }

    .logo-wrapper { margin: 0 auto; order: 2; }

    .mobile-cart-link {
        order: 1;
        margin-left: 12px;
        color: var(--color-light-text);
        background: var(--color-primary);
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
        transition: var(--transition-hover);
    }

    .mobile-cart-link:hover { background: var(--color-primary-light); transform: scale(1.1); }
    .mobile-menu-toggle { order: 3; margin-right: 12px; flex-shrink: 0; }

    .section { padding-top: 60px; padding-bottom: 60px; margin-bottom: 80px; }
    h1 { font-size: 2.2em; line-height: 1.3; }
    h2 { font-size: 1.6em; }
    h3 { font-size: 1.3em; }
    h4 { font-size: 1.2em; }
    p { font-size: 0.95em; }

    #one { min-height: 350px; margin-bottom: 80px; }
    #one h1 { font-size: 24px; line-height: 1.4; padding: 0 10px; }
    .hero-btn { padding: 14px 36px; font-size: 16px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .stat-item { padding: 20px 15px; }
    .stat-number { font-size: 2.2em; }

    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 5px; }
    .product-card { padding: 15px; font-size: 13px; }
    .product-card h3 { font-size: 15px; min-height: 40px; line-height: 1.2; }
    .product-card .price { font-size: 16px; }
    .product-card .btn { font-size: 12px; padding: 10px 15px; }
    .product-card img { width: 80px; height: 80px; }

    .content-row { flex-direction: column; }
    .content-image { height: 200px; order: 1 !important; width: 100%; margin: 40px 0; }
    .content-text { padding: 20px 12px; min-height: auto; order: 2 !important; width: 100%; }
    .content-section, .content-row, .content-text { display: block !important; min-height: auto !important; height: auto !important; align-items: unset !important; }
    .content-text { background: #0a0812 !important; z-index: 2 !important; }
    .content-text h2 { position: static !important; margin: 15px 0 20px 0 !important; padding: 0 !important; background: none !important; font-size: 1.5em; color: var(--color-light-text) !important; padding-right: 12px !important; padding-left: 12px !important; margin-top: 35px !important; margin-bottom: 35px !important; }
    .content-text h2::before { display: none !important; }
    .content-text p { margin-bottom: 15px !important; color: rgba(255,255,255,0.88) !important; }
    .content-text a.btn, .content-text .btn { display: block !important; width: 100% !important; opacity: 1 !important; visibility: visible !important; position: relative !important; z-index: 9999 !important; margin-top: 20px !important; }
    .content-section *, .content-row *, .content-text * { overflow: visible !important; }

    .features-header h2 { font-size: 1.7em; }
    .feature-card-v2 { padding: 25px 15px; margin-bottom: 20px; }
    .feature-icon { font-size: 2.2em; }

    #cta { margin: 20px 10px; border-radius: 16px; min-height: 300px; }
    #cta h2 { font-size: 1.4em; }
    #cta h5 { font-size: 0.85em; }
    #cta .btn { font-size: 14px; padding: 12px 24px; }

    .btn { padding: 12px 24px; font-size: 13px; margin: 8px 6px; }

    .accordion-title { padding: 15px 20px; font-size: 14px; }
    .accordion-icon { width: 30px; height: 30px; font-size: 18px; margin-right: 10px; }
    .accordion-content { padding: 0 20px; font-size: 13px; }
    .accordion-content.active { padding: 15px 20px; }

    .footer-nav { flex-direction: column; align-items: center; gap: 15px; }
    .payment-methods { gap: 15px; margin: 40px 0; padding: 0 10px; }
    .payment-icon { width: 55px; height: 38px; }
    .reviews-grid .review-card, .service-grid .service-card { margin-bottom: 30px; }
    .footer { margin-top: 60px; }

    .wc-block-grid__products,
    .wc-block-components-product-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    .wc-block-grid__product, .wc-block-components-product-list-item { width: 100% !important; margin: 0 !important; }
    .wc-block-grid__product-title { font-size: 14px; line-height: 1.4; }
    .wc-block-grid__product-add-to-cart a { font-size: 13px; padding: 8px 10px; }
    .single-product .single_add_to_cart_button { font-size: 20px; padding: 18px; }
    .activation-popup { padding: 30px 20px; }
    .activation-popup h2 { font-size: 26px; }
    .activation-step { flex-direction: column; font-size: 18px; }
}

@media (min-width: 768px) {
    .mobile-nav { display: none !important; }
    .desktop-nav { display: flex !important; }
}