/* components/header/header.css */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 72px;
    display: flex;
    align-items: center;
    transform: translateY(-100%);
    animation: slideDown 0.8s cubic-bezier(0.5, 0, 0, 1) forwards;
}

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1002;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 24px;
    /* Немного уменьшил отступ, так как ссылок стало больше */
}

.nav-link {
    color: #111;
    font-size: 14px;
    /* Чуть уменьшил размер для легкости */
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #ca8a04;
    /* Наш золотистый/желтый из стартап-баджа */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd633;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1002;
    flex-shrink: 0;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 10px;
}

.burger-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #111;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
}

/* Адаптив под увеличившееся количество ссылок */
@media (max-width: 1100px) {
    .nav {
        gap: 16px;
    }

    .nav-link {
        font-size: 13px;
    }
}

@media (max-width: 950px) {
    .burger-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        /* Уменьшил отступ для мобилки, чтобы все влезло */
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        visibility: hidden;
    }

    .nav.active {
        transform: translateY(0);
        visibility: visible;
    }

    .nav-link {
        font-size: 24px;
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .btn-sm {
        padding: 8px 16px;
        font-size: 12px;
        border-radius: 8px;
    }

    .logo-img {
        height: 32px;
    }
}