/* ==========================================================================
   TryoutBox - Design System & Custom CSS
   Framework: Bootstrap 5 + Bootstrap Icons
   Font: Inter (Google Fonts)
   ========================================================================== */

/* --- 1. DESIGN TOKENS & VARIABLES --- */
:root {
    --primary-blue: #0D6EFD;
    --blue-dark: #0B3D91;
    --navy: #06152E;
    --navy-dark: #03101F;
    --navy-card: #0A1E3F;
    --cyan: #19B8FF;
    --green: #19B754;
    --yellow: #FFC107;
    --light-bg: #F8FBFF;
    --white: #FFFFFF;
    --text-dark: #101828;
    --text-muted: #313b4d;
    --text-light: #94A3B8;
    --border-color: #E2E8F0;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --shadow-soft: 0 10px 30px rgba(13, 110, 253, 0.06);
    --shadow-hover: 0 20px 40px rgba(13, 110, 253, 0.12);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* --- 2. BASE & TYPOGRAPHY --- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.text-primary-blue {
    color: var(--primary-blue) !important;
}

.text-cyan-accent {
    color: var(--cyan) !important;
}

.text-green-accent {
    color: var(--green) !important;
}

.text-yellow-accent {
    color: var(--yellow) !important;
}

/* --- 3. SECTION SPACING & COLORS --- */
.section-padding {
    padding: 90px 0;
}

.bg-light-blue {
    background-color: var(--light-bg);
}

.bg-navy {
    background-color: var(--navy);
}

.bg-navy-dark {
    background-color: var(--navy-dark);
}

.bg-white-custom {
    background-color: var(--white);
}

/* --- 4. BUTTONS & BADGES --- */
.btn-primary-blue,
.btn-primary-custom {
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 28px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.25);

    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary-blue:hover,
.btn-primary-custom:hover {
    background-color: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.35);
}

.btn-outline-blue,
.btn-secondary-custom {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 20px;
    background: transparent;
    transition: all 0.3s ease;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-blue:hover,
.btn-secondary-custom:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white-custom,
.btn-white-cta {
    background-color: var(--white);
    color: var(--navy);
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 28px;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-white-custom:hover,
.btn-white-cta:hover {
    background-color: #EBF3FF;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-outline-white,
.btn-outline-white-cta {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 20px;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-white:hover,
.btn-outline-white-cta:hover {
    background-color: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background-color: #EBF3FF;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.tagline-badge-dark {
    background-color: rgba(25, 184, 255, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(25, 184, 255, 0.25);
}

.tagline-badge-light {
    background-color: #EBF3FF;
    color: var(--primary-blue);
    border: 1px solid rgba(13, 110, 253, 0.2);
}

/* --- 5. NAVBAR --- */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    padding: 10px 0;
}

.navbar-logo-img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.navbar-logo-img:hover {
    transform: scale(1.02);
}

.footer-logo-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 16px !important;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

/* --- 6. HERO SECTION --- */
.hero-section {
    background: url('../hero-people.jpg') no-repeat center right / cover;
    background-color: #F8FBFF;
    min-height: 230px;
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-content-box {
    position: relative;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .hero-section {
        background-position: 80% center;
        padding: 60px 0 90px;
        min-height: auto;
    }

    .hero-content-box {
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(12px);
        padding: 32px 24px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.7);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    }
}

.mini-benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mini-benefit-icon {
    width: 28px;
    height: 28px;
    background-color: #EBF3FF;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* --- 7. FLOATING STATISTIC BAR --- */
.stat-card-floating {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 15px;
}

.stat-icon-box {
    width: 54px;
    height: 54px;
    background: #EBF3FF;
    color: var(--primary-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- 8. PROBLEM SECTION --- */
.problem-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(13, 110, 253, 0.3);
}

.problem-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FFF3F3;
    color: #DC3545;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.solution-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 2px solid rgba(13, 110, 253, 0.15);
    box-shadow: var(--shadow-soft);
}

.solution-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

/* --- 9. FEATURES SECTION --- */
.dark-section-title {
    color: var(--white) !important;
}

.dark-section-desc {
    color: var(--text-light) !important;
}

.feature-card-light {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--shadow-card);
}

.feature-card-light:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
}

.light-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #EBF3FF;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.dark-card {
    background: var(--navy-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.3s ease;
    height: 100%;
    color: var(--white);
}

.dark-card:hover {
    transform: translateY(-5px);
    border-color: rgba(25, 184, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.dark-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.15);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.dashboard-mockup-wrapper {
    position: relative;
    text-align: center;
}

.dashboard-mockup-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background: radial-gradient(circle, rgba(25, 184, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    border-radius: 50%;
}

.dashboard-mockup-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* --- 10. CARA KERJA SECTION --- */
.step-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.step-card.dark-step-card {
    background: var(--navy-card);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: none;
    color: var(--white);
}

.step-card.dark-step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(25, 184, 255, 0.4);
}

.step-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(13, 110, 253, 0.2);
    position: absolute;
    top: 15px;
    right: 20px;
}

.step-card.dark-step-card .step-number {
    color: rgba(25, 184, 255, 0.25);
}

.step-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #EBF3FF;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.step-card.dark-step-card .step-icon-box {
    background: rgba(13, 110, 253, 0.2);
    color: var(--cyan);
}

/* --- 11. KATEGORI SECTION --- */
.category-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #EBF3FF;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px;
}

/* --- 12. PRICING & CATEGORY/STAGE TABS SECTION --- */
.custom-category-pills .cat-tab-btn {
    background-color: var(--white);
    border: 1.5px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.custom-category-pills .cat-tab-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background-color: #EBF3FF;
}

.custom-category-pills .cat-tab-btn.active {
    background-color: var(--navy) !important;
    color: var(--white) !important;
    border-color: var(--navy) !important;
    box-shadow: 0 6px 18px rgba(10, 24, 52, 0.25);
}

.custom-stage-pills .stage-tab-btn {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 7px 18px;
    border-radius: 50px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    cursor: pointer;
}

.custom-stage-pills .stage-tab-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background-color: #EBF3FF;
}

.custom-stage-pills .stage-tab-btn.active {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.3);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.15);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    z-index: 10;
}

/* Horizontal Card Mode (untuk paket >= 4) */
@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid var(--border-color) !important;
    }
}

.pricing-card-horizontal {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.pricing-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.pricing-card-horizontal.popular {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.15);
}

.pricing-card-horizontal .popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    z-index: 10;
    white-space: nowrap;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
}

.price-period {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    /* margin: 20px 0 30px; */
    flex-grow: 1;
}

.pricing-features-list li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* --- 13. TESTIMONIAL SECTION --- */
.testimonial-card {
    background: var(--navy-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 28px;
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-stars {
    color: var(--yellow);
    font-size: 0.9rem;
    /* margin-bottom: 16px; */
}

.testimonial-quote {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
}

.author-role {
    font-size: 0.8rem;
    color: var(--cyan);
}

/* --- 14. FAQ ACCORDION --- */
.accordion-custom .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-custom .accordion-button {
    font-weight: 600;
    color: var(--navy);
    font-size: 1.05rem;
    padding: 18px 24px;
    background-color: var(--white);
}

.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background-color: #F8FBFF;
    box-shadow: none;
}

.accordion-custom .accordion-body {
    padding: 18px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- 15. FINAL CTA SECTION --- */
.cta-section-wrapper {
    background: linear-gradient(135deg, #06152E 0%, #0D6EFD 100%);
    border-radius: 24px;
    padding: 60px 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(25, 184, 255, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
}

/* --- 16. FOOTER --- */
.footer-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--white);
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* --- 17. RESPONSIVE UTILITIES --- */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        padding: 40px 0 80px;
    }

    .hero-people-img {
        max-height: 380px;
        margin-top: 30px;
    }

    .stat-card-floating {
        margin-top: -40px;
    }

    .cta-section-wrapper {
        padding: 40px 24px;
        text-align: center;
    }

    .cta-section-wrapper .d-flex {
        justify-content: center !important;
    }
}

@media (max-width: 767.98px) {
    .stat-number {
        font-size: 1.3rem;
    }

    .price-amount {
        font-size: 1.8rem;
    }

    .tagline-badge {
        font-size: 0.75rem;
    }
}