﻿html {
    scroll-behavior: smooth;
}

/* --- Contenedor Principal (Hero) --- */
.hero-container {
    position: relative;
    padding: 80px 20px;
    background: radial-gradient(circle at 50% 0%, rgba(var(--mud-palette-primary-rgb), 0.08) 0%, transparent 70%);
    border-radius: 24px;
    overflow: hidden;
}

/* Busca .hero-title y déjalo así: */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--mud-palette-primary), var(--mud-palette-secondary));
    letter-spacing: -1px;
}

.hero-subtitle {
    font-weight: 300;
    line-height: 1.6;
    color: var(--mud-palette-text-secondary);
}

/* --- Botón con Efecto Glow --- */
.btn-glow {
    box-shadow: 0 4px 15px rgba(var(--mud-palette-secondary-rgb), 0.3);
    transition: all 0.3s ease;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.5px;
}

    .btn-glow:hover {
        box-shadow: 0 8px 25px rgba(var(--mud-palette-secondary-rgb), 0.5);
        transform: translateY(-2px);
    }

/* --- Tarjetas (Pasos y Precios) --- */
.step-card {
    transition: all 0.3s ease-in-out;
    cursor: default;
    border-radius: 16px !important;
}

    .step-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.15) !important;
    }

/* --- Animaciones de Entrada (Fade In Up) --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan-animate {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.5s;
}



/* --- Animación de pulso para el Plan Destacado --- */
@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--mud-palette-secondary-rgb), 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(var(--mud-palette-secondary-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--mud-palette-secondary-rgb), 0);
    }
}

.plan-featured {
    animation: pulse-border 2s infinite;
}

    /* Detener pulso al hacer hover para facilitar lectura */
    .plan-featured:hover {
        animation: none;
    }



/* --- Página de Registro y Login (Versión Compacta) --- */
.registration-page {
    background: radial-gradient(circle at top right, rgba(var(--mud-palette-primary-rgb), 0.05), transparent), radial-gradient(circle at bottom left, rgba(var(--mud-palette-secondary-rgb), 0.05), transparent);
    background-color: #fcfcfd;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tarjeta principal más esbelta */
.glass-card-compact {
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.98) !important; /* Más sólido para mejor legibilidad */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05) !important;
    width: 100%;
    max-width: 380px; /* Reducido de 400px a 380px */
    overflow: hidden;
}

/* Barra superior más fina */
.top-gradient-bar {
    height: 5px;
    background: linear-gradient(90deg, var(--mud-palette-primary), var(--mud-palette-secondary));
}

/* Contenedor de icono minimalista */
.icon-container-small {
    background: rgba(var(--mud-palette-primary-rgb), 0.08);
    border-radius: 10px;
    display: inline-flex;
    padding: 8px; /* Menos aire */
}

/* Texto secundario más discreto */
.text-muted-custom {
    color: #64748b;
    font-size: 0.85rem; /* Más pequeño para ahorrar espacio vertical */
    line-height: 1.2;
}

/* Campos de formulario más integrados */
.form-field-wrapper {
    background: #ffffff;
    border-radius: 10px;
}



/* Contenedor del Carrusel */
.logo-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-slider {
    display: flex;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
    display: flex;
    width: calc(250px * 10); /* Ajustar según el ancho del logo y cantidad */
    animation: scroll 40s linear infinite; /* 40s para que sea lento y elegante */
}

.logo-item {
    width: 180px; /* Tamaño del logo */
    height: 60px;
    object-fit: contain;
    margin: 0 40px;
    filter: grayscale(100%); /* Efecto monocromo */
    opacity: 0.5;
    transition: all 0.3s ease;
}

    .logo-item:hover {
        filter: grayscale(0%); /* Recupera color al pasar el mouse */
        opacity: 1;
    }

/* Animación Infinita */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 5));
    }
    /* La mitad de los logos totales */
}


/* --- Identidad Morada (Solo Hero y Botón principal) --- */
:root {
    --xml-purple: #673AB7;
    --xml-purple-light: #9575CD;
    --xml-purple-glow: rgba(103, 58, 183, 0.2);
}

.hero-purple-gradient {
    background: linear-gradient(90deg, var(--xml-purple), var(--xml-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-purple-glow {
    background-color: var(--xml-purple) !important;
    box-shadow: 0 4px 15px var(--xml-purple-glow) !important;
    color: white !important;
}

    .btn-purple-glow:hover {
        box-shadow: 0 8px 25px rgba(103, 58, 183, 0.4) !important;
        transform: translateY(-2px);
    }

/* --- Estilos de Tarjetas Originales --- */
.step-card {
    transition: all 0.3s ease-in-out;
    border-radius: 16px !important;
}

    .step-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.15) !important;
    }

/* Pulso Plan Destacado */
@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--mud-palette-secondary-rgb), 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(var(--mud-palette-secondary-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--mud-palette-secondary-rgb), 0);
    }
}

.plan-featured {
    animation: pulse-border 2s infinite;
}

    .plan-featured:hover {
        animation: none;
    }



/* Pulso Morado para el Plan Destacado */
@keyframes pulse-purple {
    0% {
        box-shadow: 0 0 0 0 rgba(103, 58, 183, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(103, 58, 183, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(103, 58, 183, 0);
    }
}

.plan-featured-purple {
    border: 2px solid var(--xml-purple) !important;
    animation: pulse-purple 2s infinite;
}

    .plan-featured-purple:hover {
        animation: none;
    }


