/* HERO – стили только для блока, общие переменные из common.css */
.hero {
    position: relative;
    display: flex;
    /*margin-top: 20px !important;*/
    margin-bottom: 0 !important;
    padding: 0 56px 72px;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 88vh;
    flex-direction: column;
    justify-content: flex-end;

    overflow: hidden;
}

@media (min-width: 1000px) {
    .hero {
        margin-top: 40px !important;
    }
}

.hero-bg {
    position: absolute;

    background: linear-gradient(180deg, transparent 30%, rgba(15, 15, 15, .95) 100%);

    inset: 0;
    z-index: 1;
}

.hero-grid {
    position: absolute;

    background-image: linear-gradient(rgba(34, 197, 94, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 197, 94, 0.12) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: .4;

    inset: 0;
    z-index: 0;
}

@keyframes gridShift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}

.hero-ticker {
    position: absolute;
    top: 30px;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 2;
    overflow: hidden;
    border-top: 1px solid rgba(57, 167, 81, 0.15);
    border-bottom: 1px solid rgba(57, 167, 81, 0.15);
    padding: 10px 0;
    background: rgba(57, 167, 81, 0.04);
}

.ticker-inner {
    /*animation: ticker 30s linear infinite;*/
    animation: ticker 8s linear infinite;
    white-space: nowrap;
}

.ticker-inner {
    display: flex;
    gap: 60px;
    width: max-content;
    animation-name: ticker;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 0s; /* Будет переопределено скриптом */
    white-space: nowrap;
    will-change: transform;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    flex-shrink: 0;
}

.ticker-item span {
    color: var(--fog);
    margin: 0 8px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 60px;
}

.hero-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 60px;
    margin-bottom: 90px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.hero-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(64px, 9vw, 110px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    color: var(--white);

    margin-bottom: 32px;
}

.hero-headline span {
    display: block;
}

.hero-headline .line-green {
    color: var(--accent);
    font-size: clamp(40px, 9vw, 100px);
}

.hero-headline span:last-of-type {
    font-size: clamp(40px, 9vw, 90px);
}

.hero-sub {
    /*font-family: 'JetBrains Mono', monospace;*/
    font-family: 'Inter', sans-serif !important;
    font-size: 19px;
    color: var(--fog);
    max-width: 700px;
    margin-bottom: 48px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-sub strong {
    color: var(--light);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 16px 36px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: #2d8f42;
    transform: translateY(-1px);
}

.btn-ghost {
    color: var(--fog);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(139, 150, 165, 0.3);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
    color: var(--white);
    border-color: var(--white);
}

.hero-stats {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*gap: 1px;*/
    background: rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.06);

    z-index: 2;
}

.stat-item {
    background: var(--black);
    /*padding: 32px 28px;*/
    padding-top: 28px;
    text-align: center;
}

@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        text-align: center;
    }
}

.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 44px;
    color: var(--white);
    line-height: 1;
}

.stat-num span {
    color: var(--white);
    font-size: 28px;
    font-style: normal;
}

.stat-label {
    margin-top: 4px;

    font-family: 'Inter', sans-serif !important;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--accent);
}