/* Landing Page Specific Styles */

/* Landing Header */
.landing-header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.3s ease;
}

.landing-header.scrolled {
    background: #1a1f2e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.landing-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.landing-logo {
    font-size: 32px;
    font-weight: 700;
    color: #e50914;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.landing-logo span {
    color: #ffffff;
}

.landing-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-signin,
.nav-browse {
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-signin {
    color: #ffffff;
    background: transparent;
    border: 2px solid #ffffff;
}

.nav-signin:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-browse {
    background: #e50914;
    color: #ffffff;
}

.nav-browse:hover {
    background: #b8070f;
    transform: translateY(-2px);
}

/* Landing Hero */
.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px 40px;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: inline-block;
    background: #e50914;
    color: #ffffff;
    padding: 18px 45px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta:hover {
    background: #b8070f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

.hero-cta:active {
    transform: translateY(-1px);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #0f1419;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.section-header p {
    font-size: 1.2rem;
    color: #a0a0a0;
}

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

.feature-card {
    background: #1a1f2e;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #e50914;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #a0a0a0;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(229, 9, 20, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    background: rgba(229, 9, 20, 0.2);
    border-color: #e50914;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: #e50914;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.2rem;
    color: #ffffff;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(
        to bottom,
        #0f1419 0%,
        #1a1f2e 50%,
        #0f1419 100%
    );
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #ffffff;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    padding: 18px 45px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-primary {
    background: #e50914;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.cta-primary:hover {
    background: #b8070f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

.cta-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .landing-header .container {
        flex-direction: column;
        gap: 15px;
    }

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

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

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

    .hero-cta {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }
}

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

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

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

    .feature-card {
        padding: 30px 20px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Add scroll effect to header */
.landing-header.scrolled {
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}