.hero {
    position: relative;
    min-height: calc(100svh - var(--header-height));
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(110px);
}

.hero-glow-right {
    top: 50px;
    right: -170px;
    width: 720px;
    height: 620px;
    background: rgba(104, 75, 255, 0.07);
}

.hero-glow-left {
    bottom: -320px;
    left: 12%;
    width: 540px;
    height: 440px;
    background: rgba(86, 105, 255, 0.04);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: minmax(0, 1fr) 96px;
    gap: 16px;
    min-height: calc(100svh - var(--header-height));
    padding: 10px 0 44px;
}

.hero-main {
    display: grid;
    grid-template-columns:
        minmax(500px, 0.9fr)
        minmax(600px, 1.1fr);
    align-items: center;
    gap: 28px;
    min-height: 0;
    transform: translateY(-10px);
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 690px;
    padding-left: 4px;
}

.hero-label {
    margin-bottom: 31px;
    color: var(--purple);
    font-family:
        ui-monospace,
        "SFMono-Regular",
        Consolas,
        monospace;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-title {
    color: #090a0e;
    font-family:
        ui-monospace,
        "SFMono-Regular",
        Consolas,
        monospace;
    font-size: clamp(39px, 3.3vw, 54px);
    font-weight: 500;
    line-height: 1.18;
    text-transform: uppercase;
}
.hero-title-bold{
    font-weight: 600;
}

.hero-title > span {
    display: block;
    white-space: nowrap;
}

.hero-title b {
    color: var(--purple);
    font: inherit;
}

.hero-description {
    max-width: 520px;
    margin-top: 30px;
    color: var(--text-secondary);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.022em;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 52px;
    margin-top: 40px;
}

.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 21px;
    min-width: 190px;
    height: 54px;
    padding: 0 28px;
    color: #ffffff;
    border-radius: 9px;
    background:
        linear-gradient(
            135deg,
            #6845ff 0%,
            #4823ed 100%
        );
    font-size: 15px;
    font-weight: 500;
    box-shadow:
        0 13px 30px rgba(82, 47, 240, 0.25),
        0 0 28px rgba(98, 61, 255, 0.2);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.button-primary svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 17px 38px rgba(82, 47, 240, 0.3),
        0 0 35px rgba(98, 61, 255, 0.25);
}

.button-text {
    position: relative;
    color: #23242b;
    font-size: 15px;
    font-weight: 500;
}

.button-text::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 1px;
    content: "";
    background: var(--purple);
    transition: transform 180ms ease;
    transform-origin: left;
}

.button-text:hover::after {
    transform: scaleX(0.7);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 520px;
}

.planet-light {
    position: absolute;
    z-index: 0;
    top: 20%;
    left: 14%;
    width: 78%;
    height: 67%;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(104, 77, 255, 0.17) 0%,
            rgba(104, 77, 255, 0.065) 44%,
            transparent 73%
        );
    filter: none;
}

.hero-planet {
    position: relative;
    z-index: 1;
    width: min(100%, 770px);
    max-height: 700px;
    object-fit: contain;
    user-select: none;
    transform: translateX(3%);
    filter:
        drop-shadow(0 35px 42px rgba(37, 29, 88, 0.13))
        drop-shadow(0 10px 16px rgba(37, 29, 88, 0.055));
}

.statistics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    min-height: 96px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 34px rgba(24, 25, 37, 0.025);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.stat-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    padding: 20px 34px;
}

.stat-item:not(:last-child)::after {
    position: absolute;
    top: 27%;
    right: 0;
    bottom: 27%;
    width: 1px;
    content: "";
    background: var(--border-strong);
}

.stat-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--purple);
}

.stat-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-icon-status span {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--green);
    box-shadow:
        0 0 0 7px rgba(25, 201, 136, 0.08),
        0 0 18px rgba(25, 201, 136, 0.26);
}

.stat-label {
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.stat-value {
    color: #17181e;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

@media (max-width: 1250px) {
    .hero-main {
        grid-template-columns:
            minmax(450px, 0.92fr)
            minmax(520px, 1.08fr);
        gap: 12px;
    }

    .hero-title {
        font-size: clamp(36px, 3.35vw, 47px);
    }

    .hero-description {
        max-width: 470px;
        font-size: 16px;
    }

    .hero-planet {
        width: min(106%, 680px);
    }

    .stat-item {
        padding: 19px 23px;
    }
}

@media (max-width: 980px) {
    .hero {
        min-height: auto;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding-top: 45px;
    }

    .hero-main {
        display: flex;
        flex-direction: column;
        transform: none;
    }

    .hero-content {
        order: 1;
        width: 100%;
        max-width: 720px;
    }

    .hero-title {
        font-size: clamp(39px, 6vw, 51px);
    }

    .hero-visual {
        order: 2;
        width: 100%;
        min-height: 540px;
        margin-top: -20px;
    }

    .hero-planet {
        width: min(780px, 106%);
        transform: none;
    }

    .statistics {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -20px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 620px) {
    .hero-container {
        padding-top: 28px;
        padding-bottom: 24px;
    }

    .hero-label {
        margin-bottom: 20px;
        font-size: 10px;
    }

    .hero-title {
        font-size: clamp(28px, 8.4vw, 39px);
        line-height: 1.18;
        letter-spacing: 0.032em;
    }

    .hero-title > span {
        white-space: normal;
    }

    .hero-description {
        max-width: 100%;
        margin-top: 24px;
        font-size: 15px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
        margin-top: 30px;
    }

    .button-primary {
        width: 100%;
        min-width: 0;
        height: 54px;
    }

    .hero-visual {
        min-height: 390px;
        margin-top: 0;
    }

    .hero-planet {
        width: 128%;
        max-width: none;
        transform: none;
    }

    .statistics {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .stat-item {
        min-height: 76px;
        padding: 17px 22px;
        border-bottom: 1px solid var(--border);
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-item:last-child {
        border-bottom: 0;
    }
}

.hero-title-line {
    display: block;
    overflow: hidden;
    padding: 0.06em 0 0.12em;
    margin: -0.06em 0 -0.12em;
}

.hero-title-word {
    display: inline-flex;
    white-space: nowrap;
}

.hero-title-space {
    display: inline-block;
    width: 0.34em;
    flex: 0 0 0.34em;
}

.hero-title-letter {
    display: inline-block;
    transform-origin: 50% 100%;
}

.hero-title--reveal:not(.is-reveal-running):not(.is-reveal-complete) .hero-title-letter {
    opacity: 0;
    transform: translate3d(0, 0.82em, 0) rotate(1.4deg) scaleY(0.96);
}

.hero-title--reveal.is-reveal-running .hero-title-letter {
    opacity: 0;
    transform: translate3d(0, 0.82em, 0) rotate(1.4deg) scaleY(0.96);
    animation: hero-letter-rise 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(80ms + (var(--hero-letter-index) * 28ms));
    will-change: transform, opacity;
}

.hero-title.is-reveal-complete .hero-title-letter {
    opacity: 1;
    transform: none;
    animation: none;
    will-change: auto;
}

@keyframes hero-letter-rise {
    0% {
        opacity: 0;
        transform: translate3d(0, 0.82em, 0) rotate(1.4deg) scaleY(0.96);
    }

    74% {
        opacity: 1;
        transform: translate3d(0, -0.035em, 0) rotate(-0.2deg) scaleY(1.004);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(0) scaleY(1);
    }
}

@media (max-width: 620px) {
    .hero-title-line {
        overflow: visible;
    }
}
