/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores da logo LKTV */
    --primary-color: #00d4ff; /* Azul neon */
    --secondary-color: #ff00ff; /* Rosa/magenta neon */
    --dark-bg: #0a0a0f;
    --dark-secondary: #1a1a2e;
    --text-light: #ffffff;
    --text-gray: #b8b8b8;
    --gradient-primary: linear-gradient(135deg, #00d4ff, #ff00ff);
    --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.5);
    --shadow-pink: 0 0 20px rgba(255, 0, 255, 0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header e Navegação */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.navbar {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s backwards;
}

/* Botões */
.btn {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* Compatibilidade */
.compatibility {
    padding: 80px 0;
    background: var(--dark-secondary);
}

.compatibility h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.device-item {
    text-align: center;
    padding: 30px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

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

.device-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Planos Section */
.plans {
    padding: 80px 0;
}

.plans h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.plan-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.plan-tab {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.plan-tab:hover,
.plan-tab.active {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-neon);
}

.plans-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card {
    background: var(--dark-secondary);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.plan-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-neon);
}

.plan-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-pink);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.plan-features {
    list-style: none;
    margin: 30px 0;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    font-size: 1.2rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 30px 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-card .btn {
    width: 100%;
}

/* Tutoriais */
.tutorials {
    padding: 80px 0;
    background: var(--dark-secondary);
}

.tutorials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.tutorial-card {
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-neon);
}

.tutorial-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tutorial-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tutorial-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
}

.btn-tutorial {
    display: inline-block;
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-tutorial:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* Quem Somos */
.about {
    padding: 80px 0;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.8;
    text-align: center;
}

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

.feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.feature-item .feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    text-align: left;
    margin: 0;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--dark-secondary);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(0, 212, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-light);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--dark-secondary);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

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

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-section p {
    color: var(--text-gray);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 30px 0;
        gap: 15px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .plans-carousel {
        grid-template-columns: 1fr;
    }

    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .devices-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Modal Popup Anúncio
   ======================================== */
.ad-modal {
    display: none; /* Oculto por padrão */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Overlay escuro */
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

.ad-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-modal-content {
    position: relative;
    background: var(--dark-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    width: 800px;  /* ← Largura do modal */
    max-width: 90%;  /* ← Para mobile ficar responsivo */
    padding: 20px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    animation: slideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}


/* Botão X no canto superior direito */
.ad-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    color: var(--text-light);
    font-size: 28px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    line-height: 1;
}

.ad-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Imagem do banner */
.ad-banner {
    width: 100%;
    max-width: 760px;  /* ← 800px - 40px (padding dos lados) */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Botão "Fechar" embaixo */
.ad-modal-btn-close {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.ad-modal-btn-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsividade do Modal */
@media (max-width: 768px) {
    .ad-modal-content {
        width: 90%;
        max-width: 400px;
        padding: 15px;
    }

    .ad-banner {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .ad-modal-content {
        width: 95%;
        padding: 15px;
    }

    .ad-modal-close {
        font-size: 24px;
        width: 30px;
        height: 30px;
    }
}