:root {
    --bg-color: #050505;
    --card-bg: #121212;
    --primary-red: #E50914; /* Vermelho estilo Netflix */
    --accent-gold: #FFD700;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none; }
body { margin: 0; padding: 0; background: #000; font-family: 'Inter', sans-serif; color: var(--text-white); display: flex; justify-content: center; }

#mobile-screen {
    width: 100%; max-width: 480px; background: var(--bg-color);
    min-height: 100vh; position: relative; padding-bottom: 90px;
    box-shadow: 0 0 40px rgba(20, 20, 20, 0.5);
}

.hide { display: none !important; }
.text-red { color: var(--primary-red); }
.text-gold { color: var(--accent-gold); }
.text-center { text-align: center; }

/* HEADER */
.app-header {
    background: rgba(18, 18, 18, 0.95); backdrop-filter: blur(10px);
    padding: 20px 25px; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #222;
}
.brand { font-size: 1.1rem; font-weight: 900; letter-spacing: 1px; margin-bottom: 12px; }
.status-bar { background: #000; padding: 4px; border-radius: 20px; border: 1px solid #333; }
.status-info { display: flex; justify-content: space-between; padding: 0 10px; font-size: 0.65rem; color: #777; font-weight: 700; margin-bottom: 4px; }
.progress-track { background: #222; height: 6px; border-radius: 3px; overflow: hidden; }
.progress-fill { background: var(--primary-red); height: 100%; transition: width 0.4s ease; box-shadow: 0 0 10px var(--primary-red); }

/* LISTA DE AULAS */
.scroll-container { padding: 20px; }
.phase-header { font-size: 0.75rem; font-weight: 800; color: #555; margin: 25px 0 15px; letter-spacing: 1px; text-transform: uppercase; }

.lesson-card {
    background: var(--card-bg); border-radius: 12px; padding: 16px; margin-bottom: 12px;
    display: flex; justify-content: space-between; align-items: center;
    border: 1px solid #222; transition: all 0.2s ease; cursor: pointer;
}
.lesson-card:active { transform: scale(0.98); background: #1a1a1a; }
.card-left { display: flex; align-items: center; gap: 15px; }

.icon-box {
    width: 45px; height: 45px; background: rgba(229, 9, 20, 0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--primary-red); font-size: 1.1rem;
}
.lesson-info h4 { margin: 0; font-size: 0.95rem; font-weight: 600; color: #eee; }
.lesson-info p { margin: 4px 0 0; font-size: 0.75rem; color: #666; }
.play-icon { color: var(--text-gray); font-size: 1.2rem; }

/* PLAYER & OVERLAY */
.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 1000; overflow-y: auto;
}
.overlay-content { padding: 20px; padding-bottom: 100px; }
.overlay-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.phase-badge { background: #1a1a1a; padding: 6px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; color: var(--primary-red); border: 1px solid #333; }
.close-btn { background: #222; border: none; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 1.2rem; cursor: pointer; }

.video-placeholder {
    width: 100%; aspect-ratio: 16/9; background: #000;
    border-radius: 12px; margin-bottom: 25px; border: 1px solid #333; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.instruction-box { background: #121212; padding: 20px; border-radius: 12px; border-left: 4px solid var(--primary-red); margin-bottom: 30px; }
.instruction-box h3 { margin: 0 0 10px 0; font-size: 1rem; color: #fff; }
.instruction-box p { margin: 0; font-size: 0.9rem; color: #ccc; line-height: 1.5; }

.btn-red-large {
    width: 100%; padding: 18px; background: var(--primary-red); color: #fff;
    border: none; border-radius: 12px; font-weight: 800; font-size: 1rem;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-red-large:active { transform: translateY(2px); box-shadow: none; }

/* AGENTE VIRTUAL */
.ai-container { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 70vh; padding: 30px; }
.ai-hero { position: relative; margin-bottom: 25px; }
.ai-avatar-glow {
    width: 90px; height: 90px; background: #1a1a1a; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--primary-red);
    border: 2px solid var(--primary-red); box-shadow: 0 0 30px rgba(229, 9, 20, 0.2);
}
.lock-box { background: #151515; padding: 10px 20px; border-radius: 8px; border: 1px solid #333; color: #777; font-size: 0.8rem; display: flex; gap: 8px; align-items: center; margin-bottom: 20px; }
.btn-gpt-red { width: 100%; padding: 16px; background: #25D366; color: #fff; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.small-hint { font-size: 0.7rem; color: #444; margin-top: 15px; }

/* LOJA / PDF */
.store-grid { padding: 20px; }
.store-card { background: #121212; border: 1px solid #222; border-radius: 16px; padding: 25px; text-align: center; position: relative; overflow: hidden; }
.card-tag { position: absolute; top: 0; right: 0; background: var(--accent-gold); color: #000; font-size: 0.6rem; font-weight: 800; padding: 5px 10px; border-bottom-left-radius: 10px; }
.pdf-preview { font-size: 4rem; color: #333; margin: 20px 0; }
.btn-download { display: block; width: 100%; padding: 14px; background: #fff; color: #000; text-decoration: none; border-radius: 8px; font-weight: 800; margin-top: 20px; font-size: 0.9rem; }

/* NAVIGATION */
.bottom-nav {
    position: fixed; bottom: 0; width: 100%; max-width: 480px;
    background: rgba(10, 10, 10, 0.98); backdrop-filter: blur(10px);
    border-top: 1px solid #222; display: flex; padding: 10px 0 25px 0; z-index: 999;
}
.nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #555; cursor: pointer; transition: 0.3s; }
.nav-item i { font-size: 1.3rem; margin-bottom: 5px; }
.nav-item span { font-size: 0.65rem; font-weight: 600; }
.nav-item.active { color: var(--text-white); }
.nav-item.active i { color: var(--primary-red); transform: translateY(-3px); }
.highlight-hub i { color: var(--accent-gold); }