@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

:root {
    --bg-dark: #0f1115;
    --bg-card: #1c1f26;
    --primary: #00f2fe; /* لون سماوي نيون */
    --primary-glow: rgba(0, 242, 254, 0.4);
    --gold: #ffd700;
    --text-light: #f4f4f5;
    --text-muted: #a1a1aa;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Navbar --- */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

nav.scrolled {
    padding: 0.8rem 5%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.nav__logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav__logo span {
    color: var(--primary);
}

.nav_menu_btn {
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
}

.nav__links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav__links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav__links a:hover {
    color: var(--primary);
}

.btn-contact {
    background: var(--primary);
    color: var(--bg-dark) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

/* --- Global Section Style --- */
section {
    padding: 6rem 5% 3rem;
}

.section__title {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title h2 {
    font-size: 2.5rem;
    color: var(--text-light);
}

.section__title h2 span {
    color: var(--primary);
}

.section__title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1c1f26 0%, #0f1115 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero__content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero__btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* --- Buttons --- */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: #25D366; /* لون الواتساب */
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* --- Features --- */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature__card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature__card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature__card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* --- Pricing --- */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: center;
}

.price__card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.price__card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.duration {
    display: block;
    color: var(--text-muted);
    margin: 0.5rem 0 1.5rem;
    font-size: 0.9rem;
}

.price {
    margin-bottom: 2rem;
}

.price h2 {
    font-size: 3rem;
    color: var(--text-light);
}

.features__list {
    list-style: none;
    text-align: right;
    margin-bottom: 2rem;
}

.features__list li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features__list i {
    color: var(--primary);
}

.btn-outline {
    display: block;
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* --- VIP Card --- */
.vip__card {
    background: linear-gradient(145deg, #1c1f26, #2a2205);
    border-color: var(--gold);
    transform: scale(1.05);
}

.vip__card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.popular__badge {
    background: var(--gold);
    color: #000;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 1.5rem;
    border-radius: 0 0 10px 10px;
    font-weight: 700;
    font-size: 0.9rem;
}

.vip__card .discount {
    color: var(--gold);
}

.vip__card del {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.vip__card .btn-primary {
    display: block;
    width: 100%;
    background: var(--gold);
    color: #000;
    border-radius: 10px;
}

/* --- FAQ Section --- */
.faq__container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq__item:hover {
    border-color: var(--primary-glow);
}

.faq__question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
}

.faq__question h3 {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

.faq__question i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq__answer p {
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.faq__item.active .faq__answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq__item.active .faq__question i {
    transform: rotate(180deg);
}

.faq__item.active .faq__question h3 {
    color: var(--primary);
}

/* --- Floating WhatsApp --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* --- Reviews Slider --- */
.reviews__container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 250px; /* عشان الصفحة ماتتحركش لفوق وتحت لما النص يتغير */
}

.review__box {
    display: none; /* إخفاء كل التقييمات في البداية */
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    animation: fadeReview 0.8s ease-in-out;
}

/* إظهار التقييم اللي واخد كلاس active بس */
.review__box.active {
    display: block;
}

.stars {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.review__box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
}

.review__box h4 {
    margin-top: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

/* أنيميشن الدخول والخروج بنعومة */
@keyframes fadeReview {
    0% { opacity: 0; transform: scale(0.95) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- Media Queries (Mobile) --- */
@media (max-width: 768px) {
    .nav_menu_btn {
        display: block;
    }

    .nav__links {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 2rem 0;
        transition: 0.4s ease;
    }

    .nav__links.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero__btns {
        flex-direction: column;
    }

    .vip__card {
        transform: scale(1);
    }
    
    .vip__card:hover {
        transform: translateY(-10px);
    }
}
/* --- Brands Marquee (شريط القنوات) --- */
.brands-marquee {
    background: #0b0c10;
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    /* حركة مستمرة من اليمين لليسار */
    animation: scrollRTL 20s linear infinite;
}

.marquee-content span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes scrollRTL {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); } /* لأن الموقع باللغة العربية RTL */
}

/* --- Footer (الفوتر) --- */
.footer {
    background: #08090b;
    padding: 3rem 5% 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer__logo h2 {
    font-size: 2rem;
    color: var(--text-light);
}

.footer__logo span {
    color: var(--primary);
}

.footer__logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer__payments {
    display: flex;
    gap: 1rem;
    font-size: 2.5rem;
    color: var(--text-muted);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- Apps & Servers Section (Sales Version) --- */
.apps__container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.apps-info-box {
    background: linear-gradient(145deg, var(--bg-card), #0f1115);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--primary);
    text-align: right; /* عشان الكلام العربي يكون مقري صح */
    box-shadow: 0 5px 20px rgba(0, 242, 254, 0.15);
}

.apps-info-box h3 {
    color: var(--text-light);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.apps-info-box h3 i {
    color: var(--gold); /* لون دهبي عشان يدي إحساس بالفخامة */
    font-size: 2rem;
}

.apps-info-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.apps-info-box strong {
    color: var(--primary);
    font-weight: 700;
}

.highlight-text {
    display: inline-block;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 0.5rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.app-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.1);
}

.app-card i {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    display: block;
    transition: var(--transition);
}

.app-card:hover i {
    color: var(--primary);
}

.app-card h4 {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.app-feature {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}