/* ============================================
   HOST IPTV - Design Premium 2025
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Premium */
    --primary: #00D9FF;
    --primary-dark: #00B4D8;
    --secondary: #7B2CBF;
    --accent: #E040FB;
    --success: #00E676;
    --warning: #FFD600;
    
    /* Dark Theme */
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a2e;
    --bg-gradient: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
    
    /* Textos */
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-muted: #888899;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #00D9FF 0%, #7B2CBF 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-cta: linear-gradient(135deg, #00D9FF 0%, #00E676 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Sombras */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 217, 255, 0.3);
    
    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Efeito de fundo animado */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(123, 44, 191, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(224, 64, 251, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER & NAVEGAÇÃO
   ============================================ */
header {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

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

.logo h2 {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    background: var(--bg-gradient);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0, 217, 255, 0.03) 90deg, transparent 180deg);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats/Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 50px 0;
}

.feature-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 35px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box .icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 16px;
}

/* ============================================
   BOTÕES CTA
   ============================================ */
.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-cta);
    color: var(--bg-dark);
    border: none;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-whatsapp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 217, 255, 0.5);
}

.cta-whatsapp:active {
    transform: translateY(0) scale(0.98);
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */
section {
    padding: 100px 0;
    position: relative;
}

section h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    text-align: center;
    color: var(--text-white);
    margin-bottom: 20px;
}

section > .container > p {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* About Section */
.about {
    background: var(--bg-card);
}

.about .container > p {
    text-align: left;
    max-width: 900px;
}

.highlight {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(123, 44, 191, 0.1) 100%);
    border: 1px solid var(--glass-border);
    padding: 25px 30px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    margin-top: 30px;
}

/* Benefits Grid */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 50px 0;
}

.benefit-item {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.benefit-item .check {
    color: var(--success);
    font-size: 28px;
    font-weight: bold;
    flex-shrink: 0;
}

.benefit-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 15px;
    color: var(--text-muted);
    text-align: left;
}

/* ============================================
   CTA SECTIONS
   ============================================ */
.cta-section {
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2,
.cta-section p {
    color: var(--text-white);
}

.cta-final {
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
    text-align: center;
    padding: 120px 0;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
    background: var(--bg-dark);
}

.pricing-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 45px 35px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.price-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.price-card:hover::before {
    opacity: 1;
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.price-card.featured::before {
    opacity: 1;
}

.price-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    padding: 8px 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.price-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.price-card .price {
    font-size: 56px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 25px 0;
    display: block;
}

.price-card .price span {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.price-card ul li {
    padding: 12px 0;
    color: var(--text-light);
    font-size: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.price-card ul li:last-child {
    border-bottom: none;
}

.price-card button {
    width: 100%;
    background: var(--gradient-cta);
    color: var(--bg-dark);
    border: none;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-card button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    background: var(--bg-card);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.step {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 25px;
}

.step h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

.step p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    background: var(--bg-dark);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 30px;
    margin: 20px auto;
    max-width: 850px;
    border-radius: 16px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.1);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    text-align: left;
}

.faq-item p {
    font-size: 15px;
    color: var(--text-muted);
    text-align: left;
    margin: 0;
    line-height: 1.7;
}

.faq-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.faq-item a:hover {
    color: var(--accent);
}

/* ============================================
   EXTRA SECTIONS (Devices, Catalog, etc.)
   ============================================ */
.devices-grid,
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.device-item,
.catalog-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.device-item:hover,
.catalog-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.device-icon,
.catalog-icon {
    font-size: 50px;
    display: block;
    margin-bottom: 18px;
}

.device-item h3,
.catalog-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.device-item p,
.catalog-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Content Section */
.content-section {
    background: var(--bg-card);
}

.content-section .container > p,
.content-section .container > ul {
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: left;
    font-size: 17px;
    line-height: 1.8;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.content-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
}

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

.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    font-size: 15px;
    color: var(--text-muted);
    text-align: left;
    line-height: 1.7;
}

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

.footer-section ul li {
    margin: 12px 0;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   POPUP DE PREÇOS
   ============================================ */
.popup-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: popupSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

@keyframes popupSlide {
    from {
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close-popup:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.popup-content h2 {
    font-size: 26px;
    margin-bottom: 30px;
    color: var(--text-white);
}

.popup-info p {
    font-size: 18px;
    margin: 12px 0;
    color: var(--text-light);
}

.popup-prices {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(123, 44, 191, 0.1) 100%);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    margin: 30px 0;
}

.popup-prices h3 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 20px;
}

.popup-prices p {
    margin: 12px 0;
    font-size: 17px;
    color: var(--text-light);
}

.btn-test {
    width: 100%;
    background: var(--gradient-cta);
    color: var(--bg-dark);
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.btn-test:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        padding: 20px;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: var(--text-white);
        font-size: 28px;
        cursor: pointer;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 28px;
    }

    .features-grid,
    .benefits,
    .price-cards,
    .steps {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .price-card.featured:hover {
        transform: translateY(-10px);
    }

    .popup-content {
        padding: 35px 25px;
        margin: 20px;
    }
    
    .cta-whatsapp {
        padding: 16px 30px;
        font-size: 16px;
    }
}

/* Menu toggle visibility */
.menu-toggle {
    display: none;
}
