/* ==========================================================================
   RESET E VARIÁVEIS GERAIS
   ========================================================================== */
:root {
    --bg-main: #0b0b0e;
    --bg-secondary: #16161b;
    --bg-card: #202028;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-red: #ef4444;    /* Cor do botão LIVE / Program */
    --accent-cyan: #06b6d4;   /* Cor de detalhes e links */
    --accent-green: #10b981;  /* Cor de status Ativo */
    --border-color: #2d2d3a;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   BARRA DE NAVEGAÇÃO
   ========================================================================== */
.navbar {
    background-color: rgba(11, 11, 14, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.live-badge {
    background-color: var(--accent-red);
    color: #fff;
    font-weight: 900;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    animation: pulse 1.5s infinite;
}

.sub-logo {
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.btn-cta-nav {
    background-color: var(--accent-cyan);
    color: #000 !important;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-cta-nav:hover {
    background-color: #0891b2;
    transform: translateY(-2px);
}

.btn-login-nav {
    border: 1px solid var(--text-secondary);
    color: var(--text-primary) !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-login-nav:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan) !important;
    background-color: rgba(6, 182, 212, 0.1);
}

/* ==========================================================================
   HERO SECTION (PÁGINA INICIAL INDEX.HTML)
   ========================================================================== */
.hero {
    padding: 140px 0 100px 0;
    background: radial-gradient(circle at 50% 20%, rgba(239, 68, 68, 0.08) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center;
}

.hero-text {
    flex: 1.2;
    text-align: left;
}

.tag-destaque {
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    max-width: 100%;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 100%;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: flex-start;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-red);
    color: white;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.btn-primary:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.6);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: white;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

.hero-status {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 10;
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.glow-effect {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border-color);
}

.glow-effect:hover {
    transform: scale(1.01);
}

.img-caption {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* ==========================================================================
   RECURSOS / DIFERENCIAIS
   ========================================================================== */
.features {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--bg-main);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   MÓDULOS DO SISTEMA
   ========================================================================== */
.modules {
    padding: 100px 0 20px 0; /* Preenchimento inferior reduzido */
}

.module-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 100px;
}

/* Zera o espaço enorme abaixo do último módulo */
.module-row.last-module {
    margin-bottom: 20px !important;
}

.module-row.reverse {
    flex-direction: row-reverse;
}

.module-text {
    flex: 1;
}

.module-image {
    flex: 1;
}

.border-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.module-number {
    color: var(--accent-cyan);
    font-weight: 900;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.module-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.module-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
}

.check-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--text-primary);
}

.check-list li::before {
    content: "✓";
    color: var(--accent-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ==========================================================================
   SEÇÃO DE COMPRA (CTA BRIDGE - INDEX.HTML)
   ========================================================================== */
.cta-section {
    padding: 40px 0 80px 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-box {
    background: radial-gradient(circle at top, #1f1d2b 0%, #16161c 80%);
    border: 1px solid #3f3f56;
    border-radius: 20px;
    padding: 50px 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.cta-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.cta-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.btn-cta-bridge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.35);
    transition: all 0.3s ease;
}

.btn-cta-bridge:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.cta-box .secure-note {
    font-size: 0.85rem;
    color: #a1a1aa;
    margin-top: 15px;
    margin-bottom: 0;
}

/* ==========================================================================
   HERO DA PÁGINA DE PLANOS (PLANOS.HTML)
   ========================================================================== */
.hero-short {
    padding: 130px 0 40px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 10%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

.text-center { text-align: center; }

.subtitle-short {
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ==========================================================================
   SEÇÃO DE PLANOS EM CAMADAS (ESTILO HOSTINGER / VIVO)
   ========================================================================== */
.tier-section {
    padding: 20px 0 80px 0;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 880px;
    margin: 0 auto;
    align-items: stretch;
}

/* Cartão Padrão */
.tier-card {
    background-color: #16161c;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tier-card:hover {
    transform: translateY(-5px);
    border-color: #404050;
}

/* Cartão Destaque (Estilo "Unlimited" da foto) */
.tier-card.featured {
    background: linear-gradient(180deg, #1d182b 0%, #12101a 100%);
    border: 2px solid #8b5cf6; /* Borda roxa/neon estilo Hostinger */
    box-shadow: 0 15px 45px rgba(139, 92, 246, 0.15);
}

.tier-card.featured:hover {
    border-color: #a78bfa;
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
}

.tier-top {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Selos e Pílulas de Desconto */
.discount-pill {
    background-color: #facc15; /* Amarelo ouro */
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    align-self: flex-end;
    margin-bottom: 15px;
}

.featured-header-tags {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 15px;
}

.special-tag {
    color: #c4b5fd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.featured-pill {
    background-color: #f97316; /* Laranja vibrante para o destaque */
    color: #fff;
    margin-bottom: 0;
}

.tier-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.tier-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    min-height: 45px;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Bloco de Preços */
.tier-price-box {
    margin-bottom: 25px;
    width: 100%;
}

.old-price {
    display: block;
    color: #71717a;
    text-decoration: line-through;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.current-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap; /* Garante que não quebre o layout em celulares muito pequenos */
}

.current-price .currency {
    font-size: 1.25rem; /* Ajustado para caber o texto "12x R$" com elegância */
    font-weight: 700;
    color: #fff;
    margin-right: 6px;
}

.current-price .value {
    font-size: 3.2rem; /* Tamanho exato para números com centavos (ex: 39,70) */
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.tier-card.featured .current-price .value {
    color: #34d399; /* Verde esmeralda brilhante no preço */
}

.current-price .period {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-left: 6px;
}

/* Botões dos Cartões */
.btn-tier {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #52525b;
    color: #fff;
}

.btn-outline:hover {
    background-color: #272730;
    border-color: #fff;
}

.btn-solid-green {
    background-color: #8b5cf6; /* Roxo vibrante estilo botão "Unlimited" */
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-solid-green:hover {
    background-color: #7c3aed;
    transform: translateY(-2px);
}

.tier-subtext {
    font-size: 0.8rem;
    color: #a1a1aa;
    line-height: 1.4;
    display: block;
    text-align: center;
}

.tier-subtext strong { color: #fff; }

.tier-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 25px 0;
}

/* Lista de Funcionalidades (Com check verde e traço cinza) */
.tier-list-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.tier-features {
    list-style: none;
}

.tier-features li {
    font-size: 0.92rem;
    color: #e4e4e7;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.tier-features li strong { color: #fff; font-weight: 600; }

.icon-check {
    color: #10b981; /* Verde checado */
    font-weight: 900;
    font-size: 1.1rem;
    margin-right: 12px;
    width: 20px;
    display: inline-block;
}

/* Itens desativados / exclusões (Estilo traço da foto) */
.tier-features li.disabled {
    color: #52525b; /* Cinza bem apagado */
}

.icon-dash {
    color: #52525b;
    font-weight: 900;
    font-size: 1.2rem;
    margin-right: 12px;
    width: 20px;
    display: inline-block;
}

/* ==========================================================================
   SEÇÃO DE REQUISITOS DE HARDWARE (HARDWARE HUB LIMPO)
   ========================================================================== */
.hw-section {
    padding: 80px 0 100px 0;
    background-color: #0d0d11;
    border-top: 1px solid var(--border-color);
}

.hw-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

/* Banner Dual-PC */
.dual-pc-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #16161c;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    gap: 20px;
}

.pc-info {
    flex: 1;
}

.pc-badge {
    font-size: 0.7rem;
    font-weight: 800;
    background-color: #272730;
    color: #a1a1aa;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.pc-badge.green {
    background-color: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pc-info h4 { font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.pc-info p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.4; }

.pc-arrow {
    font-size: 1.8rem;
    color: #52525b;
    font-weight: 300;
}

.active-pc {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid #34d399;
}

/* Grid dos Cartões de Hardware (720p vs 1080p) */
.hw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.hw-card {
    background-color: #16161c;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 30px;
    transition: border-color 0.3s;
}

.hw-card:hover { border-color: #404050; }

.hw-rec {
    border-color: rgba(6, 182, 212, 0.4);
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.05) 0%, #16161c 60%);
}

.hw-card-top {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.res-badge {
    font-size: 0.75rem;
    font-weight: 800;
    background-color: #272730;
    color: #d4d4d8;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.rec-badge {
    background-color: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.4);
}

.hw-card-top h3 { font-size: 1.5rem; color: #fff; margin-bottom: 6px; }
.hw-card-top p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.4; }

/* Lista de Especificações por Ícone */
.hw-specs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hw-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.hw-icon {
    font-size: 1.6rem;
    background-color: #202028;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.hw-detail {
    display: flex;
    flex-direction: column;
}

.hw-label {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 2px;
}

.hw-detail span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Nota de Leveza Final */
.hw-footer-note {
    background-color: #1a1a24;
    border: 1px dashed #3f3f56;
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #d4d4d8;
    font-size: 0.95rem;
}

.hw-footer-note strong { color: #34d399; }

/* ==========================================================================
   RODAPÉ E LIGHTBOX (MODAL)
   ========================================================================== */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 50px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--accent-red);
}

/* ==========================================================================
   ANIMAÇÕES E RESPONSIVIDADE GERAL (CELULARES E TABLETS)
   ========================================================================== */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Chave aberta na posição correta: APENAS AS REGRAS ABAIXO mudam no celular */
@media (max-width: 768px) {
    /* Ajustes da Página Inicial */
    .hero {
        padding: 100px 0 60px 0;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 { font-size: 2.2rem; max-width: 100%; }
    .hero p { font-size: 1rem; }
    
    .hero-buttons { 
        justify-content: center;
        width: 100%; 
        max-width: 300px; 
        margin: 0 auto 30px auto; 
    }
    
    .hero-status { 
        flex-direction: column; 
        gap: 10px; 
        text-align: center; 
        justify-content: center; 
        margin: 0 auto; 
    }

    .module-row, .module-row.reverse { flex-direction: column; text-align: center; gap: 25px; }
    .check-list li::before { position: relative; margin-right: 8px; }
    .check-list li { padding-left: 0; }
    .nav-links { display: none; }
    .btn { width: 100%; text-align: center; }
    .footer-content { justify-content: center; text-align: center; flex-direction: column; }

    /* Ajustes da Área do CTA no Celular */
    .cta-box {
        padding: 35px 20px;
    }
    .cta-box h2 {
        font-size: 1.8rem;
    }
    .btn-cta-bridge {
        width: 100%;
        text-align: center;
    }

    /* Ajustes da Página de Planos e Requisitos */
    .tier-grid, .hw-grid { 
        grid-template-columns: 1fr; 
    }
    
    .dual-pc-banner { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .pc-arrow { 
        transform: rotate(90deg); 
        margin: 5px 0; 
    }
    
    .active-pc { 
        border-left: none; 
        border-top: 3px solid #34d399; 
    }
    
    .tier-card.featured { 
        transform: none; 
    }
}