/* DevelopHunt Bespoke Custom CSS - Dual Dark & Light Mode */

:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #3730a3;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    
    /* Default Light Mode Variables */
    --bg-main: #0f5faf;
    --bg-card: #116dc4;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-muted: #64748b;
}

html.dark {
    /* Dark Mode Variables */
    --bg-main: #0b0f19;
    --bg-card: #111827;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
}

/* Smooth Scrolling & Font Rendering */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
html.dark ::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
html.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
html.dark ::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Tech Gradients & Glowing Borders */
.gradient-text {
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.dark .gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glow Card Design (Light & Dark) */
.glow-box {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-box:hover {
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow: 0 12px 30px -8px rgba(79, 70, 229, 0.15);
    transform: translateY(-3px);
}

html.dark .glow-box {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

html.dark .glow-box:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 12px 35px -10px rgba(99, 102, 241, 0.28);
    transform: translateY(-3px);
}

/* Stage Tracker Progress Bar Stripes */
.progress-striped {
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% { background-position: 1rem 0; }
    100% { background-position: 0 0; }
}

/* Sticky Mobile Bottom CTA Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
}

html.dark .mobile-sticky-bar {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .mobile-sticky-bar {
        display: none !important;
    }
}

/* Chatbot Floating Widget */
.chatbot-bubble {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Printing styles for Invoices */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    .no-print {
        display: none !important;
    }
    .print-only {
        display: block !important;
    }
}
