/* ==================================== */

/* 0. الأساسيات والخطوط */

/* ==================================== */

body {

    margin: 0;

    font-family: 'Poppins', sans-serif;

    background-color: #f7f7f7;

    color: #1a1a1a;

}

html{

    scroll-behavior: smooth;

}



/* ==================================== */

/* 1. القسم العلوي (Hero Section) والملاحة */



.hero-section {

    position: relative;

    height: 80vh;

   

    /* *** التعديلات هنا: إضافة الصورة والتراكب (Overlay) ***

    1. نضع التدرج اللوني (Overlay) أولاً ليبقى فوق الصورة.

    2. نضع الصورة مع تحديد المسار (يفترض أن اسم الصورة هو 'iptv-background.jpg' في مجلد 'imgs').

    */

    background:

    /* linear-gradient(135deg, rgba(235, 228, 238, 0.8) 0%, rgba(0, 0, 0, 0.9) 80%), تدرج داكن كطبقة شفافة */

     linear-gradient(135deg, rgba(235, 228, 238, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%),

    url('imgs/ro.jpg') no-repeat center center; /* الصورة الفعلية */



    background-size: cover; /* لضمان تغطية الصورة للخلفية بالكامل */

   

    display: flex;

    flex-direction: column;

    color: #fff;

    padding: 0 5%;

    overflow: hidden;

    border-bottom-right-radius:8% ;

    border-bottom-left-radius: 8%;



}



/* شريط التنقل (Navbar) */

.navbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-top: 20px;

    z-index: 1000;  

}



/* زر قائمة الهمبرغر - مخفي افتراضياً على الكمبيوتر */

.hamburger-menu {

    display: none;

    color: #ff3366;

    font-size: 24px;

    cursor: pointer;

    z-index: 100;

}



.logo-text {

    font-size: 28px;

    font-weight: 700;

    color: #fff;

}



.plus {

    color: #ff3366;

}



.nav-links {

    list-style: none;

    display: flex;

    margin: 0;

    padding: 0;

    transition: all 0.3s ease-in-out; /* لضمان سلاسة الانتقال على الكمبيوتر */

}



.nav-links li {

    margin-left: 30px;

}



.nav-links li:first-child {

    margin-left: 0;

}



.nav-links a {

    color: #fff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    padding: 5px 0;

    opacity: 0.7;

    transition: opacity 0.3s;

}



.nav-links a:hover,

.nav-links a.active {

    opacity: 1;

}



/* محتوى القسم الرئيسي (Hero Content) */

.hero-content {

    flex-grow: 1;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    z-index: 2;

    padding-bottom: 150px;

   

}



.hero-content h1 {

    font-size: 50px;

    font-weight: 700;

    margin-bottom: 30px;

    max-width: 800px;

    line-height: 1.2;

}



/* الزر المتدرج (Gradient Button) */

.btn-gradient {

    display: inline-block;

    padding: 15px 40px;

    color: #fff;

    text-decoration: none;

    font-weight: 600;

    font-size: 16px;

    border-radius: 30px;

    background: linear-gradient(to right, #4c004c 0%, #ff3366 100%);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

    transition: transform 0.3s;

}



.btn-gradient:hover {

    transform: translateY(-3px);

}





/* ==================================== */

/* 2. قسم "كيف يعمل؟" (How It Works) */

/* ==================================== */

.how-it-works-section {

    background-color: #fff;

    padding: 60px 5%;

    text-align: center;

}



.section-title {

    font-size: 32px;

    font-weight: 700;

    color: #1a1a1a;

    margin-bottom: 50px;

}



.steps-container {

    display: flex;

    justify-content: space-around;

    gap: 30px;

    max-width: 1200px;

    margin: 0 auto 60px auto;

}



.step-card {

    flex-basis: 30%;

    text-align: center;

    padding: 20px;

}



.step-icon {

    font-size: 50px;

    color: #1a1a1a;

    margin-bottom: 30px;

}



.step-title {

    font-size: 18px;

    font-weight: 600;

    color: #1a1a1a;

    margin-bottom: 15px;

}



.step-description {

    font-size: 14px;

    color: #555;

    line-height: 1.6;

}



/* الزر الثانوي (Choose Plan) في الخطوة 3 */

.btn-secondary {

    display: inline-block;

    padding: 12px 30px;

    color: #fff;

    text-decoration: none;

    font-weight: 600;

    font-size: 14px;

    border-radius: 30px;

    background-color: #e91e63; /* اللون الوردي الرئيسي */

    margin-top: 20px;

    transition: background-color 0.3s;

}



.btn-secondary:hover {

    background-color: #d81b60;

}



.next-section-start {

    padding-top: 0;

}



.section-subtitle {

    font-size: 18px;

    color: #555;

    margin-top: 10px;

    margin-bottom: 40px;

}



/* ==================================== */

/* 3. قسم "لماذا تختار WebTV Plus؟" (Why Choose Us) */

/* ==================================== */

.why-choose-us-section {

    background-color: #f7f7f7;

    padding: 40px 5% 60px;

    text-align: center;

}



.section-title-dark {

    font-size: 32px;

    font-weight: 700;

    color: #1a1a1a;

    margin-bottom: 10px;

}



.section-description-light {

    max-width: 800px;

    margin: 0 auto 40px;

    font-size: 16px;

    color: #555;

}



.benefits-container {

    display: flex;

    justify-content: center;

    gap: 30px;

    max-width: 1200px;

    margin: 0 auto;

}



.benefit-card {

    background-color: #fff;

    border-radius: 15px;

    padding: 40px 30px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

    flex: 1;

    text-align: center;

    min-height: 380px;

    display: flex;

    flex-direction: column;

    align-items: center;

}



.benefit-icon {

    font-size: 45px;

    color: #e91e63;

    margin-bottom: 20px;

}



.benefit-title {

    font-size: 20px;

    font-weight: 600;

    color: #1a1a1a;

    margin-bottom: 15px;

}



.benefit-description {

    font-size: 14px;

    color: #555;

    line-height: 1.6;

}



.device-list {

    list-style: none;

    padding: 0;

    text-align: left;

    margin-top: 15px;

    font-size: 14px;

    color: #555;

}

.device-list li {

    margin-bottom: 5px;

}



/* ==================================== */

/* 4. قسم خطط الأسعار (Pricing Plans) */

/* ==================================== */

.pricing-section {

    padding: 80px 5%;

    text-align: center;

    background-color: #f7f7f7;

}



/* أزرار التبديل (Tabs) */

.connection-tabs {

    margin-bottom: 40px;

    display: inline-flex;

    background-color: #1a1a1a;

    border-radius: 30px;

    overflow: hidden;

}



.tab {

    background: none;

    border: none;

    color: #fff;

    padding: 10px 20px;

    font-weight: 600;

    cursor: pointer;

    transition: background-color 0.3s;

    font-size: 14px;

}



.tab.active {

    background: #e91e63;

}



/* بطاقات الأسعار */

.plans-container {

    display: flex;

    justify-content: center;

    gap: 30px;

    max-width: 1000px;

    margin: 0 auto;

}



.plan-card {

    background-color: #fff;

    border-radius: 20px;

    padding: 30px 25px;

    position: relative;

    border: 2px solid #fff;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);

    flex: 1;

    transition: border 0.3s;

}



/* الخطة المميزة (الأكثر مبيعاً) */

.plan-card.featured {

    background-color: #1a1a1a;

    color: #fff;

    border: 2px solid #ff3366;

    transform: scale(1.05);

}



.plan-card h3 {

    font-size: 22px;

    margin-top: 10px;

    margin-bottom: 20px;

    font-weight: 700;

}



/* شعار الخصم */

.discount-badge {

    position: absolute;

    top: -15px;

    right: 20px;

    background-color: #1a1a1a;

    color: #fff;

    padding: 5px 15px;

    border-radius: 10px;

    font-size: 12px;

    font-weight: 600;

}



/* شعار الخطة المميزة (الأكثر مبيعاً) */

.featured .discount-badge {

    background: linear-gradient(to right, #e91e63, #ff6699);

    border-radius: 10px 10px 0 0;

    top: -20px;

    left: 50%;

    transform: translateX(-50%);

    padding: 8px 25px;

    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);

}



/* السعر */

.price {

    margin-bottom: 20px;

}



.main-price {

    font-size: 36px;

    font-weight: 700;

    display: block;

    line-height: 1;

    color: #1a1a1a;

}

.featured .main-price {

    color: #fff;

}



.per-month-price {

    font-size: 14px;

    color: #e91e63;

    font-weight: 600;

}



/* زر اختيار الخطة (العادي) */

.plan-btn {

    display: block;

    padding: 10px 0;

    border: 1px solid #e91e63;

    border-radius: 5px;

    text-decoration: none;

    font-weight: 600;

    font-size: 15px;

    color: #e91e63;

    background-color: #fff;

    transition: background-color 0.3s, color 0.3s;

    margin-bottom: 25px;

}



.plan-btn:hover {

    background-color: #e91e63;

    color: #fff;

}



/* زر الخطة المميزة */

.featured-btn {

    background-color: #e91e63;

    color: #fff;

    border-color: #e91e63;

}



.featured-btn:hover {

    background-color: #ff6699;

}



/* قائمة الميزات (Features List) */

.features-list {

    list-style: none;

    padding: 0;

    text-align: left;

    margin-bottom: 25px;

    font-size: 14px;

}



.features-list li {

    margin-bottom: 10px;

    color: #555;

    display: flex;

    align-items: center;

}

.featured .features-list li {

    color: #ccc;

}



/* تنسيق أيقونة علامة الصح */

.features-list i {

    color: #e91e63;

    margin-right: 10px;

    font-size: 16px;

}



.guarantee-text {

    font-size: 12px;

    font-weight: 600;

    color: #555;

    margin-top: 20px;

}

.featured .guarantee-text {

    color: #ccc;

}



/* ==================================== */

/* 5. قسم الأجهزة المدعومة (Device Support) */

/* ==================================== */

.device-support-section {

    padding: 80px 5%;

    text-align: center;

    background-color: #fff;

}



.device-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #eee;

    border-left: 1px solid #eee;

    max-width: 1000px;

    margin: 40px auto;

}



.device-item {

    border-right: 1px solid #eee;

    border-bottom: 1px solid #eee;

    padding: 30px 20px;

    display: flex;

    justify-content: center;

    align-items: center;

    min-height: 100px;

}



.device-item img {

    max-width: 100%;

    max-height: 50px;

    width: auto;

    height: auto;

    object-fit: contain;

}



/* ==================================== */

/* 6. الأسئلة المتكررة والدعم (FAQ & Support) */

/* ==================================== */

.faq-support-section {

    background-color: #f7f7f7;

    padding: 80px 5%;

    text-align: center;

}



.faq-title {

    font-size: 32px;

    font-weight: 700;

    margin-bottom: 60px;

}



.faq-container {

    display: flex;

    justify-content: center;

    gap: 50px;

    max-width: 1000px;

    margin: 0 auto 50px;

}



.faq-column {

    flex-basis: 50%;

    background-color: #fff;

    border-radius: 15px;

    padding: 30px 0;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

}



/* الأسئلة (Accordion Style) */

.faq-accordion {

    padding: 0;

}



.faq-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 30px;

    border-bottom: 1px solid #eee;

    cursor: pointer;

    text-align: left;

}

.faq-item:last-child {

    border-bottom: none;

}



.faq-question {

    font-weight: 600;

    font-size: 16px;

    margin: 0;

}



.faq-item i {

    color: #e91e63;

    transition: transform 0.3s;

}



/* حالة الفتح (عندما يكون الزر active) */

.faq-item.active i {

    transform: rotate(180deg);

}



/* تنسيق الإجابة المخفية */

.faq-answer {

    max-height: 0;

    overflow: hidden;

    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;

    padding: 0 30px;

    color: #555;

    font-size: 14px;

    text-align: left;

}



.faq-answer.active {

    max-height: 200px;

    padding: 15px 30px 20px 30px;

}



/* عمود الدعم */

.support-card {

    text-align: center;

    padding: 30px;

}



.support-icon {

    font-size: 50px;

    color: #1a1a1a;

    margin-bottom: 10px;

}



.support-title {

    font-size: 24px;

    font-weight: 700;

    margin-bottom: 10px;

}



.support-text {

    font-size: 14px;

    color: #555;

    margin-bottom: 30px;

}



.whatsapp-btn,

.email-btn {

    display: block;

    padding: 12px 0;

    margin: 10px auto;

    width: 80%;

    border-radius: 30px;

    text-decoration: none;

    font-weight: 600;

    font-size: 15px;

    transition: background-color 0.3s;

}



.whatsapp-btn {

    background-color: #1a1a1a;

    color: #fff;

}



.email-btn {

    border: 1px solid #1a1a1a;

    color: #1a1a1a;

    background-color: #fff;

}



/* قسم Call To Action */

.call-to-action {

    margin-top: 80px;

    padding-bottom: 40px;

}



.cta-subtitle {

    color: #e91e63;

    font-weight: 600;

    font-size: 14px;

    margin-bottom: 5px;

}



.cta-title {

    font-size: 28px;

    font-weight: 700;

    margin: 0;

}





/* ==================================== */

/* 7. التذييل (Footer) */

/* ==================================== */

.main-footer {

    background-color: #1a1a1a;

    color: #fff;

    padding: 40px 5% 20px;

}



.footer-content-top {

    display: flex;

    justify-content: space-between;

    max-width: 1000px;

    margin: 0 auto 30px;

    padding-bottom: 30px;

    border-bottom: 1px solid #333;

}



.footer-col {

    flex-basis: 45%;

    text-align: left;

}



.footer-text-left {

    font-size: 14px;

    color: #ccc;

    margin-bottom: 20px;

}

.footer-text-right {

    font-size: 14px;

    color: #ccc;

    margin-bottom: 20px;

    text-align: right;

}



/* تعديل أزرار التذييل لتكون بلون داكن */

.footer-btn {

    display: inline-block;

    padding: 10px 25px;

    border: none;

    border-radius: 5px;

    text-decoration: none;

    font-weight: 600;

    font-size: 14px;

    color: #fff;

    background-color: #333;

    transition: background-color 0.3s;

}



.footer-btn:hover {

    background-color: #555;

}



.footer-content-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

    max-width: 1000px;

    margin: 0 auto;

}



.copyright {

    font-size: 12px;

    color: #999;

}



.payment-methods i {

    font-size: 30px;

    margin-left: 10px;

    color: #fff;

}



/* زر واتساب الثابت (Need Help) */

.fixed-whatsapp-button {

    position: fixed;

    bottom: 20px;

    right: 20px;

    background-color: #25D366;

    color: white;

    padding: 10px 20px;

    border-radius: 30px;

    font-weight: 600;

    text-decoration: none;

    display: flex;

    align-items: center;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

    z-index: 1000;

}



.fixed-whatsapp-button i {

    font-size: 24px;

    margin-left: 10px;

}



/* ==================================== */

/* 8. الاستجابة (Responsive Design) - الأجهزة المحمولة */

/* ==================================== */

@media (max-width: 768px) {

   

    /* الـ Navbar (شريط التنقل) */

    .navbar {

        /* لجعل الـ logo والهمبرغر في سطر واحد على الهاتف */

        flex-direction: row;

        align-items: center;

        padding-top: 15px;

    }

   

    /* إظهار زر الهمبرغر على الهاتف */

    .hamburger-menu {

        display: block;

    }



    /* إخفاء القائمة الأصلية وجعلها عمودية ومخفية */

    .nav-links {

        /* لتظهر القائمة فوق المحتوى */

        position: absolute;

        top: 65px;

        left: 0;

        width: 100%;

        height: 0; /* إخفاء القائمة افتراضياً */

        overflow: hidden;

        flex-direction: column;

        margin: 0;

background: rgba(0, 0, 0, 0.4);  /* Transparent black */

backdrop-filter: blur(10px);     /* Glass effect */

-webkit-backdrop-filter: blur(10px); /* Safari support */

        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);

        transition: height 0.3s ease-in-out;

    }



    /* حالة الفتح للقائمة */

    .nav-links.active {

        /* ارتفاع تقريبي يكفي لعرض جميع الروابط عمودياً (5 روابط * 50px تقريباً) */

        height: 270px;

    }



    .nav-links li {

        margin: 0;

        width: 100%;

        text-align: center;

        padding: 10px 0;

        border-bottom: 1px solid #333; /* خط فاصل بين الروابط */

    }

    .nav-links li:last-child {

        border-bottom: none;

    }

   

    .nav-links a {

        padding: 10px 0;

        display: block;

        opacity: 1;

        font-size: 16px;

        border-bottom: none; /* إزالة الخط السفلي الموجود على الكمبيوتر */

    }



    /* محتوى القسم الرئيسي */

    .hero-content {

        padding-top: 50px;

        padding-bottom: 80px;

    }



    .hero-content h1 {

        font-size: 30px;

    }



    /* قسم "كيف يعمل؟" */

    .steps-container {

        flex-direction: column;

        gap: 40px;

        margin-bottom: 40px;

    }

   

    .step-card {

        padding: 0;

    }



    .section-title, .section-title-dark {

        font-size: 28px;

    }



    /* قسم "لماذا تختارنا؟" */

    .benefits-container {

        flex-direction: column;

        gap: 30px;

    }

   

    .benefit-card {

        min-height: auto;

    }



    /* قسم الأسعار */

    .plans-container {

        flex-direction: column;

        gap: 40px;

    }

   

    .plan-card.featured {

        transform: scale(1);

    }



    /* أزرار التبديل (Tabs) */

    .connection-tabs {

        flex-wrap: wrap;

        justify-content: center;

    }



    /* قسم الأجهزة المدعومة */

    .device-grid {

        grid-template-columns: repeat(2, 1fr);

        margin: 30px auto;

    }

   

    /* قسم الدعم والأسئلة المتكررة */

    .faq-container {

        flex-direction: column;

        gap: 30px;

    }

   

    .faq-column {

        flex-basis: 100%;

        padding: 20px;

    }

   

    .whatsapp-btn, .email-btn {

        width: 90%;

    }



    /* التذييل (Footer) */

    .footer-content-top {

        flex-direction: column;

        gap: 30px;

    }

   

    .footer-col {

        flex-basis: 100%;

        text-align: center;

    }

   

    .footer-text-right {

        text-align: center;

    }

   

    .footer-content-bottom {

        flex-direction: column;

        gap: 20px;

        text-align: center;

    }

   

    .payment-methods {

        margin-top: 10px;

    }

   

    /* زر المساعدة الثابت */

    .fixed-whatsapp-button {

        padding: 8px 15px;

        font-size: 14px;

    }

   

    .fixed-whatsapp-button i {

        font-size: 20px;

    }

}