:root {
    --brand-blue: #00C9FF;
    --brand-blue-hover: #00B1E6;
    --brand-light: rgba(0, 201, 255, 0.1);
    --brand-cyan: #00E5FF;

    --navy: #0A192F;
    --navy-light: #112240;
    --navy-lighter: #233554;

    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-white: #FFFFFF;

    --bg-page: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-gray-blue: #F1F5F9;
    --bg-surface: #FFFFFF;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 201, 255, 0.08);
    --shadow-glass: 0 16px 40px rgba(0, 0, 0, 0.08);

    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Button Styles for Navbar */
.v2_header_main .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.v2_header_main .btn-primary {
    background: linear-gradient(135deg, #00C9FF, #00B8F5);
    color: var(--navy);
    box-shadow: 0 4px 14px rgba(0, 201, 255, 0.4);
}

.v2_header_main .btn-primary:hover {
    background: linear-gradient(135deg, #00B1E6, #00A6DF);
    transform: scale(1.03) translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 10px 24px rgba(0, 201, 255, 0.35);
}

.v2_header_main .btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Navbar & Mega Menu Structure */
.v2_header_main .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
}

.v2_header_main .navbar.scrolled {
    height: 72px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.v2_header_main .navbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

.v2_header_main .logo {
    width: 240px;
    flex-shrink: 0;
}

.v2_header_main .nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    padding-left: 72px;
    flex-shrink: 0;
}

.v2_header_main .lang-switch {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #FFF;
    transition: color 0.4s;
}

.v2_header_main .navbar.scrolled .lang-switch {
    color: var(--navy);
}

/* Nav Links & Hover Int */
.v2_header_main .nav-links {
    display: flex;
    gap: 48px;
    height: 100%;
    align-items: center;
    position: relative;
    margin-left: 64px;
    flex: 1;
}

.v2_header_main .nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.v2_header_main .nav-link {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
    cursor: pointer;
    transition: color 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.v2_header_main .navbar.scrolled .nav-link {
    color: var(--text-main);
}

.v2_header_main .nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--brand-blue);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2_header_main .nav-item:hover .nav-link {
    color: var(--brand-blue);
}

.v2_header_main .nav-item:hover .nav-link::after {
    width: 16px;
}

/* Mega Menu Setup */
.v2_header_main .has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.v2_header_main .mega-menu {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.02);
    padding: 32px;
    display: flex;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    color: var(--text-main);
    cursor: default;
}

.v2_header_main .nav-item.align-right .mega-menu {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(10px);
}

.v2_header_main .nav-item.align-right:hover .mega-menu {
    transform: translateX(0) translateY(0);
}

.v2_header_main .mega-content {
    display: grid;
    gap: 32px;
}

.v2_header_main .mega-content.cols-1 {
    grid-template-columns: 1fr;
    min-width: 320px;
}

.v2_header_main .mega-content.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    min-width: 600px;
}

.v2_header_main .mega-content.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    min-width: 900px;
}

.v2_header_main .mega-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v2_header_main .mega-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 12px;
}

.v2_header_main .mega-link {
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    border-radius: 12px;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.v2_header_main .mega-link:hover {
    background: rgba(0, 201, 255, 0.06);
    transform: translateX(4px);
}

.v2_header_main .mega-link-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.v2_header_main .mega-link:hover .mega-link-title {
    color: var(--brand-blue);
}

.v2_header_main .mega-link-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Mobile Toggle */
.v2_header_main .mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #FFF;
}

.v2_header_main .navbar.scrolled .mobile-toggle {
    color: var(--navy);
}

/* Mobile H5 Compatibility */
@media (max-width: 991px) {
    .v2_header_main .nav-links,
    .v2_header_main .nav-actions {
        display: none;
    }

    .v2_header_main .mobile-toggle {
        display: block;
        margin-left: auto;
    }
}