/*
    Blest TV - Landing Page Stylesheet v4.1 (Corrigido)
    Design: Solid Dark Mode
*/

/* 1. Variáveis e Configurações Globais */
:root {
    --brand-color-1: #3b82f6;
    --brand-color-2: #60a5fa;
    --dark-bg: #0D0D0F; /* Quase preto */
    --dark-surface: #1A1A1C; /* Fundo das seções */
    --text-light: #f0f0f0;
    --text-medium: #a0a0b0;
    --border-color: #2a2a2e;
    --header-height: 70px;
    --gold-accent: #FFD700;
    --success-color: #28a745;
}

/* 2. Estilos Base */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-medium);
    background-color: var(--dark-bg);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 { color: var(--text-light); font-weight: 600; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
a { color: var(--brand-color-2); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--text-light); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* 3. Componentes */
.btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 15px 36px; border-radius: 50px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border: 2px solid transparent; cursor: pointer; font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); text-align: center; gap: 10px;
}
.btn-primary {
    color: var(--text-light);
    background: linear-gradient(135deg, var(--brand-color-1), var(--brand-color-2));
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px rgba(96, 165, 250, 0.5);
    filter: brightness(1.1);
}
.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05); color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15); border-color: var(--text-light);
    transform: translateY(-3px);
}
.btn-outline {
    background-color: transparent; color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline:hover { background-color: var(--text-light); color: var(--dark-bg); }

/* 4. Layout e Seções */
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 3rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
section { padding: 100px 0; }
.section-bg {
    background-color: var(--dark-bg); /* Removido background mais claro para manter o dark theme fluido */
    border-top: 1px solid rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

/* Header */
#main-header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--header-height); z-index: 1000;
    background-color: transparent;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}
#main-header.scrolled { background-color: rgba(13, 13, 15, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.05); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
#main-header .container { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; color: var(--text-light); display: flex; align-items: center; transition: transform 0.3s; }
.logo:hover { transform: scale(1.05); }
.logo svg { height: 40px; width: auto; vertical-align: middle; } /* Estilo para o SVG */
.logo span { color: var(--brand-color-1); }
.menu-toggle { display: none; font-size: 1.5rem; color: var(--text-light); cursor: pointer; z-index: 1001; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-menu li { margin: 0 20px; }
.nav-menu a { font-weight: 500; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.8; }
.nav-menu a:hover { opacity: 1; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* Bottom Nav Mobile */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(20, 20, 22, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    gap: 5px;
}

.bottom-nav-item i {
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.bottom-nav-item:hover, .bottom-nav-item.active {
    color: var(--brand-color-2);
}

.bottom-nav-item.active i {
    transform: translateY(-5px);
    color: var(--brand-color-2);
}

.bottom-nav-item.center-btn {
    background: linear-gradient(135deg, var(--brand-color-1), var(--brand-color-2));
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    margin-top: -35px;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    justify-content: center;
}

.bottom-nav-item.center-btn i {
    font-size: 1.6rem;
    margin: 0;
}

.bottom-nav-item.center-btn span {
    display: none;
}

/* Bottom Dropdown */
#bottom-profile-trigger { position: relative; cursor: pointer; }
.bottom-dropdown {
    position: absolute;
    bottom: calc(100% + 15px);
    right: 10px;
    background: rgba(20, 20, 22, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    width: 200px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    z-index: 1001;
    animation: slideUp 0.3s ease;
}
.bottom-dropdown.show { display: flex; }
.bottom-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    transition: 0.2s;
}
.bottom-dropdown a i { font-size: 1rem; color: var(--brand-color-2); }
.bottom-dropdown a:hover { background: rgba(255,255,255,0.05); }
.bottom-dropdown a.logout { color: #fca5a5; }
.bottom-dropdown a.logout i { color: #fca5a5; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero { 
    text-align: center; 
    padding: 200px 0 140px; 
    background-image: radial-gradient(circle at center, rgba(13,13,15,0.4) 0%, rgba(13,13,15,1) 100%), linear-gradient(to top, var(--dark-bg) 0%, rgba(59, 130, 246, 0.2) 100%), url('https://images.unsplash.com/photo-1593784991095-a205069470b6?auto=format&fit=crop&q=80&w=2070');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100px; background: linear-gradient(to top, var(--dark-bg), transparent); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { 
    font-size: 4.5rem; 
    text-shadow: 0 5px 20px rgba(0,0,0,0.8); 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
    letter-spacing: -1px;
    background: linear-gradient(to bottom, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.hero .subtitle { max-width: 750px; margin: 0 auto 3rem; font-size: 1.3rem; text-shadow: 0 2px 10px rgba(0,0,0,0.8); opacity: 0.9; }

/* Planos */
.planos-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 4rem; }
.plano-card {
    background: linear-gradient(145deg, rgba(30,30,34,0.7) 0%, rgba(20,20,22,0.9) 100%);
    padding: 50px 30px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    position: relative; overflow: hidden;
}
.plano-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent); transform: skewX(-20deg); transition: 0.5s; }
.plano-card:hover::before { left: 150%; }
.plano-card:hover { transform: translateY(-15px); border-color: rgba(96, 165, 250, 0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(96, 165, 250, 0.15); }
.plano-card.destaque { transform: scale(1.05); border-color: var(--brand-color-1); box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 40px rgba(96, 165, 250, 0.25); z-index: 2; background: linear-gradient(145deg, rgba(15,23,42,0.88) 0%, rgba(10,15,30,0.96) 100%); }
.plano-card.destaque::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--brand-color-1), var(--brand-color-2)); }
.plano-card .preco { font-size: 3rem; font-weight: 700; color: var(--text-light); margin: 1.5rem 0; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.plano-card .preco span { font-size: 1.1rem; color: var(--text-medium); font-weight: 400; }
.plano-card ul { list-style: none; margin: 2.5rem 0; text-align: left; display: inline-block; width: 100%; }
.plano-card ul li { margin-bottom: 1.2rem; display: flex; align-items: center; font-size: 1.05rem; opacity: 0.9; }
.plano-card ul li i { color: var(--brand-color-1); margin-right: 12px; font-size: 1.2rem; background: rgba(96,165,250,0.1); padding: 5px; border-radius: 50%; }
.destaque-badge { position: absolute; top: 20px; right: -35px; background: linear-gradient(90deg, #FFD700, #FFA500); color: #000; padding: 5px 40px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; transform: rotate(45deg); box-shadow: 0 2px 10px rgba(0,0,0,0.3); }


/* FAQ */
.faq-container { max-width: 750px; margin: 3rem auto 0; }
.faq-item { background: var(--dark-bg); border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 10px; }
.faq-question { width: 100%; background: transparent; border: none; padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; color: var(--text-light); font-weight: 600; font-size: 1.1rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer p { padding: 0 20px 20px; border-top: 1px solid var(--border-color); padding-top: 20px; }
.faq-question i { transition: transform 0.3s ease-out; }
.faq-item.active .faq-question i { transform: rotate(180deg); }


/* Footer */
footer {
    padding: 60px 0 40px;
    background-color: var(--dark-surface);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: inline-block;
}

footer p {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-social-icons {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); /* Fundo sutil */
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icons a:hover {
    background: linear-gradient(45deg, var(--brand-color-1), var(--brand-color-2));
    color: var(--text-light);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0 auto 2.5rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem; /* Espaçamento entre os itens */
}

.footer-nav a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}
.footer-nav a:hover {
    color: var(--brand-color-1);
}

.copyright {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-medium);
}

/* Responsividade do Footer */
@media (max-width: 992px) {
    .footer-content { grid-template-columns: 1fr; }
    .footer-col { margin-bottom: 2rem; }
    .footer-col:last-child { margin-bottom: 0; }
    .footer-nav { flex-direction: column; gap: 0.5rem; }
}
@media (max-width: 767px) {
    footer p { max-width: 90%; font-size: 0.9rem; }
    .footer-social-icons { gap: 1rem; }
    .footer-social-icons a { width: 40px; height: 40px; font-size: 1.3rem; }
    .footer-nav { gap: 0.5rem 1rem; }
    .footer-nav li { display: block; }
}

/* Header Auth & Dropdown */
.header-auth { position: relative; }
.user-profile-wrapper { position: relative; cursor: pointer; }
.user-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 6px 6px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.user-pill:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--brand-color-2); }
.user-name { font-weight: 700; font-size: 0.9rem; color: white; }
.user-avatar-small {
    width: 32px;
    height: 32px;
    background: var(--grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.pc-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: rgba(13, 13, 15, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 260px;
    padding: 0;
    display: none;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    z-index: 1000;
    overflow: hidden;
    animation: slideDownPC 0.3s ease;
}
.pc-dropdown.show { display: flex; }

.pc-dropdown-header {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}
.pc-dropdown-header strong { color: white; font-size: 1rem; }
.pc-dropdown-header span { color: var(--text-medium); font-size: 0.8rem; margin-top: 2px; }

.pc-dropdown-body { padding: 10px; }
.pc-dropdown-body a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    transition: 0.2s;
}
.pc-dropdown-body a i { font-size: 1.1rem; color: var(--brand-color-2); }
.pc-dropdown-body a:hover { background: rgba(255, 255, 255, 0.05); color: white; }
.pc-dropdown-body a.logout { color: #fca5a5; margin-top: 5px; border-top: 1px solid rgba(255, 255, 255, 0.03); border-radius: 0; }
.pc-dropdown-body a.logout i { color: #fca5a5; }

@keyframes slideDownPC {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 5. Responsividade */
@media (min-width: 993px) { .nav-menu { margin: 0 auto; } }
@media (max-width: 992px) {
    .menu-toggle { display: none; } /* Oculto pois usaremos bottom nav */
    #main-header .btn-outline { display: none; }
    #main-header .nav-menu { display: none !important; }
    
    .bottom-nav { display: flex; }
    
    .footer-content { grid-template-columns: 1fr 1fr; }
    .hero { background-attachment: scroll; padding: 160px 0 100px; }
    h1 { font-size: 2.8rem; }
}

@media (max-width: 767px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .section-title { font-size: 1.8rem; margin-bottom: 2rem; }
    .hero { padding: 130px 0 80px; }
    .hero .subtitle { font-size: 1rem; padding: 0 10px; }
    .hero-buttons { display: flex; flex-direction: column; gap: 12px; align-items: center; width: 100%; }
    .hero-buttons .btn { width: 90%; max-width: 320px; margin: 0; padding: 14px 25px; font-size: 0.85rem; }
    .planos-container, .footer-content { grid-template-columns: 1fr; gap: 20px; }
    .plano-card { padding: 35px 20px; }
    .plano-card.destaque { transform: scale(1); }
    
    body { padding-bottom: 70px; } /* Espaço para o bottom nav */
}
