/* ============================================
   ESTILOS DEL HERO PREMIUM
   ============================================ */

.hero-premium {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 100px 0 150px;
}

/* Partículas animadas */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float-particle 20s infinite;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 70%;
    top: 60%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 30%;
    top: 80%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 40px;
    height: 40px;
    left: 80%;
    top: 30%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    left: 50%;
    top: 10%;
    animation-delay: 8s;
}

.particle:nth-child(6) {
    width: 90px;
    height: 90px;
    left: 20%;
    top: 50%;
    animation-delay: 10s;
}

.particle:nth-child(7) {
    width: 50px;
    height: 50px;
    left: 90%;
    top: 70%;
    animation-delay: 12s;
}

.particle:nth-child(8) {
    width: 110px;
    height: 110px;
    left: 40%;
    top: 40%;
    animation-delay: 14s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
}

/* Formas geométricas */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: rotate-shape 30s linear infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    animation-delay: 10s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    border-radius: 30%;
    top: 50%;
    left: 50%;
    animation-delay: 20s;
}

@keyframes rotate-shape {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Contenido del hero */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    color: white;
}

/* Badge de tendencia */
.trending-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }
}

/* Título */
.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

/* Subtítulo */
.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 500px;
}

/* Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.feature-item i {
    font-size: 1.2rem;
    color: #ffd700;
}

/* Botones */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-primary i {
    transition: transform 0.3s;
}

.btn-hero-primary:hover i {
    transform: translateX(5px);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
    background: white;
    color: #667eea;
    border-color: white;
}

/* Social proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.customer-avatars {
    display: flex;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -15px;
    transition: transform 0.3s;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:hover {
    transform: translateY(-5px) scale(1.1);
    z-index: 10;
}

.avatar-more {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -15px;
    font-size: 0.8rem;
    font-weight: 700;
}

.social-proof-text {
    font-size: 0.9rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 5px;
}

.rating i {
    color: #ffd700;
    font-size: 0.9rem;
}

.rating span {
    margin-left: 5px;
    font-weight: 700;
}

.social-proof-text p {
    margin: 0;
    opacity: 0.9;
}

/* Imagen del hero */
.hero-image {
    position: relative;
}

.image-decoration {
    position: relative;
}

.hero-product-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
    animation: float-image 6s ease-in-out infinite;
}

@keyframes float-image {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Badges flotantes */
.floating-badge {
    position: absolute;
    background: white;
    color: #667eea;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    z-index: 3;
    animation: float-badge 4s ease-in-out infinite;
}

.badge-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20%;
    left: -5%;
    animation-delay: 2s;
}

@keyframes float-badge {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.floating-badge i {
    font-size: 1.2rem;
    color: #f5576c;
}

/* Círculo decorativo */
.hero-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(245, 87, 108, 0.3) 0%, rgba(240, 147, 251, 0.3) 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(60px);
    animation: pulse-circle 8s ease-in-out infinite;
}

@keyframes pulse-circle {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* Wave divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.wave-divider svg path {
    fill: #ffffff;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .social-proof {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .floating-badge {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-premium {
        padding: 80px 0 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}
/* ============================================
   ESTILOS DE CATEGORÍAS PREMIUM
   ============================================ */

.categories-premium {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.categories-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    pointer-events: none;
}

/* Header de sección */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title-premium {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Grid de categorías */
.categories-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 10;
}

/* Card de categoría */
.category-card-premium {
    position: relative;
    height: 350px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.category-card-premium:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* Background gradient */
.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-premium:hover .category-bg {
    transform: scale(1.1) rotate(5deg);
}

/* Círculos decorativos */
.category-circles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-1 {
    width: 150px;
    height: 150px;
    top: -50px;
    right: -50px;
}

.circle-2 {
    width: 100px;
    height: 100px;
    bottom: -30px;
    left: -30px;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 10%;
}

.category-card-premium:hover .circle-1 {
    transform: translate(-20px, 20px) scale(1.2);
}

.category-card-premium:hover .circle-2 {
    transform: translate(20px, -20px) scale(1.3);
}

.category-card-premium:hover .circle-3 {
    transform: scale(1.5);
}

/* Contenido */
.category-content-premium {
    position: relative;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    z-index: 2;
}

/* Icono */
.category-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-premium:hover .category-icon-wrapper {
    transform: rotate(15deg) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.category-icon {
    font-size: 2.5rem;
    color: white;
}

/* Nombre */
.category-name-premium {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-premium:hover .category-name-premium {
    transform: translateX(5px);
}

/* Descripción */
.category-desc-premium {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Footer */
.category-footer-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.product-count {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.category-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-premium:hover .category-arrow {
    background: white;
    transform: translateX(10px);
}

.category-card-premium:hover .category-arrow i {
    color: #667eea;
}

.category-arrow i {
    color: white;
    transition: color 0.3s;
}

/* Efecto shine */
.category-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%
    );
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    pointer-events: none;
}

.category-card-premium:hover .category-shine {
    left: 100%;
}

/* Responsive */
@media (max-width: 968px) {
    .section-title-premium {
        font-size: 2.5rem;
    }
    
    .categories-grid-premium {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .category-card-premium {
        height: 300px;
    }
    
    .category-content-premium {
        padding: 30px;
    }
    
    .category-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .category-icon {
        font-size: 2rem;
    }
    
    .category-name-premium {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .categories-premium {
        padding: 60px 0;
    }
    
    .section-title-premium {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .categories-grid-premium {
        grid-template-columns: 1fr;
    }
}
