    /* Base styles */
    *, *::before, *::after {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    body {
        overflow-x: hidden;
    }

    /* Animations */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

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

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

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

    @keyframes scrollLine {
        0%, 100% { transform: scaleY(0); transform-origin: top; }
        50% { transform: scaleY(1); transform-origin: top; }
        51% { transform-origin: bottom; }
        100% { transform: scaleY(0); transform-origin: bottom; }
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

    .animate-fade-in {
        animation: fadeIn 0.8s ease-out forwards;
    }

    .animate-slide-up {
        animation: slideUp 0.8s ease-out forwards;
        opacity: 0;
    }

    .animate-slide-up-delay {
        animation: slideUpDelay 0.8s ease-out 0.2s forwards;
        opacity: 0;
    }

    .animate-slide-up-delay-2 {
        animation: slideUpDelay2 0.8s ease-out 0.4s forwards;
        opacity: 0;
    }

    .animate-scroll-line {
        animation: scrollLine 2s ease-in-out infinite;
    }

    .animate-float {
        animation: float 6s ease-in-out infinite;
    }

    /* Reveal on scroll */
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease-out 0.15s, transform 0.8s ease-out 0.15s;
    }

    .reveal-delay.active {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-2 {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
    }

    .reveal-delay-2.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Navbar styles */
    #navbar.scrolled {
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    }

    .nav-link {
        position: relative;
    }

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

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

    .cta-btn {
        position: relative;
        overflow: hidden;
    }

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

    .cta-btn:hover::before {
        left: 100%;
    }

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

    .mobile-link {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
    }

    #mobileMenu.open .mobile-link {
        opacity: 1;
        transform: translateY(0);
    }

    #mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
    #mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
    #mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
    #mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
    #mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

    /* Service cards */
    .service-card {
        border: 1px solid rgba(0,0,0,0.04);
    }

    /* Product cards */
    .group:hover img {
        transform: scale(1.1);
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: #f1f5f9;
    }

    ::-webkit-scrollbar-thumb {
        background: #94a3b8;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #64748b;
    }

    /* Focus styles */
    a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
        outline: 2px solid #0d9488;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Selection */
    ::selection {
        background: #ccfbf1;
        color: #134e4a;
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
        html {
            scroll-behavior: auto;
        }
        .reveal, .reveal-delay, .reveal-delay-2 {
            opacity: 1;
            transform: none;
        }
    }
