/* ============================================
   HVAC Demo — Custom Styles
   (Most styling via TailwindCSS CDN)
   ============================================ */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F5F8FB;
}
::-webkit-scrollbar-thumb {
    background: #59CBE8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0B2545;
}

/* Glass blur effect for header */
.glass-blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.5s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.5s ease-out forwards;
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #0B2545 0%, #06172C 60%, #0B2545 100%);
}

/* Accent gradient */
.accent-gradient {
    background: linear-gradient(135deg, #59CBE8, #9FE3F3);
}

/* Card hover lift */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(11, 37, 69, 0.12);
}

/* Pulse ring animation for tier badge */
@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.pulse-ring {
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Admin sidebar active state */
.sidebar-link.active {
    background: rgba(89, 203, 232, 0.15);
    color: #59CBE8;
    border-right: 3px solid #59CBE8;
}

/* Form focus transitions */
input:focus, select:focus, textarea:focus {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Print styles */
@media print {
    .no-print { display: none !important; }
    body { background: white; }
}

/* SaaS-style floating card shadows */
.saas-shadow {
    box-shadow: 0 4px 24px -4px rgba(11, 37, 69, 0.08),
                0 12px 48px -8px rgba(11, 37, 69, 0.06);
}

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

/* Gradient text for headings */
.gradient-text {
    background: linear-gradient(135deg, #0B2545, #59CBE8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth hover lift for cards */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px -12px rgba(89, 203, 232, 0.15),
                0 8px 24px -8px rgba(11, 37, 69, 0.1);
}
