/*
Theme Name: NullBankPay Theme
Theme URI: https://nullbankpay.com
Description: Tema ultra moderno com gradientes neon para NullBankPay
Author: NullBankPay
Version: 3.0.0
Template: astra
License: GNU General Public License v2 or later
Text Domain: nullbankpay-theme
*/

:root {
    --neon-purple: #A855F7;
    --neon-pink: #EC4899;
    --neon-cyan: #06B6D4;
    --neon-green: #10B981;
    --neon-blue: #3B82F6;
    --dark-bg: #0F172A;
    --darker-bg: #020617;
    --card-bg: rgba(15, 23, 42, 0.8);
    --white: #FFFFFF;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-800: #1E293B;
    --radius: 20px;
    --shadow-neon: 0 0 20px rgba(168, 85, 247, 0.5);
    --shadow-neon-green: 0 0 20px rgba(16, 185, 129, 0.5);
    --shadow-neon-cyan: 0 0 20px rgba(6, 182, 212, 0.5);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    background-attachment: fixed;
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

/* Animated Background Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 90%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Container */
.site-content,
main {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Ultra Moderno */
.site-header,
.site-header .site-header-focus-item,
.ast-header-break-point .site-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
    padding: 20px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

.ast-main-header-bar-alignment,
.main-header-bar-wrap,
.ast-header-sticked {
    background: transparent !important;
}

.site-title a {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    font-weight: 800;
    text-decoration: none;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.8)); }
}

/* Navigation */
.main-navigation,
.main-navigation ul,
.main-navigation ul li a,
header nav a,
.ast-header-navigation a {
    color: var(--white) !important;
    font-weight: 500;
}

.main-navigation a {
    color: var(--white) !important;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.main-navigation a:hover {
    background: rgba(168, 85, 247, 0.2);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

/* Header Auth Buttons */
.header-auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-auth-buttons .btn-login {
    background: transparent !important;
    border: 2px solid var(--neon-purple) !important;
    color: var(--white) !important;
    padding: 12px 28px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.header-auth-buttons .btn-login::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.header-auth-buttons .btn-login:hover::before {
    width: 300px;
    height: 300px;
}

.header-auth-buttons .btn-login:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    transform: translateY(-3px);
}

.header-auth-buttons .btn-register {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan)) !important;
    color: var(--white) !important;
    padding: 12px 28px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    position: relative;
    overflow: hidden;
}

.header-auth-buttons .btn-register::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 150%; }
}

.header-auth-buttons .btn-register:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.6), 0 0 30px rgba(6, 182, 212, 0.4);
}

/* Cards Ultra Modernos */
.product,
.woocommerce ul.products li.product,
.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 30px;
    margin: 20px 0;
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product::before,
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(6, 182, 212, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.product:hover::before,
.card:hover::before {
    opacity: 1;
}

.product:hover,
.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.3),
                0 0 30px rgba(6, 182, 212, 0.2);
    border-color: var(--neon-purple);
}

/* Produtos WooCommerce */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    position: relative;
    z-index: 1;
}

.woocommerce ul.products li.product {
    text-align: center;
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    margin: 15px 0;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.woocommerce ul.products li.product .price {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 36px;
    font-weight: 800;
    margin: 20px 0;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
}

/* Botões Ultra Modernos com Animação */
button,
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink)) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 16px 36px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    text-decoration: none !important;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button::before,
.button::before,
.woocommerce a.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before,
.button:hover::before {
    width: 400px;
    height: 400px;
}

button:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.6),
                0 0 40px rgba(236, 72, 153, 0.4);
}

button:active,
.button:active {
    transform: translateY(-2px) scale(1.02);
}

/* Hero Section Ultra Moderno */
.hero-section {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: white;
    padding: 80px 40px;
    border-radius: var(--radius);
    margin: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent 70%);
    top: -250px;
    right: -250px;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);
    bottom: -200px;
    left: -200px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

.hero-section h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
    position: relative;
    z-index: 1;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5)); }
    50% { filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.8)); }
}

.hero-section p {
    font-size: 22px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Formulários */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select,
.input-text {
    width: 100%;
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    font-size: 16px;
    color: var(--white);
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    background: rgba(15, 23, 42, 0.8);
}

/* Responsivo */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
    
    .hero-section h1 {
        font-size: 36px;
    }
    
    .site-title a {
        font-size: 24px;
    }
    
    .header-auth-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

/* Hide Powered By e Footer Branco */
.site-info,
.ast-footer-copyright,
.powered-by,
.ast-small-footer,
.site-footer,
footer.site-footer {
    display: none !important;
}

/* Esconder qualquer footer branco */
.ast-footer-overlay {
    display: none !important;
}

/* Garantir que o footer não apareça */
#colophon {
    display: none !important;
}

/* Mensagens */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: var(--card-bg);
    border-left: 4px solid var(--neon-purple);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

.woocommerce-message {
    border-left-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.woocommerce-error {
    border-left-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

/* Neon Pulse Animation */
@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(168, 85, 247, 0.5),
                    0 0 20px rgba(168, 85, 247, 0.3),
                    0 0 30px rgba(168, 85, 247, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.8),
                    0 0 30px rgba(168, 85, 247, 0.6),
                    0 0 40px rgba(168, 85, 247, 0.4);
    }
}

.neon-pulse {
    animation: neonPulse 2s infinite;
}

/* Ocultar reviews e ratings dos produtos */
.star-rating,
.woocommerce-product-rating,
.review-rating,
#reviews,
.woocommerce-Reviews,
.woocommerce-review-link,
.woocommerce-product-rating {
    display: none !important;
}

/* Esconder botão View Cart que aparece após adicionar ao carrinho */
.woocommerce-message .button,
a.added_to_cart,
.added_to_cart.wc-forward {
    display: none !important;
}

/* Esconder mensagem "Product added to cart" */
.woocommerce-message {
    display: none !important;
}

/* ======================================
   CORRIGIR TÍTULOS DAS PÁGINAS (BRANCO)
   ====================================== */
h1, h1.entry-title, h1.page-title, 
.entry-title, .page-title,
.woocommerce-page h1,
.woocommerce h1,
.single-title,
article h1,
.ast-single-post .entry-header .entry-title {
    color: var(--white) !important;
    text-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
}

/* ======================================
   BOTÃO MODERNO NEON NO CARRINHO
   ====================================== */
/* Seletores super específicos para sobrescrever qualquer outro estilo */
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button,
.woocommerce .wc-proceed-to-checkout .button,
.woocommerce-cart .wc-proceed-to-checkout .button,
.woocommerce-page .wc-proceed-to-checkout .button,
.wc-proceed-to-checkout a,
.wc-proceed-to-checkout .button,
a.checkout-button,
.checkout-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 40px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-align: center !important;
    background: linear-gradient(135deg, #10B981, #06B6D4) !important;
    background-color: #10B981 !important;
    border: none !important;
    border-radius: 15px !important;
    color: white !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: block !important;
    margin: 0 auto !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button:hover,
.wc-proceed-to-checkout a:hover,
.wc-proceed-to-checkout .button:hover,
a.checkout-button:hover,
.checkout-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6) !important;
    background: linear-gradient(135deg, #06B6D4, #10B981) !important;
    background-color: #06B6D4 !important;
    color: white !important;
}

/* Botão Remove Item - Traduzido e Estilizado */
.woocommerce a.remove,
.woocommerce-cart a.remove {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple)) !important;
    color: white !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
}

.woocommerce a.remove:hover,
.woocommerce-cart a.remove:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.5) !important;
}

/* Título do Carrinho */
.woocommerce-cart h1,
.cart-title,
.page-title {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 42px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 30px !important;
}

/* ========================================
   MOBILE: MENU FIXO HORIZONTAL SEMPRE VISÍVEL
   Sobrescrever TUDO do Astra com máxima especificidade
======================================== */

/* Esconder TODOS os elementos mobile do Astra */
body .ast-mobile-menu-trigger,
body .ast-mobile-menu-buttons,
body .ast-button-wrap,
body .menu-toggle,
body .ast-mobile-header-wrap,
body .ast-header-break-point .ast-mobile-menu-buttons,
body #ast-mobile-header,
body .ast-mobile-popup-drawer,
body .ast-mobile-popup-content,
body .ast-mobile-popup-inner,
body .ast-mobile-header-content,
body [data-toggle="astra-mobile-popup"],
body .ast-header-break-point .ast-mobile-header-wrap,
body .ast-mobile-header-logo,
body .ast-mobile-menu-wrap {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* Forçar menu principal SEMPRE visível */
body .ast-header-break-point .main-header-menu,
body .ast-header-break-point .ast-menu-toggle,
body .ast-header-break-point .main-navigation,
body .ast-header-break-point .ast-desktop-header-content,
body .main-header-menu,
body .main-navigation,
body .ast-desktop-header-content,
body .primary-menu-container,
body .site-primary-header-wrap,
body #primary-menu,
body .ast-primary-header-bar,
body .ast-builder-menu-1,
body .ast-nav-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    height: auto !important;
    width: auto !important;
    overflow: visible !important;
    transform: none !important;
    clip: auto !important;
}

/* Estilo do menu mobile horizontal */
@media (max-width: 921px) {
    /* Garantir que o header desktop apareça */
    body.ast-header-break-point .ast-desktop-header-content,
    body.ast-header-break-point .site-primary-header-wrap,
    body.ast-header-break-point .ast-primary-header-bar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    body .ast-header-break-point .main-header-menu,
    body .main-header-menu,
    body .primary-menu-container,
    body #primary-menu,
    body .ast-nav-menu,
    body .ast-builder-menu-1 .main-header-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 12px 8px !important;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(10, 14, 26, 0.95)) !important;
        border-radius: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    body .main-header-menu > li,
    body #primary-menu > li,
    body .ast-nav-menu > li {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        flex-shrink: 0 !important;
    }
    
    body .main-header-menu > li > a,
    body #primary-menu > li > a,
    body .ast-nav-menu > li > a,
    body .menu-link {
        padding: 10px 14px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        background: rgba(168, 85, 247, 0.15) !important;
        border-radius: 8px !important;
        color: #fff !important;
        text-decoration: none !important;
        display: inline-block !important;
        border: 1px solid rgba(168, 85, 247, 0.3) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        transition: all 0.2s ease !important;
    }
    
    body .main-header-menu > li > a:hover,
    body #primary-menu > li > a:hover,
    body .ast-nav-menu > li > a:hover {
        background: linear-gradient(135deg, #A855F7, #06B6D4) !important;
        border-color: #A855F7 !important;
        transform: translateY(-1px) !important;
    }
    
    /* Header fixo e compacto no mobile */
    body .site-header,
    body .ast-primary-header,
    body #masthead {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        background: rgba(10, 14, 26, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-bottom: 1px solid rgba(168, 85, 247, 0.2) !important;
    }
    
    /* Esconder logo em mobile para dar espaço ao menu */
    body.ast-header-break-point .site-logo-img,
    body.ast-header-break-point .custom-logo-link,
    body.ast-header-break-point .ast-site-identity {
        display: none !important;
    }
}

/* Telas muito pequenas (< 400px) */
@media (max-width: 400px) {
    body .main-header-menu > li > a,
    body #primary-menu > li > a,
    body .ast-nav-menu > li > a {
        padding: 8px 10px !important;
        font-size: 10px !important;
    }
}
