/* Font */
body {
    font-family: 'Inter', sans-serif;
}

/* Text Gradient Effects */
.text-gradient {
    background: linear-gradient(135deg, #059669, #10b981, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Navigation Styles */
.nav-item.active {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #059669;
    font-weight: 600;
}

.nav-item:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

/* Section Animations */
.section-content {
    animation: fadeInUp 0.5s ease-out;
}

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-blob {
    animation: blob 7s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

@keyframes blob {
    0% { 
        transform: translate(0px, 0px) scale(1); 
    }
    33% { 
        transform: translate(30px, -50px) scale(1.1); 
    }
    66% { 
        transform: translate(-20px, 20px) scale(0.9); 
    }
    100% { 
        transform: translate(0px, 0px) scale(1); 
    }
}

/* Text Effects */
.hero-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Chart Containers */
#moodTrendChart, #foodCategoryChart {
    max-height: 300px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-item {
        justify-content: flex-start;
    }
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

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

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Slider Styles */
.slider {
    background: linear-gradient(to right, #667eea 0%, #764ba2 100%);
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Fade In Animation */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
