.hero {
    min-height: 100vh;
    background: linear-gradient(to bottom, 
        #e4e5f0 0%, 
        #e4e5f0 30%, 
        #ffffff 100%
    );
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Контент */
.hero__container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 100px 0 40px;
    justify-content: space-between;
}

.hero__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__content {
    text-align: left;
    max-width: 550px;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 30px;
    color: #2d2f35;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out;
    font-family: 'Neue Machina', sans-serif;
}

.hero__title-main {
    display: block;
    white-space: nowrap;
    font-family: 'Neue Machina', sans-serif;
}

.hero__title .accent {
    color: var(--primary-color);
    font-weight: 900;
    display: block;
    margin-top: 5px;
    font-family: 'Neue Machina', sans-serif;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 500;
    color: #2d2f35;
    opacity: 0.8;
    text-transform: uppercase;
    position: relative;
    padding-left: 25px;
    border-left: 4px solid #a8ff9f;
    line-height: 1.4;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero__buttons {
    margin-top: auto;
    padding: 0;
    display: flex;
    gap: 20px;
}

.hero__buttons .btn {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 40px;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--mint);
    border-radius: 0;
}

.hero__buttons .btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
}

.hero__buttons .btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--mint);
}

.hero__buttons .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.hero__buttons .btn-secondary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--mint);
}

.hero__buttons .btn span {
    font-family: 'Neue Machina', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero__buttons .btn small {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    opacity: 0.8;
    white-space: nowrap;
    font-weight: 500;
    font-style: normal;
}

.hero__media {
    width: 100%;
    height: 100%;
    min-height: 450px;
    overflow: visible;
    position: relative;
    animation: fadeInRight 1s ease-out 0.2s backwards;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Добавляем анимированное пятно */
.hero__media::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: blobAnimation 8s ease-in-out infinite;
}

@keyframes blobAnimation {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(5%, 5%) scale(1.1);
    }
    66% {
        transform: translate(-5%, -2%) scale(0.95);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

.hero__gif {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    animation: floatImage 6s ease-in-out infinite;
    filter: drop-shadow(4px 4px 0 var(--mint));
    transition: filter 0.3s ease;
}

.hero__gif:hover {
    filter: drop-shadow(4px 4px 0 var(--primary-color));
}

/* Зеленая полоска под текстом */
.hero__subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--mint);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 1024px) {
    .hero__title {
        font-size: 3.2rem;
    }
    
    .hero__subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 60px;
        min-height: auto;
    }
    
    .hero__container {
        padding: 80px 20px 20px;
    }
    
    .hero__top {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero__content {
        order: 1;
    }
    
    .hero__media {
        order: 2;
        min-height: 180px;
    }
    
    .hero__features {
        order: 3;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 20px 20px;
    }
    
    .hero__buttons {
        order: 4;
        margin-top: 20px;
        flex-direction: row;
        gap: 15px;
        padding: 0 20px;
    }
    
    .hero__title {
        font-size: 2rem;
        margin-bottom: 15px;
        line-height: 1.2;
        word-break: normal;
        hyphens: none;
    }
    
    .hero__title-main {
        white-space: normal;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        padding-left: 15px;
        line-height: 1.3;
    }
    
    .hero__media {
        min-height: 200px;
        margin: 0;
        margin-bottom: 20px;
    }
    
    .hero__buttons {
        flex-direction: row;
        gap: 15px;
        padding: 0;
    }
    
    .hero__buttons .btn {
        width: calc(50% - 5px);
        padding: 12px 15px;
        padding-bottom: 32px;
        font-size: 0.9rem;
    }
    
    .hero__buttons .btn small {
        font-size: 0.75rem;
        bottom: 8px;
    }
    
    .hero__gif {
        max-width: 70%;
    }
}

/* Для совсем маленьких экранов можно оставить кнопки в столбик */
@media (max-width: 375px) {
    .hero__title {
        font-size: 1.8rem;
    }
    
    .hero__subtitle {
        font-size: 0.9rem;
    }
    
    .hero__media {
        min-height: 180px;
    }
    
    .hero__gif {
        max-width: 90%;
    }
    
    .hero__buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero__buttons .btn {
        width: 100%;
    }
}

.hero__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.hero__feature {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #a8ff9f;
    background: transparent;
}

.hero__feature h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d2f35;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hero__feature p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 20px 0px;
    }
    
    .hero__feature {
        padding-left: 12px;
    }
    
    .hero__feature h3 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    
    .hero__feature p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

/* Для самых мленьких экранов можно сделать ещё компактнее */
@media (max-width: 375px) {
    .hero__features {
        gap: 10px;
    }
    
    .hero__feature h3 {
        font-size: 0.85rem;
    }
    
    .hero__feature p {
        font-size: 0.7rem;
    }
}

.hero__title .accent {
    color: var(--primary-color);
    font-weight: 900;
    text-shadow: 4px 4px 0 var(--mint);
} 