:root {
    --hero-primary: #c99a18;
    --hero-primary-light: #e7b836;
    --hero-primary-dark: #a1720e;
    --hero-black: #000;
    --hero-white: #fff;
    --hero-primary-alpha-10: rgba(201, 154, 24, 0.1);
    --hero-primary-alpha-20: rgba(201, 154, 24, 0.2);
    --hero-primary-alpha-30: rgba(201, 154, 24, 0.3);
    --hero-primary-alpha-40: rgba(201, 154, 24, 0.4);
    --hero-white-alpha-30: rgba(255, 255, 255, 0.3);
    --hero-white-alpha-60: rgba(255, 255, 255, 0.6);
    --hero-white-alpha-80: rgba(255, 255, 255, 0.8);
    --hero-white-alpha-10: rgba(255, 255, 255, 0.1);
    --hero-white-alpha-40: rgba(255, 255, 255, 0.4);
    --hero-black-alpha-70: rgba(0, 0, 0, 0.7);
    --hero-black-alpha-40: rgba(0, 0, 0, 0.4);
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-black);
}

.hero__video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
    pointer-events: none;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        var(--hero-black-alpha-70) 0%, 
        var(--hero-black-alpha-40) 50%,
        var(--hero-primary-alpha-20) 100%);
    z-index: 2;
}

.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.hero__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--hero-primary);
    border-radius: 50%;
    opacity: 0;
    animation: float-up 15s infinite linear;
}

@keyframes float-up {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1.5);
    }
}

.hero__content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 4rem;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--hero-primary-alpha-10);
    border: 1px solid var(--hero-primary-alpha-30);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInDown 1s ease-out;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--hero-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.hero__badge-text {
    color: var(--hero-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--hero-white) 0%, var(--hero-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero__title-highlight {
    display: block;
    background: linear-gradient(90deg, var(--hero-primary) 0%, var(--hero-primary-light) 50%, var(--hero-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero__subtitle {
    font-size: clamp(1.2rem, 2.3vw, 1.8rem);
    color: var(--hero-white-alpha-80);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
    margin-bottom: 3rem;
}

.hero__btn {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
}

.hero__btn--primary {
    background: linear-gradient(135deg, var(--hero-primary) 0%, var(--hero-primary-light) 100%);
    color: var(--hero-black);
    box-shadow: 0 10px 30px var(--hero-primary-alpha-30);
}

.hero__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--hero-primary-alpha-40);
}

.hero__btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--hero-white-alpha-40), transparent);
    transition: left 0.5s ease;
}

.hero__btn--primary:hover::before {
    left: 100%;
}

.hero__btn--secondary {
    background: transparent;
    color: var(--hero-white);
    border: 2px solid var(--hero-white-alpha-30);
    backdrop-filter: blur(10px);
}

.hero__btn--secondary:hover {
    background: var(--hero-white-alpha-10);
    border-color: var(--hero-primary);
    color: var(--hero-primary);
    transform: translateY(-3px);
}

.hero__btn-icon {
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.hero__btn:hover .hero__btn-icon {
    transform: translateX(5px);
}

/* СТАТИСТИКА ПОД КНОПКАМИ */
.hero__stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hero-primary);
    display: block;
}

.hero__stat-label {
    font-size: 0.875rem;
    color: var(--hero-white-alpha-60);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__glitch {
    position: relative;
    display: inline-block;
}

.hero__glitch::before,
.hero__glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hero-white) 0%, var(--hero-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__glitch::before {
    animation: glitch-1 0.5s infinite;
    clip: rect(44px, 450px, 56px, 0);
}

.hero__glitch::after {
    animation: glitch-2 0.5s infinite;
    clip: rect(44px, 450px, 56px, 0);
}

@keyframes glitch-1 {
    0% {
        clip: rect(132px, 350px, 101px, 30px);
        transform: translate(0);
    }
    20% {
        clip: rect(132px, 350px, 101px, 30px);
        transform: translate(-2px, 2px);
    }
    40% {
        clip: rect(59px, 350px, 69px, 30px);
        transform: translate(2px, -2px);
    }
    60% {
        clip: rect(78px, 350px, 4px, 30px);
        transform: translate(-2px, 2px);
    }
    80% {
        clip: rect(29px, 350px, 15px, 30px);
        transform: translate(2px, -2px);
    }
    100% {
        clip: rect(67px, 350px, 62px, 30px);
        transform: translate(0);
    }
}

@keyframes glitch-2 {
    0% {
        clip: rect(129px, 350px, 36px, 30px);
        transform: translate(0);
    }
    20% {
        clip: rect(36px, 350px, 4px, 30px);
        transform: translate(2px, -2px);
    }
    40% {
        clip: rect(79px, 350px, 91px, 30px);
        transform: translate(-2px, 2px);
    }
    60% {
        clip: rect(44px, 350px, 56px, 30px);
        transform: translate(2px, -2px);
    }
    80% {
        clip: rect(132px, 350px, 101px, 30px);
        transform: translate(-2px, 2px);
    }
    100% {
        clip: rect(129px, 350px, 36px, 30px);
        transform: translate(0);
    }
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .hero__content {
        margin-top: 6rem;
    }

    .hero__title {
        font-size: clamp(2rem, 10vw, 4rem);
    }
    
    .hero__subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 2rem;
        margin-bottom: 2rem;
    }
    
    .hero__btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero__stats {
        gap: 1.5rem;
    }
    
    .hero__stat-number {
        font-size: 1.5rem;
    }
    
    .hero__stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero__content {
        margin-top: 8rem;
    }

    .hero__stats {
        gap: 1rem;
    }
    
    .hero__stat-number {
        font-size: 1.25rem;
    }
    
    .hero__stat-label {
        font-size: 0.7rem;
    }
}