/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.011em;
    background-color: #0A0A0A;
    color: #ffffff;
}

/* Geist Mono Font */
.font-geist-mono {
    font-family: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Monaco, 'Cascadia Mono', monospace;
    letter-spacing: -0.02em;
}

/* Node Animation Container */
.node-animation-container {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.node-animation-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

/* Subtle hover transitions */
a, button {
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a:focus, button:focus {
    outline: none;
    ring: 2px rgba(255, 255, 255, 0.1);
}

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

::-webkit-scrollbar-track {
    background: #0A0A0A;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Button hover effects */
.bg-accent:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Card hover effects */
.rounded-xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rounded-xl:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Glass effect */
.glass {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(55, 55, 55, 0.2);
}

/* Text gradient */
.bg-gradient-to-r {
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* Section transitions */
section {
    position: relative;
    transition: background-color 0.5s ease;
}

/* Fluid typography */
@media (min-width: 768px) {
    h1 {
        letter-spacing: -0.025em;
        line-height: 1.1;
    }
    
    h2, h3 {
        letter-spacing: -0.02em;
    }
}

/* Dark mode enhancements */
.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.border-gray-800 {
    border-color: #27272a;
}

.bg-darkgray {
    background-color: #151515;
}

.bg-darker {
    background-color: #050505;
}

.shadow-xl.shadow-black\/20 {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

/* Glow effects for primary buttons */
.shadow-lg.shadow-blue-500\/20 {
    box-shadow: 0 0 15px 0 rgba(37, 99, 235, 0.3);
}
