/* Modern Design System for Enginee-2 */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #93c5fd;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Glassmorphism */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
}

.glass-card-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
}

/* Animated Background Blobs */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    animation: move 20s infinite alternate;
}

.blob-2 {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    width: 400px;
    height: 400px;
    right: -100px;
    top: -100px;
    animation-delay: -5s;
}

.blob-3 {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    width: 600px;
    height: 600px;
    left: -200px;
    bottom: -200px;
    animation-delay: -10s;
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

/* Premium Buttons */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease-out;
}

.btn-premium:hover::after {
    transform: scale(1);
}

.btn-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(249, 115, 22, 0.4);
}

/* Section Transitions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Category Cards */
.cat-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.cat-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.cat-card:hover .cat-icon {
    transform: rotateY(180deg) scale(1.2);
}

.cat-icon {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover Glow */
.hover-glow:hover {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.3);
}

/* Typography */
.heading-gradient {
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar Glass Effect */
.glass-nav-container {
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.glass-card-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-scrolled .glass-nav-container {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}
