    /* Base & Reset */
    *, *::before, *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html {
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body {
        overflow-x: hidden;
    }

    /* Selection */
    ::selection {
        background: #0d9488;
        color: #f8fafc;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0f172a;
    }
    ::-webkit-scrollbar-thumb {
        background: #0d9488;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #14b8a6;
    }

    /* Reveal Animations - progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .reveal-up,
        .reveal-left,
        .reveal-right {
            opacity: 1;
            transform: none;
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
    }

    /* Scroll-triggered reveal states (applied by JS) */
    .reveal-up {
        transform: translateY(40px);
    }
    .reveal-left {
        transform: translateX(-40px);
    }
    .reveal-right {
        transform: translateX(40px);
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(10, 15, 26, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    #navbar.scrolled .nav-logo-text {
        color: #f8fafc;
    }

    /* Mobile menu animation */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }

    /* Hamburger animation */
    #mobile-menu-btn.active #bar1 {
        transform: translateY(6px) rotate(45deg);
    }
    #mobile-menu-btn.active #bar2 {
        opacity: 0;
    }
    #mobile-menu-btn.active #bar3 {
        transform: translateY(-6px) rotate(-45deg);
        width: 1.5rem;
    }

    /* Smooth focus visible */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 2px solid #14b8a6;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Mobile menu links */
    .mobile-link {
        position: relative;
    }
    .mobile-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: #14b8a6;
        transition: width 0.3s ease;
    }
    .mobile-link:hover::after {
        width: 100%;
    }

    /* Image loading placeholder */
    img {
        background-color: #e2e8f0;
    }

    /* Subtle parallax on hero */
    @media (prefers-reduced-motion: no-preference) {
        #hero {
            will-change: background-position;
        }
    }

    /* Service card hover glow */
    .group:hover .group-hover\:scale-105 {
        transform: scale(1.05);
    }

    /* Print styles */
    @media print {
        #navbar, #mobile-menu, .reveal-up, .reveal-left, .reveal-right {
            display: none !important;
        }
        body {
            color: #000;
            background: #fff;
        }
    }
