/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Amiri', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    direction: rtl;
}

/* Background Overlay */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(218, 165, 32, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196, 30, 58, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
}

.logo-container {
    margin-bottom: 30px;
}

.logo-image {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(218, 165, 32, 0.3),
        0 0 20px rgba(196, 30, 58, 0.2);
    border: 3px solid rgba(218, 165, 32, 0.4);
    transition: all 0.3s ease;
    object-fit: cover;
}

.logo-image:hover {
    transform: scale(1.05);
    box-shadow: 
        0 15px 40px rgba(218, 165, 32, 0.5),
        0 0 30px rgba(196, 30, 58, 0.4);
    border-color: rgba(218, 165, 32, 0.6);
}

.channel-title {
    font-family: 'Cairo', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #DAA520;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.channel-subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    opacity: 0.9;
    font-weight: 400;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.stat-card {
    background: linear-gradient(145deg, rgba(218, 165, 32, 0.1), rgba(196, 30, 58, 0.1));
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(218, 165, 32, 0.2);
    border-color: rgba(218, 165, 32, 0.5);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #DAA520;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
}

.stat-label {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #DAA520;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Testimonials Section */
.testimonials-section {
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(60, 36, 21, 0.3), rgba(26, 26, 26, 0.5));
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    border-color: rgba(218, 165, 32, 0.4);
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.1);
}

.testimonial-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #4CAF50;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots-section {
    margin-bottom: 50px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.testimonial-image-container {
    aspect-ratio: 9/16;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(218, 165, 32, 0.3);
}

.testimonial-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(218, 165, 32, 0.4);
    border-color: rgba(218, 165, 32, 0.6);
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.testimonial-image:hover {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 50px 0;
    margin-bottom: 30px;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #DAA520;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    /* opacity: 0.9; */ /* Controlled by inline style for the top banner */
    /* margin-bottom: 30px; */ /* Not needed for top banner, might conflict if class is reused */
}

#countdown {
    color: #C41E3A;
    font-weight: 700;
    font-size: 1.3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(45deg, #C41E3A, #DC143C);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 20px 50px;
    border-radius: 50px;
    box-shadow: 
        0 10px 30px rgba(196, 30, 58, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    min-width: 250px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(196, 30, 58, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(45deg, #DC143C, #C41E3A);
}

.cta-button:active {
    transform: translateY(-1px);
}

.button-text {
    font-family: 'Cairo', sans-serif;
}

.button-icon {
    font-size: 1.8rem;
}

.member-count-text {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 0.9;
    margin-top: 20px;
}

.highlight {
    color: #DAA520;
    font-weight: 700;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(218, 165, 32, 0.2);
    color: #ffffff;
    opacity: 0.7;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stat-number {
    animation: pulse 2s infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px rgba(218, 165, 32, 0.5); }
    50% { text-shadow: 0 0 20px rgba(218, 165, 32, 0.8), 0 0 30px rgba(218, 165, 32, 0.6); }
}

.logo-text {
    animation: glow 3s infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        padding: 30px 0;
    }
    
    .logo-text {
        font-size: 2.5rem;
    }
    
    .channel-title {
        font-size: 1.8rem;
    }
    
    .channel-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-button {
        font-size: 1.3rem;
        padding: 18px 40px;
        min-width: 200px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 2rem;
    }
    
    .channel-title {
        font-size: 1.5rem;
    }
    
    .cta-button {
        font-size: 1.2rem;
        padding: 15px 30px;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

/* RTL Support */
[dir="rtl"] .cta-button {
    flex-direction: row-reverse;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
