/* Custom styles that complement Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Fix Menu Bar Colors for Dark Theme */
.main-head {
    background-color: transparent !important;
}

.nav-wrap {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent !important;
}

.navigation {
    background-color: transparent !important;
    border-bottom: none !important;
}

.navigation ul li a {
    color: #eee !important;
}

.navigation ul li a:hover,
.navigation ul li a.active {
    color: #e9a95f !important;
}

.navigation .buy-now {
    background-color: #e9a95f !important;
    color: #000 !important;
    border-radius: 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e9a95f;
}

/* Navbar Scrolled State */
.navbar-scrolled {
    background: rgba(12, 12, 12, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: none !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Scroll Down Indicator */
.scroll {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    z-index: 3;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll.hide {
    opacity: 0;
    pointer-events: none;
}

.scroll-down-up {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #e9a95f;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 500;
    text-decoration: none;
}

.scroll-down-up:hover {
    color: #fff;
}

.scroll-down-up i {
    font-size: 32px;
    margin-top: -5px;
    color: #e9a95f;
    animation: scrollArrow 1.5s infinite;
}

@keyframes scrollArrow {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: -100%;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid #e9a95f;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e9a95f;
    font-size: 20px;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

#back-to-top.show {
    right: 30px;
}

#back-to-top:hover {
    transform: translateY(-8px) scale(1.05);
    background: #e9a95f;
    color: #111;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Version Card Hover Effects */
.version-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.version-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(233, 169, 95, 0.15);
    border-color: rgba(233, 169, 95, 0.5);
}

.version-card .overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.version-card:hover .overlay {
    opacity: 1;
}

.version-card img {
    transition: transform 0.5s ease;
}

.version-card:hover img {
    transform: scale(1.05);
}

/* Rain Effect in Hero */
#hero-rain-container {
    perspective: 1000px;
}

@keyframes rainFall {
    0% {
        transform: translateY(-150px) rotate(var(--start-rotation, 0deg)) scale(var(--scale, 1));
        opacity: 0;
    }

    15% {
        opacity: var(--target-opacity, 0.35);
    }

    85% {
        opacity: var(--target-opacity, 0.35);
    }

    100% {
        transform: translateY(115vh) rotate(var(--end-rotation, 360deg)) scale(var(--scale, 1));
        opacity: 0;
    }
}

.rain-drop {
    position: absolute;
    top: 0;
    pointer-events: none;
    user-select: none;
    will-change: transform, opacity;
    animation: rainFall var(--duration, 8s) linear infinite;
    animation-delay: var(--delay, 0s);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
    object-fit: contain;
}

/* Sombreado blanco sutil solo a los lados (izquierdo y derecho) */
.demos .thumb {
    box-shadow: 20px 0 25px -15px rgba(255, 255, 255, 0.15), -20px 0 25px -15px rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.demos .thumb:hover {
    box-shadow: 25px 0 35px -15px rgba(255, 255, 255, 0.35), -25px 0 35px -15px rgba(255, 255, 255, 0.35);
    transform: translateY(-5px);
}

/* Opacidad al fondo del footer / call-to-action */
.call-to-action {
    position: relative;
    z-index: 1;
}

.call-to-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.7;
    /* Opacidad ajustable */
    z-index: -1;
}

/* Pricing Section - Two Cards Layout */
.pricing-section {
    padding: 100px 0;
}



.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card-simple {
    flex: 1;
    min-width: 300px;
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card-simple:hover {
    transform: translateY(-5px);
    border-color: #555;
}

.pricing-card-simple.highlight {
    background: rgba(21, 21, 21, 0.9);
    border: 1px solid #e9a95f;
    position: relative;
    box-shadow: 0 15px 35px rgba(233, 169, 95, 0.1);
}

.pricing-card-simple.highlight::before {
    content: 'MÃS VENDIDO';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #e9a95f;
    color: #000;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.pricing-card-simple h3 {
    color: #fff;
    font-size: 24px;
    margin: 0 0 10px 0;
}

.pricing-card-simple .price {
    font-size: 40px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 20px;
}

.pricing-card-simple .price span {
    font-size: 16px;
    color: #777;
    font-weight: normal;
}

.pricing-card-simple ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.pricing-card-simple ul li {
    color: #aaa;
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card-simple ul li i {
    color: #e9a95f;
}

.pricing-card-simple .btn-buy {
    display: block;
    text-align: center;
    padding: 14px 0;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.pricing-card-simple .btn-outline {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
}

.pricing-card-simple .btn-outline:hover {
    background: #333;
    border-color: #666;
}

.pricing-card-simple.highlight .btn-solid {
    background: #e9a95f;
    border: 1px solid #e9a95f;
    color: #000 !important;
}

.pricing-card-simple.highlight .btn-solid:hover {
    background: #d4934b;
    border-color: #d4934b;
}

.pricing-section .wrap {
    position: relative;
    z-index: 2;
}


.menu-toggle {
    display: none;
}

/* =========================================
   Responsive Design / Mobile Layout 
   ========================================= */
@media (max-width: 768px) {

    /* 1. Global Containers */
    .wrap {
        padding: 0 20px;
        width: auto !important;
        max-width: 100% !important;
    }

    /* 2. Navigation */
    .navigation .wrap {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
    }

    .navigation .logo {
        margin-bottom: 0;
        float: none !important;
        display: inline-block;
    }

    .menu-toggle {
        display: block;
        font-size: 28px;
        color: #e9a95f;
        cursor: pointer;
    }

    .navigation ul {
        display: none;
        flex-direction: column;
        justify-content: center;
        float: none !important;
        background: #0c0c0c;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .navigation ul.active {
        display: flex;
    }

    .navigation ul li {
        margin: 0;
        display: block !important;
        text-align: center;
        padding: 5px 0;
    }

    .navigation ul li a {
        padding: 10px 20px;
        font-size: 16px;
        line-height: 1;
        display: inline-block;
    }

    .navigation .sticky-only {
        display: inline-block !important;
    }

    .navigation ul li a.buy-now {
        margin-top: 10px;
    }

    /* 3. Hero Section */
    .intro {
        padding: 20px !important;
    }

    .intro h1 {
        font-size: 38px !important;
        line-height: 1.2 !important;
    }

    .intro p.hline-secondary {
        font-size: 16px !important;
    }

    .intro .small-label {
        margin-top: 60px;
    }

    .intro .intro-button {
        font-size: 16px !important;
        padding: 12px 30px !important;
    }

    /* 4. Grids & Features (Stack to single column) */
    .demos .col-4,
    .features-list .col-4 {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .row.ts-row,
    .features-list {
        display: block;
        /* Removing flex if they were floated, block ensures stacking */
    }

    /* 5. Pricing Grid */
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card-simple {
        width: 100% !important;
        min-width: unset;
        max-width: 400px;
        margin-bottom: 30px;
        box-sizing: border-box;
        padding: 30px 20px !important;
    }

    /* 6. General Sections */
    .section {
        padding: 60px 0 !important;
    }

    .section-heading {
        font-size: 32px !important;
        line-height: 1.3 !important;
    }
}

/* =========================================
   Premium Design Enhancements
   ========================================= */

/* 1. Glassmorphism */
.navbar-scrolled {
    background: rgba(12, 12, 12, 0.7) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.pricing-card-simple {
    background: rgba(17, 17, 17, 0.5) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.pricing-card-simple.highlight {
    background: rgba(25, 25, 25, 0.65) !important;
    border: 1px solid rgba(233, 169, 95, 0.4) !important;
}

/* 2. Animated Gradient Text */
.text-gradient-animated {
    background: linear-gradient(to right, #e9a95f 20%, #ffffff 50%, #e9a95f 80%);
    background-size: 200% auto;
    color: transparent !important;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* 3. Reveal on Scroll */
.reveal-element {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* 4. Pulse Glow Effect */
.pulse-glow {
    position: relative;
    z-index: 1;
}

.pulse-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    z-index: -1;
    box-shadow: 0 0 0 0 rgba(233, 169, 95, 0.7);
    animation: pulse-glow-anim 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-glow-anim {
    to {
        box-shadow: 0 0 0 20px rgba(233, 169, 95, 0);
    }
}

/* 5. Mobile & Tablet Feature Cards Special Animation */
@media (max-width: 768px) {
    .features-list .col-4 {
        background: rgba(20, 20, 20, 0.7) !important;
        border: 1px solid rgba(233, 169, 95, 0.2) !important;
        border-radius: 16px !important;
        padding: 25px 20px !important;
        margin-bottom: 25px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
        transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
    }

    .features-list .col-4:active,
    .features-list .col-4:hover {
        transform: scale(1.03) translateY(-4px) !important;
        border-color: rgba(233, 169, 95, 0.7) !important;
        box-shadow: 0 15px 30px rgba(233, 169, 95, 0.25) !important;
    }

    /* Alternating Zipper Slide Animation */
    .features-list .col-4.reveal-element {
        opacity: 0;
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .features-list .col-4.reveal-element:nth-child(odd) {
        transform: translateX(-50px) !important;
    }

    .features-list .col-4.reveal-element:nth-child(even) {
        transform: translateX(50px) !important;
    }

    .features-list .col-4.reveal-element.active {
        opacity: 1;
        transform: translateX(0) !important;
    }
}