/* Comfort Group Premium Public UI Styling */

:root {
    --primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0));
    --secondary-glow: linear-gradient(to bottom right, rgba(1, 65, 255, 0), rgba(1, 65, 255, 0), rgba(1, 65, 255, 0.3));
}

/* Glassmorphism Premium Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
}

.dark .glass-card {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Glassmorphic Navigation Header */
.glass-header {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass-header {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Elegant Premium Gradients */
.gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark .gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-bg-primary {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.gradient-bg-blue {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

/* Sophisticated Mesh Gradients */
.mesh-gradient-blue {
    background-image: 
        radial-gradient(at 0% 0%, hsla(217, 100%, 56%, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(223, 100%, 50%, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 100%, hsla(239, 100%, 73%, 0.1) 0px, transparent 50%);
}

.dark .mesh-gradient-blue {
    background-image: 
        radial-gradient(at 0% 0%, hsla(217, 100%, 56%, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(223, 100%, 50%, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 100%, hsla(239, 100%, 73%, 0.05) 0px, transparent 50%);
}

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

.hover-scale-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.dark .hover-scale-card:hover {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

/* Slide up Animation for beautiful page entrances */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Micro-Interaction Transitions */
a, button {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

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

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

::-webkit-scrollbar-track {
    background: transparent;
}

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

.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #475569;
}
