.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: 112px 20px 80px;
}

@supports (min-height: 100dvh) {
    .hero {
        min-height: 100dvh;
    }
}

.hologram-break-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: calc(var(--break-progress) * 0.92);
    background:
        linear-gradient(180deg, rgba(2, 6, 16, 0.24), rgba(2, 6, 16, 0.72)),
        url("../../images/anh_trang_2.png") center / cover no-repeat;
    background:
        linear-gradient(180deg, rgba(2, 6, 16, 0.24), rgba(2, 6, 16, 0.72)),
        image-set(
            url("../../images/anh_trang_2.webp") type("image/webp"),
            url("../../images/anh_trang_2.png") type("image/png")
        ) center / cover no-repeat;
    transform: scale(calc(1.08 - var(--break-progress) * 0.08));
    pointer-events: none;
    will-change: opacity, transform;
}

body.hero-break-released .hologram-break-bg {
    opacity: 0;
}

body.hero-break-released .hero-scene {
    opacity: 1;
}

.hologram-break-bg::before,
.hologram-break-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hologram-break-bg::before {
    background: radial-gradient(circle at 50% 42%, rgba(35, 238, 205, 0.24), transparent 34rem);
}

.hologram-break-bg::after {
    background-image:
        linear-gradient(rgba(88, 225, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(88, 225, 255, 0.12) 1px, transparent 1px);
    background-size: 86px 86px;
    opacity: 0.32;
}

.hero-scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.98;
    pointer-events: auto;
}

.hero-scene canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at 50% 48%, rgba(88, 225, 255, 0.08), transparent 30rem),
        linear-gradient(180deg, rgba(5, 7, 13, 0.08), rgba(5, 7, 13, 0.38));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    display: grid;
    justify-items: center;
    width: min(100%, 980px);
    margin: 0 auto;
    padding-top: clamp(68px, 10vh, 110px);
    text-align: center;
    pointer-events: none;
}

.hero-service-pills {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 0 auto 72px;
    padding: 0 10px;
    flex-wrap: wrap;
    pointer-events: auto;
}

.hero-service-pills span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    min-width: clamp(148px, 13vw, 182px);
    border: 1px solid rgba(88, 225, 255, 0.24);
    border-radius: 999px;
    padding: 0 18px;
    color: #20f0d8;
    background: rgba(7, 20, 31, 0.68);
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: inset 0 0 18px rgba(35, 238, 205, 0.06);
}

.hero-service-pills span:nth-child(2) {
    color: #b99cff;
    border-color: rgba(157, 124, 255, 0.42);
    background: rgba(25, 20, 62, 0.62);
}

.hero-service-pills span:nth-child(3) {
    color: rgba(255, 255, 255, 0.72);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.hero-title {
    display: grid;
    gap: clamp(10px, 1.6vh, 18px);
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.4rem, 3.4vw, 3.2rem);
    line-height: 0.96;
    font-weight: 900;
    text-transform: uppercase;
    text-wrap: balance;
    text-shadow: 0 0 34px rgba(88, 225, 255, 0.18);
}

.hero-title span {
    display: block;
}

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

.hero-copy {
    width: min(100%, 720px);
    margin: clamp(28px, 4vh, 42px) auto 0;
    color: rgba(238, 246, 255, 0.88);
    font-size: clamp(1.02rem, 1.5vw, 1.32rem);
    line-height: 1.75;
    font-weight: 700;
    pointer-events: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: clamp(30px, 5vh, 50px);
    flex-wrap: wrap;
    pointer-events: auto;
}
