/* === NETFLIX "CINEMA GRADE" THEME v11 (SCOPED) === */

/* Fix for the warped or oversized navbar logo */
.navbar .brand-logo {
    max-height: 45px; 
    width: auto;      
    object-fit: contain; 
}

.navbar .logo-wrapper {
    display: flex;
    align-items: center;
}

:root {
    --netflix-red: #E50914;
    --neon-red: #ff3b45;
    --gold: #FFD700;
    --glass: rgba(15, 15, 20, 0.9);
    --border: rgba(255, 255, 255, 0.1);
    --surface: rgba(255, 255, 255, 0.03);
}

body.netflix-mode {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* --- CINEMATIC BACKGROUND --- */
.netflix-mode .theater-bg {
    position: fixed; inset: 0; z-index: -1;
    background: radial-gradient(circle at center, #2b0000 0%, #020202 80%);
}
.netflix-mode .spotlight {
    position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 100vw; height: 100vh;
    background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.12) 0%, transparent 60%);
    pointer-events: none;
}
.netflix-mode .noise-overlay {
    position: absolute; inset: 0; opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.netflix-mode .order-container {
    padding-top: 100px; padding-bottom: 50px;
    min-height: 100vh; display: flex; flex-direction: column; align-items: center;
}

/* --- WIZARD CARD --- */
.netflix-mode .wizard-card {
    width: 95%; max-width: 500px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px; padding: 30px;
    backdrop-filter: blur(30px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
    position: relative; overflow: hidden;
}

.netflix-mode .step-header { text-align: center; margin-bottom: 30px; }
.netflix-mode .step-header h2 { font-family: 'Outfit', sans-serif; font-size: 1.8rem; margin-bottom: 8px; color: #fff; }
.netflix-mode .highlight-red { color: var(--neon-red); text-shadow: 0 0 25px rgba(229, 9, 20, 0.5); }
.netflix-mode .highlight-gold { color: var(--gold); }
.netflix-mode .step-header p { color: #888; font-size: 0.9rem; }

/* --- STEP 1: CINEMA PLAN CARDS --- */
.netflix-mode .plan-grid { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }

.netflix-mode .plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px; padding: 20px;
    position: relative; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: center;
    overflow: visible;
}

/* INTERACTION: Scale & Glow */
.netflix-mode .plan-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.3); }
.netflix-mode .plan-card.selected {
    transform: scale(1.03);
    border-color: var(--neon-red);
    background: rgba(229, 9, 20, 0.05);
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.2);
    z-index: 2;
}

/* Card Content */
.netflix-mode .tag {
    position: absolute; top: -10px; right: 20px;
    background: #333; color: #fff;
    padding: 4px 10px; border-radius: 50px;
    font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 5;
}
.netflix-mode .tag.vip { background: var(--netflix-red); }
.netflix-mode .tag.gold { background: var(--gold); color: #000; }

.netflix-mode .plan-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}
.netflix-mode .plan-header h3 { font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; }
.netflix-mode .badge-pro { font-size: 0.6rem; background: #fff; color: #000; padding: 2px 5px; border-radius: 4px; font-weight: 800; }

/* Price Lockup */
.netflix-mode .price-lockup { text-align: right; line-height: 1; }
.netflix-mode .old-price {
    display: block; font-size: 0.8rem; color: #666;
    text-decoration: line-through; text-decoration-color: var(--netflix-red);
    margin-bottom: 2px;
}
.netflix-mode .new-price { font-size: 1.4rem; font-weight: 800; color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
.netflix-mode .currency { font-size: 0.7rem; color: #888; font-weight: 500; }

/* Feature Badges */
.netflix-mode .feature-row { display: flex; gap: 8px; flex-wrap: wrap; }
.netflix-mode .f-badge {
    background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 10px; border-radius: 8px;
    font-size: 0.7rem; color: #aaa; display: flex; align-items: center; gap: 6px;
}
.netflix-mode .f-badge i { font-size: 0.8rem; color: #fff; }
.netflix-mode .f-badge.gold { border-color: rgba(255, 215, 0, 0.3); color: #fff; }
.netflix-mode .f-badge.gold i { color: var(--gold); }

/* --- STEP 2: BONUSES --- */
.netflix-mode .bonus-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; padding: 15px; margin-bottom: 12px;
    display: flex; align-items: center; gap: 15px;
    opacity: 0.6; transition: 0.3s;
}
.netflix-mode .bonus-item.unlocked {
    opacity: 1; border-color: var(--gold);
    background: linear-gradient(to right, rgba(255, 215, 0, 0.05), transparent);
}
.netflix-mode .icon-box { width: 45px; height: 45px; background: #222; border-radius: 10px; display: grid; place-items: center; font-size: 1.2rem; }
.netflix-mode .icon-box.green { color: #1DB954; }
.netflix-mode .status { font-size: 0.65rem; text-transform: uppercase; font-weight: 800; color: var(--gold); display: block; margin-top: 4px; }
.netflix-mode .unlocked .status { color: #00F57A; content: 'CLAIMED'; }

/* --- STEP 4: POLICY & INPUTS --- */
.netflix-mode .policy-alert {
    background: rgba(0, 245, 122, 0.05); border: 1px dashed rgba(0, 245, 122, 0.3);
    border-radius: 12px; padding: 15px; display: flex; gap: 12px;
    align-items: flex-start; margin-bottom: 25px;
}
.netflix-mode .alert-icon { font-size: 1.2rem; color: #00F57A; }
.netflix-mode .alert-text strong { display: block; color: #00F57A; font-size: 0.9rem; margin-bottom: 3px; }
.netflix-mode .alert-text p { font-size: 0.8rem; color: #ccc; margin: 0; line-height: 1.4; }

.netflix-mode .input-group { margin-bottom: 15px; }
.netflix-mode .input-group label { display: block; font-size: 0.8rem; color: #888; margin-bottom: 6px; }
.netflix-mode .input-group input, .netflix-mode .input-group select {
    width: 100%; padding: 14px; background: rgba(0,0,0,0.3);
    border: 1px solid var(--border); border-radius: 10px;
    color: #fff; font-size: 1rem; outline: none; transition: 0.3s;
}
.netflix-mode .input-group input:focus, .netflix-mode .input-group select:focus {
    border-color: var(--neon-red); background: rgba(255,255,255,0.05);
}

/* --- BUTTONS --- */
.netflix-mode .btn {
    width: 100%; padding: 16px; border-radius: 50px; border: none;
    font-weight: 700; font-size: 1rem; cursor: pointer;
    transition: 0.3s; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.netflix-mode .btn.disabled { background: #222; color: #555; pointer-events: none; }
.netflix-mode .primary-red {
    background: var(--netflix-red); color: #fff;
    box-shadow: 0 5px 25px rgba(229, 9, 20, 0.3);
}
.netflix-mode .primary-red:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(229, 9, 20, 0.5); }

.netflix-mode .whatsapp-green-btn {
    background: #25D366; color: #fff;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.2);
}
.netflix-mode .whatsapp-green-btn:hover { background: #20b857; }

/* --- PROGRESS BAR --- */
.netflix-mode .progress-track { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; width: 100%; }
.netflix-mode .step { font-size: 0.8rem; color: #444; font-weight: 600; position: relative; }
.netflix-mode .step.active { color: var(--neon-red); }

/* --- UTILS --- */
.netflix-mode .wizard-step { display: none; animation: fadeIn 0.4s ease; }
.netflix-mode .wizard-step.active-step { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.netflix-mode .proof-viewer { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 20px; background: #000; }
.netflix-mode .proof-track { display: flex; overflow-x: auto; scrollbar-width: none; }
.netflix-mode .proof-img { width: 100%; flex-shrink: 0; }

/* =========================================================
   1. PERFECTLY CENTERED LOGO & NAVBAR UPGRADES
   ========================================================= */
.navbar {
    position: relative;
    width: 100%;
    z-index: 100;
}

.navbar .nav-content {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 80px;
    width: 100%;
    padding: 0 5%;
}

.navbar .logo-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); 
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar .logo-wrapper:hover {
    transform: translate(-50%, -50%) scale(1.05); 
}

/* =========================================================
   2. EXTREMELY CREATIVE "BACK" BUTTON
   ========================================================= */
.navbar .back-link {
    position: absolute;
    left: 5%; 
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(15px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.navbar .back-link::before {
    content: '';
    position: absolute;
    top: 0; 
    left: -150%; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.navbar .back-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(-5px); 
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.navbar .back-link:hover::before {
    left: 150%; 
}

.navbar .back-link i {
    transition: transform 0.3s ease;
}
.navbar .back-link:hover i {
    transform: translateX(-5px);
}

/* =========================================================
   3. EXTREME BACKGROUND & CARD ANIMATIONS
   ========================================================= */
@keyframes breatheSpotlight {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.9; transform: translateX(-50%) scale(1.15); }
}

.spotlight, .blue-spotlight {
    animation: breatheSpotlight 8s ease-in-out infinite;
}

@keyframes levitateCard {
    0%, 100% { transform: translateY(0px); box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1); }
    50% { transform: translateY(-12px); box-shadow: 0 45px 80px rgba(0,0,0,0.8), inset 0 1px 1px rgba(255, 255, 255, 0.2); }
}

.wizard-card.glass-panel {
    animation: levitateCard 6s ease-in-out infinite;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .navbar .back-link { padding: 8px 16px; font-size: 0.8rem; left: 3%; }
    .navbar .logo-wrapper img { max-height: 38px; }
}

/* =========================================================
   4. CINEMATIC GATEKEEPER (REGION SELECT)
   ========================================================= */
.gatekeeper-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.gatekeeper-modal {
    width: 90%;
    max-width: 400px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(229, 9, 20, 0.3);
    animation: dropIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes dropIn {
    0% { transform: scale(0.8) translateY(-50px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Red Cinematic Glow Behind Modal */
.gatekeeper-modal .glow-orb {
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.4), transparent 70%);
    z-index: 0; pointer-events: none;
}

.gatekeeper-modal h2 {
    position: relative; z-index: 1;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
}

.gatekeeper-modal p {
    position: relative; z-index: 1;
    color: #aaa; font-size: 0.9rem;
    margin-bottom: 30px;
}

.region-grid {
    position: relative; z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.region-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.region-btn img {
    width: 35px;
    height: 25px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.region-btn span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.region-btn:hover {
    background: rgba(229, 9, 20, 0.1);
    border-color: var(--neon-red);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.2);
}

/* Pause the wizard card levitation to make input and clicking easier */
.wizard-card.glass-panel:hover,
.wizard-card.glass-panel:focus-within {
    animation-play-state: paused;
}