:root {
    --bg-dark: #070709;
    --card-bg: rgba(18, 18, 24, 0.75); /* Slightly heavier glass backstop to protect text contrast */
    --card-hover-bg: rgba(22, 22, 32, 0.85);
    --accent: #6366f1;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --accent-glow: rgba(99, 102, 241, 0.25);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.06);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Cinematic Background Scrolling Effect — NEW BRIGHTNESS BALANCING */
.marquee-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 1;
    opacity: 0.35; /* Up from 0.16 — posters are now highly visible */
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 80s linear infinite;
    gap: 20px;
}
.track-reverse { animation-direction: reverse; }
.marquee-track img {
    height: 240px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
}

/* Softer radial vignette to let the poster art bleed through the center */
.marquee-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(7,7,9,0.15) 0%, rgba(7,7,9,0.92) 100%);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Main Layout Wrapper */
.content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section { 
    text-align: center; 
    margin-bottom: 70px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logo { font-size: 3.5rem; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 15px; }
.logo span { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.4));
}
.tagline { color: var(--text-main); font-size: 1.15rem; max-width: 550px; font-weight: 400; line-height: 1.6; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }

/* Premium Netflix Pill Style Banner */
.cancel-banner {
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(18, 18, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.cancel-banner span {
    color: #10b981;
    font-weight: 800;
}

/* The Pricing Layout Matrix */
.pricing-grid {
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Base Card Styling */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(30px); /* Deeper blur to protect readability against brighter background */
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 45px 35px;
    width: 340px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 5px; }

/* Interactive Hover States */
.card:hover {
    transform: translateY(-8px);
    background: var(--card-hover-bg);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

/* Standard Featured Card Dominance */
.card.featured {
    border: 1px solid rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 50px var(--accent-glow), 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(1.05);
    z-index: 10;
}
.card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    border-color: rgba(139, 92, 246, 0.7);
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.35);
}

.badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--accent-gradient); font-size: 0.7rem; font-weight: 700;
    padding: 6px 18px; border-radius: 30px; text-transform: uppercase;
    letter-spacing: 1px; box-shadow: 0 4px 15px var(--accent-glow);
}

.price { font-size: 2.8rem; font-weight: 800; margin: 25px 0; letter-spacing: -1px; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; letter-spacing: 0; }

.features { list-style: none; margin-bottom: 45px; color: var(--text-main); line-height: 2.2; font-size: 0.95rem; }
.features li { display: flex; align-items: center; gap: 10px; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

/* Button Visual Upgrades */
.btn {
    width: 100%; padding: 16px; border: none; border-radius: 16px;
    font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s ease;
    margin-top: auto;
}
.btn-primary { 
    background: var(--accent-gradient); 
    color: white; 
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover { 
    opacity: 0.95;
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
    transform: scale(1.02);
}
.btn-secondary { 
    background: rgba(255, 255, 255, 0.04); 
    color: rgba(255, 255, 255, 0.9); 
    border: 1px solid rgba(255, 255, 255, 0.15); 
}
.btn-secondary:hover { 
    background: rgba(255, 255, 255, 0.1); 
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Brand Trust Verification Footer */
.trust-footer {
    margin-top: 40px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Elegant Checkout Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 6, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-card {
    background: rgba(22, 22, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(99, 102, 241, 0.15);
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    padding: 40px;
    position: relative;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-card {
    transform: translateY(0);
}
.modal-card h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.modal-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; margin-bottom: 25px; }

.input-group { width: 100%; margin-bottom: 15px; }
.input-group input {
    width: 100%; padding: 16px; border-radius: 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white; font-size: 1rem; font-family: inherit;
    outline: none; transition: all 0.2s ease;
}
.input-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.25);
    background: rgba(0, 0, 0, 0.6);
}

.modal-warning {
    font-size: 0.78rem; color: #fbbf24; background: rgba(251, 191, 36, 0.06);
    padding: 10px 14px; border-radius: 10px; margin-bottom: 30px; line-height: 1.4;
    border: 1px solid rgba(251, 191, 36, 0.15);
}
.modal-close {
    position: absolute; top: 20px; right: 25px; background: none; border: none;
    color: var(--text-muted); font-size: 1.8rem; cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: white; }
