        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            overflow-x: hidden;
            direction: rtl;
        }

        header {
            background: linear-gradient(135deg, #40006f 0%, #1a0030 100%);
            padding: 1rem 2rem;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(64, 0, 111, 0.3);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo-container {
            background: #ffffff14;
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .logo {
            height: 68px;
        }
		/* --- التنسيق الجديد للنافذة المنبثقة --- */
		.popup-overlay {
			display: none; /* إخفاء مبدئيًا */
			position: fixed;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgba(0, 0, 0, 0.7);
			z-index: 2000; /* قيمة أعلى من الهيدر */
			align-items: center;
			justify-content: center;
		}

		.popup-content {
			background: linear-gradient(135deg, #f0f8ff, #ffffff);
			color: #40006f;
			padding: 30px;
			border-radius: 15px;
			box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
			text-align: center;
			max-width: 90%;
			width: 500px;
			position: relative;
			transform: scale(0.8);
			opacity: 0;
			transition: all 0.3s ease-out;
		}

		.popup-overlay.active .popup-content {
			transform: scale(1);
			opacity: 1;
		}

		.popup-content h3 {
			font-size: 1.8rem;
			margin-bottom: 15px;
			font-weight: 700;
		}

		.popup-content p {
			font-size: 1.2rem;
			line-height: 1.6;
			color: #555;
			margin-bottom: 20px;
		}

		.popup-close {
			position: absolute;
			top: 10px;
			left: 10px;
			background: #40006f;
			color: white;
			border: none;
			border-radius: 50%;
			width: 30px;
			height: 30px;
			font-size: 1.2rem;
			cursor: pointer;
			transition: background 0.2s;
		}

		.popup-close:hover {
			background: #6a4c93;
		}	
        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
            transition: transform 0.3s ease-out;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.1rem;
            transition: all 0.3s;
            position: relative;
        }

        .nav-links a:hover {
            color: #e0d0f0;
            transform: translateY(-2px);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            right: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #9370db, #b19cd9);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .menu-toggle {
            display: none;
            cursor: pointer;
            font-size: 1.5rem;
            color: white;
            padding: 0.5rem;
            background: transparent;
            border: none;
        }

        .hero {
            margin-top: 120px;
            background: linear-gradient(135deg, #40006f 0%, #2a0050 50%, #1a0030 100%);
            padding: 6rem 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            min-height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -20%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(147, 112, 219, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(10deg); }
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 1200px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: clamp(2rem, 5vw, 3.5rem);
            color: white;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .hero p {
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            color: #e0e0e0;
            margin-bottom: 2.5rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.8;
        }

        .cta-button {
            display: inline-block;
            padding: 1rem 3rem;
            background: linear-gradient(135deg, #9370db, #6a4c93);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            font-size: clamp(1rem, 2vw, 1.1rem);
            transition: all 0.3s;
            box-shadow: 0 6px 30px rgba(147, 112, 219, 0.4);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 40px rgba(147, 112, 219, 0.6);
            background: linear-gradient(135deg, #a080e0, #7a5ca3);
        }

        .products-section {
            padding: 5rem 2rem;
            background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
        }

        .section-title {
            text-align: center;
            font-size: clamp(2rem, 4vw, 2.5rem);
            color: #40006f;
            margin-bottom: 3rem;
            position: relative;
            padding-bottom: 1rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, #9370db, #40006f);
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .product-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(64, 0, 111, 0.1);
            transition: all 0.3s;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 50px rgba(64, 0, 111, 0.2);
        }

        .product-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .product-card:hover .product-image {
            transform: scale(1.05);
        }

        .product-info {
            padding: 1.5rem;
        }

        .product-name {
            font-size: clamp(1.1rem, 2.5vw, 1.3rem);
            color: #40006f;
            margin-bottom: 0.5rem;
            font-weight: bold;
        }

        .product-brand {
            color: #666;
            margin-bottom: 1rem;
            font-size: 0.95rem;
        }

        .product-features {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .feature-tag {
            background: linear-gradient(135deg, #40006f, #2a0050);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.85rem;
        }

        .about-section {
            background: linear-gradient(135deg, #40006f 0%, #2a0050 100%);
            padding: 5rem 2rem;
            color: white;
            text-align: center;
        }

        .about-content {
            max-width: 900px;
            margin: 0 auto;
        }

        .about-section h2 {
            font-size: clamp(2rem, 4vw, 2.5rem);
            margin-bottom: 1.5rem;
            color: #e0d0f0;
        }

        .about-section p {
            font-size: clamp(1rem, 2vw, 1.2rem);
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        footer {
            background: #1a0030;
            color: white;
            padding: 3rem 2rem 1rem;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: #b19cd9;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #d0c0e8;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            header {
                padding: 1rem;
            }

            .hero {
                margin-top: 100px;
                padding: 4rem 1.5rem;
                min-height: 50vh;
            }

            .nav-links {
                position: fixed;
                top: 100px;
                right: -100%;
                width: 70%;
                max-width: 300px;
                background: #1a0030;
                flex-direction: column;
                padding: 2rem 1rem;
                transform: none;
                box-shadow: -5px 0 20px rgba(0,0,0,0.5);
                height: calc(100vh - 100px);
                gap: 1rem;
                transition: right 0.3s ease-out;
            }

            .nav-links.active {
                right: 0;
            }

            .nav-links li {
                text-align: center;
                margin: 0.5rem 0;
                width: 100%;
            }

            .nav-links a {
                display: block;
                padding: 0.8rem;
                font-size: 1.2rem;
            }

            .menu-toggle {
                display: block;
            }

            .logo {
                height: 80px;
            }

            .logo-container {
                padding: 0.3rem 1rem;
            }

            .products-grid {
                gap: 1.5rem;
                padding: 0 0.5rem;
            }

            .product-image {
                height: 250px;
            }
        }

        @media (max-width: 480px) {
            .hero {
                margin-top: 90px;
                padding: 3rem 1rem;
            }

            .products-section,
            .about-section {
                padding: 3rem 1rem;
            }

            .cta-button {
                padding: 0.8rem 2rem;
            }

            .footer-links {
                flex-direction: column;
                gap: 1rem;
            }

            .logo {
                height: 70px;
            }
        }

        @media (max-width: 320px) {
            .hero {
                margin-top: 85px;
            }

            .logo {
                height: 60px;
            }
        }

        /* Overlay for mobile menu */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 999;
        }

        .overlay.active {
            display: block;
        }