/* ==========================================================================
   MRCP BOOTCAMP - COURSE LANDING PAGES (PART 1, PART 2, PACES)
   assets/css/courses.css
   ========================================================================== */

.course-hero-wrapper {
    margin-top: 75px;
    background: linear-gradient(160deg, var(--ink) 0%, #07332e 50%, #0d4a43 100%);
    border-bottom: 4px solid var(--gold);
    color: #ffffff;
    padding: 55px 0 75px 0;
    position: relative;
    overflow: hidden;
}
.course-hero-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(20, 184, 166, 0.2), transparent 50%),
                radial-gradient(circle at 15% 85%, rgba(245, 158, 11, 0.12), transparent 45%);
    pointer-events: none;
}
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 148, 136, 0.2);
    border: 1px solid rgba(45, 212, 191, 0.35);
    color: #2dd4bf;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* Pricing Corner Card */
.pricing-corner-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 45px -10px rgba(11, 18, 32, 0.25);
    position: relative;
    color: var(--ink);
}
.pricing-corner-card .card-top-tag {
    position: absolute;
    top: -13px;
    right: 28px;
    background: var(--gold);
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}
.price-display-main {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
}
.price-display-regular {
    font-size: 1.25rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}
.savings-chip {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

/* Schedule Card */
.batch-schedule-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 26px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    margin-bottom: 16px;
}
.batch-schedule-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}

/* Status Badges */
.badge-status-open {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.badge-status-closing {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.badge-status-upcoming {
    background: var(--teal-soft);
    color: var(--teal);
    border: 1px solid rgba(13, 148, 136, 0.35);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.badge-status-running {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-outline-teal {
    background: #ffffff;
    color: var(--teal);
    border: 1.5px solid var(--teal);
    font-weight: 700;
    transition: all 0.2s ease;
}
.btn-outline-teal:hover {
    background: var(--teal);
    color: #ffffff;
}

/* Feature Pillar Cards */
.pillar-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    height: 100%;
    transition: all 0.25s ease;
}
.pillar-card:hover {
    border-color: var(--teal);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.08);
    transform: translateY(-3px);
}
.pillar-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

/* Comparison Table Base & Responsive Enhancements */
.comparison-table {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #ffffff;
    width: 100%;
}
.comparison-table th {
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    vertical-align: middle;
}
.comparison-table td {
    padding: 14px 18px;
    vertical-align: middle;
    font-size: 0.92rem;
    border-bottom: 1px solid #f1f5f9;
}
.col-highlight {
    background: #f0fdf4;
    font-weight: 600;
}
.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid var(--line);
}

/* Mobile Comparison Cards */
.comp-mobile-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(11, 18, 32, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comp-mobile-card:hover {
    box-shadow: 0 6px 18px rgba(11, 18, 32, 0.08);
}
.comp-view-btn {
    border: 1.5px solid var(--line);
    background: #ffffff;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 7px 18px;
    border-radius: 9999px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.comp-view-btn.active {
    background: var(--teal);
    color: #ffffff;
    border-color: var(--teal);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* Trial Banner Action Button */
.btn-trial-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
@media (min-width: 768px) {
    .btn-trial-action {
        width: auto !important;
    }
}

/* =========================================================
   RESPONSIVE MOBILE BREAKPOINTS & LAYOUT OPTIMIZATIONS
========================================================= */
@media (max-width: 991.98px) {
    .course-hero-wrapper {
        margin-top: 70px;
        padding: 42px 0 60px 0;
    }
    .pricing-corner-card {
        margin-top: 24px;
    }
}

@media (max-width: 767.98px) {
    .course-hero-wrapper {
        margin-top: 65px;
        padding: 35px 0 48px 0;
    }
    .course-hero-wrapper h1 {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        margin-bottom: 14px !important;
    }
    .course-hero-wrapper .lead {
        font-size: 0.98rem !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }
    .hero-badge-pill {
        font-size: 0.74rem;
        padding: 5px 12px;
        margin-bottom: 14px;
        white-space: normal;
        text-align: left;
    }
    .pricing-corner-card {
        padding: 22px 18px;
        border-radius: 20px;
        margin-top: 15px;
    }
    .pricing-corner-card .card-top-tag {
        top: -11px;
        right: 18px;
        font-size: 0.68rem;
        padding: 3px 10px;
    }
    .price-display-main {
        font-size: 2.2rem;
    }
    .price-display-regular {
        font-size: 1.1rem;
    }
    .batch-schedule-card {
        padding: 18px 16px;
    }
    .batch-schedule-card .btn {
        width: 100%;
        margin-top: 8px;
        padding: 10px 16px;
    }
    .comparison-table {
        min-width: 620px;
    }
    .comparison-table th, 
    .comparison-table td {
        padding: 11px 13px;
        font-size: 0.84rem;
    }
    /* Sticky First Column for Horizontal Scroll */
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        position: sticky;
        left: 0;
        background: #ffffff;
        z-index: 2;
        box-shadow: 2px 0 6px rgba(0,0,0,0.06);
    }
    .comparison-table thead th:first-child {
        background: #0b1220 !important;
        z-index: 3;
    }
    /* Mobile Modal Input Zoom Prevention */
    .modal input, 
    .modal select, 
    .modal textarea {
        font-size: 16px !important;
    }
    .modal-dialog {
        margin: 0.75rem;
    }
    .modal-header,
    .modal form {
        padding: 1.25rem !important;
    }
}

@media (max-width: 575.98px) {
    .course-hero-wrapper h1 {
        font-size: 1.62rem !important;
    }
    .trust-badge-strip {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 12px !important;
    }
    .trust-badge-strip > div:last-child {
        grid-column: span 2;
    }
}
