body {
    background: radial-gradient(circle at top left, #0D47A1, #050B18 60%);
    min-height: 100vh;
    color: #dce2f5;
    overflow-x: hidden;
}

.glass-card {
    background: rgba(11, 22, 48, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(144, 202, 249, 0.2);
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease, 
                background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

a.glass-card,
.whatsapp-btn {
    box-shadow: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
    animation: clickMeShake 5s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #2196f3 0%, #0061a4 100%);
    position: relative;
    overflow: hidden;
}

/* 1. Periodic "Click Me" Shake / Wiggle Animation (Getar Halus Pengen Dipencet) */
@keyframes clickMeShake {
    0%, 75%, 100% {
        transform: rotate(0deg) scale(1) translateY(0);
    }
    80% {
        transform: rotate(-1.8deg) scale(1.018) translateY(-2px);
    }
    84% {
        transform: rotate(1.8deg) scale(1.018) translateY(-2px);
    }
    88% {
        transform: rotate(-1.2deg) scale(1.012) translateY(-1px);
    }
    92% {
        transform: rotate(1.2deg) scale(1.006) translateY(-1px);
    }
    96% {
        transform: rotate(0deg) scale(1) translateY(0);
    }
}

/* Stagger shake animation delays down the page sequentially */
.whatsapp-btn { animation-delay: 0.5s; }
a.glass-card:nth-of-type(1) { animation-delay: 1.5s; }
a.glass-card:nth-of-type(2) { animation-delay: 2.5s; }
a.glass-card:nth-of-type(3) { animation-delay: 3.5s; }
a.glass-card:nth-of-type(4) { animation-delay: 4.5s; }

/* 2. Hover State - Shadow & Electric Glow Appear STRICTLY on Hover */
a.glass-card:hover,
button.glass-card:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.02) rotate(0deg) !important;
    border-color: rgba(0, 229, 255, 0.85) !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 30px rgba(0, 229, 255, 0.55) !important;
}

.whatsapp-btn:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.02) rotate(0deg) !important;
    border-color: rgba(0, 229, 255, 0.85) !important;
    box-shadow: 0 14px 40px rgba(33, 150, 243, 0.8), 0 0 35px rgba(0, 229, 255, 0.65) !important;
}

/* 2. Tactile Press State - Real "Pencet" Push-Down Effect */
a.glass-card:active,
button.glass-card:active,
.whatsapp-btn:active,
.modal-card a:active {
    transform: scale(0.96) translateY(2px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
    transition: transform 0.08s cubic-bezier(0.1, 0.9, 0.2, 1) !important;
}

/* 3. Icon & Chevron Smooth Motion */
a.glass-card .material-symbols-outlined,
.whatsapp-btn .material-symbols-outlined,
.modal-card a .material-symbols-outlined {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

a.glass-card:hover .material-symbols-outlined:last-child,
.modal-card a:hover .material-symbols-outlined:last-child {
    transform: translateX(6px) scale(1.2);
    color: #00e5ff !important;
}

/* Icon pulse on hover */
@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(-5deg); }
}

a.glass-card:hover .material-symbols-outlined:first-child,
.whatsapp-btn:hover .material-symbols-outlined:first-child {
    animation: iconPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) infinite alternate;
}



/* 6. Ripple Touch Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.5) 0%, rgba(33, 150, 243, 0.1) 60%, transparent 100%);
    transform: scale(0);
    animation: rippleAnim 0.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.grid-overlay {
    background-image: linear-gradient(rgba(33, 150, 243, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(33, 150, 243, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.glow-sphere {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #2196f3 0%, #0061a4 100%);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.whatsapp-btn:hover {
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
}

/* Testimonial Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 25s linear infinite;
    gap: 1.5rem;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-content .glass-card {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.marquee-content .glass-card:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.25);
}

.modal-card a {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, background-color 0.2s ease;
}

.modal-card a:hover {
    transform: translateX(4px) scale(1.015);
}

.mask-gradient {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* Modal overlay styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(5, 11, 24, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-card {
    width: 92%;
    max-width: 440px;
    background: rgba(11, 22, 48, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(144, 202, 249, 0.25);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.modal-active {
    opacity: 1;
    pointer-events: auto;
}

.modal-active .modal-card {
    transform: scale(1);
}

/* Floating Levitation Animation for Mascot */
@keyframes mascotFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(2.5deg);
    }
}

.floating-mascot {
    animation: mascotFloat 3.2s ease-in-out infinite;
    mix-blend-mode: screen;
}
