/* Custom Styling for Foragence Intelligence */

:root {
    --primary-blue: #3B82F6;
    --background-dark: #0a0e14;
    --surface-card: #131820;
    --border-subtle: rgba(255, 255, 255, 0.05);
}

/* Base resets and defaults */
html {
    scroll-behavior: smooth;
    background-color: var(--background-dark);
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism utility */
.glass-card {
    background: rgba(19, 24, 32, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
}

/* Section Header styling */
.tracking-tighter {
    letter-spacing: -0.04em;
}

/* Gradient Background Animation */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient-x {
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

/* Hover scales */
.hover-scale {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hover-scale:hover {
    transform: translateY(-5px) scale(1.01);
}

/* Custom shadow for blue buttons */
.shadow-primary-glow {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.2), 0 0 50px rgba(59, 130, 246, 0.1);
}

/* Signal Pulse Animation */
@keyframes signal-ping {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.5); opacity: 0.3; }
    100% { transform: scale(2); opacity: 0; }
}

.signal-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid var(--primary-blue);
    animation: signal-ping 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Smooth fade in for sections */
.section-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific styling for Diesel case study labels */
.italic-brand {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 300;
}
