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

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #141414;
    color: white;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo img {
    height: 35px;
    transition: all 0.3s ease;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e50914;
}

.nav-links a.active {
    color: #e50914;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none !important;
    /* Completely hide the mobile menu button */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    padding: 0 1rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(229, 9, 20, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.hero-logo img {
    width: 180px;
    height: 180px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
    transition: transform 0.3s;
}

.hero-logo img:hover {
    transform: scale(1.05);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #e50914;
    text-shadow: 0 2px 10px rgba(229, 9, 20, 0.3);
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.platform-buttons {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.platform-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.platform-button {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(31, 31, 31, 0.9), rgba(20, 20, 20, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    min-width: 200px;
}

.platform-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(229, 9, 20, 0.2);
    border-color: rgba(229, 9, 20, 0.5);
    background: linear-gradient(145deg, rgba(229, 9, 20, 0.1), rgba(20, 20, 20, 0.9));
}

.platform-button i {
    font-size: 1.8rem;
    margin-right: 1rem;
    color: #e50914;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.button-text span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.button-text strong {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Platform-specific styles */
.platform-button.mobile {
    background: linear-gradient(145deg, rgba(31, 31, 31, 0.9), rgba(20, 20, 20, 0.9));
}

.platform-button.desktop {
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.9), rgba(15, 15, 15, 0.9));
}

.platform-button.tv {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.9));
}

/* RTL Support */
[dir="rtl"] .platform-button {
    flex-direction: row-reverse;
}

[dir="rtl"] .platform-button i {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .button-text {
    align-items: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .platform-row {
        flex-direction: column;
        align-items: center;
    }

    .platform-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .platform-button {
        padding: 0.6rem 1rem;
    }

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

    .button-text strong {
        font-size: 1rem;
    }
}

/* Features Section */
.features {
    padding: 5rem 10%;
    background-color: #141414;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e50914;
}

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

.feature-card {
    background-color: #1f1f1f;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: #e50914;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

/* Download Section */
.download {
    padding: 5rem 10%;
    background-color: #0a0a0a;
    text-align: center;
}

.download h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e50914;
}

.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.platform-card {
    background-color: #1f1f1f;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s;
}

.platform-card:hover {
    transform: scale(1.05);
}

.platform-card i {
    font-size: 3rem;
    color: #e50914;
    margin-bottom: 1rem;
}

.download-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #e50914;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #ff0f1f;
}

/* About Section */
.about {
    padding: 5rem 10%;
    background-color: #141414;
    text-align: center;
}

.about h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #e50914;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mockup Section */
.mockup {
    padding: 5rem 10%;
    background-color: #0a0a0a;
}

.mockup h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e50914;
}

.mockup-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mockup-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.mockup-text {
    flex: 1;
}

.mockup-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.mockup-text p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.mockup-text ul {
    list-style: none;
}

.mockup-text ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mockup-text ul li i {
    color: #e50914;
}

.mockup-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mockup-image img {
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.3);
}

/* Stats Section */
.stats {
    padding: 5rem 10%;
    background-color: #141414;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: #1f1f1f;
    border-radius: 15px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item i {
    font-size: 3rem;
    color: #e50914;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.stat-item p {
    color: #888;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 2rem 5%;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #e50914;
}

/* Pricing Section */
.pricing {
    padding: 5rem 10%;
    background-color: #0a0a0a;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e50914;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background-color: #1f1f1f;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid #e50914;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: #e50914;
    color: white;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    color: #e50914;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: #888;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-features i {
    color: #e50914;
}

.pricing-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #e50914;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.3s;
}

.pricing-btn:hover {
    transform: scale(1.05);
}

/* FAQ Section */
.faq {
    padding: 5rem 10%;
    background-color: #141414;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e50914;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #1f1f1f;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
}

.faq-toggle {
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

/* Contact Section */
.contact {
    padding: 5rem 10%;
    background-color: #0a0a0a;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e50914;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: #1f1f1f;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: #141414;
    border: 1px solid #333;
    border-radius: 5px;
    color: white;
    font-family: 'Cairo', sans-serif;
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: scale(1.05);
}

/* App Showcase Section */
.app-showcase {
    padding: 5rem 10%;
    background-color: #0a0a0a;
}

.app-showcase h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e50914;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.showcase-item.reverse {
    flex-direction: row-reverse;
}

.showcase-image {
    flex: 1;
}

.showcase-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.3);
    transition: transform 0.3s;
}

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

.showcase-content {
    flex: 1;
}

.showcase-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.showcase-content p {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #cccccc;
}

.showcase-features {
    list-style: none;
}

.showcase-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.showcase-features li i {
    color: #e50914;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 10%;
    background-color: #0a0a0a;
    position: relative;
    overflow: visible;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(229, 9, 20, 0.1), transparent);
    pointer-events: none;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e50914;
    position: relative;
    z-index: 2;
}

.testimonials-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.testimonial-slide {
    background: linear-gradient(145deg, #1f1f1f, #141414);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-slide::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 6rem;
    color: rgba(229, 9, 20, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.2);
}

.testimonial-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
    color: #e50914;
}

.testimonial-rating i {
    margin-right: 5px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #f5f5f5;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: auto;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #e50914;
    padding: 2px;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-info span {
    color: #888;
    font-size: 0.9rem;
}

/* RTL Support */
[dir="rtl"] .testimonial-rating i {
    margin-right: 0;
    margin-left: 5px;
}

[dir="rtl"] .testimonial-author {
    flex-direction: row-reverse;
}

[dir="rtl"] .testimonial-slide::before {
    right: auto;
    left: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .testimonial-slider {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 1.5rem;
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1.5rem;
    }

    .testimonial-slide {
        margin-bottom: 1rem;
        padding: 2rem;
        background: linear-gradient(145deg, rgba(31, 31, 31, 0.95), rgba(20, 20, 20, 0.95));
        backdrop-filter: blur(10px);
    }

    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .testimonial-author img {
        width: 70px;
        height: 70px;
        border-width: 4px;
    }

    .author-info h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 3rem 1rem;
    }

    .testimonials h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .testimonial-slide {
        padding: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .testimonial-author img {
        width: 60px;
        height: 60px;
    }
}

/* Categories Section */
.categories {
    padding: 6rem 10%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e50914, transparent);
}

.categories h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e50914;
}

.categories-container {
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
}

.category-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(229, 9, 20, 0.2);
}

.category-image {
    position: relative;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    padding: 2.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    transform: translateY(0);
}

.category-overlay h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.category-overlay p {
    color: #f1f1f1;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.categories-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 0 20px;
}

.info-card {
    background: linear-gradient(145deg, #1f1f1f, #0a0a0a);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(229, 9, 20, 0.1);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e50914, transparent);
}

.info-card i {
    font-size: 3rem;
    color: #e50914;
    margin-bottom: 2rem;
    display: inline-block;
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}

.info-card h3 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-card p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .category-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .categories {
        padding: 4rem 5%;
    }
    
    .categories h2 {
        font-size: 2.5rem;
    }
    
    .category-image img {
        height: 500px;
    }
    
    .categories-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .category-row {
        grid-template-columns: 1fr;
    }
    
    .category-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4));
    }
    
    .category-image img {
        height: 450px;
    }
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 10%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1f1f1f 100%);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23e50914" opacity="0.1" width="100" height="100"/></svg>') repeat;
    opacity: 0.05;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-content {
    background: linear-gradient(145deg, #1f1f1f, #0a0a0a);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(229, 9, 20, 0.1);
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #e50914);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #cccccc;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 2.5rem;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border-radius: 30px;
    border: 2px solid rgba(229, 9, 20, 0.2);
    background-color: rgba(31, 31, 31, 0.5);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.newsletter-form input[type="email"]:focus {
    border-color: #e50914;
    outline: none;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.2);
}

.newsletter-form button {
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    border: none;
    background: linear-gradient(45deg, #e50914, #ff1f1f);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(229, 9, 20, 0.3);
}

.newsletter-form button i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.newsletter-form button:hover i {
    transform: translateX(5px);
}

.form-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #888;
    margin-bottom: 2rem;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid rgba(229, 9, 20, 0.3);
    cursor: pointer;
}

.form-check label {
    font-size: 0.95rem;
    cursor: pointer;
}

.newsletter-benefits {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(31, 31, 31, 0.5);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    transition: transform 0.3s;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit i {
    font-size: 1.4rem;
    background: linear-gradient(45deg, #e50914, #ff1f1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefit span {
    color: #ffffff;
    font-size: 1rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-logo img {
        width: 150px;
        height: 150px;
    }

    .newsletter {
        padding: 3rem 20px;
    }

    .newsletter-content {
        padding: 2rem 1.5rem;
    }

    .newsletter h2 {
        font-size: 2rem;
    }

    .newsletter p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .newsletter-form .form-group {
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
        text-align: center;
    }

    .newsletter-form button {
        width: 100%;
        justify-content: center;
    }

    .newsletter-benefits {
        flex-direction: column;
        gap: 1rem;
    }

    .benefit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        width: 220px;
        height: 220px;
    }

    .newsletter h2 {
        font-size: 1.8rem;
    }

    .newsletter-form button {
        padding: 1rem 1.5rem;
    }

    .form-check {
        flex-direction: column;
        text-align: center;
    }
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 2rem;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.language-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1f1f1f;
    border-radius: 10px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 5px;
}

.language-dropdown a:hover {
    background-color: rgba(229, 9, 20, 0.1);
    color: #e50914;
}

.language-dropdown a.active {
    background-color: #e50914;
    color: white;
}

/* Download App Section */
.download-app {
    padding: 5rem 10%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1f1f1f 100%);
    position: relative;
    overflow: hidden;
}

.download-app::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23e50914" opacity="0.1" width="100" height="100"/></svg>') repeat;
    opacity: 0.05;
}

.download-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.download-content {
    flex: 1;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    background: linear-gradient(to right, #ffffff, #e50914);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #cccccc;
    line-height: 1.6;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.platform-box {
    background: linear-gradient(145deg, #1f1f1f, #0a0a0a);
    padding: 1.8rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
    border: 1px solid rgba(229, 9, 20, 0.1);
    position: relative;
    overflow: hidden;
}

.platform-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(229, 9, 20, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.platform-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2);
}

.platform-box:hover::before {
    opacity: 1;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.platform-info i {
    font-size: 2.2rem;
    background: linear-gradient(45deg, #e50914, #ff1f1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.platform-text {
    display: flex;
    flex-direction: column;
}

.platform-text span {
    font-size: 0.9rem;
    color: #888;
    display: block;
    margin-bottom: 0.3rem;
}

.platform-text h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.2rem;
}

.qr-code {
    position: relative;
    padding: 5px;
    background: linear-gradient(145deg, #1f1f1f, #0a0a0a);
    border-radius: 12px;
}

.qr-code img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    transition: transform 0.3s;
    border: 2px solid rgba(229, 9, 20, 0.2);
}

.platform-box:hover .qr-code img {
    transform: scale(1.1);
}

.download-features {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(31, 31, 31, 0.5);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-3px);
}

.feature i {
    color: #e50914;
    font-size: 1.2rem;
}

.feature span {
    color: #ffffff;
    font-size: 1rem;
}

.download-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
    transition: transform 0.3s;
}

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

/* Mobile Styles */
@media (max-width: 768px) {
    .download-app {
        padding: 4rem 20px;
    }

    .download-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .download-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .download-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .download-platforms {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .platform-box {
        padding: 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .platform-info i {
        font-size: 2rem;
    }

    .platform-text h3 {
        font-size: 1.1rem;
    }

    .qr-code img {
        width: 70px;
        height: 70px;
    }

    .download-features {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 0 1rem;
    }

    .feature {
        justify-content: center;
        padding: 1rem;
    }

    .download-image img {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .download-content h2 {
        font-size: 1.8rem;
    }

    .platform-box {
        padding: 1.2rem;
    }

    .platform-info i {
        font-size: 1.8rem;
    }

    .qr-code img {
        width: 60px;
        height: 60px;
    }

    .feature {
        padding: 0.8rem 1rem;
    }
}

/* Enhanced Footer */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: #e50914;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.footer-description {
    color: #888;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.app-badges {
    display: flex;
    gap: 1rem;
}

.app-badge img {
    height: 40px;
    border-radius: 5px;
    transition: transform 0.3s;
}

.app-badge img:hover {
    transform: scale(1.05);
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul a:hover {
    color: #e50914;
}

.contact-info {
    margin-top: 1.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.5rem;
    }

    .mockup-content {
        flex-direction: column;
        text-align: center;
    }

    .mockup-text ul li {
        justify-content: center;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .platforms {
        grid-template-columns: 1fr;
    }

    .pricing-container {
        grid-template-columns: 1fr;
    }

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

    .faq-question h3 {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .showcase-item {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
        text-align: center;
    }

    .showcase-item.reverse {
        flex-direction: column;
    }

    .showcase-features li {
        justify-content: center;
    }

    .testimonial-slide {
        min-width: 100%;
    }

    .testimonial-controls {
        margin-top: 1rem;
    }

    /* Fix horizontal scrolling */
    .container, 
    .hero,
    .features,
    .pricing,
    .categories,
    .download-app,
    .newsletter,
    footer {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        overflow: hidden;
    }

    /* Adjust grid layouts */
    .category-row,
    .features-grid,
    .pricing-cards,
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    /* Make cards full width */
    .category-card,
    .feature-card,
    .pricing-card,
    .footer-column {
        width: 100%;
        margin: 0;
    }

    /* Adjust images */
    .category-image img,
    .feature-image img,
    .download-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Fix navigation */
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: #141414;
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        transition: 0.3s;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    /* Adjust buttons and forms */
    .newsletter-form .form-group {
        width: 100%;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
        max-width: 100%;
    }

    /* Fix testimonials */
    .testimonial-card {
        width: 100%;
        margin: 0;
    }

    /* Adjust download section */
    .download-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .download-platforms {
        width: 100%;
    }

    .platform-box {
        width: 100%;
    }

    /* Fix footer */
    .footer-content {
        width: 100%;
    }

    .app-badges {
        flex-wrap: wrap;
        justify-content: center;
    }

    .payment-methods {
        flex-wrap: wrap;
        justify-content: center;
    }
}

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

    .category-image img {
        height: 300px;
    }

    .download-features {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .app-badges {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Further adjustments for smaller screens */
    .hero h1 {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 1.8rem;
    }

    /* Adjust padding */
    .container,
    section {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Stack elements */
    .newsletter-benefits {
        flex-direction: column;
        align-items: center;
    }

    .benefit {
        width: 100%;
        justify-content: center;
    }

    /* Adjust footer elements */
    .footer-column {
        text-align: center;
    }

    .social-links,
    .contact-info {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* Fix RTL specific issues */
[dir="rtl"] .language-selector {
    margin-left: 0;
    margin-right: 2rem;
}

[dir="rtl"] .language-dropdown {
    left: 0;
    right: auto;
}

/* Animations */
.animate {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Language Support */
.ar-content {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', sans-serif;
}

/* RTL Specific Styles */
[dir="rtl"] .nav-links {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .language-selector {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .fa-chevron-down {
    margin-left: 0;
    margin-right: 5px;
}

[dir="rtl"] .feature-card,
[dir="rtl"] .showcase-content,
[dir="rtl"] .testimonial-content,
[dir="rtl"] .faq-item,
[dir="rtl"] .pricing-card {
    text-align: right;
}

[dir="rtl"] .feature-card i,
[dir="rtl"] .showcase-features i,
[dir="rtl"] .testimonial-rating i {
    margin-right: 0;
    margin-left: 10px;
}

/* Additional responsive navigation adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        margin-left: 1rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.3rem 5%;
        min-height: 40px;
    }

    .logo img {
        height: 25px;
    }

    .nav-links {
        top: 40px;
    }

    .language-selector {
        margin-right: 10px;
    }

    .language-selector img {
        width: 20px;
        height: 20px;
    }

    .nav-links a {
        font-size: 0.8rem;
        margin-left: 0.5rem;
    }
}

/* Navigation Styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo img {
    height: 35px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    nav {
        padding: 0.25rem 5%;
        min-height: 35px;
    }

    .logo img {
        height: 22px;
    }

    .nav-links {
        top: 35px;
        padding: 0.5rem 0;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }

    .language-selector {
        margin-right: 8px;
    }

    .language-selector img {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.2rem 3%;
        min-height: 30px;
    }

    .logo img {
        height: 18px;
    }

    .nav-links {
        top: 30px;
        padding: 0.3rem 0;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 0.2rem 0.6rem;
    }

    .language-selector {
        margin-right: 6px;
    }

    .language-selector img {
        width: 16px;
        height: 16px;
    }

    .menu-toggle {
        transform: scale(0.8);
    }
}
