:root {
    --primary-color: #1e3799;
    --secondary-color: #1e3799;
    --accent-color:rgba(89, 122, 241, 0.4);
    --text-color: #2d3436;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-blue: #182C61;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --hero-gradient: linear-gradient(135deg, #4052b6 0%, #1e3799 100%);
    --card-shadow: 0 15px 35px rgba(0,0,0,0.1);
    --hover-shadow: 0 25px 45px rgba(0,0,0,0.15);
    --accent-glow: 0 0 15px rgba(0, 255, 136, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.logo-icon {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.logo-text {
    display: flex;
    align-items: center;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.logo-text span {
    background: linear-gradient(135deg, #4c7bff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: -0.5px;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav a:hover {
    background: rgba(64, 82, 182, 0.1);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: var(--hero-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 1rem;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.667 0 7 3.333 7 7s-3.333 7-7 7-7-3.333-7-7 3.333-7 7-7zm48 25c3.667 0 7 3.333 7 7s-3.333 7-7 7-7-3.333-7-7 3.333-7 7-7zm-43-7c1.667 0 3 1.333 3 3s-1.333 3-3 3-3-1.333-3-3 1.333-3 3-3zm63 31c1.667 0 3 1.333 3 3s-1.333 3-3 3-3-1.333-3-3 1.333-3 3-3z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    color: var(--white);
    z-index: 1;
}

.hero-text {
    flex: 1;
    text-align: left; /* Changed from right to left for English layout */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.premium-text {
    color: #4c7bff;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    font-size: 4rem;
    margin: 0.5rem 0;
    text-shadow: 0 0 10px rgba(76, 123, 255, 0.5);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
    line-height: 1.8;
    opacity: 0.9;
}

.quality-badges {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0;
    animation: fadeInUp 1s ease 0.3s backwards;
    flex-wrap: wrap;
    justify-content: flex-start; /* Changed from flex-end for English layout */
}

.quality-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.quality-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.quality-badge i {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
    color: white;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.floating-badges {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-badge {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    animation: floatBadge 8s ease-in-out infinite;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.float-badge.netflix {
    background: linear-gradient(135deg, #E50914, #B20710);
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.float-badge.youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    top: 65%;
    right: 10%;
    animation-delay: 2s;
}

.float-badge.live {
    background: linear-gradient(135deg, var(--accent-color), #00cc6a);
    top: 25%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -15px) rotate(5deg);
    }
    50% {
        transform: translate(-5px, 10px) rotate(-3deg);
    }
    75% {
        transform: translate(-10px, -5px) rotate(2deg);
    }
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-features i {
    color: #4c7bff;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(76, 123, 255, 0.5));
}

.hero-image {
    flex: 1;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.tv-mockup {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: bounce 2s infinite;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-button a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0.8rem;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .logo {
        font-size: 1.6rem;
        z-index: 1001;
        padding-left: 0.5rem;
    }

    nav ul {
        display: none;
    }
}

/* Mobile Navigation */
@media (max-width: 480px) {
    nav ul {
        display: none;
    }

    .logo {
        width: 100%;
        text-align: center;
    }

    .hero {
        margin-top: 60px;
        padding: 2rem 1rem;
        min-height: calc(100vh - 60px);
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-features span {
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }

    .quality-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .quality-badge {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: calc(50% - 0.5rem);
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 400px;
        margin: 2rem auto 0;
    }

    .cta-button,
    .contact-button {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
}

/* Buttons */
.cta-button, .buy-button, .submit-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before, .buy-button::before, .submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.cta-button:hover::before, .buy-button:hover::before, .submit-button:hover::before {
    left: 100%;
}

.cta-button:hover, .buy-button:hover, .submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Sections */
section {
    padding: 6rem 1rem;
}

h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    position: relative;
    color: var(--primary-color);
}

h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--gradient);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Pricing Section */
.pricing {
    background: var(--light-bg);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
}

.second-pricing-title {
    margin-top: 4rem;
}

.discount-banner {
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 auto 3rem;
    max-width: 250px;
    animation: pulse 2s infinite;
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.pricing-description {
    max-width: 900px;
    margin: 2rem auto 4rem;
    text-align: center;
    padding: 0 1rem;
}

.pricing-description p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--card-shadow);
    text-align: center;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 1200px) {
    .pricing-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .pricing-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card {
        padding: 2rem 1rem;
    }
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.pricing-card.premium {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 2px solid var(--primary-color);
}

.popular-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.price {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    color: #666;
    font-size: 1.3rem;
    text-decoration: line-through;
    opacity: 0.8;
}

.price .currency {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.price .amount {
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
    margin-top: -0.5rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    margin: 0.8rem 0;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.features-list i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 0.2rem;
}

@media (max-width: 768px) {
    .features-list li {
        font-size: 0.85rem;
        margin: 0.6rem 0;
    }
}

.select-plan {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.select-plan:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 100%;
    }
}

/* Services Section */
.services {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--hero-gradient);
    clip-path: polygon(0 0, 100% 0, 100% 20%, 0 40%);
    opacity: 0.05;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.service-card {
    text-align: left; /* Changed from right for English layout */
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(64, 82, 182, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Changed from flex-end for English layout */
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--hero-gradient);
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--accent-color);
    transition: height 0.4s ease;
    box-shadow: var(--accent-glow);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover::after {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--dark-blue);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--dark-blue);
    opacity: 0.9;
}

.service-features li::before {
    content: '✓';
    color: var (--accent-color);
    font-weight: bold;
}

@media (max-width: 768px) {
    .service-card {
        text-align: center;
    }
    
    .service-features li {
        justify-content: center;
    }
}

/* Features Section */
.features {
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230288d1" fill-opacity="0.05" d="M0,160L48,170.7C96,181,192,203,288,192C384,181,480,139,576,144C672,149,768,203,864,208C960,213,1056,171,1152,144C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    bottom: 0;
    left: 0;
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-item i {
    font-size: 3rem;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    animation: fadeInUp 0.6s ease-out;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    animation: countUp 2s ease-out forwards;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 136, 209, 0.1);
}

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

/* Streaming Section */
.streaming-section {
    width: 100%;
    background: var(--white);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.streaming-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.streaming-track {
    display: flex;
    animation: scrollHorizontal 20s linear infinite;
    animation-delay: -10s; /* يبدأ من منتصف الحركة للتسريع الفوري */
    will-change: transform;
    align-items: center;
    justify-content: center;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

/* تحسين الأداء باستخدام GPU */
.streaming-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* تحسين الانتقال عند التوقف */
.streaming-container:hover .streaming-track {
    animation-play-state: paused;
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* تسريع الحركة في الشاشات الصغيرة */
@media (max-width: 768px) {
    .streaming-track {
        animation: scrollHorizontal 6s linear infinite;
        animation-delay: -3s;
        gap: 0.5rem;
    }
    
    .streaming-item {
        padding: 0.2rem;
    }
    
    .streaming-item img {
        height: 35px;
        margin: 0 0.3rem;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        will-change: transform;
    }
}

.streaming-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

/* Add smooth acceleration and deceleration */
.streaming-track {
    transition: all 0.5s ease;
}

.streaming-track:hover {
    animation-play-state: paused;
    transform: scale(1.02);
}

.streaming-item img {
    height: 100px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    margin: 0 2rem;
    background: transparent;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.streaming-item img[src*="images.png"] {
    height: 120px;
    max-width: 240px;
}

.streaming-item:hover img {
    transform: translateY(-5px);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

@keyframes scrollHorizontal {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 1rem));
    }
}

/* Pause animation on hover */
.streaming-container:hover .streaming-track {
    animation-play-state: paused;
}

/* Add gradient overlay for smooth edges */
.streaming-section::before,
.streaming-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.streaming-section::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.streaming-section::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .streaming-track {
        gap: 3rem;
    }
    
    .streaming-item img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .streaming-track {
        animation: scrollHorizontal 4s linear infinite;
        animation-delay: -2s;
        gap: 0.3rem;
    }
    
    .streaming-item {
        padding: 0.15rem;
        transform-style: preserve-3d;
    }
    
    .streaming-item img {
        height: 30px;
        max-width: 80px;
        margin: 0 0.2rem;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
        transition: transform 0.2s ease;
    }
    
    .streaming-item img[src*="bein-sports.png"] {
        height: 35px;
        max-width: 90px;
    }

    .streaming-container:hover .streaming-track {
        animation-play-state: paused;
        transform: scale(1.05);
        transition: transform 0.2s ease;
    }
}

/* تحسين الأداء العام للشريط */
.streaming-track {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    will-change: transform;
}

/* تحسين الانتقالات */
@keyframes scrollHorizontal {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Enhanced Footer Styles */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-section h4 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.service-card,
.feature-item,
.price-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 4rem 1rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .price-card.featured:hover {
        transform: translateY(-15px);
    }
}

/* Additional Animations */
.service-card i,
.feature-item i {
    animation: float 3s ease-in-out infinite;
}

.cta-button,
.buy-button {
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

/* Animations */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.streaming-section {
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
}

.streaming-container {
    width: 100%;
    overflow: hidden;
}

.streaming-track {
    display: flex;
    gap: 3rem;
    animation: stream 30s linear infinite;
}

.streaming-item {
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}

.streaming-item img {
    height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    margin: 0 1rem;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.streaming-item:hover img {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

@keyframes stream {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50%)); }
}

.movies-slider {
    padding: 4rem 0;
    background: var(--light-bg);
    overflow: hidden;
    position: relative;
}

.movies-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.movies-track {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem;
    animation: scrollMovies 30s linear infinite;
    will-change: transform;
}

.movie-item {
    flex: 0 0 auto;
    width: 200px; /* Fixed width for consistent sizing */
    height: 300px; /* Fixed height for consistent sizing */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    transform-origin: center center;
}

.movie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.movie-item:hover img {
    transform: scale(1.05);
}

@keyframes scrollMovies {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 0.75rem));
    }
}

/* Pause animation on hover */
.movies-container:hover .movies-track {
    animation-play-state: paused;
}

/* Add gradient overlay for smooth edges */
.movies-container::before,
.movies-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.movies-container::before {
    left: 0;
    background: linear-gradient(to right, var(--light-bg), transparent);
}

.movies-container::after {
    right: 0;
    background: linear-gradient(to left, var(--light-bg), transparent);
}

/* Responsive adjustments for movies slider */
@media (max-width: 768px) {
    .movie-item {
        width: 160px;
        height: 240px;
    }
}

@media (max-width: 480px) {
    .movie-item {
        width: 140px;
        height: 210px;
    }
    
    .movies-track {
        gap: 1rem;
    }
}

/* Mobile Responsive Improvements */
@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }

    .price-cards-container {
        padding: 1rem;
        gap: 1.5rem;
    }

    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        text-align: center;
        gap: 2rem;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.visible {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form optimizations for mobile */
@media (max-width: 768px) {
    .contact-form {
        gap: 1rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        -webkit-appearance: none;
        appearance: none;
        font-size: 16px;
        padding: 1rem;
        border-radius: 8px;
        width: 100%;
        border: 1px solid rgba(30, 55, 153, 0.2);
        background: #fff;
        transition: all 0.3s ease;
    }

    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(30, 55, 153, 0.1);
        outline: none;
    }

    .contact-form select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231e3799' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 2.5rem;
    }

    .submit-button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        border-radius: 50px;
        background: var(--gradient);
        color: white;
        border: none;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .submit-button:active {
        transform: scale(0.98);
    }
}