/**
 * Premium header — clean layout, glass scroll, unified actions
 */

/* ---- Shell ---- */
.header-system {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header-system.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    border-bottom-color: transparent;
}

.site-header {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
    position: relative !important;
}

/* ---- Top bar ---- */
.top-bar--slim {
    background: linear-gradient(90deg, #070b14 0%, #0f172a 50%, #111827 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.top-bar--slim::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(32, 114, 243, 0.5), rgba(0, 196, 167, 0.4), transparent);
}

.top-bar-inner {
    min-height: 32px !important;
}

.top-bar-badge {
    font-size: 10.5px !important;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.65) !important;
}

.top-bar-badge i {
    color: #00c4a7 !important;
}

.top-bar-sep {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.top-bar-phone {
    margin-left: 8px;
    font-size: 11px !important;
    padding: 4px 12px !important;
}

/* ---- Main row ---- */
.header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 80px;
    padding: 10px 0;
}

.header-row .logo {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    transition: transform 0.2s;
}

.header-row .logo:hover {
    transform: translateY(-1px);
}

.header-row .logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    box-shadow: 0 6px 20px rgba(32, 114, 243, 0.3);
    transition: box-shadow 0.25s;
}

.header-row .logo:hover .logo-icon {
    box-shadow: 0 8px 28px rgba(32, 114, 243, 0.4);
}

.header-row .logo-name {
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.header-row .logo-tagline {
    font-size: 10px;
    color: #94a3b8;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-row .desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
    overflow: visible;
    position: relative;
    z-index: 50;
}

.header-row .main-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1px;
    max-width: 100%;
    list-style: none;
    margin: 0;
    padding: 4px 8px;
    background: rgba(248, 250, 252, 0.7);
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.header-row .header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding-left: 8px;
    position: relative;
    z-index: 20;
}

.header-row .header-actions::before {
    display: none;
}

/* ---- Nav links ---- */
.header-row .main-nav > li {
    position: relative;
    flex-shrink: 0;
}

.header-row .nav-item-services-mega {
    position: static;
}

.header-row .nav-item-has-mega:hover,
.header-row .nav-item-services-mega.mega-open,
.header-row .nav-item-services-mega.mega-pinned {
    z-index: 60;
}

.header-row .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 13px;
    border-radius: 10px;
    color: #475569;
    white-space: nowrap;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    position: relative;
    background: transparent;
}

.header-row .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2072f3, #00c4a7);
    border-radius: 2px;
    transition: width 0.25s ease, left 0.25s ease;
}

.header-row .nav-link:hover {
    color: #2072f3;
    background: rgba(255, 255, 255, 0.85);
}

.header-row .nav-link:hover::after,
.header-row .main-nav > li.is-active > .nav-link::after {
    width: calc(100% - 20px);
    left: 10px;
}

.header-row .main-nav > li.is-active > .nav-link {
    color: #2072f3;
    background: #fff;
    box-shadow: 0 2px 8px rgba(32, 114, 243, 0.1);
}

.header-row .nav-link--mega::after {
    display: none;
}

.header-row .nav-chevron {
    font-size: 7px;
    opacity: 0.45;
    transition: transform 0.25s;
}

.header-row .nav-item-has-mega:hover .nav-chevron {
    transform: rotate(180deg);
    opacity: 0.8;
}

/* ---- Header actions (clean group) ---- */
.header-institute-cta--ghost {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: none !important;
    transition: all 0.2s !important;
}

.header-institute-cta--ghost i {
    color: #7c3aed;
    font-size: 13px;
}

.header-institute-cta--ghost:hover {
    border-color: #7c3aed !important;
    color: #7c3aed !important;
    background: rgba(124, 58, 237, 0.06) !important;
    transform: translateY(-1px);
}

.header-icon-group {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 3px;
    gap: 2px;
    border: 1px solid #e2e8f0;
}

.header-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    color: #64748b;
    background: transparent;
}

.header-icon-btn--phone:hover {
    background: #fff;
    color: #2072f3;
    box-shadow: 0 2px 8px rgba(32, 114, 243, 0.15);
}

.header-icon-btn--wa {
    color: #25D366;
}

.header-icon-btn--wa:hover {
    background: #25D366;
    color: #fff;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.35);
}

.header-cta-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    border: none !important;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #2072f3 0%, #1557c7 100%) !important;
    box-shadow: 0 4px 20px rgba(32, 114, 243, 0.35);
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s !important;
    white-space: nowrap;
}

.header-cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: headerCtaShine 4s ease-in-out infinite;
}

@keyframes headerCtaShine {
    0%, 100% { left: -100%; }
    50% { left: 120%; }
}

.header-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(32, 114, 243, 0.45) !important;
    color: #fff !important;
}

.header-cta-btn i {
    position: relative;
    z-index: 1;
}

.header-cta-btn span {
    position: relative;
    z-index: 1;
}

/* ---- Trust bar (inner pages) ---- */
.header-trust-bar {
    background: linear-gradient(90deg, #f8fafc, #fff, #f8fafc);
    border-top: 1px solid #eef2f6;
    overflow: hidden;
}

.header-trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 36px;
    gap: 4px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    padding: 6px 16px;
    white-space: nowrap;
    transition: color 0.2s;
}

.trust-pill:hover {
    color: #2072f3;
}

.trust-pill i {
    color: #2072f3;
    font-size: 10px;
}

.trust-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* ---- Shared mega dropdown ---- */
.header-system .mega-menu {
    z-index: 1100;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    padding-top: 8px;
    margin-top: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: unset;
}

.header-system .nav-item-has-mega:hover > .mega-menu,
.header-system .nav-item-has-mega.mega-open > .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

.mega-dropdown-head {
    padding: 12px 16px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(180deg, #f8fafc, #fff);
}

/* ---- Compact mega (Company, More) ---- */
.mega-menu--compact {
    width: 260px;
}

.mega-menu--compact .mega-dropdown-card {
    padding-bottom: 6px;
}

.mega-compact-list {
    list-style: none;
    margin: 0;
    padding: 6px;
}

.mega-compact-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.mega-compact-list a:hover {
    background: #eff6ff;
    color: #2072f3;
}

.mega-compact-list i {
    color: #2072f3;
    width: 18px;
    text-align: center;
    font-size: 13px;
}

/* ---- More menu ---- */
.mega-menu--more {
    width: min(440px, calc(100vw - 32px));
}

.mega-dropdown-card--grid {
    padding-bottom: 10px;
}

.mega-dropdown-head--hosting {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
}

.mega-dropdown-head-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #2072f3;
    background: linear-gradient(135deg, rgba(32, 114, 243, 0.12), rgba(99, 102, 241, 0.08));
    border: 1px solid rgba(32, 114, 243, 0.12);
}

.mega-dropdown-head--sub {
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
    font-size: 11px;
    letter-spacing: 0.06em;
}

/* Hosting & Domains promo — More dropdown */
.more-hosting-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 10px 12px;
}

.more-hosting-card {
    display: grid;
    grid-template-columns: 48px 1fr 28px;
    align-items: center;
    gap: 14px;
    padding: 14px 14px 14px 12px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.more-hosting-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.more-hosting-card--hosting {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 100%);
    border-color: rgba(32, 114, 243, 0.18);
}

.more-hosting-card--hosting::before {
    background: linear-gradient(135deg, rgba(32, 114, 243, 0.08), transparent);
}

.more-hosting-card--domain {
    background: linear-gradient(135deg, #ecfdf5 0%, #e0f2f1 100%);
    border-color: rgba(13, 148, 136, 0.18);
}

.more-hosting-card--domain::before {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), transparent);
}

.more-hosting-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.more-hosting-card:hover::before {
    opacity: 1;
}

.more-hosting-card--hosting:hover {
    border-color: rgba(32, 114, 243, 0.35);
}

.more-hosting-card--domain:hover {
    border-color: rgba(13, 148, 136, 0.35);
}

.more-hosting-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.more-hosting-card--hosting .more-hosting-card-icon {
    color: #fff;
    background: linear-gradient(145deg, #2072f3, #4f6ef7);
}

.more-hosting-card--domain .more-hosting-card-icon {
    color: #fff;
    background: linear-gradient(145deg, #0d9488, #14b8a6);
}

.more-hosting-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.more-hosting-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.more-hosting-card-desc {
    font-size: 11px;
    line-height: 1.45;
    color: #64748b;
}

.more-hosting-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.more-hosting-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: #475569;
}

.more-hosting-tag i {
    font-size: 9px;
}

.more-hosting-card--hosting .more-hosting-tag i {
    color: #2072f3;
}

.more-hosting-card--domain .more-hosting-tag i {
    color: #0d9488;
}

.more-hosting-price {
    font-size: 11px;
    font-weight: 700;
    color: #2072f3;
}

.more-hosting-card--domain .more-hosting-price {
    color: #0d9488;
}

.more-hosting-card-go {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #64748b;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    position: relative;
    z-index: 1;
}

.more-hosting-card:hover .more-hosting-card-go {
    color: #fff;
    transform: translateX(2px);
}

.more-hosting-card--hosting:hover .more-hosting-card-go {
    background: #2072f3;
    border-color: #2072f3;
}

.more-hosting-card--domain:hover .more-hosting-card-go {
    background: #0d9488;
    border-color: #0d9488;
}

.more-hosting-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 2px 10px 0;
    padding: 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #2072f3;
    text-decoration: none;
    background: rgba(32, 114, 243, 0.06);
    transition: background 0.2s;
}

.more-hosting-all-link:hover {
    background: rgba(32, 114, 243, 0.12);
    color: #1d4ed8;
}

.drawer-nav-item--hosting i { color: #2072f3; }
.drawer-nav-item--domain i { color: #0d9488; }

.more-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 8px;
}

.more-nav-grid--icons {
    grid-template-columns: repeat(3, 1fr);
}

.more-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: 0.2s;
}

.more-nav-link:hover {
    background: rgba(32, 114, 243, 0.06);
    color: #2072f3;
}

.more-nav-grid--icons .more-nav-link--svg {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 14px 8px;
}

.more-nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-nav-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ---- Services mega menu ---- */
.header-system .mega-menu--services {
    width: min(1080px, calc(100vw - 40px));
    padding-top: 10px;
    transform: translateX(-50%) translateY(8px) !important;
}

.header-system .nav-item-services-mega:hover .mega-menu--services,
.header-system .nav-item-services-mega.mega-open .mega-menu--services,
.header-system .nav-item-services-mega.mega-pinned .mega-menu--services {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) !important;
}

.mega-menu--services-inner {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.16);
}

.mega-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc, #fff);
    padding: 6px 6px 0;
}

.mega-tabs::-webkit-scrollbar { display: none; }

.mega-tab {
    flex: 1 1 0;
    min-width: 148px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    text-align: left;
    transition: all 0.2s;
    font-family: inherit;
}

.mega-tab:hover { background: rgba(32, 114, 243, 0.06); }

.mega-tab.is-active {
    background: #fff;
    border-bottom-color: #2072f3;
}

.mega-tab-icon-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-tab-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(145deg, #eef4ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(32, 114, 243, 0.1);
}

.mega-tab-icon-box--svg {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: none;
}

.mega-tab-icon-box--fa {
    background: linear-gradient(145deg, #2072f3 0%, #4d8ff7 100%);
    border-color: transparent;
    color: #fff;
    font-size: 17px;
    box-shadow: 0 4px 14px rgba(32, 114, 243, 0.35);
}

.mega-tab.is-active .mega-tab-icon-box--fa {
    box-shadow: 0 6px 18px rgba(32, 114, 243, 0.45);
}

.mega-promo-icons .mega-tab-icon-box--fa {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

.mega-tab-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.mega-tab-icon--blend {
    width: 40px;
    height: 40px;
    max-width: none;
    object-fit: contain;
    mix-blend-mode: screen;
    transform: scale(1.2);
}

.mega-tab-fa { font-size: 18px; color: #2072f3; }

.mega-tab-label {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.mega-tab-label small {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #94a3b8;
    font-weight: 600;
}

.mega-tab-label strong {
    font-size: 11px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mega-panels { position: relative; min-height: 260px; }
.mega-panel { display: none; padding: 22px 24px; }
.mega-panel.is-active { display: block; animation: megaFadeIn 0.2s ease; }

@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.mega-panel-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 24px;
    align-items: start;
}

.mega-panel-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 20px;
}

.mega-link-col { list-style: none; margin: 0; padding: 0; }
.mega-link-col li { margin-bottom: 4px; }

.mega-link-col a {
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    padding: 6px 8px;
    display: block;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.mega-link-col a:hover {
    background: #eff6ff;
    color: #2072f3;
}

.mega-promo-card {
    background: linear-gradient(145deg, #eff6ff 0%, #ecfdf5 100%);
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.mega-promo-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.mega-promo-icons .mega-tab-icon-box {
    width: 40px;
    height: 40px;
}

.mega-promo-icons .mega-tab-icon--blend {
    width: 36px;
    height: 36px;
}
.mega-promo-card h4 { font-size: 15px; color: #0f172a; margin-bottom: 8px; }
.mega-promo-card p { font-size: 12px; color: #64748b; line-height: 1.5; margin-bottom: 14px; }

.mega-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
}

.mega-promo-btn:hover { color: #fff; transform: translateY(-1px); }

.mega-promo-link {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #2072f3;
    text-decoration: none;
}

/* Legacy action classes — kept for mobile drawer compatibility */
.header-institute-cta:not(.header-institute-cta--ghost) {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
    border: none !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(109, 40, 217, 0.28);
}

.header-phone-btn,
.header-wa-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.header-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #2072f3;
    background: rgba(32, 114, 243, 0.08);
    border: 1px solid rgba(32, 114, 243, 0.12);
    white-space: nowrap;
}

.header-account-btn--outline {
    color: #64748b;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.header-account-btn span {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-bar-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-size: 11.5px !important;
    padding: 3px 8px;
    border-radius: 6px;
}

.top-bar-link--user:hover { color: #fff !important; background: rgba(32,114,243,0.25); }

.mobile-drawer-auth {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px !important;
}

.drawer-login--user {
    background: rgba(32,114,243,0.1) !important;
    color: #2072f3 !important;
    border-radius: 12px;
    justify-content: center;
    font-weight: 600;
}

.drawer-login--admin {
    background: rgba(15,23,42,0.06) !important;
    color: #64748b !important;
    border-radius: 12px;
    justify-content: center;
    font-size: 13px;
}

/* ---- Responsive ---- */
@media (max-width: 1280px) {
    .header-row .nav-link { padding: 8px 10px; font-size: 12px; }
    .header-row .main-nav { padding: 3px 6px; }
    .mega-tab-label strong { max-width: none; }
    .header-cta-btn .cta-full { display: none; }
    .header-cta-btn .cta-short { display: inline !important; }
}

@media (max-width: 1100px) {
    .header-institute-cta--ghost span { display: none; }
    .header-institute-cta--ghost {
        width: 36px;
        height: 36px;
        padding: 0 !important;
        justify-content: center;
    }
    .top-bar-link:not(.top-bar-phone) { display: none !important; }
    .top-bar-sep { display: none; }
}

@media (max-width: 992px) {
    .header-row .desktop-nav { display: none; }
    .header-icon-group { display: none; }
    .header-institute-cta--ghost { display: none !important; }
}

@media (max-width: 1280px) {
    .mega-panel-links { grid-template-columns: repeat(2, 1fr); }
    .mega-panel-grid { grid-template-columns: 1fr 220px; }
}

@media (max-width: 768px) {
    .header-row .header-cta-btn,
    .header-cta-btn {
        display: none !important;
    }

    .header-row {
        min-height: 56px;
        padding: 4px 0;
    }

    .menu-toggle {
        display: flex;
    }
}
