/* Hero landing — estilo futurista (arco, grid, gradiente animado) */

body.modern-ui .hero-landing {
    position: relative;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 110px 24px 100px;
    overflow: hidden;
    background: #000 !important;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-landing.hero-home::before,
.hero-landing.hero-home::after {
    display: none !important;
}

/* —— Fondo —— */
.hero-landing-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #000;
    will-change: transform;
    transition: transform 0.15s ease-out;
}

.hero-landing-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 85% 70% at 50% 45%, black 15%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 45%, black 15%, transparent 72%);
    animation: gridDrift 24s linear infinite;
}

@keyframes gridDrift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 64px 64px, 64px 64px; }
}

.hero-landing-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 25% 45%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.5px 1.5px at 40% 15%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 55% 35%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 70% 60%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 85% 25%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 15% 70%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1.5px 1.5px at 90% 80%, rgba(255, 255, 255, 0.65), transparent),
        radial-gradient(1px 1px at 50% 55%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1px 1px at 33% 88%, rgba(255, 255, 255, 0.5), transparent);
    animation: starsTwinkle 4s ease-in-out infinite alternate;
}

@keyframes starsTwinkle {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.hero-landing-mist {
    position: absolute;
    bottom: 0;
    width: 45%;
    height: 35%;
    filter: blur(48px);
    opacity: 0.35;
    pointer-events: none;
    animation: mistFloat 12s ease-in-out infinite;
}

.hero-landing-mist--left {
    left: -8%;
    background: radial-gradient(ellipse at 30% 100%, rgba(30, 40, 80, 0.9), transparent 70%);
}

.hero-landing-mist--right {
    right: -8%;
    background: radial-gradient(ellipse at 70% 100%, rgba(40, 30, 70, 0.85), transparent 70%);
    animation-delay: -6s;
}

@keyframes mistFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-12px) scale(1.05); opacity: 0.45; }
}

/* Arco / horizonte luminoso */
.hero-landing-horizon {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: min(160vw, 1600px);
    height: min(80vw, 800px);
    pointer-events: none;
}

.hero-landing-arc {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 200%;
    border-radius: 50%;
    background: radial-gradient(
        ellipse 100% 100% at 50% 100%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.55) 6%,
        rgba(220, 230, 255, 0.2) 14%,
        rgba(120, 140, 200, 0.06) 22%,
        transparent 32%
    );
    animation: arcPulse 7s ease-in-out infinite;
}

.hero-landing-arc-shine {
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    width: 70%;
    height: 4px;
    border-radius: 50%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.9) 20%,
        #fff 50%,
        rgba(255, 255, 255, 0.9) 80%,
        transparent
    );
    box-shadow:
        0 0 40px 8px rgba(255, 255, 255, 0.5),
        0 0 120px 30px rgba(255, 255, 255, 0.15);
    animation: arcShimmer 5s ease-in-out infinite;
}

@keyframes arcPulse {
    0%, 100% { opacity: 0.92; filter: brightness(1); }
    50% { opacity: 1; filter: brightness(1.08); }
}

@keyframes arcShimmer {
    0%, 100% { opacity: 0.85; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.02); }
}

/* —— Contenido —— */
.hero-landing-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
    box-sizing: border-box;
}

.hero-landing-title {
    margin: 0 auto 24px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12em;
    background: none !important;
    -webkit-text-fill-color: unset !important;
    border: none !important;
}

.hero-landing-line {
    display: block;
    width: 100%;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.12);
}

.hero-landing-gradient {
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 800;
    background: linear-gradient(
        105deg,
        #c4b5fd 0%,
        #93c5fd 22%,
        #f0abfc 48%,
        #f8fafc 72%,
        #a5b4fc 100%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 7s linear infinite;
    filter: drop-shadow(0 0 40px rgba(196, 181, 253, 0.25));
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 220% center; }
}

.hero-landing-lead {
    margin: 0 auto 36px;
    max-width: 520px;
    width: 100%;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.75;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 400;
    text-align: center;
}

.hero-landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@media (min-width: 720px) {
    .hero-landing-title {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.28em;
    }

    .hero-landing-line,
    .hero-landing-gradient {
        display: inline;
        width: auto;
    }
}

.hero-landing .btn-hero-primary {
    padding: 14px 32px !important;
    border-radius: 999px !important;
    font-size: 0.92rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #0a0a0f !important;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2) !important;
}

.hero-landing .btn-hero-primary:hover {
    background: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3) !important;
}

.hero-landing .btn.secondary {
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
}

.hero-landing .hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.45);
}

.hero-landing .hero-scroll-hint:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Entrada escalonada */
.hero-landing .hero-landing-reveal {
    opacity: 0;
    transform: translateY(36px);
    animation: heroLandingIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.12s + var(--reveal-d, 0) * 0.1s);
}

@keyframes heroLandingIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-landing-title.hero-landing-reveal .hero-landing-gradient {
    animation: gradientFlow 7s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hero-landing-grid,
    .hero-landing-stars,
    .hero-landing-mist,
    .hero-landing-arc,
    .hero-landing-arc-shine,
    .hero-landing-gradient,
    .hero-landing .hero-scroll-chevron {
        animation: none !important;
    }

    .hero-landing-bg {
        transition: none !important;
    }

    .hero-landing .hero-landing-reveal {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

@media (max-width: 768px) {
    .hero-landing {
        padding: 88px 20px 100px;
        min-height: 100svh;
    }

    .hero-landing-horizon {
        top: 58%;
        width: 200vw;
    }

    .hero-landing-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .hero-landing-line,
    .hero-landing-gradient {
        text-align: center;
    }

    .hero-landing-lead {
        max-width: 100%;
    }

    .hero-landing-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}
