/* styles.css */

/* 
   Base styles and overrides. 
   Tailwind CSS is loaded via CDN in index.html, 
   so this file focuses on custom animations and specific component overrides.
*/

:root {
    --primary-gradient-start: #fff7ed; /* Orange-50 */
    --primary-gradient-end: #ffffff;
    --accent-color: #2563eb; /* Blue-600 */
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

/* 
   ---------------------------
   Animation Utilities 
   ---------------------------
*/

/* Fade In Up - For sections revealing on scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Staggered delay for child elements */
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }

/* 
   ---------------------------
   Component Styles 
   ---------------------------
*/

/* Hero Gradient Background - Inspired by reference */
.hero-bg {
    background: linear-gradient(135deg, #fff1eb 0%, #ace0f9 100%); /* Soft warm to cool transition */
    background: linear-gradient(to bottom, #fff7ed, #ffffff); /* Simpler warm fallback */
}

/* Card Hover Elevation */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Button Hover Smoothness */
.btn-primary {
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Navigation Link Underline Animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #1e293b; /* Slate-800 */
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}

/* Step Number Styling */
.step-number {
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

/* Compliance Section Pattern */
.compliance-bg {
    background-color: #0f172a; /* Slate-900 */
    background-image: radial-gradient(#1e293b 1px, transparent 1px);
    background-size: 20px 20px;
}
