/* Core Styling & Variables */
:root {
    --primary-color: #E50914; /* Netflix Red */
    --bg-dark: #141414;
    --bg-card: #1f1f1f;
    --text-light: #ffffff;
    --text-muted: #aaaaaa;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* Header & Navbar */
header {
    background-color: rgba(20, 20, 20, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #252525;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #b80710;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 10px 24px;
    border: 2px solid white;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: white;
    color: black;
}

/* Hero Section */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(20, 20, 20, 0.8), rgba(20, 20, 20, 0.95)), 
                url('https://images.unsplash.com/photo-1574375927938-d5a98e8ffe85?q=80&w=1200') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.hero-buttons * {
    margin: 0 10px;
}

/* Sections General */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
}

.features, .pricing {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.price-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}

.price-card.popular {
    border-color: var(--primary-color);
    padding: 50px 30px;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

.price {
    font-size: 36px;
    font-weight: bold;
    margin: 20px 0;
    color: var(--primary-color);
}

.price span {
    font-size: 16px;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.plan-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.plan-features i {
    color: #2ecc71;
    margin-right: 10px;
}

.plan-features i.close {
    color: #e74c3c;
}

.btn-card {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    border: 2px solid #444;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.price-card.popular .btn-card, .btn-card:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Modal Checkout */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal:hover {
    color: white;
}

.form-group {
    margin-top: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: white;
    border-radius: 4px;
}

.form-submit {
    width: 100%;
    margin-top: 25px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    border-top: 1px solid #252525;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 15px; }
    nav ul { margin-bottom: 10px; }
    .hero-content h1 { font-size: 32px; }
}