@import "style.css";

:root {
    --primary-color: #7b2cbf;
    --primary-dark: #5a108f;
    --primary-light: #e0aaff;
    --accent-color: rgb(242, 0, 255);
    --text-light: #f5f5f5;
    --text-dark: #333;
    --error-color: #ff3e3e;
    --success-color: #28a745;
    --bg-dark: #1a1a1a;
    --bg-darker: #121212;
}

button {
    padding: 14px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
}

/* Modificación para el botón - eliminando la transición de hover */
button:hover {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.4);
}

button:hover::before {
    left: 100%;
}


/* Estilos para la sección hero */
.hero-section {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0514 0%, #1a0933 50%, #240046 100%);
    position: relative;
    overflow: hidden;
    padding: 0 5%;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(104, 67, 178, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(242, 0, 255, 0.1) 0%, transparent 20%);
    z-index: 1;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    z-index: 2;
    max-width: 650px;
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para el título y descripción */
.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(90deg, #6843b2, rgb(242, 0, 255));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Estilos para las características */
.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.feature i {
    color: #6843b2;
    font-size: 1.2rem;
}

/* Estilos para el botón CTA */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(90deg, #6843b2, #5A108F);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(90, 16, 143, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: fit-content;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #5A108F, rgb(242, 0, 255));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(90, 16, 143, 0.4);
    color: white;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Estilos para las tarjetas flotantes */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: rgb(242, 0, 255);
}

.floating-card span {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

/* Estilos responsivos */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    /* Estilos responsive para la página de inicio */
    @media (max-width: 1024px) {
        .hero-section {
            flex-direction: column;
            padding: 0 3%;
        }
        
        .hero-content {
            max-width: 100%;
            padding: 3rem 1rem;
            align-items: center;
            text-align: center;
        }
        
        .hero-features {
            justify-content: center;
        }
        
        .hero-image {
            height: 400px;
            margin-top: 2rem;
        }
        
        .floating-card {
            position: relative;
            margin: 1rem;
            animation: none;
            transform: none !important;
        }
        
        .card-1, .card-2, .card-3 {
            top: auto;
            left: auto;
            right: auto;
            bottom: auto;
        }
        
        .image-container {
            flex-direction: column;
        }
    }
    
    @media (max-width: 768px) {
        .hero-content h1 {
            font-size: 2.5rem;
        }
        
        .hero-description {
            font-size: 1rem;
        }
        
        .cta-button {
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
            width: 80%;
            justify-content: center;
        }
        
        .hero-features {
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }
    }
    
    @media (max-width: 480px) {
        .hero-content h1 {
            font-size: 2rem;
        }
        
        .hero-image {
            height: 300px;
        }
        
        .floating-card {
            padding: 0.75rem 1rem;
            margin: 0.5rem;
        }
        
        .floating-card i {
            font-size: 1.2rem;
        }
        
        .floating-card span {
            font-size: 0.8rem;
        }
        
        .hero-content {
            padding: 2rem 0.5rem;
        }
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 80%;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .floating-card {
        padding: 0.75rem 1rem;
        margin: 0.5rem;
    }
    
    .floating-card i {
        font-size: 1.2rem;
    }
    
    .floating-card span {
        font-size: 0.8rem;
    }
    
    .hero-content {
        padding: 2rem 0.5rem;
    }
}
/* Estilos para el contenedor principal */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.content {
    width: 100%;
}