    /* ===== CSS Custom Properties ===== */
    :root {
        --color-teal-500: #14b8a6;
        --color-teal-600: #0d9488;
        --color-gold-400: #fbbf24;
        --color-slate-950: #020617;
        --color-slate-900: #0f172a;
        --color-slate-800: #1e293b;
    }

    /* ===== Smooth Scrolling ===== */
    html {
        scroll-behavior: smooth;
    }

    /* ===== Custom Scrollbar ===== */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: var(--color-slate-950);
    }
    ::-webkit-scrollbar-thumb {
        background: var(--color-slate-700);
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: var(--color-teal-600);
    }

    /* ===== Selection Color ===== */
    ::selection {
        background: rgba(20, 184, 166, 0.3);
        color: #f0fdfa;
    }

    /* ===== Base Typography ===== */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* ===== Navbar Scrolled State ===== */
    nav.scrolled {
        background: rgba(2, 6, 23, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(30, 41, 59, 0.5);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    /* ===== Scroll Reveal Animations ===== */
    .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);
    }

    /* Stagger children */
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* Respects reduced motion preference */
    @media (prefers-reduced-motion: reduce) {
        .reveal {
            opacity: 1;
            transform: none;
            transition: none;
        }
        html {
            scroll-behavior: auto;
        }
    }

    /* ===== Hero Animations ===== */
    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

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

    .float-animation-delay {
        animation: float 4s ease-in-out 1s infinite;
    }

    /* ===== Gold Shimmer Effect ===== */
    @keyframes shimmer {
        0% { background-position: -200% center; }
        100% { background-position: 200% center; }
    }

    .gold-shimmer {
        background: linear-gradient(90deg, var(--color-gold-400), #fde68a, var(--color-gold-400));
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: shimmer 4s linear infinite;
    }

    /* ===== Gradient Border Hover ===== */
    .gradient-border {
        position: relative;
        background: var(--color-slate-900);
        border-radius: 1rem;
    }

    .gradient-border::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 1rem;
        padding: 1px;
        background: linear-gradient(135deg, var(--color-teal-500), var(--color-gold-400));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .gradient-border:hover::before {
        opacity: 1;
    }

    /* ===== Pulse Ring ===== */
    @keyframes pulse-ring {
        0% { transform: scale(0.8); opacity: 0.5; }
        50% { transform: scale(1.2); opacity: 0; }
        100% { transform: scale(0.8); opacity: 0.5; }
    }

    .pulse-ring::after {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        border: 2px solid var(--color-teal-400);
        animation: pulse-ring 2s ease-in-out infinite;
    }

    /* ===== Image Hover Zoom ===== */
    .img-zoom {
        overflow: hidden;
    }

    .img-zoom img {
        transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .img-zoom:hover img {
        transform: scale(1.05);
    }

    /* ===== Button Focus Styles ===== */
    button:focus-visible,
    a:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 2px solid var(--color-teal-400);
        outline-offset: 2px;
    }

    /* ===== Mobile Menu Transition ===== */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        opacity: 0;
    }

    #mobile-menu.open {
        max-height: 400px;
        opacity: 1;
    }

    /* ===== Form Input Transitions ===== */
    input, select, textarea {
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    /* ===== Card Hover Lift ===== */
    .card-lift {
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    }

    .card-lift:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    /* ===== Responsive Adjustments ===== */
    @media (max-width: 768px) {
        .font-serif {
            line-height: 1.2;
        }
    }
