section#hero {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.55) 100%),
        url('https://images.unsplash.com/photo-1558478551-be297c7bb253?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center/cover;
    background-attachment: fixed;
    color: var(--color-white);
    padding: 120px var(--spacing-lg) 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

section#hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

section#hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    color: #f7f8ff;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(24, 0, 173, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(24, 0, 173, 0.2);
    animation: fadeIn 1.2s ease-out;
    color: var(--color-primary);
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: var(--spacing-xl);
    color: #fefeff;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-welcome {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0;
    opacity: 0.95;
    animation: slideInLeft 0.8s ease-out 0.3s both;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-brand {
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: -3px;
    animation: slideInRight 0.8s ease-out 0.5s both;
    position: relative;
    color: #fefeff;
    text-shadow: 0 18px 46px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.brand-blue {
    color: var(--color-primary);
}

.brand-green {
    color: var(--color-accent);
}

.hero-brand::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.8s both;
}

.hero-content h1 .highlight {
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xl);
    color: rgba(245, 247, 255, 0.94);
    font-weight: 400;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.7s both;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
    animation: fadeIn 1.2s ease-out 0.9s both;
}

.hero-buttons .btn {
    padding: 16px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: none;
}

.btn-light,
.btn-outline {
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-primary);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
    font-weight: 800;
}

.btn-light:hover,
.btn-outline:hover {
    transform: translateY(-3px) scale(1.01);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), 0 0 30px rgba(24, 0, 173, 0.18);
}

.hero-image {
    margin-top: var(--spacing-xl);
    animation: slideIn 0.8s ease-out 0.2s both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 0.9;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60%;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@media (max-width: 768px) {
    section#hero {
        padding: 80px var(--spacing-lg);
        min-height: 80vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-welcome {
        font-size: 1.2rem;
    }

    .hero-brand {
        font-size: 3rem !important;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}
