/* ================= TOP BAR ================= */
.header-topbar {
    background: linear-gradient(90deg, #5b5ee5, #3a6cff);
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

/* ================= HEADER ================= */
.header-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.header-nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.header-wrapper.scrolled .header-topbar {
    transform: translateY(-100%);
    opacity: 0;
    height: 0;
    padding: 0;
}

.header-wrapper.scrolled .header-nav {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Logo */
.header-logo-mark {
    height: 32px;
}

/* Desktop nav */
.header-nav-links .nav-link {
    color: #111;
    font-weight: 500;
    margin: 0 14px;
}

/* Desktop button */
.header-check-btn {
    background: #0b0f1a;
    color: #fff;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    border: none;
}

/* Mobile hamburger */
.header-mobile-toggle {
    border: none;
    background: transparent;
    flex-direction: column;
    gap: 5px;
}

.header-mobile-toggle span {
    width: 22px;
    height: 2px;
    background: #111;
    display: block;
}

/* ============ MOBILE DRAWER ============ */
.header-mobile-panel {
    border-radius: 24px 0 0 24px;
    background: linear-gradient(180deg, #f4f2ff 0%, #ffffff 40%);
}

.header-mobile-head {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-mobile-close {
    background: none;
    border: none;
    font-size: 26px;
    background: #f3f4f6;
    border-radius: 45px;
    padding: 6px 16px;
    margin-bottom: 10px;
}

.header-mobile-desc {
    font-size: 14px;
    color: #666;
    margin: 20px 0;
}

.header-mobile-label {
    font-weight: 600;
    margin-bottom: 10px;
}

.header-mobile-links a {
    display: block;
    padding: 8px 0;
    color: #111;
    text-decoration: none;
    font-size: 16px;
}

/* X pill */
.header-social-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    margin-top: 20px;
    text-decoration: none;
    color: #111;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.header-x-icon {
    background: #000;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.header-arrow {
    font-size: 18px;
}

/* Full drawer background */
.header-mobile-panel {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
}

/* Wrapper */
.header-mobile-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}