/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Apply modern typography defaults */
body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

code, pre, .font-tech {
    font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #020617; /* slate-950 */
}

::-webkit-scrollbar-thumb {
    background: #1e293b; /* slate-800 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #06b6d4; /* cyan-500 */
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* Custom Selection Style */
::selection {
    background-color: rgba(6, 182, 212, 0.25);
    color: #22d3ee; /* cyan-400 */
}

/* Background Grid Pattern */
.bg-grid {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.glass-card:hover {
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.15);
    transform: translateY(-2px);
}

.glass-nav {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Glowing text and objects */
.text-glow-cyan {
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.text-glow-emerald {
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.glow-cyan {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
}

.glow-emerald {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

/* Smooth Focus Rings */
*:focus-visible {
    outline: 2px solid #06b6d4;
    outline-offset: 4px;
}

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.35;
        transform: scale(1.05);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 8s ease-in-out infinite;
}
