/**
 * ZORIN Member - Стили для главного баннера
 * Определяет внешний вид главной секции с заголовком и призывом к действию
 */

.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

.hero-blur-1 {
    top: -10%;
    left: -10%;
}

.hero-blur-2 {
    bottom: 0;
    right: -10%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 80%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.dark-mode .hero-image img {
    box-shadow: var(--shadow-dark);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) translateZ(20px);
}

.hero h1 {
    font-size: 54px;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    margin-right: 0;
}

/* Селектор ролей */
.role-selector {
    display: flex;
    align-items: center;
    margin-top: 30px;
    background-color: var(--light-bg-alt);
    border-radius: var(--border-radius);
    padding: 10px 15px;
    display: inline-flex;
}

.dark-mode .role-selector {
    background-color: var(--dark-bg-alt);
}

.role-selector span {
    color: var(--light-text-secondary);
    font-weight: 500;
    margin-right: 15px;
}

.dark-mode .role-selector span {
    color: var(--dark-text-secondary);
}

.role-btn {
    background: none;
    border: none;
    padding: 8px 15px;
    border-radius: calc(var(--border-radius) - 2px);
    font-size: 14px;
    font-weight: 600;
    color: var(--light-text-secondary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
}

.dark-mode .role-btn {
    color: var(--dark-text-secondary);
}

.role-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.role-btn:not(.active):hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* Адаптивность для планшетов */
@media (max-width: 1100px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 40px;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .role-selector {
        margin: 30px auto 0;
        justify-content: center;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
    .hero {
        padding-top: 150px;
    }

    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .role-selector {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .role-selector span {
        margin-right: 0;
        margin-bottom: 5px;
    }
}