/* Ziplogic Website Styles */

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Inter', sans-serif; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.font-mono { 
    font-family: 'JetBrains Mono', monospace; 
}

.font-logo { 
    font-family: 'Alexandria', sans-serif; 
}

/* Smooth Edge Fading for Cipher Row */
.mask-edges {
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

/* Context-Aware Selection for Dark Containers */
.dark-selection *::selection {
    background-color: #FD4D00 !important;
    color: #ffffff !important;
}

.dark-selection *::-moz-selection {
    background-color: #FD4D00 !important;
    color: #ffffff !important;
}

/* Global Premium Physics Engine */
.ease-apple {
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Snappy, native-feeling page transition */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(8px) scale(0.995); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
