/* --- GERAL & VARIÁVEIS --- */
:root {
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2c2c2c;
    --yellow: #ffff00;
    --text-light: #f0f0f0;
    --text-dark: #cccccc;
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
}

body {
    background-color: var(--black);
    color: var(--text-light);
    font-family: var(--font-secondary);
    font-weight: 500;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}

h1 span, h2 span {
    color: var(--yellow);
}

a {
    color: var(--yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.cta-button {
    display: inline-block;
    background-color: var(--yellow);
    color: var(--black);
    padding: 12px 25px;
    border-radius: 5px;
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--yellow);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--yellow);
}

/* --- ESTILOS PARA O LIGHTBOX (MODAL DE IMAGEM) --- */

.gallery-grid img.lightbox-trigger {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-grid img.lightbox-trigger:hover {
    transform: scale(1.05);
    opacity: 1; /* Garante opacidade total no hover */
}

/* O fundo do modal (overlay) */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed; /* Fica fixo na tela */
    z-index: 2000; /* Fica na frente de tudo */
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.95); /* Fundo preto com transparência */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    opacity: 1;
}
/* Conteúdo do Modal (a imagem) */
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    animation-name: zoom;
    animation-duration: 0.4s;
}

/* Animação de Zoom */
@keyframes zoom {
    from {transform: scale(0.5)}
    to {transform: scale(1)}
}

/* O Botão de Fechar (x) */
.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
}

/* --- HEADER --- */
#main-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#main-header.scrolled {
    box-shadow: 0 2px 15px rgba(255, 255, 0, 0.1);
}

.promo-bar {
    background-color: var(--yellow);
    color: var(--black);
    text-align: center;
    padding: 5px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}
.logo span {
    color: var(--yellow);
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li a {
    color: var(--text-light);
    padding: 10px 15px;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--yellow);
    transition: width 0.3s ease;
}

.nav-list li a:hover::after {
    width: 80%;
}

.user-access {
    position: relative;
}

.user-access-toggle {
    background: none;
    border: 1px solid var(--yellow);
    color: var(--yellow);
    padding: 8px 15px;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 700;
    border-radius: 5px;
}

.user-access-dropdown {
    display: none;
    position: absolute;
    top: 120%;
    right: 0;
    background-color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    overflow: hidden;
    min-width: 200px;
}

.user-access:hover .user-access-dropdown {
    display: block;
}

.user-access-dropdown a {
    display: block;
    padding: 12px 15px;
    color: var(--text-light);
}
.user-access-dropdown a:hover {
    background-color: var(--yellow);
    color: var(--black);
}
.user-access-dropdown a i {
    margin-right: 10px;
}

#hamburger-btn, #close-btn {
    display: none;
    background: none;
    border: none;
    color: var(--yellow);
    font-size: 2rem;
    cursor: pointer;
}

#side-nav {
    display: none;
}

/* --- MAIN CONTENT & HERO SLIDER --- */
main {
    padding-top: 100px; /* Ajuste para o header fixo */
}

#hero-slider {
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
}

.slide-content {
    display: flex;
    height: 100%;
}

.text-panel {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5%;
    position: relative;
    z-index: 2;
}

.text-panel .text-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png') var(--black);
    opacity: 0.8;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
    z-index: -1;
}

.text-panel h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.text-panel p {
    font-size: 1.2rem;
    max-width: 80%;
    margin-bottom: 30px;
}

.image-panel {
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

/* --- SERVICE PREVIEWS --- */
#service-previews {
    padding: 80px 20px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.preview-card {
    background-color: var(--dark-gray);
    border: 2px solid var(--medium-gray);
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-bottom: 5px solid transparent;
}

.preview-card i {
    font-size: 3rem;
    color: var(--yellow);
    margin-bottom: 20px;
}
.preview-card h3 {
    color: var(--yellow);
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.preview-card a {
    display: inline-block;
    margin-top: 20px;
    font-weight: 700;
}

.preview-card-iptv {
   
    border: 2px solid var(--medium-gray);
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-bottom: 5px solid transparent;
}

.preview-card-iptv h3 {
    color: var(--yellow);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.preview-card-iptv a {
    display: inline-block;
    margin-top: 20px;
    font-weight: 700;
}

/* --- PRICING CARDS --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: center;
}
.pricing-card {
    background-color: var(--dark-gray);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--medium-gray);
    text-align: center;
    transition: transform 0.3s ease;
}
.pricing-card:hover {
    transform: scale(1.05);
}
.pricing-card.featured {
    border: 2px solid var(--yellow);
    transform: scale(1.05);
    position: relative;
}
.featured-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--yellow);
    color: var(--black);
    padding: 5px 15px;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
}
.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.pricing-card .price {
    font-size: 2rem;
    font-family: var(--font-primary);
    margin-bottom: 20px;
}
.pricing-card .price span {
    font-size: 3rem;
    color: var(--yellow);
}
.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}
.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--medium-gray);
}
.pricing-card ul li i {
    color: var(--yellow);
    margin-right: 10px;
}

/* --- STREAMING PAGE --- */
#streaming-hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}
.background-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://hostaguia.com.br/imagens/dancando.gif');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    z-index: -1;
}
.player-demo {
    margin: 40px auto;
    max-width: 1100px;
}

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
}
.gallery-grid img {
    width: 80%;
    height: auto;
    border-radius: 5px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.gallery-grid img:hover {
    opacity: 1;
}
.app-gallery img {
    max-width: 260px;
    margin: 0 auto;
}

/* --- PLAYER PAGE --- */
.player-selection {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
/* --- AJUSTE PLAYER PAGE --- */
.player-showcase {
    border: 2px solid var(--yellow);
    border-radius: 5px;
    padding: 10px;
    background-color: var(--dark-gray);
    margin-bottom: 10px;
}
.player-showcase iframe {
    border: none !important;
    border-radius: 0 !important;
}
.player-showcase h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}
.player-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.player-option-btn {
    background-color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    color: var(--text-light);
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.player-option-btn:hover, .player-option-btn.active {
    background-color: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}
.player-order-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}
.player-order-form input, .player-order-form textarea {
    background-color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    padding: 15px;
    border-radius: 5px;
    color: white;
    font-family: var(--font-secondary);
}
.player-order-form .whatsapp {
    background-color: #25D366;
    border-color: #25D366;
}
.player-order-form .whatsapp:hover {
    background: transparent;
    color: #25D366;
}

/* --- FOOTER --- */
#main-footer {
    background-color: var(--dark-gray);
    padding: 50px 20px 20px;
    border-top: 3px solid var(--yellow);
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-section h4 {
    color: var(--yellow);
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.footer-section p, .footer-section ul li {
    color: var(--text-dark);
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li a {
    color: var(--text-dark);
}
.payment-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.payment-icons img {
    height: 70px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
}

/* --- FLOATING BUTTONS --- */
.floating-btn {
    position: fixed;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    z-index: 999;
}
.whatsapp-btn {
    background-color: #25D366;
    right: 20px;
    color: white;
}
.top-btn {
    background-color: var(--yellow);
    right: 90px;
    display: none; /* JS will show this */
}
/* --- ESTILOS PÁGINA IPTV --- */

.page-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Grade de Apps de TV */
.iptv-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}
.app-card {
    background-color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 255, 0, 0.1);
}
.app-card img {
    max-width: 153px;
    height: 122px;
    object-fit: contain;
    margin-bottom: 15px;
}
.app-card .app-desc {
    font-size: 0.9rem;
    color: var(--text-dark);
    text-align: left;
}
.app-card .app-desc strong {
    color: var(--yellow);
}
.app-card .app-desc span {
    font-style: italic;
    opacity: 0.8;
}

/* Seção de Vídeos */
.iptv-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}
.video-card {
    text-align: center;
}
.video-card video {
    width: 100%;
    border-radius: 10px;
    border: 2px solid var(--medium-gray);
    margin-bottom: 10px;
}
.video-card p {
    font-weight: 700;
    color: var(--text-light);
}

/* Galeria Android */
.iptv-android-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.iptv-android-gallery img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}
.iptv-android-gallery img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Linha de Destaque (iPhone/Windows) */
.iptv-feature-row {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
    background-color: var(--dark-gray);
    border-radius: 15px;
    margin-bottom: 40px;
}
.iptv-feature-row.reverse {
    flex-direction: row-reverse;
}
.feature-image {
    flex-basis: 30%;
    text-align: center;
}
.feature-image img {
    max-width: 100%;
    height: auto;
}
.feature-text {
    flex-basis: 70%;
}
.feature-text h3, .feature-text h4 {
    margin-bottom: 15px;
}
.windows-links pre {
    font-size: 0.9rem;
}
.windows-links a {
    word-break: break-all;
}

/* Botão de CTA Final */
.iptv-cta {
    text-align: center;
    padding: 40px 0;
}
.cta-button.large {
    font-size: 1.5rem;
    padding: 20px 40px;
}

/* Responsividade para IPTV */
@media (max-width: 768px) {
    .iptv-feature-row {
        flex-direction: column;
        text-align: center;
    }
    .iptv-feature-row.reverse {
        flex-direction: column;
    }
    .feature-text, .feature-image {
        flex-basis: 100%;
    }
    .feature-image {
        margin-bottom: 20px;
    }
    .app-card .app-desc {
        font-size: 0.85rem;
    }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    #main-nav { display: none; }
    #hamburger-btn { display: block; }
    .user-access { margin-left: auto; margin-right: 20px;}

    #side-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: var(--dark-gray);
        padding: 80px 30px;
        transition: right 0.4s ease;
        z-index: 1001;
    }
    #side-nav.open {
        right: 0;
    }
    #side-nav a {
        font-size: 1.5rem;
        padding: 15px 0;
        color: white;
    }
    #close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .slide-content { flex-direction: column; }
    .text-panel, .image-panel { width: 100%; height: 50%; clip-path: none !important; }
    .text-panel { text-align: center; align-items: center; }
    .text-panel .text-background { clip-path: none !important; }
    .text-panel h2 { font-size: 2.5rem; }
    .text-panel p { max-width: 100%; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .pricing-grid, .footer-container { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); } /* Remove zoom on mobile */
    .top-btn { right: 20px; bottom: 90px;}
}
/* --- ESTILOS ADICIONAIS PÁGINA HOSPEDAGEM --- */

#hosting-hero-bg {
    background-image: linear-gradient(to right, rgba(255, 255, 0, 0.3), rgba(255, 255, 0, 1)), url('../images/hosting/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-hero .hero-subtitle {
    max-width: 800px;
    margin: 20px auto 0 auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    font-size: 1.2rem;
    border: 1px solid var(--medium-gray);
}

.hosting-feature-section {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 80px 0;
}

.hosting-feature-section.reverse {
    flex-direction: row-reverse;
}

.feature-text-content {
    flex: 1;
}

.feature-image-content {
    flex: 1;
    text-align: center;
}

.feature-image-content img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 0, 0.1));
}

.section-title.left-aligned {
     background-image: linear-gradient(to right, rgba(255, 255, 0, 0.3), rgba(255, 255, 0, 1));
    text-align: left;
    margin-bottom: 30px;
    padding:20px;
    border-radius:5px;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-list i {
    font-size: 2rem;
    color: var(--yellow);
    margin-top: 5px;
}

.feature-list h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.hosting-reasons-section {
    padding: 80px 20px;
    background-color: var(--dark-gray);
    background-image: url('../images/hosting/reasons-bg.svg');
    background-position: center;
    background-size: cover;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.reason-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.reason-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 0, 0.1);
    border: 2px solid var(--yellow);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.reason-text h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Responsividade para seções de hospedagem */
@media (max-width: 992px) {
    .hosting-feature-section,
    .hosting-feature-section.reverse {
        flex-direction: column;
    }
    .section-title.left-aligned {
        text-align: center;
    }
}
/* --- ESTILO SEÇÃO PLAY STORE CTA (PÁGINA APLICATIVO) --- */

.playstore-cta-section {
    display: flex;
    align-items: center;
    gap: 40px;
    background: radial-gradient(circle, var(--dark-gray), var(--black) 90%);
    border: 2px solid var(--medium-gray);
    border-radius: 15px;
    padding: 50px;
    margin-top: 80px;
    position: relative;
    overflow: hidden; /* Para conter os efeitos da imagem */
}

.playstore-cta-section .cta-content {
    flex: 1.5; /* Dá mais espaço para o texto */
    z-index: 2;
}

.playstore-cta-section h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.playstore-cta-section p {
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 500px;
}

.playstore-cta-section .playstore-button img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.playstore-cta-section .playstore-button:hover img {
    transform: scale(1.05);
}

.playstore-cta-section .cta-image {
    flex: 1;
    text-align: center;
    position: relative;
    align-self: flex-end; /* Alinha a imagem na parte inferior */
}

.playstore-cta-section .cta-image img {
    max-width: 450px;
    height: auto;
    transform: translateY(20px) rotate(10deg);
    filter: drop-shadow(0 0 20px rgba(255, 255, 0, 0.1));
}

/* Responsividade para a seção CTA */
@media (max-width: 992px) {
    .playstore-cta-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    .playstore-cta-section p {
        margin-left: auto;
        margin-right: auto;
    }
    .playstore-cta-section .cta-image {
        display: none; /* Oculta a imagem em telas menores para focar na informação */
    }
}