/* ==========================================================================
   itflock AI Dev - Custom Styles (Ultra-Clean White Studio Aesthetic)
   ========================================================================== */

:root {
    --bg-primary: #ffffff;
    --bg-subtle: #f8fafc;
    --border-light: #e2e8f0;
    --border-subtle: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --brand-accent: #4f46e5;
    --brand-glow: rgba(79, 70, 229, 0.08);
}

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

/* Crisp Text Rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: #ffffff;
    color: #1e293b;
}

/* Subtle dot-grid for subtle high-tech feel on pure white */
.bg-grid-pattern {
    background-image: radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Clean border hairline */
.border-hairline {
    border: 1px solid rgba(226, 232, 240, 0.85);
}

/* Minimalist card hover */
.card-hover {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Button pulse subtle */
@keyframes subtle-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.02); }
}

.animate-subtle-pulse {
    animation: subtle-pulse 3s infinite ease-in-out;
}

/* Custom scrollbar for modern browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Interactive Calculator Range styling */
input[type="range"] {
    accent-color: #4f46e5;
}

/* Badge glow */
.badge-glow {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

/* Hide elements utility */
.hidden-fade {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}
