/* ================================================================
   Animations — Dark + Orange Theme
   ================================================================ */

/* ================= GSAP Utility Classes ================= */
.gsap-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.gsap-fade-left {
    opacity: 0;
    transform: translateX(-40px);
}

.gsap-fade-right {
    opacity: 0;
    transform: translateX(40px);
}

.gsap-scale {
    opacity: 0;
    transform: scale(0.9);
}

/* ================= Scroll Animations ================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.from-left {
    transform: translateX(-30px);
}

.animate-on-scroll.from-left.visible {
    transform: translateX(0);
}

.animate-on-scroll.scale-in {
    transform: scale(0.95);
}

.animate-on-scroll.scale-in.visible {
    transform: scale(1);
}

/* Stagger */
.stagger-children .animate-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children .animate-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children .animate-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children .animate-on-scroll:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-children .animate-on-scroll:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-children .animate-on-scroll:nth-child(6) {
    transition-delay: 0.6s;
}

/* ================= Badge Pulse ================= */
@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(216, 181, 120, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(216, 181, 120, 0);
    }
}

.badge {
    animation: badgePulse 3s ease-in-out infinite;
}

/* ================= Dot Pulse ================= */
@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(216, 181, 120, 0.3);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(216, 181, 120, 0);
    }
}

.dot-pulse {
    animation: dotPulse 2s ease-in-out infinite;
}

/* ================= Feature Card Hover Glow ================= */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(216, 181, 120, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

/* ================= Card Hover Glow ================= */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(216, 181, 120, 0.04), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card {
    position: relative;
    overflow: hidden;
}

/* ================= CTA Glow Breathe ================= */
@keyframes ctaGlow {

    0%,
    100% {
        opacity: 0.15;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.25;
        transform: translateX(-50%) scale(1.1);
    }
}

.cta-glow {
    animation: ctaGlow 4s ease-in-out infinite;
}

/* ================= Nav Scroll ================= */
.main-nav.scrolled {
    padding: 12px 0;
    border-bottom-color: rgba(255, 255, 255, 0.05);
    background: rgba(3, 3, 3, 0.95);
}

/* ================= Hamburger Active ================= */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================= Reduced Motion ================= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}
