/* Base Desktop Styles (≥ 992px) */
#hero {
    position: relative;
    width: 100%;
    min-height: auto;
    background-color: #f4f9ff;
    padding: 60px 0 30px 0;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    z-index: 1;
    pointer-events: none;
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    min-height: 440px;
    padding-bottom: 30px;
}

.hero-title {
    font-family: 'Mont', 'Montserrat', sans-serif !important;
    color: #ffffff !important;
    font-size: 42px;
    font-weight: 800 !important;
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
    -webkit-text-stroke: 7.5px #fdc71d;
    paint-order: stroke fill;
    text-shadow: 0 4px 10px rgba(180, 100, 0, 0.35);
}

.hero-subtitle {
    font-family: 'Mont', 'Montserrat', sans-serif !important;
    color: #574400 !important;
    font-size: 18px;
    font-weight: 700 !important;
    line-height: 1.5;
    max-width: 640px;
    margin-bottom: 0;
}

/* Hero Action Buttons */
.hero-action-buttons {
    margin-top: 26px;
    z-index: 3;
    position: relative;
}

.hero-btn-action {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 52px;
    padding: 9px 24px;
    border-radius: 8px;
    font-family: 'Mont', 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px;
    line-height: 1.3;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}

.hero-btn-action:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
}

.hero-btn-download {
    background-color: #fe0000 !important;
}

.hero-btn-download:hover {
    background-color: #e50000 !important;
    box-shadow: 0 6px 14px rgba(254, 0, 0, 0.35);
}

.hero-btn-group-wa {
    background-color: #36a849 !important;
}

.hero-btn-group-wa:hover {
    background-color: #2f9440 !important;
    box-shadow: 0 6px 14px rgba(54, 168, 73, 0.35);
}

.hero-illustration-col {
    min-height: 380px;
}

.floating-lamp {
    position: absolute;
    top: 15px;
    left: -35px;
    width: 85px;
    height: auto;
    z-index: 5;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.floating-bag {
    position: absolute;
    bottom: -35px;
    left: -80px;
    width: 130px;
    height: auto;
    z-index: 5;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

/* Overlapping White Options Card */
.hero-options-card {
    position: relative;
    margin-top: 30px;
    z-index: 10;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    border-radius: 24px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06) !important;
}

.options-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #111111;
}

.option-card-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: #E2E8F0 !important;
    border-radius: 20px !important;
}

.option-card-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

.option-card-header {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.option-card-header-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.option-card-header-title {
    font-size: 19px;
}

.option-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.option-card-body-title {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
}

.option-card-body-desc {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
}

.option-card-btn {
    font-size: 15px;
    padding: 9px 16px;
}

/* Separated Timer Preview Boxes in Option Card 2 */
.timer-preview-wrapper {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
}

.timer-box-top {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 6px 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s ease;
}

.timer-box-bottom {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 7px 9px !important;
    text-align: left;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s ease;
}

.timer-hourglass-img {
    height: 19px;
    width: auto;
    max-height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
    display: inline-block;
}

.timer-digits {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    line-height: 1;
}

.timer-soal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: #6c757d;
    line-height: 1.2;
    margin-bottom: 2px;
}

.timer-soal-row .timer-label {
    color: #6c757d;
    font-weight: 400;
}

.timer-soal-row .timer-val {
    color: #212529;
    font-weight: 700;
}

.timer-progress {
    height: 3px !important;
    background-color: #e9ecef !important;
    border-radius: 999px !important;
    overflow: hidden;
    margin: 3px 0 3px 0 !important;
}

.timer-progress .progress-bar {
    background-color: #ffc107 !important;
    border-radius: 999px !important;
}

.timer-subtes-row {
    font-size: 10px;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
    text-align: left;
}

@media (max-width: 991.98px) {
    .timer-preview-wrapper {
        gap: 6px;
    }
    .timer-box-top {
        padding: 5px 7px !important;
        gap: 6px;
        border-radius: 8px !important;
    }
    .timer-box-bottom {
        padding: 6px 8px !important;
        border-radius: 8px !important;
    }
    .timer-hourglass-img {
        height: 17px !important;
    }
    .timer-digits {
        font-size: 15px !important;
    }
    .timer-soal-row,
    .timer-subtes-row {
        font-size: 10px !important;
    }
    .timer-progress {
        height: 3px !important;
        margin: 3px 0 3px 0 !important;
    }
}

@media (max-width: 575.98px) {
    .timer-preview-wrapper {
        gap: 5px;
    }
    .timer-box-top {
        padding: 4px 6px !important;
        gap: 5px;
    }
    .timer-box-bottom {
        padding: 5px 7px !important;
    }
    .timer-hourglass-img {
        height: 15px !important;
    }
    .timer-digits {
        font-size: 14px !important;
    }
    .timer-soal-row,
    .timer-subtes-row {
        font-size: 9.5px !important;
    }
    .timer-progress {
        height: 3px !important;
        margin: 2px 0 2px 0 !important;
    }
}


/* Mobile & Tablet Coded Hero Background (< 992px) */
@media (max-width: 991.98px) {
    #hero {
        background-color: #f4f9ff !important;
        background-image: none !important;
        padding: 35px 0 45px 0 !important;
        position: relative;
    }

    .options-card-title {
        font-size: 20px !important;
        margin-bottom: 16px !important;
        text-align: left;
    }

    .option-card-header {
        padding: 12px 16px !important;
    }

    .option-card-header-icon {
        width: 44px !important;
        height: 44px !important;
    }

    .option-card-header-title {
        font-size: 16px !important;
    }

    .option-card-body {
        padding: 14px 16px 8px 16px !important;
    }

    .option-card-body-title {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .option-card-body-desc {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .option-card-btn {
        font-size: 14px !important;
        padding: 8px 14px !important;
    }

    .hero-mobile-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 680px;
        background: linear-gradient(145deg, #FFC800 0%, #FFB400 45%, #FFA000 100%) !important;
        pointer-events: none;
        overflow: hidden;
        z-index: 1;
    }

    /* Dot Grid Accent Top Left */
    .hero-mobile-dots {
        position: absolute;
        top: 25px;
        left: 20px;
        width: 90px;
        height: 90px;
        background-image: radial-gradient(rgba(255, 255, 255, 0.45) 2px, transparent 2px);
        background-size: 14px 14px;
        opacity: 0.85;
    }

    /* Dot Grid Accent Bottom Right (Pink Area) */
    .hero-mobile-dots-right {
        position: absolute;
        bottom: 120px;
        right: 15px;
        width: 80px;
        height: 80px;
        background-image: radial-gradient(rgba(255, 255, 255, 0.45) 2px, transparent 2px);
        background-size: 14px 14px;
        opacity: 0.85;
        pointer-events: none;
    }

    /* Mobile Top Arc Overlay (Soft Gradient Curve at Top Center) */
    .hero-mobile-top-arc {
        position: absolute;
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
        width: 140%;
        height: 220px;
        border-radius: 50%;
        background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
        pointer-events: none;
    }

    /* Mobile Side Wave Overlay (Soft Layered Curve Accent) */
    .hero-mobile-side-curve {
        position: absolute;
        bottom: 80px;
        left: -40px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
        pointer-events: none;
    }

    /* Mobile Glowing Auras */
    .hero-mobile-glow-lamp {
        position: absolute;
        top: 0px;
        right: 0px;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 70%);
        filter: blur(4px);
        pointer-events: none;
        z-index: 3;
    }

    /* Mobile Left Side Glow Aura (Red Circled Area) */
    /* Mobile Left Side Glow Aura */
    .hero-mobile-glow-bag {
        position: absolute;
        top: 240px;
        left: -18px;
        width: 190px;
        height: 190px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.25) 45%, rgba(255, 255, 255, 0) 75%);
        filter: blur(8px);
        pointer-events: none;
        z-index: 2;
    }

    /* Lamp Icon Mobile Absolute (Top Right) */
    .lamp-mobile-abs {
        position: absolute;
        top: 10px;
        right: 18px;
        width: 44px;
        height: auto;
        transform: rotate(14deg);
        z-index: 4;
        filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
    }

    /* Bag Icon Mobile Absolute (Lower Left beside 3D illustration) */
    .bag-mobile-abs {
        position: absolute;
        top: 280px;
        left: 20px;
        width: 54px;
        height: auto;
        transform: rotate(-12deg);
        z-index: 4;
        filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
        pointer-events: none;
    }

    .hero-banner-content {
        min-height: auto;
        padding-bottom: 25px;
        text-align: center !important;
    }

    .hero-text-col {
        text-align: center !important;
    }

    /* Mobile & Tablet Hero Illustration */
    .hero-mobile-illustration-col {
        margin-top: 16px;
        margin-bottom: 6px;
        position: relative;
        z-index: 4;
    }

    .hero-mobile-img-wrapper {
        position: relative;
        width: 100%;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .hero-mobile-illustration-img {
        position: relative;
        width: 80%;
        max-width: 320px;
        height: auto;
        max-height: 280px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        filter: drop-shadow(0 12px 24px rgba(180, 100, 0, 0.18));
    }

    .hero-title {
        text-align: center !important;
        font-size: 32px !important;
        line-height: 1.35 !important;
        color: #ffffff !important;
        -webkit-text-stroke: 4px #e5a000 !important;
        text-shadow: 0 3px 8px rgba(160, 90, 0, 0.35) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 18px !important;
    }

    .hero-subtitle {
        text-align: center !important;
        font-size: 16px !important;
        line-height: 1.55 !important;
        color: #4A3B00 !important;
        max-width: 620px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 15px !important;
    }

    .hero-action-buttons {
        justify-content: center !important;
        margin-top: 20px !important;
        gap: 12px !important;
    }

    .hero-btn-action {
        font-size: 14px !important;
        padding: 8px 18px !important;
        min-height: 48px !important;
    }

    .hero-options-card {
        margin-top: 20px !important;
    }
}

/* Dedicated Tablet Responsive (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #hero {
        padding: 55px 0 50px 0 !important;
    }

    .hero-mobile-bg {
        height: 720px !important;
    }

    .hero-banner-content {
        min-height: auto;
        padding-bottom: 25px !important;
        text-align: center !important;
    }

    .hero-text-col {
        text-align: center !important;
    }

    .hero-mobile-illustration-col {
        margin-top: 22px !important;
        margin-bottom: 10px !important;
    }

    .hero-mobile-illustration-img {
        max-width: 440px !important;
        max-height: 350px !important;
        width: 75% !important;
    }

    .hero-title {
        text-align: center !important;
        font-size: 38px !important;
        line-height: 1.35 !important;
        color: #ffffff !important;
        -webkit-text-stroke: 4.5px #e5a000 !important;
        text-shadow: 0 4px 10px rgba(160, 90, 0, 0.35) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 20px !important;
    }

    .hero-subtitle {
        text-align: center !important;
        font-size: 18px !important;
        line-height: 1.55 !important;
        color: #4A3B00 !important;
        max-width: 680px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 20px !important;
    }

    .hero-options-card {
        margin-top: 25px !important;
        padding: 28px 24px !important;
    }

    /* Tablet Options Card Typography */
    .options-card-title {
        font-size: 24px !important;
        margin-bottom: 20px !important;
        font-weight: 800 !important;
    }

    .option-card-header {
        padding: 14px 20px !important;
    }

    .option-card-header-icon {
        width: 48px !important;
        height: 48px !important;
    }

    .option-card-header-title {
        font-size: 18px !important;
        font-weight: 800 !important;
    }

    .option-card-body {
        padding: 16px 20px 10px 20px !important;
    }

    .option-card-body-title {
        font-size: 16px !important;
        line-height: 1.35 !important;
        font-weight: 800 !important;
    }

    .option-card-body-desc {
        font-size: 13.5px !important;
        line-height: 1.4 !important;
        font-weight: 500 !important;
    }

    .option-card-btn {
        font-size: 15px !important;
        padding: 9px 18px !important;
        font-weight: 700 !important;
    }

    /* Tablet Lamp Icon Absolute */
    .lamp-mobile-abs {
        position: absolute;
        top: 22px;
        right: 30px;
        width: 62px;
        height: auto;
        transform: rotate(14deg);
        z-index: 4;
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    }

    /* Tablet Bag Icon Absolute */
    .bag-mobile-abs {
        position: absolute;
        top: 330px !important;
        left: 40px !important;
        bottom: auto !important;
        width: 78px !important;
        height: auto !important;
        transform: rotate(-12deg) !important;
        z-index: 4 !important;
        filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.24)) !important;
        pointer-events: none;
    }

    /* Tablet Textures & Glow Adjustments */
    .hero-mobile-dots {
        top: 30px;
        left: 30px;
        width: 110px;
        height: 110px;
        background-size: 16px 16px;
    }

    .hero-mobile-dots-right {
        bottom: 140px;
        right: 30px;
        width: 110px;
        height: 110px;
        background-size: 16px 16px;
    }

    .hero-mobile-glow-lamp {
        top: 0px;
        right: 10px;
        width: 160px;
        height: 160px;
        filter: blur(6px);
    }

    .hero-mobile-glow-bag {
        top: 285px !important;
        left: -12px !important;
        width: 260px !important;
        height: 260px !important;
        filter: blur(10px) !important;
    }
}

/* Mobile Responsive (< 768px) */
@media (max-width: 767px) {
    #hero {
        padding: 40px 0 24px 0 !important;
    }

    .hero-mobile-bg {
        height: 620px !important;
    }

    .hero-banner-content {
        padding-bottom: 20px !important;
    }

    .hero-mobile-illustration-col {
        margin-top: 14px !important;
        margin-bottom: 4px !important;
    }

    .hero-mobile-illustration-img {
        max-width: 290px !important;
        max-height: 240px !important;
        width: 82% !important;
    }

    .bag-mobile-abs {
        top: 280px !important;
        left: 20px !important;
        bottom: auto !important;
        width: 54px !important;
    }

    .hero-mobile-glow-bag {
        top: 240px !important;
        left: -18px !important;
        width: 170px !important;
        height: 170px !important;
    }

    .hero-options-card {
        margin-top: 20px !important;
    }

    .options-card-title {
        font-size: 18px !important;
        margin-bottom: 14px !important;
    }

    .option-card-header {
        padding: 10px 14px !important;
    }

    .option-card-header-icon {
        width: 38px !important;
        height: 38px !important;
    }

    .option-card-header-title {
        font-size: 15px !important;
    }

    .option-card-body {
        padding: 12px 14px 6px 14px !important;
    }

    .option-card-body-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    .option-card-body-desc {
        font-size: 11.5px !important;
        line-height: 1.3 !important;
    }

    .option-card-btn {
        font-size: 13.5px !important;
        padding: 7px 12px !important;
    }

    .hero-title {
        text-align: center !important;
        font-size: 24px !important;
        line-height: 1.35 !important;
        color: #ffffff !important;
        -webkit-text-stroke: 4px #e5a000 !important;
        text-shadow: 0 3px 8px rgba(160, 90, 0, 0.35) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 14px !important;
    }

    .hero-subtitle {
        text-align: center !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 10px !important;
    }

    .hero-mobile-dots {
        top: 15px;
        left: 10px;
        width: 70px;
        height: 70px;
        background-size: 11px 11px;
    }

    .illustration-wrapper-mobile {
        width: 180px;
        height: 90px;
    }

    .lamp-mobile {
        width: 50px;
        left: 15px;
    }

    .bag-mobile {
        width: 75px;
        right: 15px;
    }

    .hero-options-card {
        margin-top: 15px !important;
        border-radius: 18px !important;
    }
}

/* Small Mobile (< 576px) */
@media (max-width: 575.98px) {
    .hero-mobile-bg {
        height: 550px !important;
    }

    .hero-mobile-illustration-col {
        margin-top: 12px !important;
        margin-bottom: 2px !important;
    }

    .hero-mobile-illustration-img {
        max-width: 255px !important;
        max-height: 215px !important;
        width: 85% !important;
    }

    .bag-mobile-abs {
        top: 255px !important;
        left: 14px !important;
        width: 48px !important;
    }

    .hero-mobile-glow-bag {
        top: 215px !important;
        left: -18px !important;
        width: 150px !important;
        height: 150px !important;
    }

    .option-card-header-icon {
        width: 34px !important;
        height: 34px !important;
    }
}

/* Peek Carousel Styles for Options Carousel */
#hero .carousel-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #00A99D;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 169, 157, 0.2);
}

#hero .carousel-btn:hover {
    background-color: #008c82;
    transform: scale(1.05);
}

#hero .custom-carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

#hero .custom-carousel-indicators button.active {
    width: 24px;
    border-radius: 12px;
    background-color: #00A99D;
}

#hero .peek-carousel-controls {
    margin-top: 35px !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #hero {
        overflow-x: hidden !important;
    }

    #hero .hero-options-card {
        overflow: visible !important;
        padding-bottom: 3.5rem !important;
    }

    #optionsCarousel {
        margin-right: -15vw !important;
    }

    #optionsCarousel .peek-carousel-viewport {
        overflow: hidden !important;
        width: calc(100% + 15vw + 40px) !important;
        padding: 25px 20px 30px 20px !important;
        margin: -25px -20px 0 -20px !important;
    }

    #optionsCarousel .peek-carousel-track {
        gap: 44px !important;
    }

    #optionsCarousel .peek-carousel-slide {
        flex: 0 0 calc(55% - 22px) !important;
        width: calc(55% - 22px) !important;
        padding: 0 !important;
    }

    #optionsCarousel .card-item-main {
        max-width: 100% !important;
        margin: 0 !important;
    }

    #optionsCarousel .peek-carousel-controls {
        margin-top: 45px !important;
    }
}
