/* ==========================================================================
   CSS PRINCIPAL - SULMASTER REVENDA IPTV
   Design Premium, Glassmorphism, Micro-interações
   ========================================================================== */

/* === RESET E VARIÁVEIS === */
:root {
    --primary: #00FF88;
    --primary-dark: #00D270;
    --secondary: #0055FF;
    --bg-dark: #070B19;
    --bg-panel: #0B132B;
    --bg-glass: rgba(11, 19, 43, 0.7);
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-glow: linear-gradient(90deg, var(--primary), var(--secondary));
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === TIPOGRAFIA === */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.text-gradient {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFF;
}

/* === ESTRUTURA === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === COMPONENTES COMUNS === */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
    transform: translateY(-2px);
    color: #000;
}

.btn-secondary {
    background: var(--bg-panel);
    color: #FFF;
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #000;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
}

/* === HEADER E NAVEGAÇÃO === */
header.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(7, 11, 25, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-area img {
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFF;
}

nav.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav.main-nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

nav.main-nav a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #FFF;
    cursor: pointer;
}

/* === HERO SECTION === */
.hero {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho no fundo da hero */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--secondary);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-text p.lead {
    font-size: 1.25rem;
    color: #E2E8F0;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

/* === SEÇÕES DE CONTEÚDO (SEO LONG FORM) === */
.content-section {
    padding: 80px 0;
}

.content-wrapper {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 2.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.content-wrapper h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    color: var(--primary);
}

.content-wrapper p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-wrapper ul, .content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.content-image {
    width: 100%;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid rgba(255,255,255,0.1);
}

/* === TABELA DE PREÇOS === */
.pricing-table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-panel);
    border-radius: 12px;
    overflow: hidden;
}

.pricing-table th, .pricing-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    font-weight: 700;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover {
    background: rgba(255,255,255,0.02);
}

/* === CALCULADORA DE LUCRO === */
.calculator-widget {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(145deg, var(--bg-panel), #111B3D);
    border: 1px solid var(--primary);
    border-radius: 12px;
    text-align: center;
}

.calculator-widget input[type="range"] {
    width: 100%;
    margin: 20px 0;
    accent-color: var(--primary);
}

.calc-results {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.calc-box {
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    flex: 1;
    min-width: 150px;
}

.calc-box h4 {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.calc-box .value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFF;
}

.calc-box.highlight .value {
    color: var(--primary);
    font-size: 2rem;
}

/* === FAQ (ACCORDION) === */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #FFF;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255,255,255,0.05);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
    border-top: 1px solid var(--border-color);
}

/* === FLOATING CTA === */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: var(--primary);
    color: #000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
    transition: transform 0.3s;
}

.floating-cta:hover {
    transform: scale(1.1);
}

.floating-cta svg {
    width: 30px;
    height: 30px;
}

/* === FOOTER === */
footer.main-footer {
    background: #040711;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #FFF;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--text-muted);
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #64748B;
    font-size: 0.9rem;
}

/* === RESPONSIVIDADE === */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    nav.main-nav ul {
        display: none; /* Em um cenário real, usaria um menu mobile */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-panel);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    nav.main-nav ul.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .content-wrapper {
        padding: 20px;
    }
}
