@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.hero-bg {
    background-color: #f0f4f8;
    background-image: linear-gradient(to bottom, #e0e8f0, #f8fafc);
}
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1rem;
}
.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width .3s;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.chart-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    height: 350px;
    max-height: 80vw;
}
.flow-step {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.flow-arrow {
    color: #9ca3af;
}

/* Animation styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll.delay-100 { transition-delay: 0.1s; }
.animate-on-scroll.delay-200 { transition-delay: 0.2s; }
.animate-on-scroll.delay-300 { transition-delay: 0.3s; }
.animate-on-scroll.delay-400 { transition-delay: 0.4s; }
.animate-on-scroll.delay-500 { transition-delay: 0.5s; }
/* Add more delays if needed for sequential animations */
.animate-on-scroll.delay-600 { transition-delay: 0.6s; }
.animate-on-scroll.delay-700 { transition-delay: 0.7s; }
.animate-on-scroll.delay-800 { transition-delay: 0.8s; }
.animate-on-scroll.delay-900 { transition-delay: 0.9s; }