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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #141414;
    color: #fff;
    direction: rtl;
}

/* Landing Page */
.landing-page {
    min-height: 100vh;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.8) 100%), url('https://assets.nflxext.com/ffe/siteui/vlv3/9d3533b2-0e2b-4e9f-a8a2-0a9f0a7f8a8a/AR-en-20240311-popsignuptwoweeks-perspective_alpha_website_large.jpg');
    background-size: cover;
    background-position: center;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    font-size: 48px;
    color: #e50914;
}

.logo span {
    font-size: 36px;
    font-weight: 800;
    color: #e50914;
    letter-spacing: 2px;
}

.header-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.lang-select {
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.signin-btn {
    background: #e50914;
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.signin-btn:hover {
    background: #f40612;
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 0 48px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-content h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 24px;
}

.cta-form {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-form input {
    padding: 16px 24px;
    font-size: 16px;
    border: 1px solid #333;
    border-radius: 4px;
    min-width: 400px;
    background: rgba(0,0,0,0.7);
    color: #fff;
}

.start-btn {
    background: #e50914;
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    font-size: 24px;
    font-weight: 600;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.start-btn:hover {
    background: #f40612;
}

.features-section {
    background: #000;
    padding: 48px;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto 48px;
    flex-wrap: wrap;
}

.feature-text {
    flex: 1;
    min-width: 300px;
}

.feature-text h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-text p {
    font-size: 24px;
    color: #999;
}

.feature-image {
    flex: 1;
    min-width: 300px;
}

.feature-image img {
    width: 100%;
    max-width: 500px;
}

.landing-footer {
    background: #000;
    padding: 48px;
    color: #757575;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 24px auto;
}

.footer-grid a {
    color: #757575;
    text-decoration: none;
    font-size: 14px;
}

.footer-grid a:hover {
    text-decoration: underline;
}

/* Login Page */
.login-page {
    min-height: 100vh;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.8) 100%), url('https://assets.nflxext.com/ffe/siteui/vlv3/9d3533b2-0e2b-4e9f-a8a2-0a9f0a7f8a8a/AR-en-20240311-popsignuptwoweeks-perspective_alpha_website_large.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: rgba(0,0,0,0.85);
    padding: 48px 68px;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
}

.login-container h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 28px;
}

.input-group {
    margin-bottom: 16px;
}

.input-group input {
    width: 100%;
    padding: 16px;
    background: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: #fff;
    background: #454545;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: #e50914;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 24px;
}

.login-btn:hover {
    background: #f40612;
}

.help-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0;
    font-size: 14px;
    color: #b3b3b3;
}

.help-section a {
    color: #b3b3b3;
    text-decoration: none;
}

.help-section a:hover {
    text-decoration: underline;
}

.signup-link {
    margin-top: 48px;
    font-size: 16px;
    color: #737373;
}

.signup-link a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

.recaptcha-text {
    margin-top: 16px;
    font-size: 13px;
    color: #8c8c8c;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-box {
    background: #181818;
    border-radius: 12px;
    padding: 40px;
    width: 90%;
    max-width: 440px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: modalFadeIn 0.3s ease;
}

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

.modal-icon {
    font-size: 64px;
    color: #e50914;
    margin-bottom: 24px;
}

.modal-box h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.modal-box p {
    font-size: 16px;
    color: #999;
    margin-bottom: 24px;
}

.spinner {
    margin: 24px auto;
    width: 48px;
    height: 48px;
    border: 4px solid #333;
    border-top: 4px solid #e50914;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Dashboard Page */
.dashboard {
    background: #141414;
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 48px;
    background: rgba(0,0,0,0.9);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.dashboard-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.dashboard-nav a {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.dashboard-nav a:hover {
    color: #fff;
}

.dashboard-nav a.active {
    color: #fff;
    font-weight: 700;
}

.dashboard-content {
    padding: 80px 48px 48px;
}

.content-row {
    margin-bottom: 48px;
}

.content-row h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.content-card {
    background: #333;
    aspect-ratio: 16/9;
    border-radius: 4px;
    transition: transform 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.content-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    header {
        padding: 16px 24px;
    }
    
    .hero-section {
        padding: 0 24px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .cta-form input {
        min-width: 100%;
    }
    
    .login-container {
        padding: 24px;
        margin: 16px;
    }
    
    .dashboard-header {
        padding: 16px 24px;
    }
    
    .dashboard-content {
        padding: 80px 24px 24px;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo i {
        font-size: 36px;
    }
    
    .logo span {
        font-size: 28px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .start-btn {
        font-size: 18px;
        padding: 12px 24px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}