@media (max-width: 768px) {
    /* removed: .nav display none */
    /* removed: .menu-icon rule */
    /* removed: .nav.open display block */
    /* removed: .nav a display block */
}

        :root {
            /* WCAG AA compliant color palette */
            --primary: #1a365d;
            --primary-light: #2c5282;
            --primary-dark: #0f1f33;
            --accent: #0077b6; /* Adjusted for AA contrast on white */
            --accent-hover: #005f8a;
            --accent-on-dark: #48cae4; /* For use on dark backgrounds */
            --text: #1f2937;
            --text-light: #4b5563; /* Adjusted from #6b7280 for better contrast */
            --bg: #ffffff;
            --bg-alt: #f8fafc;
            --border: #d1d5db;
            --success: #047857; /* Adjusted for AA contrast */
            --focus-ring: #0077b6;
            
            /* Spacing */
            --space-xs: 0.25rem;
            --space-sm: 0.5rem;
            --space-md: 1rem;
            --space-lg: 2rem;
            --space-xl: 4rem;
        }
        
        /* Reduced motion preference */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
        
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        
        html { scroll-behavior: smooth; }
        
        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
        }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: var(--text);
            line-height: 1.7;
            background: var(--bg);
            font-size: 1rem;
        }
        
        /* Skip Link - Accessibility */
        .skip-link {
            position: absolute;
            top: -100%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: white;
            padding: 12px 24px;
            border-radius: 0 0 8px 8px;
            z-index: 1000;
            font-weight: 600;
            text-decoration: none;
        }
        
        .skip-link:focus {
            top: 0;
            outline: 3px solid var(--focus-ring);
            outline-offset: 2px;
        }
        
        /* Focus styles for accessibility */
        a:focus, button:focus, input:focus, textarea:focus, select:focus {
            outline: 3px solid var(--focus-ring);
            outline-offset: 2px;
        }
        
        a:focus:not(:focus-visible), button:focus:not(:focus-visible) {
            outline: none;
        }
        
        a:focus-visible, button:focus-visible, input:focus-visible, 
        textarea:focus-visible, select:focus-visible {
            outline: 3px solid var(--focus-ring);
            outline-offset: 2px;
        }
        
        h1, h2, h3, h4, h5, h6 { 
            line-height: 1.3; 
            font-weight: 700; 
            color: var(--primary); 
        }
        
        h1 { font-size: 2.5rem; }
        h2 { font-size: 2rem; }
        h3 { font-size: 1.5rem; }
        
        @media (min-width: 768px) {
            h1 { font-size: 3rem; }
            h2 { font-size: 2.5rem; }
        }
        
        a { 
            color: var(--accent); 
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        
        a:hover { 
            color: var(--accent-hover);
        }
        
        img { max-width: 100%; height: auto; display: block; }
        
        .container { 
            max-width: 1200px; 
            margin: 0 auto; 
            padding: 0 var(--space-lg); 
        }
        
        /* Visually hidden but accessible to screen readers */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        
        /* Navigation */
        .nav {
            background: var(--primary);
            padding: var(--space-md) 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .nav .container { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            color: white;
            font-weight: 700;
            font-size: 1.5rem;
            text-decoration: none;
        }
        
        .logo:hover, .logo:focus { text-decoration: none; }
        .logo span { color: var(--accent-on-dark); }
        
        .nav-links { 
            display: none;
            gap: var(--space-lg); 
            list-style: none;
            margin: 0;
            padding: 0;
        }
        
        @media (min-width: 768px) {
            .nav-links { display: flex; }
        }
        
        .nav-links a { 
            color: white; 
            font-weight: 500; 
            transition: opacity 0.2s;
            text-decoration: none;
            padding: var(--space-sm);
        }
        
        .nav-links a:hover,
        .nav-links a:focus { 
            opacity: 0.9;
            text-decoration: underline;
        }
        
        .nav-cta {
            background: var(--accent-on-dark);
            color: var(--primary-dark) !important;
            padding: 10px 20px;
            border-radius: 6px;
            font-weight: 600;
            text-decoration: none;
        }
        
        .nav-cta:hover,
        .nav-cta:focus { 
            background: white;
            text-decoration: none;
        }
        
        /* Hero with geometric background */
        .hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: var(--space-xl) 0;
            position: relative;
            overflow: hidden;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                /* Grid lines - MORE VISIBLE */
                linear-gradient(rgba(72, 202, 228, 0.25) 1px, transparent 1px),
                linear-gradient(90deg, rgba(72, 202, 228, 0.25) 1px, transparent 1px),
                /* Larger accent grid */
                linear-gradient(rgba(72, 202, 228, 0.15) 2px, transparent 2px),
                linear-gradient(90deg, rgba(72, 202, 228, 0.15) 2px, transparent 2px);
            background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px;
            z-index: 0;
        }
        
        /* Gradient orbs for depth - MORE VISIBLE */
        .hero::after {
            content: '';
            position: absolute;
            top: -10%;
            right: -5%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle at center, rgba(72, 202, 228, 0.4) 0%, transparent 60%);
            border-radius: 50%;
            z-index: 0;
        }
        
        .hero .container {
            position: relative;
            z-index: 1;
        }
        
        @media (min-width: 768px) {
            .hero { padding: 100px 0; }
        }
        
        .hero-content { max-width: 700px; }
        
        .hero h1 { 
            color: white; 
            margin-bottom: var(--space-md);
        }
        
        .hero h1 span { color: var(--accent-on-dark); }
        
        .hero p { 
            font-size: 1.125rem;
            margin-bottom: var(--space-lg);
            line-height: 1.8;
        }
        
        @media (min-width: 768px) {
            .hero p { font-size: 1.25rem; }
        }
        
        .hero-buttons { 
            display: flex; 
            gap: var(--space-md); 
            flex-wrap: wrap;
        }
        
        /* Abstract network visualization on the right side */
        .hero-visual {
            display: none;
            position: absolute;
            right: 2%;
            top: 50%;
            transform: translateY(-50%);
            width: 450px;
            height: 450px;
            z-index: 0;
            opacity: 0.9;
        }
        
        @media (min-width: 900px) {
            .hero-visual { display: block; }
        }
        
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px 28px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            transition: transform 0.2s, background-color 0.2s;
            text-decoration: none;
            border: 2px solid transparent;
            cursor: pointer;
        }
        
        .btn:hover { transform: translateY(-2px); }
        
        .btn-primary { 
            background: var(--accent-on-dark); 
            color: var(--primary-dark);
        }
        
        .btn-primary:hover,
        .btn-primary:focus { 
            background: white;
            text-decoration: none;
        }
        
        .btn-secondary { 
            background: transparent;
            color: white;
            border-color: white;
        }
        
        .btn-secondary:hover,
        .btn-secondary:focus { 
            background: rgba(255,255,255,0.1);
            text-decoration: none;
        }
        
        /* Sections */
        .section { padding: var(--space-xl) 0; }
        
        @media (min-width: 768px) {
            .section { padding: 100px 0; }
        }
        
        .section-header { 
            text-align: center; 
            max-width: 600px; 
            margin: 0 auto var(--space-xl);
        }
        
        .section-header h2 { margin-bottom: var(--space-md); }
        .section-header p { color: var(--text-light); font-size: 1.1rem; }
        
        /* Services */
        .services-grid { 
            display: grid; 
            grid-template-columns: 1fr;
            gap: var(--space-lg);
        }
        
        @media (min-width: 768px) {
            .services-grid { grid-template-columns: repeat(2, 1fr); }
        }
        
        .service-card {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: var(--space-lg);
            transition: box-shadow 0.3s, transform 0.3s;
        }
        
        .service-card:hover,
        .service-card:focus-within { 
            box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
            transform: translateY(-4px);
        }
        
        .service-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: var(--space-lg);
            color: white;
        }
        
        .service-icon svg {
            width: 28px;
            height: 28px;
        }
        
        .service-card h3 { margin-bottom: var(--space-sm); }
        .service-card > p { color: var(--text-light); margin-bottom: var(--space-md); }
        
        .service-card ul { 
            list-style: none; 
            color: var(--text-light);
        }
        
        .service-card li { 
            padding: 6px 0 6px 28px;
            position: relative;
        }
        
        .service-card li::before { 
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--success);
            font-weight: bold;
            font-size: 1.1rem;
        }
        
        /* Products */
        .products { background: var(--bg-alt); }
        
        .product-card {
            display: grid;
            grid-template-columns: 1fr;
            gap: var(--space-lg);
            align-items: center;
            background: white;
            border-radius: 20px;
            padding: var(--space-lg);
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
        }
        
        @media (min-width: 768px) {
            .product-card {
                grid-template-columns: 1fr 1fr;
                gap: 60px;
                padding: 60px;
            }
        }
        
        .product-content h3 { margin-bottom: var(--space-md); }
        .product-content > p { color: var(--text-light); margin-bottom: var(--space-lg); font-size: 1.1rem; }
        
        .product-features { 
            display: grid; 
            grid-template-columns: 1fr;
            gap: var(--space-sm);
            margin-bottom: var(--space-lg);
        }
        
        @media (min-width: 480px) {
            .product-features { grid-template-columns: 1fr 1fr; }
        }
        
        .product-feature { 
            display: flex; 
            align-items: center; 
            gap: 8px;
        }
        
        .product-feature::before { 
            content: '✓'; 
            color: var(--success); 
            font-weight: bold;
        }
        
        .product-visual {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            border-radius: 16px;
            padding: var(--space-lg);
            color: white;
            text-align: center;
        }
        
        .product-visual h4 { color: white; font-size: 1.5rem; margin-bottom: var(--space-sm); }
        .product-visual > p { margin-bottom: var(--space-sm); }
        .product-price { font-size: 2.5rem; font-weight: 800; margin: var(--space-md) 0; }
        
        /* About */
        .about-content { 
            display: grid; 
            grid-template-columns: 1fr;
            gap: var(--space-xl);
            align-items: start;
        }
        
        @media (min-width: 768px) {
            .about-content { grid-template-columns: 1fr 2fr; }
        }
        
        .about-photo {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 16px;
            padding: var(--space-lg);
            color: white;
            text-align: center;
        }
        
        .about-photo .initials {
            width: 120px;
            height: 120px;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            font-weight: 700;
            margin: 0 auto var(--space-md);
        }
        
        .about-photo h3 { color: white; margin-bottom: var(--space-xs); }
        
        .about-text h2 { margin-bottom: var(--space-lg); }
        .about-text p { color: var(--text-light); margin-bottom: var(--space-md); font-size: 1.05rem; }
        
        .credentials { 
            display: flex; 
            flex-wrap: wrap; 
            gap: var(--space-sm);
            margin-top: var(--space-lg);
        }
        
        .credential {
            background: var(--bg-alt);
            padding: 10px 16px;
            border-radius: 50px;
            font-size: 0.9rem;
            color: var(--text-light);
            border: 1px solid var(--border);
        }
        
        /* Contact */
        .contact { 
            background: var(--primary); 
            color: white;
        }
        
        .contact .section-header h2 { color: white; }
        .contact .section-header p { color: rgba(255,255,255,0.9); }
        
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            background: white;
            padding: var(--space-lg);
            border-radius: 16px;
        }
        
        @media (min-width: 768px) {
            .contact-form { padding: 48px; }
        }
        
        .form-group { margin-bottom: var(--space-lg); }
        
        .form-group label { 
            display: block; 
            margin-bottom: var(--space-sm);
            font-weight: 600;
            color: var(--text);
        }
        
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-size: 1rem;
            font-family: inherit;
            transition: border-color 0.2s;
            background: white;
            color: var(--text);
        }
        
        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: var(--text-light);
        }
        
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus { 
            border-color: var(--accent);
        }
        
        .form-group textarea { min-height: 120px; resize: vertical; }
        
        /* Required field indicator */
        .required::after {
            content: ' *';
            color: #dc2626;
        }
        
        .submit-btn {
            width: 100%;
            padding: 16px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .submit-btn:hover,
        .submit-btn:focus { 
            background: var(--primary-light);
        }
        
        /* Footer */
        .footer {
            background: var(--primary-dark);
            color: rgba(255,255,255,0.8);
            padding: var(--space-xl) 0 var(--space-lg);
        }
        
        .footer-content { 
            display: grid; 
            grid-template-columns: 1fr;
            gap: var(--space-lg);
            margin-bottom: var(--space-xl);
        }
        
        @media (min-width: 768px) {
            .footer-content { grid-template-columns: 2fr 1fr 1fr 1fr; }
        }
        
        .footer-brand p { margin-top: var(--space-md); line-height: 1.7; }
        
        .footer h4 { color: white; font-size: 1rem; margin-bottom: var(--space-md); }
        .footer ul { list-style: none; }
        .footer li { margin-bottom: var(--space-sm); }
        
        .footer a { 
            color: rgba(255,255,255,0.8);
            text-decoration: none;
        }
        
        .footer a:hover,
        .footer a:focus { 
            color: white;
            text-decoration: underline;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: var(--space-lg);
            text-align: center;
            font-size: 0.9rem;
        }

/* --- Extracted block --- */

/* removed: .menu-icon rule */
    
    @media (max-width: 768px) {
        /* removed: .menu-icon rule */
        
        nav ul {
            display: none;
            position: absolute;
            top: 60px;
            right: 15px;
            background: white;
            padding: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        
        nav ul.active {
            display: block;
        }
    }

        /* Mobile hamburger menu */
        @media (max-width: 768px) {
            #menu-toggle { display: block !important; }
            .nav-links { display: none !important; }
            .nav-links.active {
                display: flex !important;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--primary);
                padding: var(--space-md);
                z-index: 99;
            }
            .nav-links.active a { padding: var(--space-sm) 0; }
        }

        /* Mobile nav fix */
        #menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }
        @media (max-width: 768px) {
            #menu-toggle {
                display: block;
            }
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--primary);
                padding: var(--space-md) 0;
                flex-direction: column;
                z-index: 99;
            }
            .nav-links.active {
                display: flex;
            }
            .nav-links li {
                text-align: center;
            }
            .nav-links a {
                display: block;
                padding: var(--space-sm) var(--space-lg);
            }
            .nav {
                position: sticky;
                top: 0;
                z-index: 100;
            }
            .nav .container {
                position: relative;
            }
            .logo {
                font-size: 1.2rem;
            }
        }