/* ──────────────────────────────────────────────
   Header
   ────────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* ── Logo ── */
.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.header__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1a8cff;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(26, 140, 255, 0.25);
}

.header__logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.header__logo-text strong {
    color: #1a8cff;
}

/* ── Nav ── */
.header__nav {
    flex: 1;
}

.header__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
}

.header__nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.header__nav-link:hover {
    color: #fff;
}

/* ── Actions ── */
.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header__btn {
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
}

.header__btn--outline {
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header__btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.header__btn--primary {
    background: var(--accent, #6c63ff);
    color: #fff;
    border: 1px solid transparent;
}

.header__btn--primary:hover {
    background: #584fd4;
}

/* ── Burger ── */
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.header__burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.header__burger--active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header__burger--active span:nth-child(2) {
    opacity: 0;
}
.header__burger--active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .header__actions {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .header__nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 20, 0.97);
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        padding: 16px 24px 24px;
    }

    .header__nav--open {
        display: block;
    }

    .header__nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .header__nav-link {
        font-size: 1.1rem;
    }
}
