/*
 * Hero — UMANO-inspired: bold type + product visual.
 */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: linear-gradient(155deg, var(--blue-950) 0%, #0a1e40 50%, var(--blue-900) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero__inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 100px);
    align-items: center;
}

/* Left — typography */
.hero__copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero__kicker {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--red-600);
}

.hero__title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.05;
}

.hero__em {
    color: var(--red-600);
    font-style: italic;
    letter-spacing: -.06em;
}

.hero__desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 440px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 8px;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 600;
    transition: all .25s ease;
}

.hero__btn--primary {
    background: var(--red-600);
    color: #fff;
}

.hero__btn--primary:hover {
    background: var(--red-700);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(215, 25, 32, 0.4);
}

.hero__btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

/* Right — laptop mockup */
.hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero__device {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.hero__screen {
    background: #0f1725;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px 16px 0 0;
    padding: 20px;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero__screen::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.hero__screen-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero__screen-logo {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--red-600);
    text-align: center;
    margin-bottom: 8px;
    opacity: .8;
}

.hero__screen-card {
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
}

.hero__screen-card:nth-child(2) { width: 100%; }
.hero__screen-card:nth-child(3) { width: 70%; }
.hero__screen-card:nth-child(4) { width: 85%; }

.hero__base {
    height: 8px;
    background: linear-gradient(180deg, #1a2436, #111827);
    border-radius: 0 0 6px 6px;
    margin: 0 12px;
    position: relative;
    z-index: 2;
}

.hero__base-bottom {
    height: 3px;
    background: #0b1119;
    border-radius: 0 0 3px 3px;
    margin: 0 30px;
    position: relative;
    z-index: 2;
}

/* Floating notification */
.hero__notif {
    position: absolute;
    top: -3%;
    right: 3%;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 3;
    animation: notif-float 3s ease-in-out infinite;
}

.hero__notif-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: #fff;
    flex-shrink: 0;
}

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

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.35);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* Mobile */
@media (max-width: 768px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero__desc {
        margin: 0 auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__device {
        max-width: 260px;
    }

    .hero__notif {
        right: -5px;
        top: -5px;
        font-size: .65rem;
        padding: 6px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__notif,
    .hero__scroll {
        animation: none;
    }
}
