.hero {
    position: relative;
    isolation: isolate;
    display: block;
    min-height: 630px;
}

.hero-copy {
    position: relative;
    z-index: 4;
    width: min(34vw, 570px);
    max-width: none;
}

.hero-copy h1 {
    white-space: nowrap;
}

.hero-visual-final {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: hero-breathe 8s ease-in-out infinite alternate;
}

.hero-visual-final::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #05050c 0%, #05050cf5 24%, #05050c72 38%, transparent 56%),
        linear-gradient(180deg, #05050c55 0%, transparent 22%, transparent 80%, #05050c55 100%);
}


.hero-metrics {
    position: absolute;
    z-index: 3;
    inset: 0;
}

.hero-metric {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    width: 170px;
    padding: 13px 14px;
    border: 1px solid #8737ca;
    border-radius: 13px;
    background: linear-gradient(135deg, #191124e8, #100b1edb);
    color: #fff;
    box-shadow: 0 12px 36px #0008, inset 0 0 24px #9c37ff14;
    backdrop-filter: blur(12px);
    animation: metric-float 4.2s ease-in-out infinite;
}

.hero-metric > svg {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    padding: 8px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fa2b77, #b023f1);
    filter: drop-shadow(0 0 10px #ef2b9b88);
}

.hero-metric small,
.hero-metric b,
.hero-metric em {
    display: block;
}

.hero-metric small {
    color: #cfc8d9;
    font-size: 8px;
}

.hero-metric b {
    margin: 2px 0;
    font-size: 20px;
    line-height: 1;
}

.hero-metric em {
    color: #7dff27;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.metric-likes {
    top: 13%;
    left: 52.5%;
}

.metric-views {
    top: 40%;
    left: 53.5%;
    animation-delay: -1.4s;
}

.metric-followers {
    top: 67%;
    left: 54.5%;
    animation-delay: -2.8s;
}

@keyframes metric-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -9px, 0); }
}

@keyframes hero-breathe {
    from { transform: scale(1.005); filter: saturate(.96); }
    to { transform: scale(1.025); filter: saturate(1.08); }
}

@media (max-width: 1100px) {
    .hero-copy {
        width: min(41vw, 500px);
    }

    .hero-copy h1 {
        white-space: normal;
    }

    .hero-art {
        object-position: 58% center;
    }

    .hero-visual-final::after {
        background: linear-gradient(90deg, #05050c 0%, #05050cf5 31%, #05050c7a 48%, transparent 68%);
    }

    .hero-metric {
        width: 145px;
        padding: 10px;
    }

    .hero-metric b {
        font-size: 16px;
    }

    .metric-likes { left: 57%; }
    .metric-views { left: 59%; }
    .metric-followers { left: 60%; }

}

@media (max-width: 760px) {
    .hero {
        display: block;
        padding-bottom: 0;
    }

    .hero-copy {
        min-height: 510px;
        width: 100%;
    }

    .hero-visual-final {
        position: relative;
        height: 410px;
        margin: -30px -24px 0;
        width: calc(100% + 48px);
        overflow: hidden;
    }

    .hero-art {
        object-position: 69% center;
    }

    .hero-visual-final::after {
        background:
            linear-gradient(180deg, #05050c 0%, transparent 18%, transparent 80%, #05050c 100%),
            linear-gradient(90deg, #05050c99 0%, transparent 35%);
    }

    .hero-metric {
        width: 132px;
        padding: 9px;
    }

    .hero-metric > svg {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        padding: 6px;
    }

    .hero-metric small { font-size: 7px; }
    .hero-metric b { font-size: 14px; }
    .metric-likes { top: 8%; left: 3%; }
    .metric-views { top: 43%; left: 2%; }
    .metric-followers { top: 73%; left: 8%; }

}

@media (prefers-reduced-motion: reduce) {
    .hero-art,
    .hero-metric {
        animation: none;
    }
}

.plans-mobile-guide {
    display: none;
}

@media (max-width: 760px) {
    .plans-mobile-guide {
        display: grid;
        grid-template-columns: 38px 1fr 38px;
        align-items: center;
        gap: 9px;
        margin: -13px 0 15px;
    }

    .plans-mobile-guide > div:first-child {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        color: #6f657d;
        font-size: 11px;
    }

    .plans-mobile-guide > div:first-child svg {
        width: 17px;
        color: #8b2cf5;
        animation: swipe-hint 1.5s ease-in-out infinite;
    }

    .plans-mobile-guide > div:first-child b {
        padding: 4px 7px;
        border-radius: 20px;
        background: #f0e5ff;
        color: #7522d2;
        font-size: 9px;
    }

    .plans-mobile-guide button {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 1px solid #dfc9fb;
        border-radius: 50%;
        background: #fff;
        color: #7d25e5;
        box-shadow: 0 6px 16px #7025b61a;
    }

    .plans-mobile-guide button svg {
        width: 17px;
    }

    .plan-dots {
        display: flex;
        justify-content: center;
        gap: 5px;
    }

    .plan-dots i {
        width: 6px;
        height: 6px;
        border-radius: 10px;
        background: #d9cce7;
        transition: width .25s, background .25s;
    }

    .plan-dots i.active {
        width: 20px;
        background: #8128ff;
    }

    .plans-grid {
        scrollbar-width: none;
        scroll-padding-inline: 2px;
    }

    .plans-grid::-webkit-scrollbar {
        display: none;
    }

    @keyframes swipe-hint {
        0%, 100% { transform: translateX(-3px); }
        50% { transform: translateX(4px); }
    }
}
