@charset "UTF-8";

/* ==========================================================================
   Base
   ========================================================================== */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --c-yellow: #F5BC44;
    --c-red: #E82D2F;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

@keyframes scan {

    0%,
    100% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(232, 45, 47, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(232, 45, 47, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(232, 45, 47, 0);
    }
}

@keyframes shine {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* Animation Utilities */
.animate-sequence {
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-blob {
    animation: blob 7s infinite;
}

.animate-scan {
    animation: scan 8s ease-in-out infinite;
}

.animate-shine {
    background: linear-gradient(120deg, #E82D2F 0%, #F5BC44 35%, #ffffff 50%, #F5BC44 65%, #E82D2F 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    display: inline-block;
    /* Ensure block model for transforms if needed */
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-500 {
    animation-delay: 500ms;
}

/* Scroll Animations */
.scroll-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-element.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.bg-grid-pattern {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, transparent, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent 5%, black 40%, black 70%, transparent 95%);
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.text-gradient {
    background: linear-gradient(135deg, #E82D2F 0%, #F5BC44 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.15em;
}

.btn-gradient {
    background: linear-gradient(135deg, #E82D2F 0%, #d41b1d 100%);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #F5BC44 0%, #e0a62e 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -5px rgba(245, 188, 68, 0.4);
}

/* ==========================================================================
   Hamburger → Cross Animation
   ========================================================================== */
#mobile-menu-btn span {
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
}

#mobile-menu-btn.is-open #burger-top {
    transform: translateY(4px) rotate(45deg);
}

#mobile-menu-btn.is-open #burger-mid {
    opacity: 0;
    transform: scaleX(0);
}

#mobile-menu-btn.is-open #burger-bot {
    transform: translateY(-4px) rotate(-45deg);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .scroll-element { transition: none !important; animation: none !important; }
    .animate-pulse-phone { animation: none !important; }
    .animate-ping { animation: none !important; }
    .animate-blob { animation: none !important; }
    * { scroll-behavior: auto !important; }
}