/* KDLMS Custom Styles — Style Guide Aligned */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

/* Bell swing animation */
@keyframes bell-swing {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-12deg); }
    45% { transform: rotate(8deg); }
    60% { transform: rotate(-5deg); }
    75% { transform: rotate(2deg); }
    100% { transform: rotate(0deg); }
}

.bell-swing {
    transform-origin: top center;
    animation: bell-swing 1.2s ease-out 0.5s both;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .bell-swing {
        animation: none;
    }
    .dashboard-mockup {
        animation: none;
    }
}

/* Focus styles — indigo primary */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #3B4FD9;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Dashboard mockup subtle float */
.dashboard-mockup {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Form input autofill styling */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px rgba(255,255,255,0.1) inset;
    -webkit-text-fill-color: #fff;
}
