@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    /* Fresh changing gradient background */
    background: linear-gradient(-45deg, #f0f9ff, #e0e7ff, #ccfbf1, #fae8ff);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #0f172a; /* Slate 900 for default text */
}

/* Light Glassmorphism Utilities */
.glass-nav {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 40px -10px rgba(99, 102, 241, 0.15);
}

/* Vibrant Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar for Light Theme */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6366f1;
}

/* 4D Multi-Dimensional Icon Styling */
.icon-4d {
    transform-style: preserve-3d;
    transform: perspective(800px) translateZ(0) rotateX(0) rotateY(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        inset 2px 4px 8px rgba(255, 255, 255, 0.9), 
        inset -2px -4px 8px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
}

.icon-4d:hover {
    /* Pops the element out on the Z-axis and tilts it */
    transform: perspective(800px) translateZ(40px) rotateX(15deg) rotateY(-15deg) scale(1.15);
    box-shadow: 
        inset 2px 4px 8px rgba(255, 255, 255, 0.9), 
        inset -2px -4px 8px rgba(0, 0, 0, 0.1),
        -15px 25px 30px rgba(99, 102, 241, 0.3);
    z-index: 50;
}
