/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-divider {
    width: 4rem;
    height: 0.25rem;
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    margin: 0 auto 2rem;
    border-radius: 0.125rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* Enhanced Navigation */
.nav-blur {
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.h-18 {
    height: 4.5rem;
}

/* Logo Enhancements */
.nav-logo {
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.nav-logo:hover .w-12 {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-logo img {
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.nav-logo:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) drop-shadow(0 2px 8px rgba(59, 130, 246, 0.3));
}

.nav-logo-text {
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

/* Logo container styling */
.nav-logo .w-12 {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer logo styling */
footer .w-12 {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

footer .w-12:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

/* Enhanced Navigation Links */
.nav-link-enhanced {
    position: relative;
    display: flex;
    align-items: center;
    space-x: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid transparent;
}

.nav-link-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(147, 197, 253, 0.2));
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-link-enhanced:hover::before {
    width: 100%;
}

.nav-link-enhanced:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-link-enhanced.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(147, 197, 253, 0.3));
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav-icon {
    font-size: 0.875rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.nav-link-enhanced:hover .nav-icon {
    transform: scale(1.1);
    color: #fbbf24;
}

/* CTA Button in Nav */
.nav-cta-btn {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e40af;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.3);
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.hamburger {
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 0.125rem;
    background: #ffffff;
    border-radius: 0.125rem;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(0.25rem, 0.25rem);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(0.25rem, -0.25rem);
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(30, 58, 138, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 40;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-menu-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-links {
    space-y: 1rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateX(0.5rem);
}

.mobile-nav-link i:first-child {
    font-size: 1.125rem;
    margin-right: 1rem;
    color: #fbbf24;
    width: 1.5rem;
    text-align: center;
}

.mobile-nav-link span {
    flex: 1;
}

.mobile-arrow {
    font-size: 0.875rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover .mobile-arrow {
    opacity: 1;
    transform: translateX(0.25rem);
}

.mobile-menu-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta-btn {
    width: 100%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e40af;
    font-weight: 600;
    padding: 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.3);
}

.mobile-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

/* Scroll Effect */
.nav-scrolled {
    background: rgba(30, 58, 138, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.nav-scrolled .nav-logo-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Legacy nav-link for backward compatibility */
.nav-link {
    color: #6b7280;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #1d4ed8;
    background-color: #dbeafe;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    width: 0;
    height: 0.125rem;
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link.active::after {
    width: 80%;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3730a3 100%);
    position: relative;
}

.live-score-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Product Cards */
.product-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 231, 235, 0.8);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #3b82f6;
}

/* Technology Features */
.tech-feature {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tech-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: #f3f4f6;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #10b981, #059669);
    border-radius: 9999px;
    transition: width 2s ease-in-out;
}

/* Value Cards */
.value-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 0.25rem solid transparent;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-left-color: #3b82f6;
}

/* Client Cards */
.client-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 0.25rem solid transparent;
    height: 100%;
}

.client-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.client-card:nth-child(1):hover {
    border-top-color: #ef4444;
}

.client-card:nth-child(2):hover {
    border-top-color: #3b82f6;
}

.client-card:nth-child(3):hover {
    border-top-color: #10b981;
}

.client-card:nth-child(4):hover {
    border-top-color: #8b5cf6;
}

.client-card:nth-child(5):hover {
    border-top-color: #f59e0b;
}

/* Advantage Cards */
.advantage-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Enhanced Comparison Table Styles */
.comparison-table {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.comparison-row-enhanced {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
}

.comparison-row-enhanced:last-child {
    border-bottom: none;
}

.comparison-row-enhanced:hover {
    background: rgba(59, 130, 246, 0.02);
    transform: translateX(4px);
}

.comparison-metric {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}

.comparison-metric i {
    font-size: 1.125rem;
    margin-right: 0.75rem;
}

.comparison-nxline,
.comparison-traditional {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Metric Badge Styles */
.metric-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    min-width: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.metric-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.metric-badge:hover::before {
    left: 100%;
}

.metric-excellent {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.metric-excellent:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.metric-poor {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.metric-poor:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.metric-good {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.metric-good:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.metric-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.metric-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Mobile Responsive for Comparison Table */
@media (max-width: 768px) {
    .comparison-row-enhanced {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    
    .comparison-metric {
        justify-content: center;
        margin-bottom: 0.5rem;
        font-size: 0.9375rem;
    }
    
    .comparison-nxline,
    .comparison-traditional {
        justify-content: center;
    }
    
    .metric-badge {
        min-width: 120px;
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 640px) {
    .comparison-table {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .comparison-row-enhanced {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .comparison-metric {
        font-size: 0.875rem;
    }
    
    .comparison-metric i {
        font-size: 1rem;
        margin-right: 0.5rem;
    }
    
    .metric-badge {
        min-width: 100px;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Legacy Comparison Styles for backward compatibility */
.comparison-row {
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.comparison-row:last-child {
    border-bottom: none;
}

/* Case Cards */
.case-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 0.25rem solid #3b82f6;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Cooperation Cards */
.cooperation-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cooperation-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Future Cards */
.future-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.future-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

/* Form Styles */
input[type="text"],
input[type="email"],
select,
textarea {
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    ring-width: 2px;
    ring-color: #3b82f6;
    border-color: transparent;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .product-card,
    .tech-feature,
    .value-card,
    .client-card {
        padding: 1.5rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero h1 span:last-child {
        font-size: 1.875rem;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero h1 span:last-child {
        font-size: 1.5rem;
    }
    
    .product-card,
    .tech-feature,
    .value-card,
    .client-card {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.backdrop-blur-strong {
    backdrop-filter: blur(20px);
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 9999;
}

/* Mobile Menu Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-2rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in {
    animation: slideInLeft 0.3s ease forwards;
}

/* Enhanced Mobile Navigation Responsiveness */
@media (max-width: 1024px) {
    .nav-link-enhanced {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .nav-icon {
        font-size: 0.75rem;
        margin-right: 0.375rem;
    }
    
    .nav-cta-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .nav-logo .w-12 {
        width: 2.75rem;
        height: 2.75rem;
    }
    
    .nav-logo img {
        width: 1.75rem;
        height: 1.75rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-content {
        padding: 1.5rem;
    }
    
    .mobile-nav-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .mobile-nav-link i:first-child {
        font-size: 1rem;
        margin-right: 0.875rem;
    }
    
    .nav-logo .w-12 {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .nav-logo img {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .nav-logo-text {
        font-size: 1.125rem;
    }
}

/* Logo loading and error states */
.nav-logo img {
    opacity: 0;
    animation: logoFadeIn 0.6s ease forwards;
}

.nav-logo img[src=""], 
.nav-logo img:not([src]) {
    display: none;
}

.nav-logo img::after {
    content: "NX";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #3b82f6;
    font-weight: bold;
    font-size: 0.75rem;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Logo fallback styling */
.logo-fallback {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation Accessibility Improvements */
.nav-link-enhanced:focus,
.mobile-nav-link:focus,
.nav-cta-btn:focus,
.mobile-cta-btn:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

.mobile-menu-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-blur {
        background: rgba(0, 0, 0, 0.95);
    }
    
    .nav-link-enhanced,
    .mobile-nav-link {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
}

/* SD-RTN Regional Cards */
.sdn-region-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sdn-region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.sdn-region-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.sdn-region-card:hover::before {
    transform: translateX(100%);
}

.sdn-region-card:nth-child(1):hover {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.15);
}

.sdn-region-card:nth-child(2):hover {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.15);
}

.sdn-region-card:nth-child(3):hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.15);
}

.sdn-region-card:nth-child(4):hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15);
}

/* SD-RTN Animation Effects */
@keyframes networkPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.sdn-region-card i {
    animation: networkPulse 3s ease-in-out infinite;
    animation-delay: var(--animation-delay, 0s);
}

.sdn-region-card:nth-child(1) i { --animation-delay: 0s; }
.sdn-region-card:nth-child(2) i { --animation-delay: 0.75s; }
.sdn-region-card:nth-child(3) i { --animation-delay: 1.5s; }
.sdn-region-card:nth-child(4) i { --animation-delay: 2.25s; }

/* Network Stats Cards */
.network-stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.network-stats-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* SD-RTN Features Animation */
@keyframes featureGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.4);
    }
}

.sdn-region-card + * .w-12 {
    animation: featureGlow 4s ease-in-out infinite;
}

.sdn-region-card + * .w-12:nth-child(1) { animation-delay: 0s; }
.sdn-region-card + * .w-12:nth-child(2) { animation-delay: 1.33s; }
.sdn-region-card + * .w-12:nth-child(3) { animation-delay: 2.66s; }

/* Responsive Design for SD-RTN Section */
@media (max-width: 768px) {
    .sdn-region-card {
        padding: 1rem;
    }
    
    .sdn-region-card .flex.items-center {
        flex-direction: column;
        text-align: center;
        space-x: 0;
        gap: 0.5rem;
    }
    
    .sdn-region-card i {
        font-size: 2rem;
    }
    
    .sdn-region-card h4 {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .sdn-region-card .space-y-2 {
        font-size: 0.75rem;
    }
    
    .network-stats-card .text-3xl {
        font-size: 1.5rem;
    }
    
    .network-stats-card .text-sm {
        font-size: 0.75rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .nav-link-enhanced,
    .mobile-nav-link,
    .nav-cta-btn,
    .mobile-cta-btn,
    .mobile-menu-btn,
    .hamburger span,
    .sdn-region-card,
    .network-stats-card {
        transition: none;
    }
    
    .animate-slide-in {
        animation: none;
    }
    
    .sdn-region-card i,
    .sdn-region-card + * .w-12 {
        animation: none;
    }
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    z-index: 0;
}

/* Highlighted Stats */
.highlighted {
    transform: scale(1.05);
    background: rgba(59, 130, 246, 0.2) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Enhanced SD-RTN Background Animations */
@keyframes dataFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.bg-gradient-to-br.from-indigo-800 {
    background: linear-gradient(-45deg, #1e1b4b, #1e40af, #0891b2, #0f766e);
    background-size: 400% 400%;
    animation: dataFlow 15s ease infinite;
}

/* Interactive Network Stats */
.network-stats-card {
    position: relative;
    overflow: hidden;
}

.network-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.network-stats-card:hover::before {
    left: 100%;
}

/* Pulsing Network Icon */
@keyframes networkIconPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(6, 182, 212, 0);
    }
}

.w-12.bg-gradient-to-r.from-cyan-400 {
    animation: networkIconPulse 2s infinite;
}

/* Counter Animation Highlights */
.text-3xl.font-bold {
    transition: all 0.3s ease;
}

.text-3xl.font-bold.counting {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.language-btn {
    display: flex;
    align-items: center;
    space-x: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.language-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.language-btn .flag-icon {
    font-size: 1rem;
    margin-right: 0.375rem;
}

.language-btn .lang-text {
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Mobile Language Switcher */
@media (max-width: 1024px) {
    .language-switcher {
        padding: 0.125rem;
    }
    
    .language-btn {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .language-btn .flag-icon {
        font-size: 0.875rem;
        margin-right: 0.25rem;
    }
}

/* Language Content Animation */
[data-i18n] {
    transition: opacity 0.2s ease-in-out;
}

.language-switching [data-i18n] {
    opacity: 0.7;
}

/* Language Fade Transition */
@keyframes languageFade {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.language-transition {
    animation: languageFade 0.4s ease-in-out;
}

/* Navigation Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    border: none;
    background: none;
}

.dropdown-arrow {
    margin-left: 0.375rem;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    margin-top: 0.5rem;
    padding: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    transform: translateX(4px);
}

.dropdown-item i {
    margin-right: 0.75rem;
    width: 1rem;
    text-align: center;
    color: #6b7280;
    transition: color 0.3s ease;
}

.dropdown-item:hover i {
    color: #3b82f6;
}

/* Mobile dropdown adjustments */
@media (max-width: 1024px) {
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(5px);
        margin-top: 0.5rem;
        margin-left: 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0.5rem;
        width: 100%;
        display: none; /* Hidden by default on mobile */
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }
    
    .dropdown-item {
        color: rgba(255, 255, 255, 0.8);
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        transform: translateX(4px);
    }
    
    .dropdown-item i {
        color: #fbbf24;
        margin-right: 0.75rem;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.875rem 1.25rem;
    }
    
    .dropdown-arrow {
        margin-left: auto;
    }
}

/* Slide down animation for mobile dropdowns */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 300px;
    }
}

/* Mobile Navigation Sections */
.mobile-nav-section {
    margin-bottom: 0.5rem;
}

.mobile-nav-category {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    padding: 0.875rem 1.25rem;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.mobile-nav-category i {
    color: #fbbf24;
    font-size: 1.125rem;
    margin-right: 1rem;
    width: 1.5rem;
    text-align: center;
}