/* ==========================================================================
   bundle-landing.css
   Styles for the dynamic bundle landing page (bundle.php)
   Reuses most test-landing.css styles; this file adds bundle-specific overrides.
   ========================================================================== */

/* --- Bundle Hero Section --- */
.bundle-hero-section {
    margin-top: 118px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.bundle-hero-gradient {
    background: linear-gradient(340deg, #0ea5e9 0%, #017296 35%, #014f6d 70%, #013d55 100%);
    padding: 150px 0 20px;
    min-height: calc(100vh - 118px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bundle-hero-section .container {
    position: relative;
    z-index: 1;
    transform: translateY(-12vh);
}

.bundle-hero-section .row {
    align-items: stretch;
}

/* Decorative background orbs */
.bundle-hero-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 70%);
    pointer-events: none;
}

.bundle-hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 114, 150, 0.1), transparent 70%);
    pointer-events: none;
}

/* --- Bundle Hero: Scoped Child Styles --- */
/* These mirror test-landing.css .test-hero-section scoped rules */
.bundle-hero-section .hero-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

.bundle-hero-section .hero-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 20px;
    max-width: 520px;
}

.bundle-hero-section h1.teasintro {
    color: #fff;
    font-size: 48px;
    margin-top: 45px;
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.bundle-hero-section h2.teas2nd {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 18px;
    max-width: 520px;
    line-height: 1.6;
}

.bundle-hero-section .hero-body-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 20px;
    line-height: 1.7;
    max-width: 520px;
}

.bundle-hero-section .hero-body-text p {
    margin-bottom: 10px;
}

.bundle-hero-section .hero-body-text ul,
.bundle-hero-section .hero-body-text ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.bundle-hero-section .hero-body-text li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.bundle-hero-section .hero-body-text ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #4ade80;
    font-size: 14px;
}

.bundle-hero-section .hero-image-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bundle-hero-section .hero-image-wrap img.teasimg {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* --- Responsive: Bundle Hero --- */
@media (max-width: 767px) {
    .bundle-hero-section .hero-content {
        padding-top: 30px;
    }

    .bundle-hero-section h1.teasintro {
        font-size: 30px;
        margin-top: 20px;
        margin-bottom: 14px;
    }

    .bundle-hero-section h2.teas2nd {
        font-size: 15px;
        max-width: 100%;
    }

    .bundle-hero-section .hero-content p {
        max-width: 100%;
    }

    .bundle-hero-section .hero-body-text {
        max-width: 100%;
    }
}

/* --- What's Included Section --- */
.bundle-whats-included-section {
    background: #f8f9fa;
}

.bundle-category-label {
    font-size: 16px;
    font-weight: 700;
    color: #017296;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.bundle-exam-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    height: 100%;
}

.bundle-exam-card:hover {
    border-color: #017296;
    box-shadow: 0 4px 16px rgba(1, 114, 150, 0.1);
    transform: translateY(-2px);
}

.bundle-exam-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 14px;
}

.bundle-exam-card-icon i {
    color: #017296;
    font-size: 16px;
}

.bundle-exam-card-body {
    flex: 1;
    min-width: 0;
}

.bundle-exam-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
    line-height: 1.3;
}

.bundle-exam-card-count {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.bundle-exam-card-link {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 10px;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bundle-exam-card-link:hover {
    background: #017296;
    color: #fff;
}

.bundle-total-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border: 1px solid #bae6fd;
    border-radius: 30px;
    padding: 10px 24px;
    font-size: 14px;
    color: #017296;
    font-weight: 500;
}

/* --- Bundle WI Body (from AI content) --- */
.bundle-wi-body {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    max-width: 700px;
    margin: 0 auto;
}

.bundle-wi-body p {
    margin-bottom: 14px;
}

.bundle-wi-body h5 {
    font-size: 16px;
    font-weight: 700;
    color: #017296;
    margin-top: 20px;
    margin-bottom: 10px;
}

.bundle-wi-body ul {
    list-style: none;
    padding-left: 0;
}

.bundle-wi-body li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.bundle-wi-body li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #14b8a6;
    font-size: 14px;
}

/* --- What's Included: "More on the exams" Toggle --- */
.bundle-wi-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
    letter-spacing: 0.2px;
}

.bundle-wi-toggle:hover {
    color: #017296;
}

.bundle-wi-toggle i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.bundle-wi-toggle.open i {
    transform: rotate(180deg);
}

.bundle-wi-toggle.open {
    color: #017296;
}

.bundle-wi-more-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.bundle-wi-more-wrap.show {
    max-height: 3000px;
}

/* --- Bundle CTA Closing Section --- */
.bundle-cta-section {
    background: transparent;
}

.bundle-cta-card {
    background: linear-gradient(135deg, #017296 0%, #015d7a 50%, #013d55 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bundle-cta-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.bundle-cta-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.bundle-cta-content {
    position: relative;
    z-index: 1;
}

.bundle-cta-heading {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.bundle-cta-subheading {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.bundle-cta-body {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.bundle-cta-body p {
    margin-bottom: 10px;
}

.bundle-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bundle-cta-actions .tp-btnx {
    font-size: 16px;
    padding: 16px 40px;
}

.bundle-cta-subtext {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* --- Generic Block Body (for overview, who_its_for, why_choose, study_support) --- */
.bundle-generic-body {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    max-width: 700px;
    margin: 0 auto;
}

.bundle-generic-body p {
    margin-bottom: 14px;
}

.bundle-generic-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.bundle-generic-body li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.bundle-generic-body li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #14b8a6;
    font-size: 14px;
}

.bundle-generic-body strong {
    color: #1f2937;
}

.bundle-generic-body div.mb-3 strong {
    display: block;
    font-size: 15px;
    color: #017296;
    margin-bottom: 4px;
}

/* ==========================================================================
   Structured Section Styles: Overview, Who It's For, Study Support
   ========================================================================== */

/* --- Shared: Section Intro Text --- */
.bundle-section-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.bundle-section-intro p {
    margin-bottom: 12px;
}

/* --- Overview: Highlight Cards --- */
.bundle-highlight-card {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.bundle-highlight-card:hover {
    border-color: #14b8a6;
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.1);
    transform: translateY(-2px);
}

.bundle-highlight-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 14px;
    margin-top: 2px;
}

.bundle-highlight-icon i {
    color: #14b8a6;
    font-size: 15px;
}

.bundle-highlight-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

.bundle-highlight-text strong {
    color: #1f2937;
    font-weight: 600;
}

/* --- Who It's For: Persona Cards --- */
.bundle-persona-card {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.bundle-persona-card:hover {
    border-color: #017296;
    box-shadow: 0 4px 16px rgba(1, 114, 150, 0.1);
    transform: translateY(-2px);
}

.bundle-persona-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 14px;
    margin-top: 2px;
}

.bundle-persona-icon i {
    color: #017296;
    font-size: 16px;
}

.bundle-persona-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

.bundle-persona-text strong {
    color: #1f2937;
    font-weight: 600;
}

/* --- Study Support: Step Timeline --- */
.bundle-steps-timeline {
    position: relative;
    padding-left: 0;
}

.bundle-step-card {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 24px;
}

.bundle-step-card:last-child {
    margin-bottom: 0;
}

.bundle-step-card:last-child .bundle-step-connector {
    display: none;
}

.bundle-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #017296 0%, #015d7a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.bundle-step-number span {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.bundle-step-connector {
    position: absolute;
    top: 40px;
    left: 19px;
    width: 2px;
    bottom: -24px;
    background: linear-gradient(180deg, #017296 0%, #e5e7eb 100%);
    z-index: 1;
}

.bundle-step-body {
    flex: 1;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin-left: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.bundle-step-body:hover {
    border-color: #017296;
    box-shadow: 0 4px 16px rgba(1, 114, 150, 0.08);
}

.bundle-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.bundle-step-icon i {
    color: #017296;
    font-size: 15px;
}

.bundle-step-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
    color: #374151;
}

.bundle-step-text strong {
    color: #1f2937;
    font-weight: 600;
}

/* --- Responsive Adjustments --- */
@media (max-width: 767px) {
    .bundle-hero-gradient {
        padding: 50px 0 20px;
    }

    .bundle-hero-section .container {
        transform: translateY(-4vh);
    }

    .bundle-cta-card {
        padding: 40px 20px;
        border-radius: 14px;
    }

    .bundle-cta-heading {
        font-size: 24px;
    }

    .bundle-cta-subheading {
        font-size: 14px;
    }

    .bundle-exam-card {
        padding: 12px;
    }

    .bundle-exam-card-icon {
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }

    .bundle-exam-card-icon i {
        font-size: 14px;
    }

    .bundle-exam-card-title {
        font-size: 13px;
    }

    .bundle-total-badge {
        font-size: 12px;
        padding: 8px 18px;
    }

    .bundle-highlight-card,
    .bundle-persona-card {
        padding: 14px;
    }

    .bundle-highlight-icon,
    .bundle-persona-icon {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }

    .bundle-highlight-icon i,
    .bundle-persona-icon i {
        font-size: 13px;
    }

    .bundle-step-body {
        padding: 14px 16px;
        margin-left: 12px;
        flex-direction: column;
        gap: 10px;
    }

    .bundle-step-number {
        width: 34px;
        height: 34px;
    }

    .bundle-step-number span {
        font-size: 14px;
    }

    .bundle-step-connector {
        left: 16px;
        top: 34px;
    }

    .bundle-section-intro {
        font-size: 15px;
    }
}
