/**
 * Front Page CSS - Hero Moderno 2 Columnas + Producto Destacado
 * @package SaicoWC
 * @version 2.0.0
 */

/* ============================================================================
   HERO - DISEÑO 2 COLUMNAS
   ============================================================================ */
.hero-inicio {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #fef3f2 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-inicio::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-contenedor {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--saico-spacing-2xl);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--saico-spacing-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.3fr 0.7fr;
        gap: 48px;
    }
}

/* ============================================================================
   COLUMNA IZQUIERDA - CONTENIDO
   ============================================================================ */
.hero-contenido {
    position: relative;
    z-index: 2;
}

/* Badge */
.hero-etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--saico-primario);
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.1);
    animation: fadeInDown 0.6s ease-out;
}

.hero-etiqueta svg {
    animation: pulse 2s infinite;
}

/* Título */
.hero-h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--saico-texto-primario);
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    animation: saicoFadeInUp 0.8s ease-out 0.2s both;
}

.hero-acento {
    display: inline;
    background: linear-gradient(135deg, var(--saico-primario) 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-acento::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--saico-primario), transparent);
    border-radius: 2px;
}

/* Descripción */
.hero-descripcion {
    font-size: 18px;
    line-height: 1.7;
    color: var(--saico-texto-secundario);
    margin: 0 0 32px;
    max-width: 540px;
    animation: saicoFadeInUp 0.8s ease-out 0.4s both;
}

/* Botones CTA - REDISEÑO DESLUMBRANTE */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 48px;
    animation: saicoFadeInUp 0.8s ease-out 0.6s both;
    position: relative;
}

.cta-principal,
.cta-secundario {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-principal {
    background: linear-gradient(135deg, var(--saico-primario), #059669, #047857);
    background-size: 200% 200%;
    color: white;
    box-shadow:
        0 12px 32px rgba(16, 185, 129, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    animation: gradientShift 3s ease-in-out infinite;
}

.cta-principal:hover {
    transform: translateY(-4px) scale(1.02);
    background: white;
    color: var(--saico-primario);
    border: 2px solid var(--saico-primario);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.cta-principal:hover .cta-shimmer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
}

.cta-principal svg {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.cta-principal:hover svg {
    transform: translateX(6px) scale(1.1);
}

.cta-secundario {
    background: rgba(255, 255, 255, 0.95);
    color: var(--saico-texto-primario);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.cta-secundario:hover {
    background: white;
    border-color: var(--saico-primario);
    color: var(--saico-primario);
    transform: translateY(-3px) scale(1.01);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 1),
        0 0 20px rgba(16, 185, 129, 0.2);
}

.cta-secundario svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.cta-secundario:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
}

/* Animación de gradiente pulsante */
@keyframes gradientShift {
    0%, 100% {
        background-position: left center;
    }
    50% {
        background-position: right center;
    }
}

/* ============================================================================
    ESTADÍSTICAS REDISEÑADAS - MÁS DESTACADAS Y DESLUMBRANTES
    ============================================================================ */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    animation: saicoFadeInUp 0.8s ease-out 0.8s both;
    margin-top: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--saico-primario), #059669, #047857);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.stat-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(16, 185, 129, 0.03),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 1),
        0 0 40px rgba(16, 185, 129, 0.15);
}

.stat-item:hover::before {
    opacity: 1;
    width: 8px;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

.stat-item:hover::after {
    opacity: 1;
    animation: shimmerMove 2s ease-in-out infinite;
}

.stat-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--saico-primario-light), rgba(16, 185, 129, 0.2));
    border-radius: 16px;
    position: relative;
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--saico-primario), #059669);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    color: var(--saico-primario);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.2));
}

.stat-item:hover .stat-icon svg {
    color: white;
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.stat-numero {
    font-size: 32px;
    font-weight: 900;
    color: var(--saico-texto-primario);
    line-height: 1;
    background: linear-gradient(135deg, var(--saico-primario), #059669, #047857);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--saico-texto-terciario);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--saico-primario);
    opacity: 1;
    letter-spacing: 1.5px;
}

@keyframes shimmerMove {
    0%, 100% {
        transform: rotate(45deg) translateX(-100%);
    }
    50% {
        transform: rotate(45deg) translateX(100%);
    }
}

/* ============================================================================
    COLUMNA DERECHA - PRODUCTO DESTACADO PREMIUM (DISEÑO ULTRA DESLUMBRANTE)
    ============================================================================ */
.hero-featured-premium {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Diseño horizontal para escritorio */
@media (min-width: 1024px) {
    .hero-featured-premium {
        max-width: 100%;
    }

    .featured-horizontal {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 0;
        border-radius: 32px;
        overflow: hidden;
    }

    .featured-image-horizontal {
        flex: 0 0 45%;
        aspect-ratio: 4/3;
        border-radius: 0;
        position: relative;
    }

    .featured-image-horizontal .image-wrapper img {
        border-radius: 0;
    }

    .featured-info-horizontal {
        flex: 1;
        padding: 32px 36px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .featured-info-horizontal .featured-author {
        margin-bottom: 20px;
    }

    .featured-info-horizontal .featured-title-premium {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 24px;
        min-height: auto;
    }

    .featured-info-horizontal .featured-cta-section {
        margin-top: auto;
        padding-top: 20px;
    }
}

/* Ocultar en móviles */
@media (max-width: 1023px) {
    .hero-featured-premium {
        display: none;
    }
}

/* Partículas flotantes animadas */
.featured-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--saico-primario);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    top: 40%;
    right: 25%;
    animation-delay: 1s;
    animation-duration: 9s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(10px, -20px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-10px, -40px) scale(0.8);
        opacity: 0.2;
    }
    75% {
        transform: translate(15px, -20px) scale(1.1);
        opacity: 0.4;
    }
}

/* Wrapper 3D con perspectiva ULTRA DESLUMBRANTE */
.featured-3d-wrapper {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    z-index: 1;
}

.hero-featured-premium:hover .featured-3d-wrapper {
    transform: translateY(-16px) rotateX(3deg) rotateY(1deg);
    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 1),
        0 0 60px rgba(16, 185, 129, 0.2);
}

/* Imagen premium con efectos */
.featured-image-premium {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-featured-premium:hover .image-wrapper img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-featured-premium:hover .image-overlay {
    opacity: 1;
}

.image-placeholder-premium {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder-premium svg {
    width: 100px;
    height: 100px;
    color: rgba(255, 255, 255, 0.5);
}

/* Gradientes vibrantes para showcase */
.gradient-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.gradient-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.gradient-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.gradient-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.gradient-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.gradient-6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }
.gradient-7 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.gradient-8 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }

/* Gradiente llamativo para la card del producto */
.featured-gradient-premium {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        #667eea 0%,
        #764ba2 25%,
        #f093fb 50%,
        #f5576c 75%,
        #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientFlow 8s ease-in-out infinite;
    border-radius: 28px;
    overflow: hidden;
}

.gradient-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: orbFloat 6s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.gradient-orb-3 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 25%;
    animation-delay: 4s;
}

.gradient-sparkle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: sparklePulse 3s ease-in-out infinite;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.1) 100%);
    border-radius: 28px;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translate(20px, -15px) scale(1.1);
        opacity: 0.8;
    }
    66% {
        transform: translate(-15px, 10px) scale(0.9);
        opacity: 0.4;
    }
}

@keyframes sparklePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* Badges flotantes con glassmorphism */
.featured-floating-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 5;
}

.badge-rating,
.badge-category,
.badge-free {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeInBounce 0.6s ease-out;
    transition: all 0.3s ease;
}

.badge-rating:hover,
.badge-category:hover,
.badge-free:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.badge-rating svg {
    color: #fbbf24;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.4));
}

.badge-free {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(5, 150, 105, 0.9));
    border-color: rgba(255, 255, 255, 0.4);
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateY(5px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* Botón play premium con ripple effect ULTRA DESLUMBRANTE */
.play-btn-premium {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 3px rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    z-index: 10;
    opacity: 0;
    animation: pulseGlow 2s ease-in-out infinite;
}

.hero-featured-premium:hover .play-btn-premium {
    opacity: 1;
    animation: none;
}

.play-btn-premium:hover {
    transform: translate(-50%, -50%) scale(1.2);
    background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.95));
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 1),
        0 0 0 1px rgba(16, 185, 129, 0.2),
        0 0 40px rgba(16, 185, 129, 0.3);
}

.play-btn-premium:active {
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow:
            0 12px 40px rgba(0, 0, 0, 0.3),
            inset 0 1px 3px rgba(255, 255, 255, 0.9),
            0 0 0 1px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow:
            0 12px 40px rgba(0, 0, 0, 0.3),
            inset 0 1px 3px rgba(255, 255, 255, 0.9),
            0 0 0 1px rgba(255, 255, 255, 0.2),
            0 0 20px rgba(16, 185, 129, 0.2);
    }
}

.play-btn-premium svg {
    color: var(--saico-primario);
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
}

.play-btn-premium.playing .icon-play {
    display: none;
}

.play-btn-premium.playing .icon-pause {
    display: block !important;
}

/* Ripple effect */
.play-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: ripple 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.ripple-2 {
    animation-delay: 1s;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* Barra de progreso del audio */
.audio-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-btn-premium.playing ~ .audio-progress-bar {
    opacity: 1;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--saico-primario), #059669);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

/* Info premium con glassmorphism */
.featured-info-premium {
    padding: 24px;
    background: linear-gradient(180deg, white 0%, #f9fafb 100%);
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--saico-borde-claro);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--saico-primario);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--saico-texto-primario);
    line-height: 1.2;
    margin-bottom: 2px;
}

.author-role {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--saico-texto-terciario);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-rating {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
}

.mobile-rating svg {
    color: #fbbf24;
}

@media (max-width: 768px) {
    .mobile-rating {
        display: flex;
    }
}

/* Título premium */
.featured-title-premium {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 20px;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-title-premium a {
    color: var(--saico-texto-primario);
    text-decoration: none;
    background: linear-gradient(135deg, var(--saico-primario), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.featured-title-premium a:hover {
    opacity: 0.8;
}

/* Sección de precio y CTA */
.featured-cta-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #d1fae5;
    border-radius: 12px;
}

.price-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--saico-texto-terciario);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--saico-primario), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Botón premium con shimmer effect ULTRA DESLUMBRANTE */
.btn-featured-premium {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--saico-primario), #059669, #047857);
    background-size: 200% 200%;
    color: white;
    border-radius: 16px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 12px 32px rgba(16, 185, 129, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: gradientShift 3s ease-in-out infinite;
}

.btn-featured-premium:hover {
    transform: translateY(-4px) scale(1.03);
    background: white;
    color: var(--saico-primario);
    border: 2px solid var(--saico-primario);
    background-position: right center;
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.1),
        inset 0 1px 3px rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(16, 185, 129, 0.2);
}

.btn-featured-premium:active {
    transform: translateY(-2px) scale(1.01);
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Shimmer effect para botones */
.btn-shimmer,
.cta-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Glow effect de fondo */
.featured-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle,
        rgba(16, 185, 129, 0.15) 0%,
        transparent 70%
    );
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    pointer-events: none;
}

.hero-featured-premium:hover .featured-glow {
    opacity: 1;
}

/* ============================================================================
   ANIMACIONES
   ============================================================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación saicoFadeInUp ahora en modals.css */

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* ============================================================================
    TOP 3 PRODUCTOS DESTACADOS EN HERO - DISEÑO UX/UI OPTIMIZADO
    ============================================================================ */
.hero-featured-list {
    max-width: 380px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--saico-radius-xl);
    padding: var(--saico-spacing-lg);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.7);
    position: relative;
}

.hero-featured-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--saico-primario) 0%,
        var(--saico-secundario) 50%,
        var(--saico-acento) 100%);
    border-radius: var(--saico-radius-xl) var(--saico-radius-xl) 0 0;
}

.hero-featured-header {
    display: flex;
    align-items: center;
    gap: var(--saico-spacing-sm);
    margin-bottom: var(--saico-spacing-md);
    padding-bottom: var(--saico-spacing-md);
    border-bottom: 2px solid var(--saico-borde-claro);
}

.hero-featured-header svg {
    color: var(--saico-secundario);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero-featured-header h3 {
    font-size: var(--saico-font-base);
    font-weight: var(--saico-font-weight-bold);
    color: var(--saico-texto-primario);
    margin: 0;
    letter-spacing: -0.01em;
}

.hero-featured-items {
    display: flex;
    flex-direction: column;
    gap: var(--saico-spacing-sm);
}

.hero-featured-item {
    background: var(--saico-bg-primario);
    border-radius: var(--saico-radius-lg);
    padding: var(--saico-spacing-sm);
    display: flex;
    gap: var(--saico-spacing-sm);
    align-items: center;
    border: 1.5px solid var(--saico-borde-claro);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.hero-featured-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--saico-primario), var(--saico-acento));
    border-radius: var(--saico-radius-lg) 0 0 var(--saico-radius-lg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hero-featured-item:hover {
    border-color: var(--saico-primario);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.06),
        0 0 0 1px var(--saico-primario);
    transform: translateX(3px);
}

.hero-featured-item:hover::before {
    opacity: 1;
}

/* Rankings con jerarquía visual mejorada */
.hero-item-rank {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--saico-primario), var(--saico-secundario));
    border-radius: var(--saico-radius-full);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    position: relative;
}

.hero-item-rank::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: var(--saico-radius-full);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
}

.hero-item-rank span {
    font-size: var(--saico-font-sm);
    font-weight: var(--saico-font-weight-bold);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.hero-featured-item[data-position="1"] .hero-item-rank {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.hero-featured-item[data-position="2"] .hero-item-rank {
    background: linear-gradient(135deg, #E8E8E8 0%, #B8B8B8 100%);
}

.hero-featured-item[data-position="3"] .hero-item-rank {
    background: linear-gradient(135deg, #CD7F32 0%, #A0522D 100%);
}

/* Imagen con gradientes y botón de audio */
.hero-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--saico-radius-lg);
    overflow: hidden;
    background: var(--saico-bg-secundario);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
}

.hero-item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-featured-item:hover .hero-item-image img {
    transform: scale(1.08);
}

/* Gradientes cuando no hay imagen */
.hero-item-image.gradient-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.hero-item-image.gradient-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.hero-item-image.gradient-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.hero-item-image.gradient-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.hero-item-image.gradient-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.hero-item-image.gradient-6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }
.hero-item-image.gradient-7 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.hero-item-image.gradient-8 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }

/* Botón de audio funcional */
.hero-audio-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: var(--saico-radius-full);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-audio-play-btn svg {
    width: 14px;
    height: 14px;
    color: var(--saico-primario);
    margin-left: 2px;
    transition: all 0.2s ease;
}

.hero-audio-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.25),
        0 0 0 3px var(--saico-primario);
}

.hero-audio-play-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Estado reproduciendo */
.hero-audio-play-btn.playing {
    background: var(--saico-primario);
    animation: pulse-hero-audio 1.5s ease-in-out infinite;
}

.hero-audio-play-btn.playing svg {
    color: white;
}

@keyframes pulse-hero-audio {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 0 var(--saico-primario);
    }
    50% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 6px rgba(var(--saico-primario-rgb), 0.3);
    }
}

/* Contenido optimizado */
.hero-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-item-title {
    margin: 0;
    font-size: var(--saico-font-sm);
    font-weight: var(--saico-font-weight-semibold);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.hero-item-title a {
    color: var(--saico-texto-primario);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-item-title a:hover {
    color: var(--saico-primario);
}

.hero-item-meta {
    display: flex;
    gap: var(--saico-spacing-md);
    align-items: center;
}

.hero-item-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--saico-font-xs);
    color: var(--saico-texto-secundario);
    font-weight: var(--saico-font-weight-medium);
}

.hero-item-stat svg {
    width: 13px;
    height: 13px;
    color: var(--saico-primario);
    flex-shrink: 0;
    opacity: 0.8;
}

.hero-item-price {
    font-size: var(--saico-font-sm);
    font-weight: var(--saico-font-weight-bold);
    color: var(--saico-primario);
    margin-top: 2px;
}

.hero-item-price del {
    font-size: var(--saico-font-xs);
    color: var(--saico-texto-terciario);
    font-weight: var(--saico-font-weight-normal);
    margin-right: 4px;
}

.hero-item-price .woocommerce-Price-amount {
    font-size: var(--saico-font-sm);
}

/* ============================================================================
    RESPONSIVE
    ============================================================================ */
@media (max-width: 1023px) {
    .hero-inicio {
        padding: 100px 0 60px;
    }

    .hero-grid {
        gap: 48px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Ocultar lista de productos destacados en tablet */
    .hero-featured-list {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-inicio {
        padding: 80px 0 40px;
    }

    .hero-contenedor {
        padding: 0 var(--saico-spacing-xl);
    }

    .hero-h1 {
        font-size: 40px;
    }

    .hero-descripcion {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-ctas {
        flex-direction: row;
        margin-bottom: 32px;
        gap: 12px;
    }

    .cta-principal,
    .cta-secundario {
        flex: 1;
        justify-content: center;
        padding: 16px 24px;
        font-size: 15px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 16px;
    }

    /* Ocultar lista de productos destacados en móvil */
    .hero-featured-list {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-h1 {
        font-size: 32px;
    }

    .hero-descripcion {
        font-size: 15px;
    }

    .stat-numero {
        font-size: 24px;
    }

    .featured-info {
        padding: 20px;
    }
}

/* ============================================================================
   CATEGORÍAS - DISEÑO COMPACTO Y MODERNO PARA DESCARGAS DIGITALES
   ============================================================================ */
.categorias-inicio {
    padding: var(--saico-spacing-4xl) 0;
    background: linear-gradient(180deg, var(--saico-bg-primario) 0%, var(--saico-bg-secundario) 100%);
}

.categorias-header {
    text-align: center;
    margin-bottom: var(--saico-spacing-3xl);
}

.categorias-inicio h2 {
    font-size: var(--saico-font-3xl);
    font-weight: var(--saico-font-weight-black);
    color: var(--saico-texto-primario);
    margin: 0 0 var(--saico-spacing-sm) 0;
    letter-spacing: -0.02em;
}

.categorias-subtitle {
    font-size: var(--saico-font-base);
    color: var(--saico-texto-secundario);
    font-weight: var(--saico-font-weight-medium);
    margin: 0;
}

.contenedor-ancho {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--saico-spacing-2xl);
}

.cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--saico-spacing-lg);
}

/* Card de categoría - diseño deslumbrante glassmorphism */
.cat-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--saico-spacing-md);
    padding: var(--saico-spacing-md) var(--saico-spacing-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--saico-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(var(--saico-primario-rgb), 0.05) 0%,
        rgba(var(--saico-acento-rgb), 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    opacity: 0;
    transition: all 0.6s ease;
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.8);
}

.cat-card:hover::before {
    opacity: 1;
}

.cat-card:hover::after {
    opacity: 1;
    animation: shimmer-cat 1.5s ease-in-out;
}

@keyframes shimmer-cat {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Wrapper del icono con gradiente deslumbrante */
.cat-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.cat-icon-bg {
    width: 56px;
    height: 56px;
    border-radius: var(--saico-radius-lg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.cat-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cat-card:hover .cat-icon-bg {
    transform: scale(1.15) rotate(-5deg);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.cat-card:hover .cat-icon {
    transform: translate(-50%, -50%) scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Gradientes vibrantes y deslumbrantes para iconos */
.cat-icon-bg.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.cat-icon-bg.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.cat-icon-bg.gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.cat-icon-bg.gradient-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.cat-icon-bg.gradient-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.cat-icon-bg.gradient-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}
.cat-icon-bg.gradient-7 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}
.cat-icon-bg.gradient-8 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

/* Contenido de la categoría */
.cat-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cat-title {
    font-size: var(--saico-font-lg);
    font-weight: var(--saico-font-weight-bold);
    color: var(--saico-texto-primario);
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.cat-card:hover .cat-title {
    color: var(--saico-primario);
}

.cat-count {
    font-size: var(--saico-font-sm);
    color: var(--saico-texto-terciario);
    font-weight: var(--saico-font-weight-medium);
}

/* Flecha indicadora */
.cat-arrow {
    flex-shrink: 0;
    color: var(--saico-texto-terciario);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.cat-card:hover .cat-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--saico-primario);
}

/* ============================================================================
   PRODUCTOS
   ============================================================================ */
.productos-inicio {
    padding: 80px 0 100px;
    background: var(--saico-bg-secundario);
}

.productos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 24px;
}

.productos-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--saico-texto-primario);
    margin: 0;
}

.filtros {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filtro {
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--saico-borde-claro);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--saico-texto-secundario);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filtro:hover {
    border-color: var(--saico-primario);
    color: var(--saico-primario);
}

.filtro.activo {
    background: var(--saico-primario);
    border-color: var(--saico-primario);
    color: white;
}

.cargar-mas {
    margin-top: 48px;
    text-align: center;
}

.btn-cargar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: white;
    border: 2px solid var(--saico-borde-medio);
    border-radius: var(--saico-radius-lg);
    font-size: 16px;
    font-weight: 600;
    color: var(--saico-texto-primario);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cargar:hover {
    background: var(--saico-primario);
    border-color: var(--saico-primario);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.btn-cargar svg {
    transition: transform 0.3s ease;
}

.btn-cargar:hover svg {
    transform: translateY(4px);
}

/* ============================================================================
   RESPONSIVE - CATEGORÍAS Y PRODUCTOS
   ============================================================================ */
@media (max-width: 768px) {
    .categorias-inicio,
    .productos-inicio {
        padding: var(--saico-spacing-3xl) 0;
    }

    .categorias-inicio h2,
    .productos-header h2 {
        font-size: var(--saico-font-2xl);
    }

    .categorias-subtitle {
        font-size: var(--saico-font-sm);
    }

    .cats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--saico-spacing-md);
    }

    .cat-card {
        padding: var(--saico-spacing-md);
    }

    .cat-icon-bg {
        width: 48px;
        height: 48px;
    }

    .cat-icon {
        width: 20px;
        height: 20px;
    }

    .cat-title {
        font-size: var(--saico-font-base);
    }

    .cat-count {
        font-size: var(--saico-font-xs);
    }

    .productos-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filtros {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    /* Hero CTAs optimizado para móvil pequeño */
    .hero-ctas {
        gap: 10px;
    }

    .cta-principal,
    .cta-secundario {
        padding: 14px 20px;
        font-size: 14px;
        gap: 8px;
    }

    .cta-principal svg,
    .cta-secundario svg {
        width: 16px;
        height: 16px;
    }

    /* Categorías mantienen 2 columnas en móvil pequeño */
    .cats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--saico-spacing-sm);
    }

    .cat-card {
        padding: var(--saico-spacing-sm) var(--saico-spacing-md);
        gap: var(--saico-spacing-sm);
    }

    .cat-icon-bg {
        width: 42px;
        height: 42px;
    }

    .cat-icon {
        width: 18px;
        height: 18px;
    }

    .cat-title {
        font-size: var(--saico-font-sm);
    }

    .cat-count {
        font-size: 11px;
    }

    .filtro {
        flex: 1;
        text-align: center;
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    /* Hero CTAs extra compacto para móviles muy pequeños */
    .hero-ctas {
        gap: 8px;
    }

    .cta-principal,
    .cta-secundario {
        padding: 12px 16px;
        font-size: 13px;
        gap: 6px;
    }

    /* Categorías con layout ajustado */
    .cats-grid {
        gap: 8px;
    }

    .cat-card {
        padding: 10px 12px;
        gap: 10px;
    }

    .cat-icon-bg {
        width: 38px;
        height: 38px;
    }

    .cat-icon {
        width: 16px;
        height: 16px;
    }

    .cat-title {
        font-size: 13px;
        line-height: 1.2;
    }

    .cat-count {
        font-size: 10px;
    }
}

/* ============================================================================
   CTA (CALL TO ACTION) - DISE\u00d1O DESLUMBRANTE
   ============================================================================ */
.cta-section {
    padding: var(--saico-spacing-5xl) 0;
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.03) 0%,
        rgba(5, 150, 105, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.cta-container {
    position: relative;
    background: linear-gradient(135deg,
        #10b981 0%,
        #059669 50%,
        #047857 100%);
    border-radius: var(--saico-radius-3xl);
    padding: var(--saico-spacing-4xl);
    text-align: center;
    box-shadow:
        0 24px 60px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: cta-shimmer 3s ease-in-out infinite;
}

@keyframes cta-shimmer {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: var(--saico-font-4xl);
    font-weight: var(--saico-font-weight-black);
    color: white;
    margin: 0 0 var(--saico-spacing-md) 0;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-description {
    font-size: var(--saico-font-lg);
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto var(--saico-spacing-2xl) auto;
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--saico-spacing-sm);
    padding: var(--saico-spacing-lg) var(--saico-spacing-3xl);
    background: white;
    color: #10b981;
    border-radius: var(--saico-radius-full);
    text-decoration: none;
    font-size: var(--saico-font-lg);
    font-weight: var(--saico-font-weight-bold);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.1) 0%,
        rgba(5, 150, 105, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Decoraci\u00f3n de c\u00edrculos animados */
.cta-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: cta-float 8s ease-in-out infinite;
}

.cta-circle-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.cta-circle-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    right: 10%;
    animation-delay: 2s;
}

.cta-circle-3 {
    width: 120px;
    height: 120px;
    top: 50%;
    right: -60px;
    animation-delay: 4s;
}

@keyframes cta-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
        opacity: 0.5;
    }
}

/* Responsive CTA */
@media (max-width: 768px) {
    .cta-section {
        padding: var(--saico-spacing-4xl) 0;
    }

    .cta-container {
        padding: var(--saico-spacing-3xl) var(--saico-spacing-xl);
        border-radius: var(--saico-radius-2xl);
    }

    .cta-title {
        font-size: var(--saico-font-2xl);
    }

    .cta-description {
        font-size: var(--saico-font-base);
        margin-bottom: var(--saico-spacing-xl);
    }

    .cta-button {
        padding: var(--saico-spacing-md) var(--saico-spacing-2xl);
        font-size: var(--saico-font-base);
        width: 100%;
        justify-content: center;
    }

    .cta-circle-1,
    .cta-circle-2,
    .cta-circle-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: var(--saico-spacing-3xl) 0;
    }

    .cta-container {
        padding: var(--saico-spacing-2xl) var(--saico-spacing-lg);
        border-radius: var(--saico-radius-xl);
    }

    .cta-title {
        font-size: var(--saico-font-xl);
    }

    .cta-description {
        font-size: var(--saico-font-sm);
        margin-bottom: var(--saico-spacing-lg);
    }

    .cta-button {
        padding: var(--saico-spacing-sm) var(--saico-spacing-xl);
        font-size: var(--saico-font-sm);
    }
}
