/* Global Soft UI Styles (Leermeesterlijk Edition) */
:root {
    /* Leermeesterlijk Cohesive Palette */
    --hs-bg: #FFFFFF;
    --hs-text: #1C2833;

    /* Primary Navy Base (from Briefing) */
    --hs-primary: #1A3A5C;
    --hs-primary-light: rgba(26, 58, 92, 0.1);
    --hs-primary-dark: #0f243b;

    /* Accent Sky Blue Base */
    --hs-accent: #2471A3;
    --hs-accent-light: rgba(36, 113, 163, 0.1);
    --hs-accent-dark: #154360;

    /* Background Light Base (Replaces the Green used in ClassPilot logic) */
    --hs-light: #EBF5FB;

    /* Success Green Base */
    --hs-success: #D5F5E3;
    --hs-success-dark: #7DCEA0;

    /* Warning Amber Base */
    --hs-warning: #FEF9E7;
    --hs-warning-dark: #F1C40F;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    background-color: var(--hs-bg);
    color: var(--hs-text);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', 'Nunito', sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none !important;

    /* Default: Accent Blue */
    --btn-shadow: var(--hs-accent-dark);
    background-color: var(--hs-accent);
    color: white;
    box-shadow: 0 4px 0 var(--btn-shadow) !important;
}

.hs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--btn-shadow) !important;
    background-color: #1e5e88;
}

.hs-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--btn-shadow) !important;
}

/* Color Modifiers */
.hs-btn-primary {
    --btn-shadow: var(--hs-primary-dark);
    background-color: var(--hs-primary);
}

.hs-btn-primary:hover {
    background-color: #142e49;
}

.hs-btn-success {
    --btn-shadow: #196F3D;
    background-color: #27AE60;
    color: white;
}

.hs-btn-success:hover {
    background-color: #1E8449;
}

.hs-btn-gray {
    --btn-shadow: #d1d5db;
    background-color: #f3f4f6;
    color: #4b5563;
}

.hs-btn-gray:hover {
    background-color: #e5e7eb;
}

.hs-btn-secondary {
    background-color: transparent;
    color: var(--hs-accent);
    border: 2px solid var(--hs-accent);
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.hs-btn-secondary:hover {
    background-color: var(--hs-accent-light);
    transform: translateY(-1px);
}

.hs-btn-secondary:active {
    transform: translateY(1px);
}

/* Soft Rounded Shapes (ClassPilot Standard) */
.hs-card {
    background: white;
    border-radius: 40px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.hs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}



.floating-icon {
    animation: floatingIcon 4s ease-in-out infinite;
}

.floating-icon-delayed {
    animation: floatingIcon 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes floatingIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

body.translate-y-4 {
    transform: translateY(10px) !important;
}

/* --- Subtle Breathe Animation for Hero Badges --- */
@keyframes subtleBreathe {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-3px) scale(1.02);
    }
}

.breathe-animation {
    animation: subtleBreathe 6s ease-in-out infinite alternate;
}

/* --- Sequential Step Focus Animation --- */
@keyframes stepFocus {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.08);
    }

    30% {
        transform: scale(1);
    }
}

.step-focus-1 {
    animation: stepFocus 9s infinite;
}

.step-focus-2 {
    animation: stepFocus 9s infinite 3s;
}

.step-focus-3 {
    animation: stepFocus 9s infinite 6s;
}

/* --- Mobile Menu Animation --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fadeInDown 0.3s ease-out forwards;
}

/* --- Unify Footer Hovers --- */
footer a:hover {
    color: var(--hs-accent) !important;
}