    *, *::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 {
        background: rgba(20, 184, 166, 0.3);
        color: white;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #040d1a;
    }
    ::-webkit-scrollbar-thumb {
        background: rgba(20, 184, 166, 0.3);
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: rgba(20, 184, 166, 0.5);
    }

    /* Reveal animations - progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal-delay-1 { transition-delay: 0.1s; }
        .reveal-delay-2 { transition-delay: 0.2s; }
        .reveal-delay-3 { transition-delay: 0.3s; }
    }

    /* Default visible state for reduced motion */
    @media (prefers-reduced-motion: reduce) {
        .reveal {
            opacity: 1;
            transform: none;
        }
    }

    /* Navbar styles */
    #navbar {
        background: transparent;
    }

    #navbar.scrolled {
        background: rgba(4, 13, 26, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-link {
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: #2dd4bf;
        transition: width 0.3s ease;
    }

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

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

    #mobile-menu:not(.open) {
        opacity: 0;
        pointer-events: none;
    }

    /* Service cards */
    .service-card {
        position: relative;
        overflow: hidden;
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, #2dd4bf, transparent);
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .service-card:hover::before {
        opacity: 1;
    }

    /* Gallery */
    .gallery-item {
        position: relative;
    }

    .gallery-item img {
        will-change: transform;
    }

    /* Testimonial cards */
    .testimonial-card {
        position: relative;
    }

    .testimonial-card::after {
        content: '"';
        position: absolute;
        top: 16px;
        right: 24px;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 80px;
        font-weight: 700;
        color: rgba(45, 212, 191, 0.06);
        line-height: 1;
        pointer-events: none;
    }

    /* Form styles */
    select option {
        background: #040d1a;
        color: white;
    }

    /* Smooth focus outlines */
    input:focus, textarea:focus, select:focus {
        outline: none;
        box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.3);
    }

    /* Button ripple */
    @keyframes ripple {
        to {
            transform: scale(4);
            opacity: 0;
        }
    }

    /* Subtle pattern overlay for sections */
    section::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.015) 1px, transparent 0);
        background-size: 40px 40px;
        pointer-events: none;
    }

    section:not(:has(> img))::before {
        display: none;
    }
