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

.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-animation {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.neural-network {
    width: 100%;
    max-width: 400px;
    height: 400px;
    position: relative;
}

.neural-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    animation: pulse-node 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.neural-node:nth-child(odd) {
    animation-delay: 0.5s;
}

.neural-node:nth-child(even) {
    animation-delay: 1s;
}

@keyframes pulse-node {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
}

.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;
}

/* Токен-индикатор */
.token-indicator {
    display: inline-flex;
    align-items: center;
    margin-top: 30px;
    background-color: var(--light-bg-alt);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    gap: 15px;
}

.dark-mode .token-indicator {
    background-color: var(--dark-bg-alt);
}

.token-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.token-info {
    display: flex;
    flex-direction: column;
}

.token-label {
    font-size: 12px;
    color: var(--light-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dark-mode .token-label {
    color: var(--dark-text-secondary);
}

.token-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--light-text);
}

.dark-mode .token-value {
    color: var(--dark-text);
}

/* Адаптивность для планшетов */
@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;
    }

    .token-indicator {
        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%;
    }

    .hero-animation {
        min-height: 300px;
    }
}
