/* Clean, Trustworthy B2B Corporate Theme Styles */

/* Fade-in transitions */
.fade-in-up {
    animation: fadeInUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle Grid Background Pattern (Barely visible, representing structural alignment) */
.blueprint-grid {
    background-size: 30px 30px;
    background-image: 
        linear-gradient(to right, rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
}

/* Clean Corporate Card Panels */
.glass-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
}

html.dark .glass-panel {
    background: #0f172a;
    border-color: #1e293b;
    box-shadow: none;
}

.glass-panel-hover {
    transition: all 0.25s ease;
}

.glass-panel-hover:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

html.dark .glass-panel-hover:hover {
    border-color: #334155;
    box-shadow: none;
}

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

::-webkit-scrollbar-track {
    background: #f8fafc;
}

html.dark ::-webkit-scrollbar-track {
    background: #090d16;
}

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

html.dark ::-webkit-scrollbar-thumb {
    background: #1e293b;
}

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

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

/* === ENHANCED DESIGN UTILITIES === */

/* Hero stat display with gradient underline */
.hero-stat {
    position: relative;
    padding-bottom: 0.75rem;
}
.hero-stat::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, transparent);
    border-radius: 1px;
}

/* Animated dashed route line */
.route-line {
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        #2563eb 0,
        #2563eb 6px,
        rgba(37, 99, 235, 0.2) 6px,
        rgba(37, 99, 235, 0.2) 12px
    );
    background-size: 12px 2px;
    animation: route-flow 1.2s linear infinite;
}

@keyframes route-flow {
    from { background-position: 0 0; }
    to { background-position: 12px 0; }
}

/* Feature card lift-on-hover */
.feature-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.1);
}
html.dark .feature-card:hover {
    box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.45);
}

/* Gradient icon backgrounds */
.icon-gradient-orange {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.13) 0%, rgba(29, 78, 216, 0.06) 100%);
    border: 1px solid rgba(37, 99, 235, 0.22);
}
.icon-gradient-teal {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.13) 0%, rgba(15, 118, 110, 0.06) 100%);
    border: 1px solid rgba(13, 148, 136, 0.22);
}
.icon-gradient-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.13) 0%, rgba(37, 99, 235, 0.06) 100%);
    border: 1px solid rgba(59, 130, 246, 0.22);
}

/* Product card category top-border accent */
.card-accent-blue {
    border-top: 3px solid #3b82f6;
}
.card-accent-orange {
    border-top: 3px solid #2563eb;
}
