/* Shared Premium Styles & Animations for Skill 2 Earning LMS */

/* Custom Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradients */
.hero-gradient {
    background: radial-gradient(circle at top right, #EEF2FF 0%, #f7f9fb 50%);
}

.text-gradient {
    background: linear-gradient(135deg, #3525cd 0%, #712ae2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.button-gradient {
    background: linear-gradient(135deg, #3525cd 0%, #712ae2 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.button-gradient:hover {
    filter: brightness(1.1);
    box-shadow: 0 10px 20px rgba(53, 37, 205, 0.2);
}

/* Shadows */
.premium-shadow {
    box-shadow: 0px 4px 24px rgba(15, 23, 42, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-shadow-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0px 16px 36px rgba(53, 37, 205, 0.08);
}

/* Scrollbar styling */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.3);
    border-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
    transition: background 0.3s ease;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Interactive Roadmap Dot */
.active-dot::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 12px #10B981;
    right: -5px;
    top: -5px;
    animation: pulseGlow 2s infinite ease-in-out;
}

/* Keyframe Animations */
@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
        box-shadow: 0 0 18px rgba(16, 185, 129, 0.9);
    }
}

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-up {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Layout helpers */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
