/* Base Styles */
* { box-sizing: border-box; }
body { overflow-x: hidden; font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
.font-display { font-family: 'Space Grotesk', sans-serif; }

/* Animations */
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-reverse { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); } 50% { box-shadow: 0 0 40px rgba(16, 185, 129, 0.6); } }
@keyframes slide-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoom-in-out { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes best-deal-glow { 0% { box-shadow: 0 0 5px rgba(16, 185, 129, 0.4); } 50% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); } 100% { box-shadow: 0 0 5px rgba(16, 185, 129, 0.4); } }
@keyframes text-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }
.animate-slide-up { animation: slide-up 0.8s ease-out forwards; }
.animate-zoom-in-out { animation: zoom-in-out 2s ease-in-out infinite; }
.animate-best-deal { animation: best-deal-glow 2s ease-in-out infinite; }
.animate-text-gradient {
    background-size: 200% 200%;
    animation: text-gradient 3s ease infinite;
}

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Component Styles - TEMA TERANG */
.btn-primary { background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important; color: #FFFFFF !important; text-decoration: none !important; border: none !important; display: inline-block; }
.btn-primary:hover { background: linear-gradient(135deg, #059669 0%, #047857 100%) !important; transform: scale(1.02); }

/* Glass effect untuk background putih */
.glass { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(0, 0, 0, 0.05); }

/* Layout Styles */
.sticky-cta { 
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; 
    transition: transform 0.3s ease, opacity 0.3s ease; 
    transform: translateY(100%); 
    opacity: 0; 
    pointer-events: none;
}

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

.marquee-content { 
    display: inline-flex; 
    animation: marquee 30s linear infinite; 
    width: max-content; /* Penting agar lebar menyesuaikan konten */
}

.marquee-content-reverse { 
    display: inline-flex; 
    animation: marquee-reverse 35s linear infinite; 
    width: max-content; /* Penting agar lebar menyesuaikan konten */
}

/* Pastikan Keyframes ada dan benar */
@keyframes marquee { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}
@keyframes marquee-reverse { 
    0% { transform: translateX(-50%); } 
    100% { transform: translateX(0); } 
}

/* Sales Notification */
.sales-notification { 
    position: fixed; 
    bottom: 20px; 
    left: 20px; 
    z-index: 999; 
    max-width: 320px; 
    opacity: 0; 
    transform: translateX(-100%); 
    transition: all 0.5s ease; 
}
.sales-notification.show { opacity: 1; transform: translateX(0); }

.timeline-step { opacity: 0.2; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.timeline-step.active { opacity: 1; transform: translateY(0); }
.timeline-step.active .timeline-circle { background: #10B981; border-color: #10B981; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); transform: scale(1.1); color: white; }

/* Responsive Adjustments */
@media (max-width: 768px) { 
    .sales-notification { left: 10px; bottom: 20px; max-width: 280px; } 
    .marquee-content, .marquee-content-reverse { animation-duration: 15s; }
}

/* Animasi Modal */
#previewModal.showing { display: flex; opacity: 1; }
#previewModal.hiding { display: flex; opacity: 0; pointer-events: none; }
@keyframes zoom-in { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.animate-zoom-in { animation: zoom-in 0.3s ease-out forwards; }

/* Hide scrollbar */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; scroll-padding: 0 10%; }

/* Testimonial Slider */
.testimonial-card { transform: scale(0.9); opacity: 0.6; filter: grayscale(30%); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid transparent; }
.testimonial-card.is-active { transform: scale(1); opacity: 1; filter: grayscale(0); z-index: 10; border-color: rgba(16, 185, 129, 0.3); box-shadow: 0 0 20px rgba(16, 185, 129, 0.1); }

/* ========================================== */
/* TOMBOL SHINE ANIMATION (KILAUAN) */
/* ========================================== */
.btn-shine {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%; /* Mulai dari luar layar kiri */
    z-index: 2;
    display: block;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.5) 50%, transparent 100%);
    transform: skewX(-25deg);
    animation: btn-shine-effect 3s infinite; /* Loop terus menerus */
}

@keyframes btn-shine-effect {
    0% { left: -75%; opacity: 0; }
    20% { left: 125%; opacity: 1; }
    100% { left: 125%; opacity: 0; }
}

/* ========================================== */
/* KHUSUS HERO HEADLINE: POPPINS EXTRA BOLD */
/* ========================================== */
.font-hero-headline {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important; /* ExtraBold, lebih solid dari Bold biasa */
    letter-spacing: -0.03em;     /* Sedikit rapat biar kelihatan gemuk */
    text-shadow: 2px 2px 0px rgba(0,0,0,0.05); /* Bayangan tipis extra ketebalan */
}

/* Khusus Headline Hero agar extra tebal */
h1 {
    font-weight: 900 !important; /* Poppins Black (Paling Tebal) */
}

