﻿.hero {
    position: relative; /* FULL WIDTH */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    height: 80vh;
    min-height: 620px;
    max-height: 900px;
    overflow: hidden;
    background: #000;
    z-index: 0;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(1.2px 1.2px at 10% 20%, rgba(255,255,255,0.65), transparent),
        radial-gradient(1.5px 1.5px at 50% 50%, rgba(255,255,255,0.75), transparent),
        radial-gradient(2px 2px at 80% 70%, rgba(255,255,255,0.9), transparent), 
        radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.9), transparent), 
        radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.9), transparent), 
        radial-gradient( circle at center, #000000 0%, #0a0015 40%, #000814 70%, #000000 100% );
    background-size: 
        260px 260px, 
        340px 340px, 
        520px 520px, 
        250px 250px, 
        280px 270px, 
        cover;
    background-repeat: repeat; /* Вариант 2 — более космический, с синим оттенком (популярный в 2025–2026) */ /* background: radial-gradient( circle at 50% 50%, #0b001f 10%, #000814 50%, #000000 90% ); */ /* Вариант 3 — с лёгким фиолетово-синим свечением (очень красиво на большом экране) */ /* background: radial-gradient( circle farthest-corner at center, #1a0033 0%, #000022 60%, #000000 100% ); */
    z-index: -2;

/*    mask-image: radial-gradient(
    circle at 72% 50%,
    transparent 0%,
    transparent 2%,
    rgba(0,0,0,0.65) 4%,
    black 100%
);

-webkit-mask-image: radial-gradient(
    circle at 72% 50%,
    transparent 0%,
    transparent 2%,
    rgba(0,0,0,0.65) 4%,
    black 100%
);*/

}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 690px;
    padding-top: 15vh;
    padding-top: clamp(80,15hv,160px);
}


.solar-system {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /*transform: translateX(22%);*/
    pointer-events: none;
    transform: translateX(clamp(0%, 18vw, 22%));
}

.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(orange, gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px 20px rgba(255, 200, 50, 0.8);
    z-index: 2;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(255, 255,255,0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px rgba(255,255,255,0.03);
}

.planet-orbit {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: center center;
    animation: spin infinite linear;
}

.planet {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 0 0 6px currentColor;
}

.planet.mercury {
        width: 8px;
        height: 8px;
        background: gray;
        color: gray;
    }

.orbit.mercury {
    width: 100px;
    height: 100px;
}

.planet-orbit.mercury {
    width: 100px;
    height: 100px;
    animation-duration: 7s;
}
/**/

.planet.venus {
    width: 8px;
    height: 8px;
    background: #c2b280;
    color: #c2b280;
}

.orbit.venus {
    width: 140px;
    height: 140px;
}

.planet-orbit.venus {
    width: 140px;
    height: 140px;
    animation-duration: 14s;
}
/**/

.planet.earth {
    width: 14px;
    height: 14px;
    background: #1e90ff;
    color: #1e90ff;
}

.orbit.earth {
    width: 190px;
    height: 190px;
}

.planet-orbit.earth {
    width: 190px;
    height: 190px;
    animation-duration: 20s;
}
/**/

.planet.mars {
    width: 10px;
    height: 10px;
    background: #e74c3c;
    color: #e74c3c;
}

.orbit.mars {
    width: 240px;
    height: 240px;
}

.planet-orbit.mars {
    width: 240px;
    height: 240px;
    animation-duration: 25s;
}
/* Jupiter */

.planet.jupiter {
    width: 26px;
    height: 26px;
    background: #d2b48c;
    color: #d2b48c;
}

.orbit.jupiter {
    width: 320px;
    height: 320px;
}

.planet-orbit.jupiter {
    width: 320px;
    height: 320px;
    animation-duration: 45s;
}
/* Saturn */

.planet.saturn {
    width: 22px;
    height: 22px;
    background: #e5c07b;
    color: #e5c07b;
}

.orbit.saturn {
    width: 390px;
    height: 390px;
}

.planet-orbit.saturn {
    width: 390px;
    height: 390px;
    animation-duration: 60s;
}
/* Uranus */

.planet.uranus {
    width: 16px;
    height: 16px;
    background: #7fdbff;
    color: #7fdbff;
}

.orbit.uranus {
    width: 460px;
    height: 460px;
}

.planet-orbit.uranus {
    width: 460px;
    height: 460px;
    animation-duration: 80s;
}
/* Neptune */

.planet.neptune {
    width: 16px;
    height: 16px;
    background: #4169e1;
    color: #4169e1;
}

.orbit.neptune {
    width: 520px;
    height: 520px;
}

.planet-orbit.neptune {
    width: 520px;
    height: 520px;
    animation-duration: 100s;
}
/* Pluto */

.planet.pluto {
    width: 6px;
    height: 6px;
    background: #aaa;
    color: #aaa;
}

.orbit.pluto {
    width: 580px;
    height: 580px;
}

.planet-orbit.pluto {
    width: 580px;
    height: 580px;
    animation-duration: 130s;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/*Texts*/

.hero-title {
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 12px;
}
.hero-benefit {
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(90deg, #ffdd00, #ff8800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 4px;
    margin-bottom: 38px;
}
/*Button*/

.hero-btn {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient( 135deg, #4f8cff, #6a5cff );
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(79, 140, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    letter-spacing: 0.02em;
}

    .hero-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 40px rgba(79, 140, 255, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
        filter: brightness(1.05);
    }

    .hero-btn:active {
        transform: translateY(0);
    }

    .hero-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
        filter: grayscale(0.2);
    }
