/* ====================================================
   TRYOUT DETAIL PAGE STYLES
   ==================================================== */

/* --- HERO BANNER --- */
#tryout-detail-hero-section {
    background-color: #62bec0;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.tryout-detail-hero-banner {
    padding: 55px 0 40px 0;
    position: relative;
    background-color: #62bec0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.tryout-detail-hero-banner .hero-left-content {
    padding-bottom: 70px;
}

/* 2-Tone Background: Bottom Pale Cyan Surface Band */
.tryout-detail-hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #9ee6eb;
    z-index: 1;
}

.tryout-detail-hero-banner .container-fluid {
    position: relative;
    z-index: 2;
    width: 100%;
}

.tryout-detail-hero-banner .hero-main-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.85rem, 2.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff !important;
    letter-spacing: -0.4px;
    -webkit-text-stroke: 6px #82c4c0;
    paint-order: stroke fill;
    text-shadow:
        -2px -2px 0 #82c4c0,
         2px -2px 0 #82c4c0,
        -2px  2px 0 #82c4c0,
         2px  2px 0 #82c4c0;
}

.tryout-detail-hero-banner .hero-subheading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.7;
    color: #1e4d4e !important;
    text-shadow: none !important;
}

.tryout-detail-hero-banner .hero-subheading .text-highlight-black {
    color: #000000 !important;
    font-weight: 800;
}

.tryout-detail-hero-banner .hero-subheading .badge-highlight-yellow {
    background-color: #fee300 !important;
    color: #000000 !important;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 3px;
    display: inline-block;
    letter-spacing: -0.2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.tryout-detail-hero-banner .hero-img-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 3;
}

.tryout-detail-hero-banner .hero-banner-img {
    position: relative;
    width: 100%;
    max-width: 760px;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: -35px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

/* --- MAIN CONTENT & 2-COLUMN SECTION --- */
#tryout-detail-content-section {
    background-color: #f7fafc;
    font-family: 'Montserrat', sans-serif;
}

.tryout-detail-main-title {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.4;
    letter-spacing: -0.3px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Card Styles matching other detail pages */
#tryout-detail-content-section .card,
#tryout-detail-content-section .tryout-card,
.detail-card-wrapper .card,
.detail-card-wrapper .tryout-card {
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    overflow: visible !important;
}

/* --- CV ATS FRIENDLY CARD (100% Matched with Reference & Optimized for Longer Copy) --- */
.cv-ats-card-container {
    margin-top: 75px;
    margin-bottom: 35px;
    position: relative;
    width: 100%;
    max-width: 440px;
}

.cv-ats-card {
    background: linear-gradient(180deg, #FDB658 0%, #FA827A 100%);
    border-radius: 20px;
    padding: 72px 22px 42px 22px;
    position: relative;
    box-shadow: 0 10px 30px rgba(250, 130, 122, 0.28);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cv-ats-badge-circle {
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    width: 118px;
    height: 118px;
    background-color: #ffffff;
    border: 6px solid #FF8E8E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 3;
}

.cv-ats-badge-circle img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.cv-ats-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.02rem, 1.25vw, 1.15rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.32;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    text-wrap: balance;
    max-width: 100%;
}

.cv-ats-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.78rem, 0.95vw, 0.84rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.5;
    margin-bottom: 0;
    text-wrap: balance;
    max-width: 360px;
}

.btn.btn-cv-ats-download,
.btn-cv-ats-download {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #3882F6 !important;
    background-color: #3882F6 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    padding: 9px 34px !important;
    box-shadow: 0 6px 16px rgba(56, 130, 246, 0.4) !important;
    border: none !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    z-index: 10 !important;
}

.btn.btn-cv-ats-download:hover,
.btn-cv-ats-download:hover {
    background: #2563EB !important;
    background-color: #2563EB !important;
    transform: translateX(-50%) translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(56, 130, 246, 0.55) !important;
    color: #ffffff !important;
}

/* --- RIGHT DESCRIPTION SALES CARD --- */
.tryout-description-card {
    background-color: #ffffff;
    border-radius: 20px;
}
.detail-yellow-badge {
    background-color: #fee300 !important;
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 15.5px;
    padding: 6px 14px;
    border-radius: 0 !important;
    display: inline-block;
    letter-spacing: -0.2px;
    font-family: 'Montserrat', sans-serif !important;
}

.detail-yellow-badge strong {
    font-weight: 800 !important;
}

.detail-benefit-list li {
    font-size: 0.92rem;
    line-height: 1.55;
}

.detail-benefit-list .list-emoji {
    font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", sans-serif !important;
    font-size: 1.15rem;
    line-height: 1.4;
    display: inline-block;
    vertical-align: middle;
}

/* Video Testimonial Box */
.testimoni-video-box {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border: 2px solid #f1f5f9;
    max-width: 520px;
    margin: 0 auto;
    background: #f8fafc;
}

.testimoni-video-box .video-thumb {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.testimoni-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background-color: rgba(220, 38, 38, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.testimoni-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background-color: #dc2626;
}

/* Cashback Box (100% matched with ecourse-detail) */
.cashback-banner-box {
    background-color: #ffffff;
    border: 1px dashed #cbd5e1;
}

.cashback-logo {
    max-width: 260px !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    display: inline-block !important;
}

/* Bottom CTA Buttons (100% matched with ecourse-detail) */
.btn-detail-whatsapp {
    background-color: #25D366 !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    padding: 10px 28px !important;
    font-size: 15px;
    font-weight: 700;
    border: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.btn-detail-whatsapp:hover {
    background-color: #1eb954 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45) !important;
    color: #ffffff !important;
}

.btn-detail-join {
    background: linear-gradient(135deg, #FFB800 0%, #FFA000 100%) !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    padding: 10px 32px !important;
    font-size: 15px;
    font-weight: 700;
    border: none !important;
    box-shadow: 0 4px 14px rgba(255, 160, 0, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.btn-detail-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 160, 0, 0.45) !important;
    color: #ffffff !important;
}

/* Responsive adjustments */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .tryout-detail-hero-banner {
        padding: 45px 0 30px 0;
    }
    .tryout-detail-hero-banner .hero-left-content {
        padding-bottom: 40px;
    }
    .tryout-detail-hero-banner .hero-banner-img {
        max-width: 600px;
        margin-bottom: -20px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .tryout-detail-hero-banner {
        padding: 40px 0 25px 0;
    }
    .tryout-detail-hero-banner .hero-left-content {
        padding-bottom: 25px;
    }
    .tryout-detail-hero-banner .hero-banner-img {
        max-width: 520px;
        margin-bottom: 0;
    }
    .tryout-description-card {
        padding: 24px 20px;
    }
    .cashback-logo {
        max-width: 215px !important;
    }
    .detail-yellow-badge {
        font-size: 13.5px !important;
        padding: 5px 12px !important;
        line-height: 1.35 !important;
    }
    .cv-ats-card-container {
        margin-top: 65px;
    }
    .cv-ats-card {
        padding: 64px 16px 38px 16px;
    }
    .cv-ats-badge-circle {
        width: 108px;
        height: 108px;
        top: -50px;
    }
    .cv-ats-badge-circle img {
        width: 62px;
        height: 62px;
    }
    .cv-ats-title {
        font-size: 1.02rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    .cv-ats-subtitle {
        font-size: 0.78rem;
        line-height: 1.45;
    }
}

@media (max-width: 767.98px) {
    .tryout-detail-hero-banner {
        padding: 35px 0 20px 0;
    }
    .tryout-detail-hero-banner::after {
        height: 45px;
    }
    .tryout-detail-hero-banner .hero-left-content {
        padding-bottom: 24px;
        text-align: center;
    }
    .tryout-detail-hero-banner .hero-main-heading {
        font-size: clamp(1.5rem, 5vw, 1.85rem);
    }
    .tryout-detail-hero-banner .hero-subheading {
        font-size: 0.95rem;
    }
    .tryout-detail-hero-banner .hero-img-wrapper {
        justify-content: center;
        align-items: center;
        display: flex !important;
    }
    .tryout-detail-hero-banner .hero-banner-img {
        max-width: min(100%, 500px);
        margin: 0 auto;
        margin-bottom: 0;
    }
    .cashback-logo {
        max-width: 175px !important;
    }
    .detail-yellow-badge {
        font-size: 12.5px !important;
        padding: 5px 10px !important;
        line-height: 1.3 !important;
    }
    .cv-ats-card-container {
        margin-top: 65px;
        margin-bottom: 30px;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .cv-ats-card {
        padding: 66px 18px 38px 18px;
    }
    .cv-ats-badge-circle {
        width: 110px;
        height: 110px;
        top: -50px;
    }
    .cv-ats-badge-circle img {
        width: 64px;
        height: 64px;
    }
    .cv-ats-title {
        font-size: 1.05rem;
        line-height: 1.32;
        margin-bottom: 8px;
    }
    .cv-ats-subtitle {
        font-size: 0.8rem;
        line-height: 1.48;
    }
}

@media (max-width: 575.98px) {
    .tryout-detail-hero-banner {
        padding: 28px 0 15px 0;
    }
    .tryout-detail-hero-banner .hero-left-content {
        padding-bottom: 18px;
    }
    .tryout-detail-hero-banner .hero-main-heading {
        font-size: clamp(1.35rem, 6vw, 1.65rem);
    }
    .tryout-detail-hero-banner .hero-subheading {
        font-size: 0.88rem;
        line-height: 1.55;
    }
    .tryout-detail-hero-banner .hero-banner-img {
        max-width: 100%;
        margin-bottom: 0;
    }
    .detail-yellow-badge {
        font-size: 11.5px !important;
        padding: 4px 9px !important;
    }
    .cv-ats-card-container {
        margin-top: 60px;
        max-width: 380px;
    }
    .cv-ats-card {
        padding: 60px 14px 36px 14px;
    }
    .cv-ats-badge-circle {
        width: 100px;
        height: 100px;
        top: -46px;
        border-width: 5px;
    }
    .cv-ats-badge-circle img {
        width: 58px;
        height: 58px;
    }
    .cv-ats-title {
        font-size: 0.98rem;
        line-height: 1.3;
    }
    .cv-ats-subtitle {
        font-size: 0.76rem;
        line-height: 1.45;
    }
    .btn.btn-cv-ats-download,
    .btn-cv-ats-download {
        padding: 8px 30px !important;
        font-size: 0.9rem !important;
        bottom: -18px;
    }
}

/* ====================================================
   FLOATING BUNDLE CROSS-SELL CTA (SINGLE TRYOUT DETAIL)
   Nuansa Kuning Khas Mulai Karir & Thumbnail Persegi Panjang
   ==================================================== */
.floating-bundle-cta {
    position: fixed;
    z-index: 1045;
    background: #ffffff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 36px -4px rgba(0, 0, 0, 0.12), 0 4px 14px -2px rgba(0, 0, 0, 0.05);
    font-family: 'Montserrat', sans-serif;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(35px) scale(0.96);
    transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.38s ease;
}

.floating-bundle-cta.show-cta {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-bundle-cta.hide-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px) scale(0.95);
}

/* Close Button */
.floating-bundle-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    padding: 0;
}

.floating-bundle-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
    transform: rotate(90deg) scale(1.08);
}

/* Header & Badges */
.floating-bundle-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 11px;
    padding-right: 28px;
}

.floating-bundle-pill-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 700;
    color: #854d0e;
    background: #fef9c3;
    border: 1px solid #fde047;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

.floating-bundle-discount-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    padding: 3px 9px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
    animation: pulseDiscount 2.2s infinite;
}

@keyframes pulseDiscount {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* Body */
.floating-bundle-body {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 13px;
}

/* Thumbnail Persegi Panjang (Landscape Ratio) */
.floating-bundle-thumb-box {
    position: relative;
    flex-shrink: 0;
    width: 122px;
    height: 76px;
    border-radius: 11px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.floating-bundle-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.floating-bundle-cta:hover .floating-bundle-thumb-img {
    transform: scale(1.04);
}

.floating-bundle-badge-count {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
    color: #fef08a;
    font-size: 0.62rem;
    font-weight: 700;
    text-align: center;
    padding: 2px 3px;
    letter-spacing: 0.3px;
}

.floating-bundle-details {
    flex: 1;
    min-width: 0;
}

.floating-bundle-sub-lead {
    font-size: 0.72rem;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.floating-bundle-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.floating-bundle-pricing {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.floating-bundle-price-main {
    font-size: 0.98rem;
    font-weight: 800;
    color: #b45309;
    line-height: 1;
}

.floating-bundle-price-strikethrough {
    font-size: 0.76rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Footer / Action Button (Kuning Khas Mulai Karir) */
.floating-bundle-footer {
    width: 100%;
}

.floating-bundle-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(to right, rgb(255, 190, 32), rgb(255, 150, 0)) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}

.floating-bundle-cta-button:hover {
    background: linear-gradient(to right, rgb(255, 175, 15), rgb(240, 135, 0)) !important;
    box-shadow: 0 5px 16px rgba(217, 119, 6, 0.35);
    transform: translateY(-1.5px);
    color: #ffffff !important;
}

.floating-bundle-cta-button i {
    transition: transform 0.2s ease;
}

.floating-bundle-cta-button:hover i {
    transform: translateX(3px);
}

/* ====================================================
   RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile)
   ==================================================== */

/* 1. DESKTOP (>= 992px) - Bottom Right Corner (Wider card for rectangular thumb) */
@media (min-width: 992px) {
    .floating-bundle-cta {
        bottom: 26px;
        right: 26px;
        width: 435px;
        padding: 16px 18px;
    }
}

/* 2. TABLET (768px - 991.98px) - Bottom Right Corner (385px, Thumb 112px x 70px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .floating-bundle-cta {
        bottom: 20px;
        right: 20px;
        width: 385px;
        padding: 14px 16px;
    }
    .floating-bundle-thumb-box {
        width: 112px;
        height: 70px;
    }
    .floating-bundle-name {
        font-size: 0.84rem;
        -webkit-line-clamp: 2;
    }
    .floating-bundle-cta-button {
        font-size: 0.84rem;
        padding: 9px 16px;
    }
}

/* 3. MOBILE (< 768px) - Docked Bottom Floating Banner */
@media (max-width: 767.98px) {
    .floating-bundle-cta {
        bottom: 12px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: 430px;
        margin: 0 auto;
        padding: 11px 13px;
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border: 1px solid #e2e8f0;
    }

    .floating-bundle-header {
        margin-bottom: 7px;
        padding-right: 24px;
    }

    .floating-bundle-pill-badge {
        font-size: 0.7rem;
        padding: 2px 8px;
    }

    .floating-bundle-discount-badge {
        font-size: 0.68rem;
        padding: 2px 7px;
    }

    .floating-bundle-close {
        top: 6px;
        right: 6px;
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .floating-bundle-body {
        margin-bottom: 9px;
        gap: 10px;
    }

    .floating-bundle-thumb-box {
        width: 96px;
        height: 60px;
        border-radius: 9px;
    }

    .floating-bundle-badge-count {
        font-size: 0.58rem;
    }

    .floating-bundle-sub-lead {
        display: none;
    }

    .floating-bundle-name {
        font-size: 0.82rem;
        line-height: 1.28;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
        margin-bottom: 3px;
    }

    .floating-bundle-price-main {
        font-size: 0.88rem;
    }

    .floating-bundle-price-strikethrough {
        font-size: 0.72rem;
    }

    .floating-bundle-cta-button {
        font-size: 0.82rem;
        padding: 8px 14px;
        border-radius: 10px;
    }
}

