@font-face {
    font-family: 'ArcoCyrillic';
    src: url('./fonts/arcocyrillic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    height: 100%;
}

body{
    background: #000;
    overflow-x: hidden;
    overflow-y: auto; /* скролл включён везде */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f2ff10;
    background-image:
            radial-gradient(circle at 40% 50%, #610b4b 0%, #a30d8a00 40%),
            radial-gradient(circle at 65% 60%, #420a50 0%, #580e7500 45%),
            radial-gradient(circle at 40% 60%, #076066 0%, #17777700 45%);
    background-blend-mode: screen;
}

/* ===== HERO-СЕКЦИЯ ===== */

.hero{
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10vw;
    position: relative;
}

/* Левая колонка — 50% */

.hero-content{
    width: 50%;
    position: relative;
    z-index: 5;
    font-family: 'ArcoCyrillic', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f2ff10;
}

.hero-label{
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.22em;
    color: #f2ff10;
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero h1{
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    margin-bottom: 18px;
    color: #f2ff10;
}

.hero-text{
    font-size: 18px;
    max-width: 24rem;
    line-height: 1.5;
    opacity: 0.95;
    color: #f2ff10;
}

/* Мобильный блок (ниже текста) по умолчанию скрыт */

.hero-mobile-visual{
    display: none;
}

/* Правая колонка — 50% */

.hero-visual{
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* PNG картинка */

.hero-image-wrapper,
.hero-mobile-image-wrapper{
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.hero-image{
    display: block;
    max-width: 360px; /* крупнее */
    width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite alternate;
}

/* Плавное движение */

@keyframes float {
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-14px);
    }
    100%{
        transform: translateY(0);
    }
}

/* Звёздный поток */

.scene{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    perspective: 10vmin;
    perspective-origin: 15% 50%;
    z-index: 1;
}

.scene div{
    width: 1.5vmin;
    height: 1.5vmin;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    box-shadow: 0 0 20px rgb(10, 239, 255);
    animation: animate 1.5s infinite ease-in;
    transform:
            translateZ(-100vmin)
            rotateY(-90deg)
            rotateX(var(--rx))
            translateZ(var(--x))
            scaleX(1);
}

@keyframes animate {
    0%, 90%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform:
                translateZ(0vmin)
                rotateY(-90deg)
                rotateX(var(--rx))
                translateZ(var(--x))
                scaleX(6);
    }
}

/* ===== ВТОРАЯ СЕКЦИЯ: МЫ ПРЕДОСТАВЛЯЕМ ===== */

.benefits{
    background: #000000; /* чистый чёрный фон */
    padding: 64px 6vw 72px;
}

.benefits-inner{
    max-width: 1160px;     /* ограничиваем ширину */
    margin: 0 auto;        /* центрируем */
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

/* Левая половина */

.benefits-left{
    width: 50%;
    font-family: 'ArcoCyrillic', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f2ff10;
}

.benefits-label{
    text-transform: uppercase;
    font-size: 14px;      /* как hero-label */
    letter-spacing: 0.2em;
    opacity: 0.8;
    margin-bottom: 10px;
}

.benefits-title{
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
}

.benefits-text{
    font-size: 18px;      /* как hero-text */
    line-height: 1.5;
    max-width: 26rem;
    opacity: 0.9;
}

/* Правая половина */

.benefits-right{
    width: 50%;
    font-family: 'ArcoCyrillic', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f2ff10;
}

.benefits-subtitle{
    font-size: 14px;      /* как hero-label */
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.85;
    margin-bottom: 18px;
}

.benefits-list{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.benefit-item{
    display: flex;
    align-items: center;
    gap: 16px; /* чуть больше расстояние под крупные иконки */
}

.benefit-icon{
    width: 52px;              /* больше кружок */
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(140, 219, 14, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;         /* на всякий случай, если svg больше */
}

.benefit-icon img{
    width: 70%;               /* размер самого svg внутри кружка */
    height: 70%;
    display: block;
}

.benefit-text{
    font-size: 18px;      /* как hero-text */
    line-height: 1.4;
}

/* ===== АДАПТАЦИЯ ===== */

@media (max-width: 900px){
    /* первая секция по контенту, а не на полный экран */
    .hero{
        min-height: auto;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 24px 16px 32px;
    }

    .hero-content{
        width: 100%;
        text-align: left;
    }

    .hero h1{
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-text{
        margin: 0 0 16px;
        max-width: 100%;
        font-size: 16px;
    }

    .hero-mobile-visual{
        display: block;
        position: relative;
        width: 100%;
        height: 280px;         /* побольше место под картинку */
        margin-top: 8px;
        margin-bottom: -40px;  /* картинка немного налезет на следующую секцию */
        overflow: visible;     /* разрешаем выходить за границы блока */
        z-index: 4;
    }

    .hero-mobile-image-wrapper{
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-visual{
        display: none;    /* правую колонку прячем на телефоне */
    }

    .scene{
        perspective-origin: 50% 60%;
    }

    .benefits{
        padding: 40px 16px 48px;
    }

    .benefits-inner{
        flex-direction: column;
        gap: 24px;
    }

    .benefits-left,
    .benefits-right{
        width: 100%;
    }

    .benefits-title{
        font-size: 24px;
    }

    .benefits-text,
    .benefit-text{
        font-size: 16px;  /* как hero-text на мобиле */
    }
}

@media (max-width: 480px){
    .hero{
        padding: 20px 12px 28px;
    }

    .hero-label{
        font-size: 12px;
        letter-spacing: 0.18em;
        margin-bottom: 10px;
    }

    .hero h1{
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero-text{
        font-size: 15px;
        line-height: 1.4;
    }

    .hero-mobile-visual{
        height: 230px;
    }

    .hero-image{
        max-width: 280px;
    }

    .benefits{
        padding: 32px 12px 40px;
    }

    .benefits-title{
        font-size: 22px;
    }
}

/* центрируем CTA под двумя колонками */
.benefits-cta{
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px; /* чуть больше расстояние под крупную кнопку */
}

/* стрелки над кнопкой */
.benefits-arrows{
    display: flex;
    gap: 8px;
}

.benefits-arrows span{
    font-size: 22px;
    color: #f2ff10;
    animation: arrow-bounce 1.1s infinite;
    opacity: 0.8;
}

.benefits-arrows span:nth-child(2){
    animation-delay: 0.1s;
}
.benefits-arrows span:nth-child(3){
    animation-delay: 0.2s;
}

@keyframes arrow-bounce {
    0%{
        transform: translateY(0);
        opacity: 0.5;
    }
    50%{
        transform: translateY(6px);
        opacity: 1;
    }
    100%{
        transform: translateY(0);
        opacity: 0.5;
    }
}

/* зелёная кнопка с чёрным шрифтом — примерно в 2 раза крупнее */
.benefits-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 22px 56px; /* было 14px 32px */
    border-radius: 999px;
    border: none;
    background: #f2ff10;
    color: #000;
    font-family: 'ArcoCyrillic', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px; /* было 14px */
    text-transform: uppercase;
    letter-spacing: 0.09em;
    text-decoration: none;
    box-shadow: 0 0 26px rgba(140, 219, 14, 0.55); /* чуть сильнее свечение */
    cursor: pointer;
    transition:
            transform 0.15s ease-out,
            box-shadow 0.15s ease-out,
            background 0.15s ease-out;
    white-space: nowrap;
}

.benefits-btn:hover{
    transform: translateY(-1px) scale(1.03);
    background: #a7ff24;
    box-shadow: 0 0 32px rgba(140, 219, 14, 0.8);
}

.benefits-btn:active{
    transform: translateY(0) scale(0.98);
    box-shadow: 0 0 14px rgba(140, 219, 14, 0.5);
}

/* адаптив: крупная, но немного компактнее на очень маленьких экранах */
@media (max-width: 480px){
    .benefits-cta{
        margin-top: 32px;
    }

    .benefits-btn{
        width: 100%;
        max-width: 360px;
        font-size: 14px;   /* текст чуть меньше */
        padding: 16px 24px; /* и немного компактнее кнопка */
    }
}

/* ===== СЕКЦИЯ КРУПНЫЕ "ОКНА" ===== */

.features{
    background: #000000;
    padding: 64px 6vw 80px;
}

.features-inner{
    width: 100%;
    max-width: 1160px;     /* ограничиваем ширину */
    margin: 0 auto;        /* центрируем */
}

/* Сетка окон */
.features-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Карточка-окно */
.feature-card{
    border-radius: 18px; /* мягкие квадраты */
    border: 1px solid rgba(140, 219, 14, 0.5);
    padding: 28px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: center; /* центр по горизонтали */
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    min-height: 210px; /* немного крупнее окна */
}

/* Большая PNG-галочка сверху */
.feature-icon{
    display: block;
    width: 130px;   /* иконки крупнее */
    height: auto;
    margin-bottom: 12px;
}

/* Линия "————————————" */
.feature-separator{
    width: 100%;
    height: 1px;
    background: linear-gradient(
            to right,
            rgba(140, 219, 14, 0.0),
            rgba(140, 219, 14, 0.9),
            rgba(140, 219, 14, 0.0)
    );
    margin: 6px 0 12px;
}

/* Текст в окне */
.feature-text{
    font-family: 'ArcoCyrillic', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #f2ff10;
    text-align: center;  /* центрируем текст под иконкой */
}

/* ===== АДАПТАЦИЯ ОКОН ===== */

/* 2 колонки на средних экранах */
@media (max-width: 1200px){
    .features-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 1 колонка на телефоне */
@media (max-width: 700px){
    .features{
        padding: 40px 16px 48px;
    }

    .features-grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .feature-card{
        min-height: 0;
        padding: 22px 16px 18px;
    }

    .feature-icon{
        width: 100px; /* чуть меньше, чтобы влазило на телефонах */
    }

    .feature-text{
        font-size: 16px;
    }
}

/* ===== СЕКЦИЯ "ПРОФЕССИЯ КЛАДОВЩИК" ===== */

.warehouse{
    background: #000000;
    padding: 64px 6vw 80px;
}

.warehouse-inner{
    max-width: 1160px;      /* ограничиваем ширину */
    margin: 0 auto;         /* центрируем */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

/* Левая колонка (текст) */
.warehouse-left{
    width: 50%;
    font-family: 'ArcoCyrillic', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f2ff10;
}

.warehouse-label{
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.2em;
    opacity: 0.85;
    margin-bottom: 10px;
}

.warehouse-title{
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    margin-bottom: 14px;
}

.warehouse-text{
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 10px;
    opacity: 0.95;
}

.warehouse-list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.warehouse-item{
    font-size: 18px;
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}

.warehouse-item::before{
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
}

/* Правая колонка (картинка) */
.warehouse-right{
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.warehouse-image{
    max-width: 420px;
    width: 100%;
    height: auto;
    display: block;
    /* по желанию — лёгкое "дыхание" как у курьера */
    animation: float 4s ease-in-out infinite alternate;
}

/* ===== АДАПТИВ ДЛЯ СЕКЦИИ КЛАДОВЩИКА ===== */

@media (max-width: 900px){
    .warehouse{
        padding: 40px 16px 48px;
    }

    .warehouse-inner{
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .warehouse-left,
    .warehouse-right{
        width: 100%;
    }

    .warehouse-right{
        justify-content: center;
    }

    .warehouse-image{
        max-width: 320px;
    }

    .warehouse-title{
        font-size: 24px;
    }

    .warehouse-text,
    .warehouse-item{
        font-size: 16px;
    }
}

@media (max-width: 480px){
    .warehouse{
        padding: 32px 12px 40px;
    }

    .warehouse-image{
        max-width: 260px;
    }
}

/* CTA внутри секции "кладовщик" */
.warehouse-cta{
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* стрелки над кнопкой */
.warehouse-arrows{
    display: flex;
    gap: 8px;
}

.warehouse-arrows span{
    font-size: 22px;
    color: #f2ff10;
    animation: arrow-bounce 1.1s infinite;
    opacity: 0.8;
}

.warehouse-arrows span:nth-child(2){
    animation-delay: 0.1s;
}
.warehouse-arrows span:nth-child(3){
    animation-delay: 0.2s;
}

/* фиолетовая кнопка с белым шрифтом — крупнее */
.warehouse-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 30px 72px; /* было 18px 44px */
    border-radius: 999px;
    border: none;
    background: #8b5cf6;
    color: #ffffff;
    font-family: 'ArcoCyrillic', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 20px; /* было 16px */
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    box-shadow: 0 0 32px rgba(139, 92, 246, 0.75);
    cursor: pointer;
    transition:
            transform 0.15s ease-out,
            box-shadow 0.15s ease-out,
            background 0.15s ease-out;
    white-space: nowrap;
}

.warehouse-btn:hover{
    transform: translateY(-1px) scale(1.04);
    background: #a855f7;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.9);
}

.warehouse-btn:active{
    transform: translateY(0) scale(0.98);
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.6);
}

/* адаптив для маленьких экранов */
@media (max-width: 480px){
    .warehouse-cta{
        margin-top: 24px;
    }

    .warehouse-btn{
        width: 100%;
        max-width: 360px;
        font-size: 18px;      /* было 14px */
        padding: 22px 28px;   /* было 16px 22px */
    }
}
/* ===== НАВИГАЦИЯ С "ТРЕМЯ ПАЛКАМИ" (FIXED) ===== */

/* скрытый чекбокс-тогглер */
.nav-toggle{
    display: none;
}

/* фиксированная шапка — паддинги как у hero (6vw) */
.site-header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(14px);
    padding: 14px 6vw 0; /* горизонтальный отступ как у контента */
}

/* внутренний контейнер — без боковых паддингов,
   центрируется и ограничен max-width, как hero-inner */
.site-header-inner{
    margin: 0 auto;
    padding: 0;                 /* УБРАЛИ 6vw ОТСЮДА */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* иконка "три палки" слева */
.nav-toggle-label{
    width: 32px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin: 4px 0 10px;
}

.nav-toggle-label span{
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 999px;
    background: #f2ff10;
    transition:
            transform 0.18s ease-out,
            opacity   0.18s ease-out,
            background 0.18s ease-out;
}

/* гамбургер → крестик */
#nav-toggle:checked + .site-header .nav-toggle-label span:nth-child(1){
    transform: translateY(11px) rotate(45deg);
}

#nav-toggle:checked + .site-header .nav-toggle-label span:nth-child(2){
    opacity: 0;
}

#nav-toggle:checked + .site-header .nav-toggle-label span:nth-child(3){
    transform: translateY(-11px) rotate(-45deg);
}

/* меню — продолжение шапки */
.site-nav{
    width: 100%;
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    padding: 10px 0 14px;
    border-top: 1px solid rgba(242, 255, 16, 0.35);
}

#nav-toggle:checked + .site-header .site-nav{
    display: flex;
}

/* ссылки в меню */
.site-nav a{
    font-family: 'ArcoCyrillic', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    text-decoration: none;
    color: #f2ff10;
    padding: 4px 0;
    white-space: nowrap;
    transition: color 0.15s ease-out, transform 0.15s ease-out;
}

.site-nav a:hover{
    color: #a7ff24;
    transform: translateY(-1px);
}

/* ===== АДАПТИВ НАВИГАЦИИ ===== */

@media (max-width: 600px){
    .site-header{
        padding: 10px 16px 0;  /* на мобиле чуть другие отступы */
    }

    .site-header-inner{
        max-width: 100%;
    }

    .site-nav{
        gap: 12px;
        flex-direction: column;
        padding-bottom: 10px;
    }

    .nav-toggle-label{
        width: 28px;
        height: 22px;
    }

    .site-nav a{
        font-size: 13px;
    }
}

/* отступ под фиксированную шапку */
.page-content{
    margin-top: 80px;
    transition: margin-top 0.18s ease-out;
}

#nav-toggle:checked ~ .page-content{
    margin-top: 140px;
}
