:root {
    --premium-gradient: linear-gradient(135deg, #696cff 0%, #303387 100%);
    --premium-glow: 0 10px 30px -10px rgba(105, 108, 255, 0.7);
    --success-glow: 0 10px 30px -10px rgba(113, 221, 55, 0.7);
    --dark-surface: #232333;
}

.text-gradient {
    background: linear-gradient(135deg, #696cff, #303387, #696cff, #303387);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: textShine 4s linear infinite;
}

@keyframes textShine {
    to {
        background-position: 300% center;
    }
}

/* Tarjetas Glass Animadas del Bento */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border-radius: 1.2rem;
    overflow: visible !important;
}

/* Tarjetas Glass Animadas del Bento */
.card-hover-elevate {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    overflow: hidden;
    position: relative;
    /* Un gradiente MUY sutil en el estado normal, para que no sea un bloque sólido mate, simulando cristal o metal fino */
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.0) 100%) !important;
}

.dark-style .card-hover-elevate {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(20, 20, 30, 0.2) 100%) !important;
}

.card-hover-elevate:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

.dark-style .card-hover-elevate:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

/* ================== Parallax 3D Bento Box ================== */
.deconstructed-card {
    position: relative;
    cursor: default;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    transform-style: preserve-3d;
    background: transparent !important;
}

.deconstructed-card:hover {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3) !important;
}

.card-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-layer.card-body {
    position: relative;
    height: 100%;
    pointer-events: none;
}

.card-layer.card-body * {
    pointer-events: auto;
}

.card-image {
    z-index: 1;
    border-radius: inherit;
    overflow: hidden;
}

/* Olas SVG: Posicionadas más abajo, más anchas para tener margen de movimiento */
.wave-svg {
    position: absolute;
    left: -10%;
    top: 35%;
    /* Las bajamos un 35% extra para despejar el texto en móvil y desktop */
    width: 120%;
    height: 80%;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animación autónoma para cada sub-ruta de la ola (Ignorando opacidad dura original) */
.wave-svg path:nth-of-type(1) {
    animation: waveSlosh 6s ease-in-out infinite alternate;
    transform-origin: bottom left;
    opacity: 0.15 !important;
    /* Capa super tenue */
}

.wave-svg path:nth-of-type(2) {
    animation: waveSlosh 9s ease-in-out infinite alternate-reverse;
    transform-origin: bottom right;
    opacity: 0.25 !important;
    /* Capa media tenue */
}

.wave-svg path:nth-of-type(3) {
    animation: waveSlosh 12s ease-in-out infinite alternate;
    transform-origin: bottom center;
    opacity: 0.40 !important;
    /* Capa sólida tenue */
}

@keyframes waveSlosh {
    0% {
        transform: scale(1.0) translateX(-3%) translateY(5px);
    }

    100% {
        transform: scale(1.08) translateX(3%) translateY(-5px);
    }
}

.card-frame {
    z-index: 10;
    pointer-events: none;
    border-radius: inherit;
}

/* Solución Mágica: Ampliar el dasharray a 5000 para soportar tarjetas súper anchas sin dejar "restos" de línea. */
.frame-path {
    fill: none;
    stroke: var(--bs-primary, #696cff);
    stroke-width: 2;
    stroke-dasharray: 5000;
    stroke-dashoffset: 5000;
    transition: stroke-dashoffset 3.5s ease-out;
    /* Incrementado para frenar la inercia del trazado */
}

.dark-style .frame-path {
    stroke: rgba(255, 255, 255, 0.3);
}

.deconstructed-card:hover .frame-path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 2.5s ease-out !important;
    /* Dibuja más lento y uniforme al Hover */
}

.deconstructed-card:hover .wave-svg {
    transform: scale(1.05);
}

.deconstructed-card:hover .icon-wrapper-dynamic {
    transform: translateZ(35px) scale(1.05);
    /* Efecto pop-out suavizado para no romper linderos vectoriales */
}

.icon-wrapper-dynamic {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================== Transiciones Gradient Animadas ================== */
.animated-gradient-divider {
    height: 3px;
    width: 100%;
    margin: 0;
    border: none;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(105, 108, 255, 0.4) 15%,
            var(--bs-primary) 35%,
            #ff69b4 50%,
            var(--bs-info) 65%,
            rgba(105, 108, 255, 0.4) 85%,
            transparent 100%);
    background-size: 200% 100%;
    animation: flowGradient 8s linear infinite;
    opacity: 0.85;
}

@keyframes flowGradient {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: 0% 0;
    }
}

/* ================== Fade Inmersivo al Footer ================== */
.footer-fade-bridge {
    padding-bottom: 12rem;
    /* Espacio equilibrado para la transición al footer */
}



/* Anular borde inamovible de Bootstrap/Sneat que causa el corte feo */
.landing-footer {
    border-top: none !important;
    background-color: #1a1a2e !important;
}

.glass-card:hover .icon-wrapper-dynamic {
    transform: scale(1.2) rotate(8deg);
}

/* Flecha animada en links */
.slide-arrow-hover i {
    transition: transform 0.3s ease;
}
.slide-arrow-hover:hover i {
    transform: translateX(6px);
}

/* Botones Vibrantes y Pulsaciones */
.btn-premium {
    background: var(--premium-gradient);
    color: white !important;
    border: none;
    box-shadow: var(--premium-glow);
    transition: all 0.3s ease;
    font-weight: 700;
}

.btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -5px rgba(105, 108, 255, 0.8) !important;
}

.btn-pulse {
    animation: pulse-primary 2s infinite;
}

@keyframes pulse-primary {
    0% {
        box-shadow: 0 0 0 0 rgba(105, 108, 255, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(105, 108, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(105, 108, 255, 0);
    }
}

.btn-whatsapp {
    box-shadow: var(--success-glow);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px -5px rgba(113, 221, 55, 0.8) !important;
}

/* --- Premium Soft Bubbles / Aurora Background --- */
.hero-blobs-container {
    position: absolute;
    top: -20%;
    bottom: 0;
    left: -10%;
    right: -10%;
    overflow: hidden;
    z-index: 0;
    background-color: var(--bs-body-bg, #fdfcff);
}

.dark-style .hero-blobs-container {
    background-color: #232333 !important;
    /* Base Body oscura de Sneat */
}

.hero-bottom-fade {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    z-index: 1;
    pointer-events: none;
}

.dark-style .hero-bottom-fade {
    background: linear-gradient(to bottom, rgba(35, 35, 51, 0), #232333) !important;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.65;
    filter: blur(80px);
    -webkit-filter: blur(80px);
    will-change: transform;
}

.blob-1 {
    top: 0%;
    left: 0%;
    width: 500px;
    height: 500px;
    background: #e0c3fc;
    animation: blob1Anim 22s infinite alternate ease-in-out !important;
}

.blob-2 {
    bottom: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: #ffc3e1;
    animation: blob2Anim 25s infinite alternate ease-in-out !important;
}

.blob-3 {
    top: 30%;
    left: 25%;
    width: 450px;
    height: 450px;
    background: #d4e4ff;
    animation: blob3Anim 20s infinite alternate ease-in-out !important;
}

.blob-4 {
    top: 10%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: #fce4ec;
    animation: blob4Anim 28s infinite alternate ease-in-out !important;
}

.blob-5 {
    bottom: 10%;
    left: 15%;
    width: 550px;
    height: 550px;
    background: #e3f2fd;
    animation: blob5Anim 24s infinite alternate ease-in-out !important;
}

.blob-6 {
    top: 50%;
    right: 35%;
    width: 350px;
    height: 350px;
    background: #f3e5f5;
    animation: blob6Anim 19s infinite alternate ease-in-out !important;
}

/* Dark mode blob variants to prevent blinding */
.dark-style .blob-1 {
    background: #3c2a61 !important;
    opacity: 0.3 !important;
}

.dark-style .blob-2 {
    background: #612a46 !important;
    opacity: 0.3 !important;
}

.dark-style .blob-3 {
    background: #2f447a !important;
    opacity: 0.3 !important;
}

.dark-style .blob-4 {
    background: #573145 !important;
    opacity: 0.3 !important;
}

.dark-style .blob-5 {
    background: #2c496e !important;
    opacity: 0.3 !important;
}

.dark-style .blob-6 {
    background: #4f3461 !important;
    opacity: 0.3 !important;
}

@keyframes blob1Anim {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(250px, 150px) scale(1.15); }
}

@keyframes blob2Anim {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-250px, -150px) scale(0.9); }
}

@keyframes blob3Anim {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, -200px) scale(1.2); }
}

@keyframes blob4Anim {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-150px, 200px) scale(0.85); }
}

@keyframes blob5Anim {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(200px, -180px) scale(1.05); }
}

@keyframes blob6Anim {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-200px, 150px) scale(0.95); }
}

/* Mobile: reemplazar blobs animados con gradiente estático */
@media (max-width: 991.98px) {
    .hero-blob {
        display: none !important;
    }
    .hero-blobs-container {
        background: radial-gradient(ellipse at 20% 20%, #e0c3fc 0%, transparent 50%),
                    radial-gradient(ellipse at 80% 80%, #ffc3e1 0%, transparent 50%),
                    radial-gradient(ellipse at 50% 50%, #d4e4ff 0%, transparent 60%),
                    var(--bs-body-bg, #fdfcff);
    }
    .dark-style .hero-blobs-container {
        background: radial-gradient(ellipse at 20% 20%, rgba(60,42,97,0.3) 0%, transparent 50%),
                    radial-gradient(ellipse at 80% 80%, rgba(97,42,70,0.3) 0%, transparent 50%),
                    radial-gradient(ellipse at 50% 50%, rgba(47,68,122,0.3) 0%, transparent 60%),
                    #232333 !important;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- INSPIRACIÓN CLIP/SQUARE: Mockups tipo UI y Elementos Flotantes --- */
.hero-fast-signup {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    max-width: 550px;
    margin: 0 auto;
    border: 1px solid rgba(105, 108, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-fast-signup:focus-within {
    border-color: #696cff;
    box-shadow: 0 15px 35px rgba(105, 108, 255, 0.2);
    transform: scale(1.02);
}

.hero-fast-signup input {
    border: none;
    background: transparent;
    box-shadow: none !important;
    padding-left: 20px;
    font-size: 1.1rem;
}

.browser-mockup {
    border-radius: 12px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    overflow: hidden;
    position: relative;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.browser-mockup-header {
    background: #f1f1f1;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark-style .browser-mockup {
    background: #2b2c40 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5) !important;
}

.dark-style .browser-mockup-header {
    background: #232333 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.browser-mockup-dots {
    display: flex;
    gap: 6px;
}

.browser-mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-mockup-dot.red {
    background: #ff5f56;
}

.browser-mockup-dot.yellow {
    background: #ffbd2e;
}

.browser-mockup-dot.green {
    background: #27c93f;
}

.tab-pane.active .browser-mockup {
    animation: float 6s ease-in-out infinite 0.5s;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-radius: 15px;
    padding: 15px 25px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    animation: float-badge 5s ease-in-out infinite both;
    cursor: default;
    transition: transform 0.3s;
    color: #566a7f;
}

.floating-badge h6 {
    color: #566a7f;
    transition: color 0.3s ease;
}

.dark-style .floating-badge {
    background: rgba(43, 44, 64, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    color: #a1acb8 !important;
}

.dark-style .floating-badge h6 {
    color: #fff !important;
}

.floating-badge:hover {
    transform: scale(1.08) translateZ(20px);
    z-index: 20;
}

@keyframes float-badge {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.floating-badge-1 {
    top: -70px;
    left: -50px;
    animation-delay: 0s;
}

.floating-badge-2 {
    bottom: 10px;
    right: -50px;
    animation-delay: 1.5s;
}

.floating-badge-3 {
    top: 40%;
    right: -60px;
    animation-delay: 0.8s;
}

.floating-badge-4 {
    bottom: -20px;
    left: 30%;
    animation-delay: 2.2s;
}

@media (max-width: 991px) {
    .floating-badge {
        display: none;
    }
}

.logo-marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 30px 0;
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.logo-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.dark-style .logo-marquee-wrapper::before {
    background: linear-gradient(to right, #2b2c40, transparent) !important;
}

.dark-style .logo-marquee-wrapper::after {
    background: linear-gradient(to left, #2b2c40, transparent) !important;
}

.dark-style .bg-white {
    background-color: #2b2c40 !important;
    color: #a1acb8 !important;
}

.logo-marquee {
    display: inline-block;
    animation: marquee 35s linear infinite;
}

.logo-marquee:hover {
    animation-play-state: paused;
}

.logo-marquee span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 25px;
    padding: 12px 35px;
    background: rgba(105, 108, 255, 0.05);
    border: 1px solid rgba(105, 108, 255, 0.15);
    border-radius: 50px;
    color: #566a7f;
    font-weight: 700;
    font-size: 1.3rem;
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.dark-style .logo-marquee span {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: #a1acb8;
}

.logo-marquee span:hover {
    opacity: 1;
    transform: translateY(-8px) scale(1.05);
    background: #696cff;
    /* Primary color */
    color: #ffffff !important;
    border-color: #696cff;
    box-shadow: 0 15px 35px rgba(105, 108, 255, 0.35);
}

.logo-marquee span:hover i {
    color: #ffffff !important;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.chat-bubble {
    background: #fff;
    border-radius: 20px 20px 20px 2px;
    padding: 18px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: left;
    max-width: 85%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-bubble.right {
    background: var(--premium-gradient);
    color: white;
    border-radius: 20px 20px 0 20px;
}

.chat-container {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

/* Navegación premium del Arsenal */
.nav-pills-premium .nav-link {
    transition: all 0.4s ease;
    border: 1px solid transparent;
    background: #fff;
    color: #566a7f;
    position: relative;
}

.nav-pills-premium .nav-link:hover {
    background: rgba(105, 108, 255, 0.05);
    transform: scale(1.02);
}

.nav-pills-premium .nav-link.active {
    background: var(--premium-gradient) !important;
    box-shadow: var(--premium-glow) !important;
    color: white !important;
    transform: translateX(15px) scale(1.05);
}

.nav-pills-premium .nav-link.active i,
.nav-pills-premium .nav-link.active span {
    color: white !important;
}

/* Dark mode Arsenal */
.arsenal-bg {
    background-color: #f8f8fa;
}

.dark-style .arsenal-bg {
    background-color: #2b2c40;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.dark-style .nav-pills-premium .nav-link {
    background: #232333;
    color: #a1acb8;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-style .nav-pills-premium .nav-link:hover {
    background: rgba(105, 108, 255, 0.1);
}

/* Chat bubble en dark mode o en la zona transparente */
.dark-style .chat-bubble {
    background: #2b2c40;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1acb8;
}

.dark-style .chat-bubble.right {
    background: var(--premium-gradient) !important;
    color: white;
    border: none;
}

.typed-cursor {
    font-size: 4rem;
    font-weight: 300;
    color: #696cff;
    opacity: 1;
    animation: typedjsBlink 0.7s infinite;
}

@media (max-width: 768px) {
    .typed-cursor {
        font-size: 2.8rem;
    }
}

@keyframes typedjsBlink {
    50% {
        opacity: 0.0;
    }
}

/* Pricing Cards High Contrast */
.premium-pricing-card {
    background: linear-gradient(145deg, #181924, #2b2c40) !important;
    border: 1px solid rgba(105, 108, 255, 0.4) !important;
    box-shadow: 0 10px 40px -10px rgba(105, 108, 255, 0.4) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.premium-pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px -10px rgba(105, 108, 255, 0.6) !important;
}

/* In dark mode, make the glass card distinctly lighter/translucent vs the dark premium card */
.dark-style .glass-card {
    background: rgba(43, 44, 64, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.dark-style .premium-pricing-card {
    background: linear-gradient(145deg, #1f1b2b, #11111a) !important;
    border-color: rgba(105, 108, 255, 0.2) !important;
    box-shadow: 0 10px 40px -10px rgba(105, 108, 255, 0.2) !important;
}



@keyframes footerGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
/* ================== Pricing Flat Section ================== */
.pricing-container-flat {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(105, 108, 255, 0.1);
    border-radius: 2.5rem;
    padding: 3rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.pricing-container-flat::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, transparent, rgba(105, 108, 255, 0.3), transparent);
    background-size: 200% 100%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: borderFlow 3s linear infinite;
}

.pricing-container-flat:hover {
    transform: translateY(-5px);
    border-color: rgba(105, 108, 255, 0.3);
    box-shadow: 0 30px 60px -12px rgba(105, 108, 255, 0.15);
}

.pricing-container-flat:hover::before {
    opacity: 1;
}

@keyframes borderFlow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.price-info-side {
    background: rgba(105, 108, 255, 0.05);
    border: 1px solid rgba(105, 108, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.price-info-side::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(105, 108, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.price-info-side:hover::after {
    opacity: 1;
}

.dark-style .pricing-container-flat {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-style .price-info-side {
    background: rgba(105, 108, 255, 0.08);
}

.evolution-badge {
    background: rgba(0, 207, 221, 0.05);
    border-left: 4px solid #00cfdd;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.evolution-badge:hover {
    transform: translateX(10px);
}

.pricing-feature-item {
    padding: 0.8rem 0;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.pricing-feature-item:hover {
    transform: translateX(5px);
    color: var(--bs-primary) !important;
}

.pricing-feature-item i {
    font-size: 1.4rem;
    margin-right: 0.8rem;
    transition: transform 0.3s ease;
}

.pricing-feature-item:hover i {
    transform: scale(1.2);
}

/* Micro-interacciones Premium */
.pricing-feature-item i {
    color: var(--bs-primary);
    text-shadow: 0 0 10px rgba(105, 108, 255, 0.3);
}

.btn-primary.shadow-none {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary.shadow-none:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px -5px rgba(105, 108, 255, 0.4) !important;
}

/* Corrección de borde en Directorio */
.directory-preview-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.directory-preview-card img {
    border: none !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Sombra oscura para evitar el glow blanco */
}

/* Fix Mobile Interactions & UX */
@media (max-width: 991.98px) {
    /* Prevent ghost clicks by disabling hover emulations — solo para el menú colapsable */
    .landing-nav-menu .nav-item.dropdown:hover > .dropdown-menu {
        display: none !important;
    }
    .landing-nav-menu .nav-item.dropdown.show > .dropdown-menu {
        display: block !important;
    }

    /* Toolbar dropdowns (idioma, tema) — siempre visibles cuando .show */
    .dropdown-style-switcher.show > .dropdown-menu,
    .dropdown-language.show > .dropdown-menu {
        display: block !important;
    }

    /* Premium Mobile Navbar */
    .layout-navbar {
        backdrop-filter: blur(10px);
        background: rgba(var(--bs-body-bg-rgb), 0.8) !important;
    }

    .landing-navbar .navbar-collapse {
        background: var(--bs-body-bg);
        border-radius: 0 0 1.5rem 1.5rem;
        padding: 1.5rem;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        margin-top: 0.5rem;
    }

    /* Hamburger Animation */
    .navbar-toggler i {
        transition: transform 0.3s ease;
    }
    .navbar-toggler[aria-expanded="true"] i {
        transform: rotate(90deg);
    }

    /* Faster Modal on Mobile */
    .modal.fade .modal-dialog {
        transition: transform 0.2s ease-out;
    }
}

/* Fix: Sneat navbar ::after blocks clicks on toolbar icons (language, theme) */
nav.layout-navbar::after {
    pointer-events: none !important;
}

/* AOS: transitions rápidas */
[data-aos] {
    transition-duration: 400ms !important;
}

/* Pulse Animation for Line Badge (Success) */
@keyframes pulse-primary {
    0% { box-shadow: 0 0 0 0 rgba(40, 199, 111, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(40, 199, 111, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 199, 111, 0); }
}

/* Disable hover transforms on touch devices to prevent "double tap" issue */
@media (hover: none) {
    .card-hover-elevate:hover,
    .btn:hover,
    .nav-link:hover,
    .dropdown-item:hover {
        transform: none !important;
        box-shadow: inherit !important;
    }
}

/* Instant-response for buttons */
.btn, .nav-link, .dropdown-item {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Las imágenes usan loading="lazy" nativo del browser, sin hack de opacity */

/* Navbar icon dropdowns: ocultar flecha y asegurar click en el padre */
.dropdown-style-switcher .dropdown-toggle::after,
.dropdown-language .dropdown-toggle::after {
    display: none !important;
}

.dropdown-style-switcher .dropdown-toggle i,
.dropdown-language .dropdown-toggle i {
    pointer-events: none;
}

/* ================== Mobile specific buttons (w-100 only on mobile) ================== */
@media (max-width: 767.98px) {
    #hero-animation .btn-premium,
    #landingArsenal .btn-primary,
    #directory-showcase .btn-premium,
    .landing-footer .btn-primary {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* ================== Mobile Performance ================== */
@media (max-width: 991.98px) {
    /* Desactivar wave SVG animations en móvil */
    .wave-svg path {
        animation: none !important;
    }
    /* Desactivar float en browser mockups */
    .tab-pane.active .browser-mockup {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    .animate-float {
        animation: none !important;
    }
    /* Simplificar deconstructed cards (no hay hover en touch) */
    .deconstructed-card {
        transform-style: flat !important;
    }
    .card-layer.card-frame {
        display: none;
    }
    /* Desactivar footer gradient animation */
    .footer-animated-bg {
        animation: none !important;
        background: #1a1a2e !important;
    }
    /* Simplificar gradient dividers */
    .animated-gradient-divider {
        animation: none !important;
    }
    /* Desactivar btn-pulse */
    .btn-pulse {
        animation: none !important;
    }
    /* Desactivar text-gradient shimmer */
    .text-gradient {
        animation: none !important;
    }
    /* Desactivar marquee — mostrar estático */
    .logo-marquee {
        animation: none !important;
    }
    /* Desactivar avatares flotantes del hero (inline style animations) */
    #hero-animation .avatar {
        animation: none !important;
    }
    /* Desactivar border flow en pricing */
    .pricing-container-flat::before {
        animation: none !important;
        display: none;
    }
    /* Simplificar backdrop-filter (caro en mobile Safari) */
    .glass-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }
    .dark-style .glass-card {
        background: rgba(43, 44, 64, 0.95) !important;
    }
    /* Navbar: no backdrop-filter en móvil */
    .layout-navbar {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: var(--bs-body-bg) !important;
    }
    /* price-info-side: no backdrop-filter */
    .price-info-side {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* Respetar preferencia del sistema */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-blob { animation: none !important; }
    .logo-marquee { animation: none !important; }
}
