/* ==========================================================================
   MICRO-INTERACTIONS - The 1% polish that makes 100% difference
   Subtle animations and hover effects for premium feel
   ========================================================================== */

/* Benefit Items - Subtle Lift */
.benefit-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-item:hover {
    transform: translateX(6px);
    background: rgba(0, 122, 204, 0.05);
    border-left: 3px solid var(--accent-blue);
    padding-left: 1.5rem;
}

/* VIP Black Card - Magnetic Pull */
.vip-black-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.vip-black-card:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 122, 204, 0.25),
        0 0 40px rgba(0, 122, 204, 0.15);
}

/* CTA Buttons - Subtle Pulse on Hover */
.cta-button:hover {
    animation: ctaPulse 1.5s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 122, 204, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 122, 204, 0);
    }
}

/* Newsletter Form - Focus Glow */
#mlb2-31318940 input.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow:
        0 0 0 3px rgba(0, 122, 204, 0.1),
        0 4px 12px rgba(0, 122, 204, 0.15);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Insight Items - Depth on Hover */
.insight-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.insight-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(0, 122, 204, 0.1);
}

/* Pillar Cards - Smooth Flip Enhancement */
.pillar-card {
    transition: all 0.3s ease;
}

.pillar-card:hover {
    z-index: 10;
}

/* Journey Stats - Magnetic Hover */
.journey-item:hover {
    z-index: 20;
}

/* Progress Dots - Active State Animation */
.progress-dot.active {
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 122, 204, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(0, 122, 204, 0);
    }
}

/* Section Reveal - Smooth Entry */
.section-animate {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.section-animate:nth-child(2) {
    animation-delay: 0.1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Link Hover - Underline Animation */
a:not(.cta-button):not(.nav-link) {
    position: relative;
}

a:not(.cta-button):not(.nav-link)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

a:not(.cta-button):not(.nav-link):hover::after {
    width: 100%;
}

/* Transformation Cards - Breathing Effect */
.transformation-col {
    animation: cardBreathe 4s ease-in-out infinite;
}

.transformation-col.problem {
    animation-delay: 0s;
}

.transformation-col.solution {
    animation-delay: 2s;
}

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

/* Scroll Indicator - Bounce */
.scroll-indicator {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Back to Top Button - Smooth Entrance */
.back-to-top {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 122, 204, 0.3);
}

/* Hero Image - Subtle Zoom on Hover */
.hero-image-container:hover .hero-image {
    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Timeline Items - Sequential Reveal */
.timeline-item {
    opacity: 0;
    transform: translateX(-30px);
}

.timeline-item.revealed {
    animation: slideInRight 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Newsletter Success State - Celebration */
.ml-form-successContent {
    animation: celebrate 0.6s ease-out;
}

@keyframes celebrate {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
