html {
    scroll-behavior: smooth;
}

/* Scroll-triggered animation styles */
.observe-me {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: var(--stagger-delay, 0s);
}
.observe-me.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Star burst animation for logo */
@keyframes star-burst {
    0% {
        transform: scale(0) translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: scale(1) translate(var(--tx), var(--ty));
        opacity: 0;
    }
}
.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #FBBF24; /* accent color */
    border-radius: 50%;
    pointer-events: none;
    animation: star-burst 0.6s ease-out forwards;
    z-index: 99;
}

/* Attention grabbing wobble for submit button */
@keyframes wobble {
    0%, 100% { transform: translateX(0) rotate(0); }
    15% { transform: translateX(-6px) rotate(-4deg); }
    30% { transform: translateX(5px) rotate(3deg); }
    45% { transform: translateX(-4px) rotate(-2deg); }
    60% { transform: translateX(3px) rotate(1deg); }
    75% { transform: translateX(-2px) rotate(0); }
}
#form-submit-button {
    /* Animate after 5 seconds to draw attention */
    animation: wobble 0.9s ease-in-out 5s 1;
}
#form-submit-button:hover {
    /* Stop animation on hover to not interfere with user action */
    animation: none;
}

/* --- NEW MICRO-INTERACTIONS --- */

/* 1. Benefits Section: Staggered Glow */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 rgba(251, 191, 36, 0);
    }
    50% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.3), 0 0 30px rgba(251, 191, 36, 0.15);
    }
}

.benefits-grid > div {
    animation: pulse-glow 6s infinite ease-in-out;
}

.benefits-grid > div:nth-child(1) { animation-delay: 0s; }
.benefits-grid > div:nth-child(2) { animation-delay: 1s; }
.benefits-grid > div:nth-child(3) { animation-delay: 2s; }
.benefits-grid > div:nth-child(4) { animation-delay: 3s; }
.benefits-grid > div:nth-child(5) { animation-delay: 4s; }
.benefits-grid > div:nth-child(6) { animation-delay: 5s; }


/* 2. Audience Section: Endless Zoom Image */
@keyframes subtle-zoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.subtle-zoom {
    animation: subtle-zoom 15s infinite ease-in-out;
}