/* --- PENGUNCI LAYAR GLOBAL --- */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
    margin: 0;
    padding: 0;
}

/* --- KEYFRAMES --- */
@keyframes zoomOutBg {
    0% {
        transform: scale(1.15);
        filter: brightness(1.1);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

@keyframes smashInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px) skewX(4deg); /* Dikurangi jaraknya dari -60px agar tidak bocor di HP */
    }
    100% {
        opacity: 1;
        transform: translateX(0) skewX(0);
    }
}

@keyframes smashInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlowOrange {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 107, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

/* --- OVERRIDE BOOTSTRAP TEXT COLORS UNTUK THEME BARU --- */
.text-primary {
    color: #0A5A35 !important;
}

/* --- HERO SECTION WITH IMAGE BACKGROUND --- */
.hero-section-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden; /* Mengunci agar partikel atau animasi background tidak melar keluar */
    color: #ffffff;
}

.hero-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 90, 53, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%), url('/assets/images/hero.webp') center/cover no-repeat;
    z-index: -1;
    animation: zoomOutBg 12s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-content-box {
    max-width: 680px;
    position: relative;
    z-index: 2;
    width: 100%; /* Memaksa konten fleksibel mengikuti lebar container */
}

/* --- STAGGERED ANIMATIONS --- */
.hero-badge-premium {
    background: rgba(255, 255, 255, 0.1);
    color: #FFC107;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    display: inline-block;
    text-transform: uppercase;
    border: 1px solid rgba(255, 193, 7, 0.4);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: smashInLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards;
}

.hero-title-premium {
    font-size: 84px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 25px;
    opacity: 0;
    animation: smashInLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s forwards;
}

.hero-title-premium span {
    background: linear-gradient(45deg, #FF6B00, #D81B24) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 35px rgba(255, 107, 0, 0.5) !important;
}

.animasi-info-bar {
    animation: smashInUp 1s ease 1s forwards;
    opacity: 0;
}

.hero-desc-premium {
    font-size: 20px;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0;
    animation: smashInLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards;
}

.hero-buttons {
    opacity: 0;
    animation: smashInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.8s forwards;
}

.hero-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    animation: smashInUp 1s ease 1s forwards;
}

.hero-info-grid small {
    color: #94a3b8 !important;
}

.hero-info-grid strong {
    color: #ffffff !important;
}

.hero-info-grid i {
    color: #FF6B00 !important;
}

/* --- TOMBOL THEME PROPOSAL --- */
.btn-blue-primary {
    background: linear-gradient(45deg, #FF6B00, #D81B24) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    animation: pulseGlowOrange 2.5s infinite;
}

.btn-blue-primary:hover {
    transform: translateY(-6px) scale(1.05) !important;
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.7);
}

.btn-outline-premium {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease !important;
}

.btn-outline-premium:hover {
    border-color: #0A5A35 !important;
    background: #0A5A35 !important;
    color: #ffffff !important;
    transform: translateY(-5px) !important;
}

/* --- CARD HOVER EXTREME --- */
.package-card-premium {
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    background: #ffffff;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.package-card-premium:hover {
    transform: translateY(-16px) scale(1.03) !important;
    border-color: #0A5A35 !important;
    box-shadow: 0 35px 60px -15px rgba(10, 90, 53, 0.25) !important;
}

.package-card-premium .mb-4 span {
    color: #0A5A35 !important;
}

.info-card-premium {
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.4s ease !important;
}

.info-card-premium:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-bottom: 4px solid #FF6B00 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06) !important;
}

.info-icon-box i {
    color: #0A5A35;
    font-size: 32px;
}

/* --- SAFETY PADDING FOR BOOTSTRAP ROWS --- */
.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* --- RESPONSIVE MOBILE SINKRONISASI --- */
@media(max-width: 768px) {
    .hero-section-premium {
        padding: 110px 10px 60px; /* Dipersempit agar tidak terlalu jauh dari navbar di HP */
        text-align: center;
        min-height: auto;
    }

    .hero-title-premium {
        font-size: 46px; /* Dikecilkan sedikit lagi dari 52px agar teks "Funrun 2026" tidak pecah baris merusak layar */
        letter-spacing: -1px;
    }

    .hero-desc-premium {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100% !important;
        margin-right: 0 !important;
    }

    /* === FIX TOTAL PILL-SHAPE DI HP === */
    .hero-info-grid {
        display: block !important;
        margin-top: 35px;
    }

    .hero-content-box .rounded-pill {
        display: flex !important;
        flex-direction: column !important;
        border-radius: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        gap: 0 !important;
    }

    .hero-content-box .rounded-pill>div {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 12px 0 !important;
        text-align: center !important;
    }

    .hero-content-box .rounded-pill>div:last-child {
        border-bottom: none !important;
    }

    .hero-content-box .rounded-pill small {
        color: #6c757d !important;
    }

    .hero-content-box .rounded-pill strong {
        color: #212529 !important;
    }

    .hero-content-box .rounded-pill i {
        color: #0A5A35 !important;
    }
}