/* ===== الإعدادات الأساسية ===== */
:root {
    --primary-color: #E50914;
    --secondary-color: #0056b3;
    --accent-color: #FFD700;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --black: #000000;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
    font-size: 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    position: relative;
    color: var(--dark-gray);
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* ===== الأزرار ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #c50812;
    border-color: #c50812;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 16px 32px;
    font-size: 22px;
}

/* ===== القسم العلوي (الهيدر) ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/2323423.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0 200px;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.logo h1 {
    font-size: 36px;
    color: var(--white);
    margin: 0;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.hero-content h2 {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--white);
}

/* شارة العرض المحدود */
.offer-badge {
    position: absolute;
    top: -30px;
    right: 50%;
    transform: translateX(50%) rotate(-5deg);
    background-color: var(--accent-color);
    color: var(--dark-gray);
    padding: 8px 25px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translateX(50%) rotate(-5deg) scale(1);
    }
    50% {
        transform: translateX(50%) rotate(-5deg) scale(1.05);
    }
    100% {
        transform: translateX(50%) rotate(-5deg) scale(1);
    }
}

/* ===== قسم العرض الخاص ===== */
.special-offer {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.special-offer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.offer-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 30px;
}

.offer-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.offer-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

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

.offer-tag {
    position: absolute;
    top: 20px;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    font-size: 18px;
    font-weight: 600;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.offer-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.offer-header h3 {
    font-size: 32px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.offer-description {
    font-size: 18px;
    color: var(--medium-gray);
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.old-price {
    font-size: 24px;
    color: var(--medium-gray);
    text-decoration: line-through;
    position: relative;
}

.new-price {
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 700;
}

.price-currency {
    font-size: 16px;
    color: var(--medium-gray);
}

.price-save {
    background: var(--accent-color);
    color: var(--dark-gray);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

.offer-gifts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gift-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.gift-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.gift-icon {
    font-size: 30px;
    color: var(--primary-color);
    background-color: rgba(229, 9, 20, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.gift-content h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.gift-content p {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* ===== قسم مقارنة العروض ===== */
.comparison {
    background-color: var(--white);
}

.comparison-table-container {
    overflow-x: auto;
    margin-top: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border: 1px solid #eee;
}

.comparison-table th {
    background-color: var(--dark-gray);
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

.comparison-table th.highlight {
    background-color: var(--primary-color);
    position: relative;
}

.comparison-table td.highlight {
    background-color: rgba(229, 9, 20, 0.05);
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.comparison-table .fa-check {
    color: #28a745;
}

.comparison-table .fa-times {
    color: #dc3545;
}

.comparison-table .action-row td {
    padding: 20px;
}

.comparison-table .btn {
    min-width: 150px;
}

/* ===== قسم الأسئلة الشائعة ===== */
.faq {
    background-color: var(--light-gray);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 20px;
    margin-bottom: 0;
    color: var(--dark-gray);
}

.faq-question i {
    font-size: 18px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer {
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    overflow: hidden;
}

.faq-answer.active {
    padding: 0 20px 20px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-answer.active p {
    opacity: 1;
    transform: translateY(0);
}

/* ===== قسم الميزات ===== */
.features {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 18px;
    color: var(--medium-gray);
}

/* ===== قسم الأجهزة المدعومة ===== */
.devices {
    background-color: var(--light-gray);
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.device-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--white);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.device-card:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-10px);
}

.device-card:hover .device-icon {
    color: var(--white);
}

.device-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.device-card h3 {
    font-size: 22px;
    margin-bottom: 0;
}

.devices-note {
    text-align: center;
    font-size: 20px;
    color: var(--medium-gray);
}

/* ===== قسم الشهادات والتقييمات ===== */
.testimonials {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card:before {
    content: '\201C';
    font-size: 80px;
    position: absolute;
    top: 10px;
    right: 20px;
    color: rgba(229, 9, 20, 0.1);
    font-family: serif;
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 18px;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 18px;
}

/* ===== نموذج الاتصال ===== */
.contact {
    background-color: var(--light-gray);
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 18px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 18px;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.contact-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1593784991095-a205069470b6?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.info-item i {
    font-size: 24px;
    margin-left: 15px;
}

.info-item p {
    font-size: 20px;
    margin-bottom: 0;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition);
}

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

.whatsapp-icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
    animation: pulse 2s infinite;
}
.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}



/* ===== القسم السفلي (الفوتر) ===== */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 20px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 15px;
}


        /* زر الواتساب العائم */
        .whatsapp-float {
            position: fixed;
            width: 70px;
            height: 70px;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
            color: white;
            border-radius: 50%;
            text-align: center;
            font-size: 35px;
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
            z-index: 1000;
            cursor: pointer;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            animation: float 3s ease-in-out infinite;
        }

        .whatsapp-float:hover {
            transform: scale(1.1) translateY(-5px);
            box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
            background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
        }

        .whatsapp-float:active {
            transform: scale(0.95);
        }

        /* أيقونة الواتساب */
        .whatsapp-icon {
            width: 40px;
            height: 40px;
            fill: white;
            animation: pulse 2s infinite;
        }

        /* رسالة منبثقة */
        .whatsapp-message {
            position: fixed;
            bottom: 110px;
            right: 30px;
            background: white;
            padding: 15px 20px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            z-index: 999;
            max-width: 250px;
            opacity: 0;
            transform: translateY(20px) scale(0.8);
            transition: all 0.3s ease;
            pointer-events: none;
            font-size: 14px;
            color: #333;
            border: 2px solid #25D366;
        }

        .whatsapp-message::after {
            content: '';
            position: absolute;
            bottom: -10px;
            right: 20px;
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid white;
        }

        .whatsapp-message.show {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: all;
        }

        .whatsapp-message h4 {
            color: #25D366;
            margin-bottom: 8px;
            font-size: 16px;
        }

        .whatsapp-message p {
            line-height: 1.4;
            margin: 0;
            color: #666;
        }

        .close-message {
            position: absolute;
            top: 5px;
            right: 10px;
            background: none;
            border: none;
            font-size: 18px;
            color: #999;
            cursor: pointer;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-message:hover {
            color: #333;
        }

        /* الأنيميشن العائم */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        /* أنيميشن النبض */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        /* تأثير الإشعاع */
        .whatsapp-float::before {
            content: '';
            position: absolute;
            top: -5px;
            left: -5px;
            right: -5px;
            bottom: -5px;
            border-radius: 50%;
            background: linear-gradient(135deg, #25D366, #128C7E);
            z-index: -1;
            opacity: 0;
            animation: ripple 2s infinite;
        }

        @keyframes ripple {
            0% {
                transform: scale(1);
                opacity: 0.5;
            }
            100% {
                transform: scale(1.5);
                opacity: 0;
            }
        }

        /* تصميم متجاوب للهواتف */
        @media (max-width: 768px) {
            .whatsapp-float {
                width: 60px;
                height: 60px;
                bottom: 20px;
                right: 20px;
                font-size: 30px;
            }
            
            .whatsapp-icon {
                width: 35px;
                height: 35px;
            }
            
            .whatsapp-message {
                bottom: 90px;
                right: 20px;
                max-width: 200px;
                padding: 12px 15px;
                font-size: 13px;
            }
            
            .demo-content h1 {
                font-size: 2rem;
            }
            
            .demo-content p {
                font-size: 1.1rem;
            }
        }

        /* للشاشات الصغيرة جداً */
        @media (max-width: 480px) {
            .whatsapp-float {
                width: 55px;
                height: 55px;
                bottom: 15px;
                right: 15px;
            }
            
            .whatsapp-icon {
                width: 30px;
                height: 30px;
            }
            
            .whatsapp-message {
                bottom: 80px;
                right: 15px;
                max-width: 180px;
            }
        }

        /* إخفاء المتصفحات القديمة */
        @supports not (display: flex) {
            .whatsapp-float {
                line-height: 70px;
            }
        }
.footer-logo p {
    color: #aaa;
    font-size: 18px;
}

.footer-links h3,
.footer-support h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links ul li,
.footer-support ul li {
    margin-bottom: 15px;
}

.footer-links ul li a,
.footer-support ul li a {
    color: #aaa;
    font-size: 18px;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-support ul li a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    color: #aaa;
    font-size: 16px;
    margin-bottom: 0;
}

/* ===== التوافق مع الشاشات المختلفة ===== */
@media (max-width: 1200px) {
    .hero-content h2 {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .offer-container {
        grid-template-columns: 1fr;
    }
    
    .offer-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 15px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .hero {
        padding: 100px 0 120px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .feature-icon,
    .device-icon {
        font-size: 32px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .features-grid,
    .devices-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-buttons {
        gap: 8px;
    }
    
    .nav-buttons .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .logo h1 {
        font-size: 28px;
    }
    
    .offer-badge {
        font-size: 16px;
        padding: 6px 15px;
    }
    
    .offer-container {
        padding: 20px;
    }
    
    .offer-header h3 {
        font-size: 24px;
    }
    
    .gift-item {
        padding: 15px;
    }
    
    .gift-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .gift-content h4 {
        font-size: 18px;
    }
    
    .gift-content p {
        font-size: 14px;
    }
    
    .faq-question h3 {
        font-size: 18px;
    }
}

/* تحسينات إضافية للموبايل */
@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .hero {
        padding: 80px 0 100px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-title:after {
        width: 60px;
        height: 3px;
    }
    
    .feature-card,
    .device-card,
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .feature-card h3,
    .device-card h3 {
        font-size: 20px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .contact-info {
        padding: 25px;
    }
    
    .contact-info h3 {
        font-size: 22px;
    }
    
    .info-item p {
        font-size: 16px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .form-group label {
        font-size: 16px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
    }
    
    .btn {
        width: auto;
        margin-bottom: 10px;
    }
    
    .nav-buttons {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        z-index: 1000;
        display: none;
    }
    
    .nav-buttons.active {
        display: flex;
    }
    
    .nav-buttons .btn {
        width: 80%;
        margin-bottom: 15px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    /* شريط التنقل السفلي للموبايل */
    .mobile-nav-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--white);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--dark-gray);
        font-size: 12px;
        padding: 5px 0;
    }
    
    .mobile-nav-item i {
        font-size: 20px;
        margin-bottom: 5px;
        color: var(--primary-color);
    }
    
    .mobile-nav-item:hover {
        color: var(--primary-color);
    }
    
    /* تعديل الهامش السفلي للصفحة لتجنب تداخل المحتوى مع شريط التنقل */
    body {
        padding-bottom: 60px;
    }
    
    /* تعديل زر الهامبرغر */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1001;
        font-size: 24px;
        color: var(--white);
        cursor: pointer;
    }
    
    .comparison-table-container {
        margin: 0 -20px;
        width: calc(100% + 40px);
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .comparison-table .btn {
        min-width: auto;
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* إضافة قائمة همبرغر للموبايل */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
}

@media (max-width: 576px) {
    .mobile-menu-toggle {
        display: block;
    }
}

/* تحسينات إضافية للتوافق مع الموبايل */
@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .btn-large {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .devices-note {
        font-size: 14px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .footer-logo h2 {
        font-size: 24px;
    }
    
    .footer-links h3,
    .footer-support h3 {
        font-size: 18px;
    }
    
    .footer-links ul li a,
    .footer-support ul li a {
        font-size: 14px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    .offer-badge {
        font-size: 14px;
        padding: 5px 12px;
        top: -25px;
    }
    
    .gift-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .gift-icon {
        margin-bottom: 10px;
    }
}

/* ===== تحسينات خاصة لشاشات التلفاز ===== */
@media (min-width: 1920px) {
    body {
        font-size: 22px;
    }
    
    .container {
        max-width: 1800px;
    }
    
    .hero-content h2 {
        font-size: 72px;
    }
    
    .hero-content p {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 54px;
    }
    
    .feature-card h3,
    .device-card h3 {
        font-size: 32px;
    }
    
    .feature-card p {
        font-size: 24px;
    }
    
    .btn {
        font-size: 24px;
        padding: 16px 32px;
    }
    
    .btn-large {
        font-size: 28px;
        padding: 20px 40px;
    }
    
    .form-group label {
        font-size: 24px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 22px;
        padding: 18px;
    }
    
    .offer-badge {
        font-size: 24px;
        padding: 10px 30px;
        top: -40px;
    }
    
    .offer-header h3 {
        font-size: 42px;
    }
    
    .offer-description {
        font-size: 24px;
    }
    
    .gift-icon {
        font-size: 36px;
        width: 80px;
        height: 80px;
    }
    
    .gift-content h4 {
        font-size: 28px;
    }
    
    .gift-content p {
        font-size: 22px;
    }
}

/* تأثيرات الظهور للعناصر */
.feature-card, .package-card, .device-card, .testimonial-card, .gift-item, .faq-item {
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.visible, .package-card.visible, .device-card.visible, .testimonial-card.visible, .gift-item.visible, .faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}
