/* Estilos para la Landing Page (index.html) */

.index-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.index-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: center;
    gap: 20px;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;
    gap: 40px;
    background: radial-gradient(circle at top left, rgba(185, 142, 255, 0.1), transparent 50%),
                radial-gradient(circle at bottom right, rgba(255, 142, 212, 0.1), transparent 50%);
    border-radius: var(--radius-lg);
    margin-bottom: 0;
    flex: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--lilac), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--lilac), var(--pink));
    color: #16121f;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(185, 142, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    position: relative;
}

/* === Unicorn Logo Animations === */
.unicorn-logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.unicorn-logo {
    width: 220px;
    height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(206, 162, 235, 0.5))
            drop-shadow(0 0 60px rgba(206, 162, 235, 0.2));
    animation: unicornFloat 5s ease-in-out infinite,
               unicornRotate 8s ease-in-out infinite,
               unicornPulse 4s ease-in-out infinite;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.unicorn-logo:hover {
    animation-play-state: paused;
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(206, 162, 235, 0.8))
            drop-shadow(0 0 80px rgba(255, 142, 212, 0.4));
}

.unicorn-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(206, 162, 235, 0.3) 0%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes unicornFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-15px) translateX(5px);
    }
    50% {
        transform: translateY(-25px);
    }
    75% {
        transform: translateY(-10px) translateX(-5px);
    }
}

@keyframes unicornRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(3deg);
    }
    75% {
        transform: rotate(-3deg);
    }
}

@keyframes unicornPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(206, 162, 235, 0.5))
                drop-shadow(0 0 60px rgba(206, 162, 235, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 142, 212, 0.6))
                drop-shadow(0 0 80px rgba(185, 142, 255, 0.4));
    }
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

.floating-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--surface-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(185, 142, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

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

.features-section {
    padding: 0 0 20px 0;
    flex-shrink: 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(185, 142, 255, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.4;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .index-page {
        height: auto;
        overflow: visible;
    }

    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .floating-avatar {
        width: 180px;
        height: 180px;
    }
    
    .unicorn-logo {
        width: 180px;
        height: 180px;
    }
}
