.home-hero {
    position: relative;
    overflow: clip;
    isolation: isolate;
    padding: clamp(70px, 8vw, 104px) 0 clamp(30px, 5vw, 56px);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(98, 194, 234, 0.16), transparent 24%),
        radial-gradient(circle at 76% 16%, rgba(108, 128, 255, 0.16), transparent 24%),
        radial-gradient(circle at 80% 62%, rgba(227, 247, 255, 0.08), transparent 30%),
        linear-gradient(132deg, rgba(15, 13, 24, 0.99) 0%, rgba(25, 22, 35, 0.96) 42%, rgba(18, 34, 55, 0.88) 100%);
    pointer-events: none;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, rgba(15, 13, 24, 0), rgba(15, 13, 24, 0.56));
    pointer-events: none;
}

.home-hero-visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: clamp(380px, 56vh, 540px);
}

.home-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: clamp(18px, 5vw, 46px) 0;
}

.home-kicker {
    margin-bottom: 12px;
}

.home-slogan {
    margin: 0;
    display: grid;
    gap: 0.14em;
    color: #f4f7ff;
    font-size: clamp(2.9rem, 7vw, 5.2rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 48px rgba(11, 14, 13, 0.28);
}

.home-slogan-line {
    display: block;
}

.home-subheadline {
    max-width: 34rem;
    margin: 18px 0 0;
    color: rgba(223, 232, 247, 0.88);
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    font-weight: 520;
    line-height: 1.68;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 26px;
}

.home-button-primary {
    min-height: 56px;
    padding: 0 28px;
    font-size: 1rem;
    box-shadow: 0 24px 44px rgba(98, 194, 234, 0.28);
}

.hero-text-link {
    color: rgba(226, 238, 252, 0.9);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-text-link:hover {
    color: #ffffff;
}

.home-scene,
.home-scene-stage,
.home-scene-plane {
    position: absolute;
    inset: 0;
}

.home-scene-stage {
    inset: -4% -2% -6% -2%;
}

.home-scene-plane {
    overflow: hidden;
}

.home-scene-plane::before,
.home-scene-plane::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-scene-plane::before {
    background:
        radial-gradient(circle at var(--pointer-x, 72%) var(--pointer-y, 40%), rgba(210, 243, 255, 0.14), transparent 18%),
        radial-gradient(circle at 78% 54%, rgba(98, 194, 234, 0.18), transparent 24%),
        linear-gradient(90deg, rgba(10, 12, 24, 0.26) 0%, rgba(10, 12, 24, 0.14) 20%, rgba(10, 12, 24, 0.1) 52%, rgba(10, 12, 24, 0.16) 100%);
}

.home-scene-plane::after {
    background:
        radial-gradient(circle at 80% 38%, rgba(240, 250, 255, 0.1), transparent 16%),
        linear-gradient(180deg, rgba(240, 250, 255, 0.06), transparent 24%, transparent 72%, rgba(240, 250, 255, 0.03) 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.7) 18%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.58) 88%, transparent 100%);
    opacity: 0.9;
}

.home-scene-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.94;
}

.home-scene-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(14px);
}

.home-scene-glow-a {
    top: 6%;
    right: 10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(170, 230, 255, 0.14), transparent 72%);
}

.home-scene-glow-b {
    bottom: 4%;
    right: 18%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(98, 194, 234, 0.2), transparent 70%);
}

.home-scene-glow-c {
    left: 24%;
    bottom: 12%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(108, 128, 255, 0.12), transparent 72%);
}

@media (max-width: 1120px) {
    .home-hero-inner {
        min-height: clamp(400px, 56vh, 520px);
    }

    .home-hero-copy {
        max-width: 560px;
    }

    .home-scene-stage {
        inset: -2% -8% -6% -6%;
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding: 22px 0 18px;
    }

    .home-hero-inner {
        min-height: 420px;
        align-items: flex-start;
    }

    .home-hero-copy {
        max-width: 100%;
        padding: 12px 0 0;
    }

    .home-kicker {
        margin-bottom: 10px;
    }

    .home-slogan {
        gap: 0.16em;
        font-size: clamp(2.2rem, 12vw, 3.5rem);
        line-height: 0.96;
    }

    .home-subheadline {
        max-width: 100%;
        font-size: 0.98rem;
        line-height: 1.62;
    }

    .home-hero-actions {
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 18px;
    }

    .home-button-primary {
        min-height: 50px;
        padding: 0 22px;
    }

    .hero-text-link {
        font-size: 0.9rem;
    }

    .home-scene-stage {
        inset: 0 -4% -2% -4%;
    }

    .home-scene-plane::before {
        background:
            radial-gradient(circle at var(--pointer-x, 66%) var(--pointer-y, 46%), rgba(210, 243, 255, 0.16), transparent 20%),
            linear-gradient(180deg, rgba(10, 12, 24, 0.34) 0%, rgba(10, 12, 24, 0.08) 32%, rgba(10, 12, 24, 0.36) 100%),
            linear-gradient(90deg, rgba(10, 12, 24, 0.34) 0%, rgba(10, 12, 24, 0.08) 32%, rgba(10, 12, 24, 0) 100%);
    }

    .home-scene-glow-a {
        width: 180px;
        height: 180px;
    }

    .home-scene-glow-b {
        width: 160px;
        height: 160px;
    }

    .home-scene-glow-c {
        width: 150px;
        height: 150px;
        left: 8%;
        bottom: 16%;
    }
}