/* LG Advanced Navigation System - Working with Trae's HTML Structure */
/* Brand Colors and Variables */
:root {
    --coral: #F96F6E;
    --teal: #2ED3C6;
    --coral-light: #FA8B8A;
    --teal-light: #5FDBCF;
    --dark-bg: rgba(20, 20, 25, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
}

/* Navigation Container */
.lg-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navigation Toggle Button */
.lg-nav-toggle {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--dark-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: move;
    pointer-events: all;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    user-select: none;
    z-index: 10001;
    color: var(--coral);
}

/* Navigation Toggle Active State */
.lg-nav-toggle.active {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(249, 111, 110, 0.4);
}

.lg-nav-toggle:hover {
    transform: translateX(-50%) scale(1.1);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.lg-nav-toggle.dragging {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    cursor: grabbing;
}

.lg-nav-toggle svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.lg-nav-toggle:hover svg {
    transform: rotate(90deg);
}

/* Navigation Menu */
.lg-nav-menu {
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%) scale(0.95);
    width: 320px;
    background: var(--dark-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 16px 20px 20px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    max-height: 70vh;
    overflow-y: auto;
    transform-origin: top center;
    /* Ensure tooltips are positioned relative to menu */
    overflow-x: hidden;
    position: relative;
}

.lg-nav-menu.active {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

/* Custom Scrollbar for Navigation Menu */
.lg-nav-menu::-webkit-scrollbar {
    width: 8px;
}

.lg-nav-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 10px 0;
}

.lg-nav-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--coral), var(--teal));
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.lg-nav-menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(249, 111, 110, 0.9), rgba(0, 212, 255, 0.9));
    box-shadow: 0 0 10px rgba(249, 111, 110, 0.3);
    transform: scaleY(1.1);
}

.lg-nav-menu::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, var(--coral), var(--teal));
    box-shadow: 0 0 15px rgba(249, 111, 110, 0.5);
}

/* Firefox scrollbar styling */
.lg-nav-menu {
    scrollbar-width: thin;
    scrollbar-color: var(--coral) rgba(255, 255, 255, 0.05);
}

/* Scrollbar corner styling */
.lg-nav-menu::-webkit-scrollbar-corner {
    background: transparent;
}

/* Enhanced scrollbar for better mobile experience */
@media (max-width: 768px) {
    .lg-nav-menu::-webkit-scrollbar {
        width: 6px;
    }
    
    .lg-nav-menu::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, var(--coral), var(--teal));
        border-radius: 8px;
        border: none;
    }
    
    .lg-nav-menu::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
        margin: 8px 0;
    }
}

/* Close Button - Header Control */
.lg-nav-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    z-index: 1001;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.lg-nav-close:hover {
    background: rgba(249, 111, 110, 0.2);
    border-color: rgba(249, 111, 110, 0.3);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 4px 20px rgba(249, 111, 110, 0.2);
}

.lg-nav-close svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* Circular Motif */
.lg-nav-motif {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    padding-left: 4px;
}

.lg-nav-motif-circle {
    width: 60px;
    height: 60px;
    background: rgba(20, 20, 25, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: motifPulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lg-nav-motif-circle:hover {
    animation: motifPulseHover 1.5s ease-in-out infinite;
    border-color: rgba(249, 111, 110, 0.3);
    box-shadow: 0 0 20px rgba(249, 111, 110, 0.2);
}

.lg-nav-motif-logo {
    width: 32px;
    height: 32px;
    color: var(--coral);
}

@keyframes motifPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 111, 110, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(249, 111, 110, 0);
    }
}

@keyframes motifPulseHover {
    0%, 100% {
        transform: scale(1.05);
        box-shadow: 0 0 0 0 rgba(249, 111, 110, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(249, 111, 110, 0);
    }
}

/* Navigation Header */
.lg-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 20px 0;
    margin-top: 0;
    position: relative;
}

.lg-nav-header-content {
    flex: 1;
}

.lg-nav-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.lg-nav-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.02em;
}

.lg-nav-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.lg-nav-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lg-nav-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lg-nav-logo svg {
    width: 100%;
    height: 100%;
}

.lg-nav-brand {
    color: white;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Navigation Sections */
.lg-nav-section {
    margin-bottom: 24px;
}

.lg-nav-section:last-child {
    margin-bottom: 0;
}

.lg-nav-section-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-left: 4px;
}

/* Navigation Links */
.lg-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 8px;
}

.lg-nav-link:last-child {
    margin-bottom: 0;
}

.lg-nav-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.lg-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: translateX(4px);
}

.lg-nav-link.active {
    background: linear-gradient(135deg, var(--coral), var(--teal));
    border-color: transparent;
    color: white;
    cursor: default;
}

.lg-nav-link.active:hover {
    transform: none;
}

/* Subsection Links - Gradient Outline for Active Page */
.lg-nav-section.services-sections .lg-nav-link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lg-nav-section.services-sections .lg-nav-link:hover {
    background: transparent;
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, var(--coral), var(--teal)) 1;
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Active subsection styling */
.lg-nav-section.services-sections .lg-nav-link.active {
    background: transparent;
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, var(--coral), var(--teal)) 1;
    color: var(--text-primary);
}

/* Page-Specific Styles */
body[data-page="scopeiq"] .lg-nav-section:has(.lg-nav-link[href*="scopeiq"]) {
    position: relative;
}

body[data-page="scopeiq"] .lg-nav-section:has(.lg-nav-link[href*="scopeiq"])::before {
    content: "Assessment In Progress";
    display: block;
    background: rgba(249, 111, 110, 0.1);
    border: 1px solid rgba(249, 111, 110, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--coral-light);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
    text-align: left;
}

/* Current Page Indicator */
.lg-nav-current-indicator {
    background: linear-gradient(135deg, rgba(249, 111, 110, 0.15) 0%, rgba(46, 211, 198, 0.15) 100%);
    border: 1px solid rgba(249, 111, 110, 0.2);
    border-radius: 8px;
    padding: 8px 16px;
    margin: 16px 20px 20px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    border-left: 3px solid rgba(249, 111, 110, 0.6);
}

/* Desktop Responsive - Left Side Positioning */
@media (min-width: 1025px) {
    .lg-nav-toggle {
        top: 60px;
        left: 60px;
        transform: none;
    }

    .lg-nav-toggle:hover {
        transform: scale(1.1);
    }

    .lg-nav-toggle.dragging {
        transform: scale(1.2);
    }

    .lg-nav-menu {
        left: 60px;
        transform: translateX(-20px) translateY(-100%) scale(0.95);
        transform-origin: top left;
    }

    .lg-nav-menu.active {
        transform: translateX(0) translateY(0) scale(1);
    }
}

/* Tablet Responsive - Keep Centered */
@media (min-width: 769px) and (max-width: 1024px) {
    .lg-nav-toggle {
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
    }

    .lg-nav-toggle:hover {
        transform: translateX(-50%) scale(1.1);
    }

    .lg-nav-toggle.dragging {
        transform: translateX(-50%) scale(1.2);
    }

    .lg-nav-menu {
        left: 50%;
        top: 100px;
        transform: translateX(-50%) translateY(-100%) scale(0.95);
        transform-origin: top center;
    }

    .lg-nav-menu.active {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lg-nav-toggle {
        top: 20px;
        right: 20px;
        left: auto;
        transform: none;
        width: 50px;
        height: 50px;
    }

    .lg-nav-menu {
        width: calc(100vw - 40px);
        left: 50%;
        top: 80px;
        max-height: 75vh;
        padding: 16px;
        transform: translateX(-50%) translateY(-20px) scale(0.95);
    }

    .lg-nav-menu.active {
        transform: translateX(-50%) translateY(0) scale(1);
        z-index: 10002;
    }

    /* Ensure hover effects work on mobile */
    .lg-nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: var(--text-primary);
        transform: translateX(4px);
    }

    /* Mobile gradient outline for subsections */
    .lg-nav-section.services-sections .lg-nav-link:hover {
        background: transparent;
        border: 1px solid transparent;
        border-image: linear-gradient(135deg, var(--coral), var(--teal)) 1;
        color: var(--text-primary);
        transform: translateX(4px);
    }

    /* Active subsection styling on mobile */
    .lg-nav-section.services-sections .lg-nav-link.active {
        background: transparent;
        border: 1px solid transparent;
        border-image: linear-gradient(135deg, var(--coral), var(--teal)) 1;
        color: var(--text-primary);
    }

    /* Ensure close button is visible and properly positioned on mobile */
    .lg-nav-close {
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
        background: rgba(249, 111, 110, 0.1);
        border: 1px solid rgba(249, 111, 110, 0.3);
        border-radius: 8px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .lg-nav-close:hover {
        background: rgba(249, 111, 110, 0.2);
        border-color: rgba(249, 111, 110, 0.5);
        transform: scale(1.05);
    }

    .lg-nav-header {
        padding: 12px 16px 16px 16px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .lg-nav-toggle {
        top: 15px;
        right: 15px;
        left: auto;
    }
    
    .lg-nav-menu {
        width: calc(100vw - 30px);
        left: 50%;
        top: 75px;
        padding: 16px;
        max-height: 80vh;
        transform: translateX(-50%) translateY(-20px) scale(0.95);
    }
    
    .lg-nav-menu.active {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    
    .lg-nav-section {
        margin-bottom: 16px;
    }
    
    .lg-nav-section-title {
        margin-bottom: 8px;
        font-size: 11px;
    }

    /* Ensure hover effects work on smallest mobile screens */
    .lg-nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: var(--text-primary);
        transform: translateX(4px);
    }

    /* Mobile gradient outline for subsections on small screens */
    .lg-nav-section.services-sections .lg-nav-link:hover {
        background: transparent;
        border: 1px solid transparent;
        border-image: linear-gradient(135deg, var(--coral), var(--teal)) 1;
        color: var(--text-primary);
        transform: translateX(4px);
    }

    /* Active subsection styling on small mobile screens */
    .lg-nav-section.services-sections .lg-nav-link.active {
        background: transparent;
        border: 1px solid transparent;
        border-image: linear-gradient(135deg, var(--coral), var(--teal)) 1;
        color: var(--text-primary);
    }

    /* Ensure close button is visible on smallest mobile screens */
    .lg-nav-close {
        min-width: 40px;
        min-height: 40px;
        padding: 8px;
        background: rgba(249, 111, 110, 0.1);
        border: 1px solid rgba(249, 111, 110, 0.3);
        border-radius: 6px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .lg-nav-close svg {
        width: 18px;
        height: 18px;
    }

    .lg-nav-header {
        padding: 10px 12px 12px 12px;
        gap: 6px;
    }
}

/* Dragging States */
.lg-nav-container.dragging .lg-nav-toggle {
    transition: none;
}

.lg-nav-container.dragging .lg-nav-menu {
    display: none;
}

/* Overlay */
.lg-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.lg-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Animation Enhancements */
@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); 
    }
    50% { 
        box-shadow: 0 8px 32px rgba(249, 111, 110, 0.4); 
    }
}

.lg-nav-toggle:not(.dragging):not(:hover) {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Navigation Divider */
.lg-nav-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 16px 0;
    opacity: 0.6;
}

/* CSS tooltips removed to prevent conflicts with JavaScript tooltip system */

/* Integrated Scrollbar for Menu */
.lg-nav-menu {
    scrollbar-width: thin;
    scrollbar-color: rgba(249, 111, 110, 0.6) transparent;
}

.lg-nav-menu::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}

.lg-nav-menu::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px 0;
}

.lg-nav-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(249, 111, 110, 0.4) 0%, rgba(46, 211, 198, 0.4) 100%);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: all 0.3s ease;
}

.lg-nav-menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(249, 111, 110, 0.7) 0%, rgba(46, 211, 198, 0.7) 100%);
    background-clip: content-box;
}

.lg-nav-menu::-webkit-scrollbar-corner {
    background: transparent;
}

/* Enhanced Tooltip System for Rich Content */
.lg-nav-info-icon {
    width: 16px;
    height: 16px;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid #00d4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    color: #00d4ff;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 8px;
}

/* White info icon for active navigation states */
.lg-nav-link.active .lg-nav-info-icon {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

.lg-nav-link.active .lg-nav-info-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lg-nav-info-icon:hover {
    background: rgba(0, 212, 255, 0.3);
    transform: scale(1.1);
}

.lg-nav-tooltip {
    position: absolute;
    background: var(--dark-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 45%;
    width: auto;
    pointer-events: none;
    /* Ensure it never extends outside the menu */
    right: 10px;
    left: auto;
    top: auto;
}

.lg-nav-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

/* Overlay positioning - no arrows needed since it's an overlay bubble */
.lg-nav-tooltip.position-overlay {
    /* Enhanced overlay styling */
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid var(--coral);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Remove arrow for overlay tooltips */
.lg-nav-tooltip.position-overlay::before {
    display: none;
}

/* Legacy arrow positioning for non-overlay tooltips (if any remain) */
.lg-nav-tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 8px solid transparent;
}

.lg-nav-tooltip.position-right::before {
    left: -16px;
    top: 20px;
    border-right-color: var(--dark-bg);
}

.lg-nav-tooltip.position-left::before {
    right: -16px;
    top: 20px;
    border-left-color: var(--dark-bg);
}

.lg-nav-tooltip.position-bottom::before {
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: var(--dark-bg);
}

.lg-nav-tooltip-title {
    color: #00d4ff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.lg-nav-tooltip-desc {
    color: #ffffff;
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
}

.lg-nav-tooltip-close {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 16px;
    height: 16px;
    background: none;
    border: none;
    color: #00d4ff;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.lg-nav-tooltip-close:hover {
    opacity: 1;
}

/* Mobile adjustments for info icons */
@media (max-width: 768px) {
    .lg-nav-info-icon {
        width: 14px;
        height: 14px;
        font-size: 9px;
    }
    
    .lg-nav-tooltip {
        max-width: 200px;
        padding: 10px;
    }
    
    .lg-nav-tooltip-title {
        font-size: 12px;
    }
    
    .lg-nav-tooltip-desc {
        font-size: 10px;
    }
}

/* Page-specific navigation links with gradient outline on hover only */
.lg-nav-page-link {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lg-nav-page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    padding: 1px;
    background: linear-gradient(135deg, var(--coral), var(--teal));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lg-nav-page-link:hover::before {
    opacity: 1;
}

.lg-nav-page-link:hover {
    background: linear-gradient(135deg, rgba(249, 111, 110, 0.15), rgba(46, 211, 198, 0.15));
    border-color: transparent;
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(249, 111, 110, 0.2);
}