/* Reset CSS para remover margens e paddings padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Estilos customizados para o site IPTV Premium */

/* Animações personalizadas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Classes de animação */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-pulse-slow {
    animation: pulse 2s infinite;
}

/* Efeitos hover personalizados */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradientes personalizados */
.gradient-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

/* Estilos para cards de planos */
.plan-card {
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.plan-card:hover {
    box-shadow: 0 8px 32px 0 rgba(255, 215, 0, 0.15), 0 2px 8px 0 rgba(0,0,0,0.25);
    border-color: #FFD700;
    z-index: 2;
}

.plan-card.featured {
    position: relative;
    transform: scale(1.05);
}

.plan-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #1e40af, #3b82f6, #f59e0b);
    border-radius: 1rem;
    z-index: -1;
}

/* Estilos para botões */
.btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Estilos para formulários */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-input:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Estilos para ícones */
.icon-feature {
    transition: all 0.3s ease;
}

.icon-feature:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Estilos para navegação */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Estilos para seção hero */
.hero-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Estilos para FAQ */
.faq-item {
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #000 !important;
}

.faq-item:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    transform: translateX(5px);
}

.faq-question {
    background-color: transparent !important;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.faq-answer {
    background-color: transparent !important;
}

.faq-question i {
    transition: transform 0.3s ease;
}

/* Estilos para footer */
.footer-link {
    transition: color 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #f59e0b;
}

/* Responsividade adicional */
@media (max-width: 768px) {
    .hero-bg::before {
        opacity: 0.1;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
}

/* Estilos para loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Estilos para notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Estilos para scroll personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #B8860B 0%, #FFD700 100%);
}

/* Gold Theme */
.text-gold { color: #FFD700; }
.bg-gold { background: #FFD700; }
.border-gold { border-color: #FFD700; }
.btn-gold {
    background: linear-gradient(90deg, #FFD700 0%, #B8860B 100%);
    color: #111;
    font-weight: 700;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px 0 rgba(255, 215, 0, 0.15);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    text-align: center;
    display: inline-block;
    border: 2px solid #000;
}
.btn-gold:hover {
    background: linear-gradient(90deg, #B8860B 0%, #FFD700 100%);
    color: #000;
    box-shadow: 0 4px 16px 0 rgba(255, 215, 0, 0.25);
}

/* Para bordas gold em dark mode */
.bg-black .border-gold { border-color: #FFD700; }

/* Ajuste para plano Black */
.plan-card.bg-black {
    background: #111;
    border-color: #FFD700;
}

/* Garantia */
.bg-gold {
    background: #FFD700 !important;
}

/* Para títulos e textos gold */
.text-gold {
    color: #FFD700 !important;
}

/* Para destacar pontos adicionais */
.font-bold.text-gold {
    color: #FFD700 !important;
}

/* Para borda gold em destaque */
.border-gold {
    border-width: 2px;
    border-style: solid;
    border-color: #FFD700 !important;
}

/* Destaque do plano MASTER */
.plan-card.ring-2 {
    box-shadow: 0 12px 40px 0 rgba(255, 215, 0, 0.25), 0 2px 8px 0 rgba(0,0,0,0.25);
    border-color: #FFD700;
    position: relative;
}

/* Selo de destaque */
.plan-card .bg-gold.text-black {
    font-weight: bold;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 8px 0 rgba(255, 215, 0, 0.25);
}

/* Ícones alinhados */
.plan-card i {
    vertical-align: middle;
}

/* Ajuste para selo "Recomendado" */
.plan-card .absolute {
    filter: drop-shadow(0 2px 8px rgba(255,215,0,0.25));
}

/* Estilos para o logo */
.logo-container img {
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    height: auto;
}

/* Garantir que o logo não seja distorcido */
img[src*="logo.png"] {
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    height: auto;
}

/* Estilos para o banner */
.banner-container {
    height: 700px;
    max-height: 700px;
}

@media (max-width: 768px) {
    .banner-container {
        height: 500px;
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    .banner-container {
        height: 400px;
        max-height: 400px;
    }
} 