/* Base styles */
body { margin: 0; padding: 0; font-family: 'Montserrat', sans-serif; color: #0d3a5d; overflow-x: hidden; background-color: #ffffff; }
h1, h2, h3, h4, h5, h6, .font-heading { font-family: 'Victor Mono', monospace; font-weight: 700; }

/* Clean Progress Bar */
#scroll-progress {
    position: fixed; top: 0; left: 0; width: 0%; height: 4px;
    background-color: #3a9ccc;
    box-shadow: 0 2px 10px rgba(58, 156, 204, 0.3);
    z-index: 9999;
    will-change: width;
    border-radius: 0 2px 2px 0;
}

/* Logo Friendly Bounce (instead of neon glow) */
.logo-glow {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}
.logo-glow:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Staggered Reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Animation for Hero Element */
.float-element {
    animation: floating 6s ease-in-out infinite;
    will-change: transform;
}
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Haptic Button & Magnetic Elements */
.haptic-btn {
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, background-color 0.2s ease;
    will-change: transform;
}
.haptic-btn:active {
    transform: scale(0.97) !important;
}

.magnetic-wrap {
    display: inline-block;
}

/* Mobile Sticky Bar */
#mobile-sticky-bar {
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    box-shadow: 0 -4px 20px rgba(13, 58, 93, 0.08); /* Secondary color shadow */
}
#mobile-sticky-bar.visible {
    transform: translateY(0);
}

/* Light Glass Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(13, 58, 93, 0.08);
    box-shadow: 0 8px 32px rgba(13, 58, 93, 0.04);
}
