/* =========================================================
   OTT PLAYLIST
   GLOBAL STYLE
========================================================= */
:root {

    --bg: #ffffff;
    --bg-secondary: #fffffffd;
    --card: #5141c8;
    --card-hover: #351e1e;

    --primary: #7c3aed;
    --primary-light: #a855f7;


    --secondary:#5141c8 ;
    --secondary-light:#5141c8 ;

    --text: #020202;
    --text-secondary: #f7fff8;
    --text-muted: #000000;

    --border: rgb(255, 253, 253);

    --gradient:
        linear-gradient(
            135deg,
            #7c3aed,
            #2563eb
        );

    --container: 1200px;

    --radius: 18px;

    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

/* =========================================================
   RESET
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    

}



html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--bg);

    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;
}


body::before {

    content: "";

    position: fixed;

    width: 500px;
    height: 500px;

    top: -200px;
    left: -180px;

    background:
        radial-gradient(
            circle,
            rgb(255, 255, 255),
            transparent 70%
        );

    filter: blur(50px);

    pointer-events: none;

    z-index: -1;
    
}


body::after {

    content: "";

    position: fixed;

    width: 500px;
    height: 500px;

    right: -220px;
    bottom: -220px;

    background:
        radial-gradient(
            circle,
            rgb(255, 255, 255),
            transparent 70%
        );

    filter: blur(60px);

    pointer-events: none;

    z-index: -1;
}


a {
    text-decoration: none;
    color: inherit;
    
}


button {
    font-family: inherit;
}


img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: 92%;

    max-width: var(--container);

    margin: 0 auto;
    
}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 82px;

    background:
        rgb(255, 255, 255);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgb(255, 255, 255);

    z-index: 1000;

}


.header-container {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
    color: #000000;
}


/* =========================================================
   LOGO
========================================================= */

.logo img {
    width: 150px;
    height: auto;
    display: block;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav ul {

    list-style: none;

    display: flex;

    align-items: center;

    gap: 32px;
    

}


.nav a {

    color: #000000;

    font-size: 14px;

    font-weight: 500;

    transition: var(--transition);

    position: relative;
}


.nav a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;

    height: 2px;

    background: var(--gradient);

    transition: var(--transition);
    
}


.nav a:hover {

    color: #5141c8;
}


.nav a:hover::after {

    width: 100%;

}


/* =========================================================
   BUTTONS
========================================================= */

.header-buttons{

    display: inline-flex;

    align-items: center;

    justify-content: center;
    

}


.header-btn-primary {

    padding: 12px 24px;

    color: #ffffff;

    background: var(--gradient);

    box-shadow:
        0 10px 30px
        rgba(124, 58, 237, 0.22);
    
        

          display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;


    font-size: 14px;

    font-weight: 700;

    transition: var(--transition);

    cursor: pointer;

     padding: 8px 10px;
     border-radius: 10px;
}


.header-btn-primary:hover{

    transform: translateY(-2px);

    box-shadow:
        0 15px 35px
        rgba(124, 58, 237, 0.35);
        background: #ffffff;
        color: #5141c8;
}


.header-btn-secondary{

   
    padding: 12px 24px;

    color: #5141c8;
    background: #fffefe;

   border: #5141c8 solid;

    box-shadow:
        0 10px 30px
        rgb(255, 254, 255);
    
        

          display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;


    font-size: 14px;

    font-weight: 700;

    transition: var(--transition);

    cursor: pointer;

     padding: 6px 12px;
     border-radius: 10px;
       
}


.header-btn-secondary:hover {

    border-color:
        #5141c8;

  background: var(--gradient);
        color:#fcfcfd ;
}




/* =========================================================
   HEADER BUTTONS
========================================================= */

.header-buttons {

    display: flex;

    align-items: center;

    gap: 10px;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-toggle {

    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid
        rgba(255, 255, 255, 0.909);

    background:
        rgba(255, 255, 255, 0.888);

    border-radius: 10px;

    cursor: pointer;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;
}


.menu-toggle span {

    width: 19px;

    height: 2px;

    background: #ffffff;

    border-radius: 10px;
}


/* ==========================================
   IPTV SERVER BOXES
========================================== */


.servers-section {
    width: 100%;
    padding: 90px 20px 50px;
    box-sizing: border-box;
    margin:  50px auto;

}


/* ==========================================
   SECTION TITLE
========================================== */



.server h2 {
    font-size: 24px;
    text-align: center;
    padding: 0px;
    margin: 0 ;
}

.server p {
    font-size: 18px;
    text-align: center;
    padding: 20px;
    margin: 10px ;
}




/* ==========================================
   SERVERS CONTAINER
========================================== */

.servers-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;

    box-sizing: border-box;
}


/* ==========================================
   SERVER CARD
========================================== */

.server-card {
    position: relative;

    width: 100%;
    min-width: 0;
    min-height: 400px;

    background: #ffffff;

    border-radius: 12px;

    padding: 0 15px 15px;

    box-sizing: border-box;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border 0.25s ease;
}


/* ==========================================
   SERVER CARD HOVER
========================================== */

.server-card:hover {
    transform: translateY(-3px);

    border: 2px solid#5141c8 ;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.12);
}


/* ==========================================
   LOGO AREA
========================================== */

.server-logo-area {
    position: relative;

    width: 100%;
    height: 150px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 10px;

    box-sizing: border-box;
}


/* ==========================================
   SERVER LOGO
========================================== */

.server-logo-area img {
    display: block;

    width: 100%;
    max-width: 260px;

    height: 125px;

    object-fit: contain;
}


/* ==========================================
   RATING
========================================== */

.rating {
    position: absolute;

    top: 12px;
    right: 0;

    display: flex;

    align-items: center;

    gap: 4px;

    padding: 4px 9px;

    background: #000000;

    color: #ffffff;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;
}


.rating i {
    color: #ffbf00;

    font-size: 12px;
}


/* ==========================================
   SERVER TITLE
========================================== */

.server-card h3 {
    margin: 8px 0 8px;

    color: #1e293b;

    font-size: 18px;

    font-weight: 500;

    line-height: 1.3;
}


/* ==========================================
   STATISTICS
========================================== */

.server-stats {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 5px;

    background: #ffffff;

    border-radius: 6px;

    padding: 9px 5px;

    margin-bottom: 12px;

    box-sizing: border-box;
}


.stat {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    min-width: 0;
}


.stat i {
    color: #5145ed;

    font-size: 16px;

    margin-bottom: 5px;
}


.stat strong {
    color: #172033;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.2;
}


.stat span {
    margin-top: 3px;

    color: #000000;

    font-size: 11px;

    line-height: 1.2;
}


/* ==========================================
   BUTTONS
========================================== */

.description-btn,
.trial-btn,
.reseller-btn {
    width: 100%;

    height: 35px;

    border-radius: 5px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition: all 0.2s ease;

    box-sizing: border-box;
}


/* ==========================================
   SHOW DESCRIPTION
========================================== */

.description-btn {
    border:#5141c8 solid 1px;

    background: #ffffff;

    color:#5141c8 ;

    margin-bottom: 12px;
}


.description-btn i {
    margin-right: 5px;
}



.description-btn:hover {
     background: var(--gradient);
    color:#f1f0f6 ;
}


/* ==========================================
   FREE TRIAL
========================================== */

.trial-btn {
    background: var(--gradient);
    
    

    color: #ffffff;

    margin-bottom: 8px;
}


.trial-btn i {
    margin-right: 5px;
}


.trial-btn:hover {
    background: #ffffff;

    color:#5141c8 ;
    border: #5141c8 solid 1px;

    transform: translateY(-1px);
}


/* ==========================================
   RESELLER
========================================== */

.reseller-btn {
    background:#ffffff ;

    color: #5141c8;
    border: #5141c8 solid 1px;
}


.reseller-btn:hover {
     background: var(--gradient);

    color: #ffffff;
    border: #5141c8 solid 1px;
}


/* ==========================================
   SHOW MORE BUTTON
========================================== */

.button-container {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 20px;

    padding: 10px;

    box-sizing: border-box;
}


.main-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 8px 10px;

    background: #ffffff;

    color: #000000;

    text-decoration: none;

    border-radius: 10px;

    font-size: 15px;

    font-weight: 600;

    border: 2px solid #5141c8;

    transition: all 0.2s ease;
}


.main-button:hover {
    color: #000000;

     background: var(--gradient);

    border-color:#5141c8 ;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {

    .servers-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {

    .servers-section {
        width: 100%;

        padding: 20px 12px 40px;
    }


    .server h2 {
        font-size: 22px;

        padding: 25px 10px;

        margin: 0;
    }


    .servers-container {
        width: 100%;

        max-width: 450px;

        margin: 0 auto;

        grid-template-columns: minmax(0, 1fr);

        gap: 18px;
    }


    .server-card {
        width: 100%;

        min-width: 0;

        min-height: 400px;

        padding: 0 15px 15px;
    }


    .server-logo-area {
        width: 100%;

        height: 150px;

        padding: 10px;
    }


    .server-logo-area img {
        width: 100%;

        max-width: 260px;

        height: 125px;

        object-fit: contain;
    }


    .server-card h3 {
        font-size: 18px;
    }


    .server-stats {
        width: 100%;

        grid-template-columns: repeat(3, minmax(0, 1fr));
    }


    .stat strong {
        font-size: 12px;
    }


    .stat span {
        font-size: 10px;
    }


    .description-btn,
    .trial-btn,
    .reseller-btn {
        width: 100%;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 380px) {

    .servers-section {
        padding-left: 8px;
        padding-right: 8px;
    }


    .server-card {
        padding-left: 12px;
        padding-right: 12px;
    }


    .server-logo-area {
        height: 140px;
    }


    .server-logo-area img {
        height: 115px;
    }


    .server-card h3 {
        font-size: 17px;
    }


    .stat strong {
        font-size: 11px;
    }


    .stat span {
        font-size: 9px;
    }

}


/* =========================================================
   GENERAL SECTION
========================================================= */

.section {

    padding: 110px 0;
    color: #000000;

}


.section-heading {

    text-align: center;

    max-width: 700px;

    margin: 0 auto 55px;
    color: #000000;
}


.section-label {

    display: inline-block;

    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 13px;
}


.section-heading h2 {

    font-size:
        clamp(30px, 4vw, 46px);

    line-height: 1.15;

    letter-spacing: -1.2px;

    margin-bottom: 15px;
}


.section-heading h2 span {

    background: var(--gradient);

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
    color: #000000;
}


.section-heading p {

    color: var(--text-secondary);

    font-size: 14px;
    
}





/* ==========================================
   CONTACT US SECTION
========================================== */

.contact-section {
    width: 100%;
    padding: 65px 30px 60px;
    background: #ffffff;
}


/* TITLE */

.contact-title {
    margin: 0 0 28px;
    text-align: center;

    color: #18233a;

    font-size: 30px;
    font-weight: 400;
}


/* CONTAINER */

.contact-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


/* CARD */

.contact-card {
    min-height: 212px;

    padding: 28px 25px 22px;

    background: #ffffff;

    border: 1px solid #e4e8ef;

    border-radius: 8px;

    text-align: center;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);

    transition: all 0.3s ease;
}


/* CARD HOVER */

.contact-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);

    transform: translateY(-3px);

    box-shadow:
        0 7px 15px rgba(20, 40, 70, 0.12);
      border: 2px solid #196bf8;    
}



/* ICON */

.contact-icon {
    width: 48px;
    height: 48px;

    margin: 0 auto 16px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #5146e5;

    font-size: 29px;
}


/* TELEGRAM */

.telegram-icon {
    color: #159bd7;
}


/* CARD TITLE */

.contact-card h3 {
    margin: 0 0 12px;

    color: #18233a;

    font-size: 17px;
    font-weight: 400;
}


/* DESCRIPTION */

.contact-card p {
    max-width: 230px;

    margin: 0 auto 12px;

    color: #000000;

    font-size: 13px;
    line-height: 1.8;
}


/* LINKS */

.contact-card a {
    color: #5146e5;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: color 0.3s ease;
}


/* LINK HOVER */

.contact-card a:hover {
    color: #5141c8;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .contact-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .contact-section {
        padding: 50px 20px;
    }

    .contact-title {
        font-size: 26px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    border-top:
        1px solid
        rgba(255,255,255,0.06);

    background: #fefeff;
    color: #000000;
}


.footer-container {

    min-height: 150px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.footer-brand p {

    color: var(--text-muted);

    font-size: 16px;

    margin-top: 7px;
}


.footer-links {

    display: flex;

    align-items: center;

    gap: 25px;
}


.footer-links a {

    color: #000000;

    font-size: 16px;

    transition: var(--transition);
}


.footer-links a:hover {

    color: #5141c8;
}


.footer-social {

    display: flex;

    gap: 8px;
    
}


.footer-social a {

    width: 40px;
    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    color:#ffffff ;

    background: #5141c8 ;
    
       

    border:#5141c8  ;

    font-size:  14px;

    transition: var(--transition);
}


.footer-social a:hover {

    color: #5141c8  ;
border: #5141c8  solid 1px;
    background:
        rgb(255, 255, 255);

   
}


.footer-bottom {

    padding: 18px 0;

    border-top:
        1px solid
        rgba(255,255,255,0.04);

    text-align: center;
}


.footer-bottom p {

    color: #000000;

    font-size: 14px;
    
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav {
        display: none;
    }

    .header-buttons {
        margin-left: auto;
    }

    .hero-container {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 60px;
    }

    .hero-content > p {

        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {

        justify-content: center;
    }

    .hero-features {

        justify-content: center;
    }

    .hero-visual {

        max-width: 600px;

        margin: auto;
    }

    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .server-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .server-card:last-child {

        grid-column:
            1 / -1;

        max-width: 50%;

        margin: auto;
    }

    .device-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }

    .contact-grid {

        grid-template-columns: 1fr;
    }

}
/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 1000px) {

    .nav.mobile-active {

        display: block;

        position: absolute;

        top: 82px;

        left: 4%;

        width: 92%;

        padding: 20px;

        background:
            rgba(8, 9, 15, 0.98);

        border:
            1px solid
            rgba(124, 58, 237, 0.2);

        border-radius: 16px;

        box-shadow:
            0 20px 50px
            rgba(0, 0, 0, 0.4);
    }


    .nav.mobile-active ul {

        flex-direction: column;

        align-items: stretch;

        gap: 5px;
    }


    .nav.mobile-active a {

        display: block;

        padding: 13px;

        border-radius: 10px;
    }


    .nav.mobile-active a:hover {

        background:
            rgba(124, 58, 237, 0.08);
    }

}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {

    .header {

        height: 72px;
    }

    .header-buttons {

        display: none;
    }

    .menu-toggle {

        display: flex;
    }

    .container {

        width: 90%;
    }

    .hero {

        padding-top: 120px;

        padding-bottom: 70px;
    }

    .hero-container {

        min-height: auto;
    }

    .hero h1 {

        font-size: 42px;

        letter-spacing: -1.7px;
    }

    .hero-content > p {

        font-size: 14px;
    }

    .hero-buttons {

        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .btn {

        width: 100%;

        max-width: 290px;
    }

    .hero-features {

        flex-direction: column;

        gap: 9px;
    }

    .hero-card {

        transform: none;

        padding: 12px;

        border-radius: 18px;
    }

    .screen {

        height: 220px;
    }

    .stats {

        padding-bottom: 55px;
    }

    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }

    .stat-card {

        padding: 20px 10px;
    }

    .stat-card strong {

        font-size: 22px;
    }

    .section {

        padding: 80px 0;
    }

    .section-heading {

        margin-bottom: 40px;
    }

    .server-grid {

        grid-template-columns: 1fr;
    }

    .server-card:last-child {

        grid-column: auto;

        max-width: none;
    }

    .device-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .device-card {

        padding: 20px 10px;
    }

    .cta {

        padding-bottom: 80px;
    }

    .cta-box {

        padding: 60px 20px;
    }

    .footer-container {

        padding: 35px 0;

        flex-direction: column;

        text-align: center;
    }

    .footer-links {

        flex-wrap: wrap;

        justify-content: center;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .logo {

        font-size: 21px;
    }

    .hero h1 {

        font-size: 36px;
    }

    .stats-grid {

        grid-template-columns: 1fr;
    }

    .device-grid {

        grid-template-columns: 1fr 1fr;
    }

    .server-card {

        padding: 22px;
    }

    .faq-question {

        padding: 17px;

        font-size: 13px;
    }

}

/* =========================================================
   MOBILE MENU ANIMATION
========================================================= */

.menu-toggle span {
    transition: 0.3s ease;
}


/* عندما تكون القائمة مفتوحة */

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   HEADER SCROLL EFFECT
========================================================= */

.header.scrolled {
    background:
        rgba(254, 254, 255, 0.95);

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.18);

    box-shadow:
        0 10px 35px
        rgb(255, 255, 255);
        
}


/* =========================================================
   MOBILE MENU
========================================================= */

@media (max-width: 768px) {

    /* إظهار زر القائمة */
    .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;

        border: none;
        background: transparent;

        border-radius: 10px;
        cursor: pointer;

        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;
    }

    /* لون خطوط القائمة */
    .menu-toggle span {
        width: 22px;
        height: 3px;

        background: #5141c8;

        border-radius: 10px;

        transition: 0.3s ease;
    }


    /* إخفاء القائمة العادية في الهاتف */
    .nav {
        display: none;
    }


    /* القائمة عند الضغط على ☰ */
    .nav.mobile-active {
        display: block;

        position: absolute;

        top: 82px;
        left: 0;
        right: 0;

        background: #ffffff;

        padding: 20px;

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

        z-index: 999;
    }


    /* ترتيب الروابط */
    .nav.mobile-active ul {
        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 20px;

        margin: 0;
        padding: 0;
    }


    .nav.mobile-active a {
        color: #5141c8;

        font-size: 16px;

        font-weight: 600;

        text-decoration: none;
    }


    /* إخفاء أزرار الهيدر في الهاتف */
    .header-buttons {
        display: none;
    }


    /* زر القائمة */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

}
