.hero {
    position: relative;
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 32px 100px;
    overflow: hidden;
}

/* blobs */
.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    will-change: transform;
}
.hero__blob--a {
    width: 700px;
    height: 700px;
    top: -200px;
    right: -120px;
    background: rgba(43, 127, 255, 0.14);
    animation: hero-blob-pulse 9s ease-in-out infinite;
}
.hero__blob--b {
    width: 550px;
    height: 550px;
    bottom: -250px;
    left: -180px;
    background: rgba(0, 212, 240, 0.09);
    animation: hero-blob-pulse 11s ease-in-out infinite 3s;
}
.hero__blob--c {
    width: 380px;
    height: 380px;
    top: 30%;
    left: 45%;
    background: rgba(124, 92, 246, 0.06);
    animation: hero-blob-pulse 13s ease-in-out infinite 5s;
}
@keyframes hero-blob-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.12) translate(15px, -12px);
    }
}

/* glass spheres */
.glass-sphere {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    will-change: transform;
    background: radial-gradient(
        circle at 28% 22%,
        rgba(255, 255, 255, 0.82),
        rgba(255, 255, 255, 0.22) 32%,
        rgba(43, 127, 255, 0.06) 55%,
        transparent 78%
    );
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        inset 0 -24px 48px rgba(0, 0, 0, 0.02),
        inset 0 6px 24px rgba(255, 255, 255, 0.55),
        0 24px 72px rgba(43, 127, 255, 0.06);
    backdrop-filter: blur(8px);
}
.glass-sphere::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 14%;
    width: 30%;
    height: 20%;
    background: radial-gradient(
        ellipse,
        rgba(255, 255, 255, 0.95),
        transparent
    );
    border-radius: 50%;
    transform: rotate(-28deg);
}
.glass-sphere::after {
    content: "";
    position: absolute;
    bottom: 15%;
    right: 17%;
    width: 12%;
    height: 9%;
    background: radial-gradient(
        ellipse,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    border-radius: 50%;
}

.glass-sphere--a {
    width: 400px;
    height: 400px;
    top: 0;
    right: 0;
    animation: gs-float-a 17s ease-in-out infinite;
}
.glass-sphere--b {
    width: 210px;
    height: 210px;
    top: 14%;
    left: 3%;
    animation: gs-float-b 14s ease-in-out infinite 1.5s;
    background: radial-gradient(
        circle at 32% 26%,
        rgba(255, 255, 255, 0.7),
        rgba(255, 255, 255, 0.15) 35%,
        rgba(124, 92, 246, 0.09) 55%,
        transparent
    );
}
.glass-sphere--c {
    width: 140px;
    height: 140px;
    bottom: 12%;
    right: 10%;
    animation: gs-float-c 12s ease-in-out infinite 3s;
}
.glass-sphere--d {
    width: 300px;
    height: 300px;
    bottom: 0;
    left: 5%;
    border-radius: 38% 62% 52% 48%/42% 48% 52% 58%;
    animation: gs-float-d 19s ease-in-out infinite;
    background: radial-gradient(
        circle at 36% 18%,
        rgba(255, 255, 255, 0.55),
        rgba(255, 255, 255, 0.1) 40%,
        rgba(0, 212, 240, 0.07) 65%,
        transparent
    );
}
.glass-sphere--e {
    width: 90px;
    height: 90px;
    top: 48%;
    right: 24%;
    animation: gs-float-b 10s ease-in-out infinite 2s;
}
.glass-sphere--f {
    width: 60px;
    height: 60px;
    top: 28%;
    left: 24%;
    animation: gs-float-c 8s ease-in-out infinite 4s;
}
.glass-sphere--g {
    width: 50px;
    height: 50px;
    bottom: 28%;
    left: 32%;
    animation: gs-float-b 9s ease-in-out infinite 5s;
}

@keyframes gs-float-a {
    0%,
    100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-16px, -28px);
    }
    50% {
        transform: translate(10px, -14px);
    }
    75% {
        transform: translate(-10px, -22px);
    }
}
@keyframes gs-float-b {
    0%,
    100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(14px, -20px);
    }
    66% {
        transform: translate(-12px, 12px);
    }
}
@keyframes gs-float-c {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(6px, -14px) scale(1.07);
    }
}
@keyframes gs-float-d {
    0%,
    100% {
        transform: translate(0, 0) rotate(0);
    }
    33% {
        transform: translate(-12px, -18px) rotate(6deg);
    }
    66% {
        transform: translate(8px, 10px) rotate(-4deg);
    }
}

/* glass cube */
.glass-cube-wrap {
    position: absolute;
    top: 6%;
    right: 20%;
    width: 160px;
    height: 160px;
    perspective: 700px;
    pointer-events: none;
    z-index: 2;
}
.glass-cube {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: glass-cube-rotate 28s linear infinite;
}
.glass-cube__face {
    position: absolute;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(3px);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1);
}
.glass-cube__face--front {
    transform: rotateY(0) translateZ(80px);
}
.glass-cube__face--back {
    transform: rotateY(180deg) translateZ(80px);
}
.glass-cube__face--right {
    transform: rotateY(90deg) translateZ(80px);
}
.glass-cube__face--left {
    transform: rotateY(-90deg) translateZ(80px);
}
.glass-cube__face--top {
    transform: rotateX(90deg) translateZ(80px);
}
.glass-cube__face--bottom {
    transform: rotateX(-90deg) translateZ(80px);
}
@keyframes glass-cube-rotate {
    from {
        transform: rotateX(20deg) rotateY(0);
    }
    to {
        transform: rotateX(20deg) rotateY(360deg);
    }
}

/* glass ring */
.glass-ring {
    position: absolute;
    bottom: 14%;
    left: 20%;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 30px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        inset 0 0 28px rgba(255, 255, 255, 0.28),
        0 12px 44px rgba(43, 127, 255, 0.05);
    backdrop-filter: blur(3px);
    pointer-events: none;
    z-index: 2;
    animation: glass-ring-float 16s ease-in-out infinite 2s;
}
@keyframes glass-ring-float {
    0%,
    100% {
        transform: rotate(0) translate(0, 0);
    }
    33% {
        transform: rotate(16deg) translate(10px, -14px);
    }
    66% {
        transform: rotate(-12deg) translate(-8px, 10px);
    }
}

/* hero content */
.hero__content {
    position: relative;
    z-index: 5;
    max-width: 940px;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 48px;
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}
.hero__tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(43, 127, 255, 0.4);
    animation: hero-dot-pulse 2s ease-in-out infinite;
}
@keyframes hero-dot-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(43, 127, 255, 0.4);
    }
    50% {
        transform: scale(0.6);
        box-shadow: 0 0 4px rgba(43, 127, 255, 0.2);
    }
}

.hero__title {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(48px, 9vw, 120px);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.05em;
    margin-bottom: 36px;
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
}
.hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 52px;
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}

.hero__meta {
    display: flex;
    gap: 56px;
    justify-content: center;
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}
.hero__meta dt {
    font-family: "Unbounded", sans-serif;
    font-size: 28px;
    font-weight: 700;
}
.hero__meta dd {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(36px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero__meta {
        flex-direction: row;
        gap: 32px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .glass-cube-wrap,
    .glass-ring {
        display: none;
    }
    .glass-sphere--a {
        width: 200px;
        height: 200px;
        top: 2%;
        right: -20px;
    }
    .glass-sphere--d {
        width: 160px;
        height: 160px;
        bottom: 2%;
        left: 0;
    }
    .glass-sphere--e,
    .glass-sphere--f,
    .glass-sphere--g {
        display: none;
    }
    .hero {
        min-height: unset;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 90px 20px 40px;
    }
    .hero__tag {
        margin-bottom: 24px;
        font-size: 12px;
        padding: 8px 16px;
    }
    .hero__title {
        font-size: clamp(32px, 9vw, 52px);
        margin-bottom: 20px;
    }
    .hero__subtitle {
        font-size: 15px;
        margin: 0 auto 28px;
        max-width: 100%;
    }
    .hero__actions {
        margin-bottom: 32px;
        flex-direction: column;
        align-items: center;
    }
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }
    .hero__meta {
        gap: 28px;
    }
    .hero__meta dt {
        font-size: 20px;
    }
    .hero__meta dd {
        font-size: 11px;
    }
}
