/*
Theme Name: Nova Credit Life
Theme URI: 
Author: RedXtreme / AI
Author URI: https://redxtreme.com/
Description: Tema premium para Nova Credit Life con diseño V3 Ultra Premium (Curvas, Glassmorphism, Gradientes).
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nova-credit-life
*/

/* Base Resets & Typography Tuning */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #021a0f; /* brand-dark */
    color: #f8fafc; /* brand-light */
}

/* Premium Buttons - Curved & Elegant */
.btn-premium {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #021a0f;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.125rem 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px; /* Fully rounded pill shape */
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-premium::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}
.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}
.btn-premium:hover::before {
    left: 100%;
}

.btn-outline-premium {
    background: transparent;
    color: #f8fafc;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.125rem 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.btn-outline-premium:hover {
    border-color: #f59e0b;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.05);
}

/* Glassmorphism Elements */
.glass-panel {
    background: rgba(8, 47, 28, 0.4); /* brand-primary with opacity */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
}

/* Image Overlays */
.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 26, 15, 0.95) 0%, rgba(8, 47, 28, 0.6) 100%);
    z-index: 10;
}

/* Off-canvas menu styles */
#offcanvas-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#offcanvas-menu.open {
    transform: translateX(0);
}
#offcanvas-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
#offcanvas-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Accordion FAQ */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}
.faq-btn.active .faq-icon {
    transform: rotate(180deg);
    color: #f59e0b;
}

/* Fix WP Admin Bar Overlap */
body.admin-bar header.fixed {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar header.fixed {
        top: 46px !important;
    }
}