/**
 * Course Styles — ungdungai.edu.vn LMS
 * Matches leansigmavn.com design
 * @version 1.0.0
 */

/* ==========================================================================
   PAGE HEADER — COURSES
   ========================================================================== */
.page-header--courses {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-header--courses::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 36v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 6V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-header__badges {
    margin-bottom: 16px;
}

.page-header__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.page-header__desc {
    font-size: clamp(16px, 2vw, 20px);
    color: #94a3b8;
    margin: 0 0 24px;
    max-width: 800px;
    line-height: 1.6;
}

.page-header__features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #cbd5e1;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.08);
}

.feature__icon {
    font-size: 16px;
}

/* ==========================================================================
   COURSE FILTER TABS
   ========================================================================== */
.course-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.course-filter__tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.course-filter__tab:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
    color: #334155;
}

.course-filter__tab.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.course-filter__tab[data-count]::after {
    content: attr(data-count);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    background: rgba(100,116,139,0.15);
    color: inherit;
}

.course-filter__tab.active[data-count]::after {
    background: rgba(255,255,255,0.2);
}

/* ==========================================================================
   COURSE SEARCH
   ========================================================================== */
.course-search {
    position: relative;
    max-width: 400px;
    margin: 0 0 32px;
}

.course-search__icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.course-search__input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-size: 15px;
    color: #1e293b;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.course-search__input:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15,23,42,0.1);
}

.course-search__input::placeholder {
    color: #94a3b8;
}

/* ==========================================================================
   COURSE GRID
   ========================================================================== */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

/* ==========================================================================
   COURSE CARD
   ========================================================================== */
.course-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.course-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 32px rgba(15,23,42,0.1);
    transform: translateY(-4px);
}

.course-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--thumb-bg, #f1f5f9);
}

.course-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-card__img {
    transform: scale(1.05);
}

.course-card__emoji {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    opacity: 0.85;
}

.course-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
}

.course-card__group-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.course-card__deal-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    border-radius: 6px;
    background: #ef4444;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

.course-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.course-card__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.course-card__title a:hover {
    color: #16a34a;
}

.course-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #64748b;
}

.course-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.course-card__meta-icon {
    font-size: 12px;
}

.course-card__schedule {
    background: #ecfdf5;
    color: #16a34a;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.course-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.course-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.course-price__sale {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.course-price__regular {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
}

.course-price__deal {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: #ef4444;
    padding: 2px 8px;
    border-radius: 4px;
}

.course-price--free {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #16a34a;
}

.course-card__btn {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.course-card__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15,23,42,0.2);
}

/* ==========================================================================
   LOAD MORE
   ========================================================================== */
.course-loadmore {
    text-align: center;
    padding: 24px 0;
}

.course-loadmore__btn {
    min-width: 220px;
}

/* ==========================================================================
   NO RESULTS
   ========================================================================== */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

/* ==========================================================================
   COURSE HERO (Single Page)
   ========================================================================== */
.course-hero {
    padding: 48px 0 32px;
    background: #f8fafc;
}

.course-hero__grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

.course-hero__media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--thumb-bg, #f1f5f9);
}

.course-hero__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.course-hero__placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, rgba(7,21,51,.28), rgba(15,23,42,.72)), url('../images/cicc-course-hero.webp');
    background-position: center;
    background-size: cover;
}

.course-hero__emoji {
    font-size: clamp(64px, 8vw, 120px);
    opacity: 0.7;
}

.course-hero__badges {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    background: #fff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15,23,42,0.08);
}

.badge--group { background: var(--badge-bg, #16a34a); color: #fff; border-color: transparent; }
.badge--deal { background: #ef4444; color: #fff; border-color: transparent; }
.badge--cert { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.badge--practical { background: #e0e7ff; color: #3730a3; border-color: #c7d2fe; }
.badge--mbb { background: #fce7f3; color: #9d174d; border-color: #fbcfe8; }

.course-hero__info {
    padding: 8px 0;
}

.course-hero__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 16px;
}

.course-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.course-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #475569;
}

.course-hero__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.course-hero__stars {
    font-size: 18px;
    color: #fbbf24;
    letter-spacing: 2px;
}

.course-hero__score {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.course-hero__reviews {
    font-size: 14px;
    color: #64748b;
}

.course-hero__excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 24px;
}

.course-hero__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.course-hero__btn-main {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

.course-hero__btn-main:hover {
    background: #1e293b;
    border-color: #1e293b;
}

.course-hero__btn-trial {
    border-color: #cbd5e1;
    color: #334155;
}

.course-hero__btn-trial:hover {
    border-color: #0f172a;
    color: #0f172a;
}

.course-hero__social {
    display: flex;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    transition: all 0.2s;
    text-decoration: none;
}

.social-btn:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

/* ==========================================================================
   COURSE CONTENT SECTIONS
   ========================================================================== */
.course-section {
    padding: 60px 0;
}

.course-section__header {
    margin-bottom: 40px;
}

.course-section__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.course-section__desc {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

/* Curriculum */
.curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.curriculum-module {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.curriculum-module__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background 0.2s;
}

.curriculum-module__header:hover {
    background: #f1f5f9;
}

.curriculum-module__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.curriculum-module__number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    background: #0f172a;
    border-radius: 10px;
    flex-shrink: 0;
}

.curriculum-module__info h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.curriculum-module__duration {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.curriculum-module__toggle {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: transform 0.2s;
}

.curriculum-module.active .curriculum-module__toggle {
    transform: rotate(180deg);
}

.curriculum-module__content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.curriculum-module.active .curriculum-module__content {
    padding: 20px 24px;
    max-height: 500px;
}

.curriculum-module__topics {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.curriculum-module__topics li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.curriculum-module__topics li:hover {
    background: #f1f5f9;
    border-left-color: #16a34a;
}

/* Instructor */
.instructor-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.instructor-card__avatar {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
}

.instructor-card__info {
    flex: 1;
}

.instructor-card__name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}

.instructor-card__title {
    font-size: 14px;
    color: #16a34a;
    font-weight: 600;
    margin: 0 0 12px;
}

.instructor-card__bio {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 16px;
}

.instructor-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.instructor-badge {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #3730a3;
    background: #e0e7ff;
    border-radius: 100px;
}

/* Schedule */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.schedule-table th {
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.schedule-table td {
    font-size: 14px;
    color: #334155;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover td {
    background: #f8fafc;
}

.schedule-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
}

.schedule-status--open {
    background: #ecfdf5;
    color: #16a34a;
}

.schedule-status--soon {
    background: #fef3c7;
    color: #d97706;
}

.schedule-status--full {
    background: #fee2e2;
    color: #dc2626;
}

/* Register Form */
.course-register {
    background: #f8fafc;
    border-radius: 20px;
    padding: 32px;
    margin-top: 40px;
}

.course-register__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.course-register__desc {
    color: #64748b;
    margin: 0 0 24px;
}

.course-register__form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    font-size: 15px;
    color: #1e293b;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15,23,42,0.1);
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group--submit {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.btn--submit {
    width: 100%;
    padding: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn--submit:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15,23,42,0.25);
}

.course-register__note {
    text-align: center;
    font-size: 13px;
    color: #16a34a;
    margin-top: 12px;
}

.course-register__message {
    padding: 16px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
}

.course-register__message.success {
    display: block;
    background: #ecfdf5;
    color: #16a34a;
    border: 1px solid #a7f3d0;
}

.course-register__message.error {
    display: block;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   CROSS SELL ECOSYSTEM
   ========================================================================== */
.cross-sell {
    padding: 60px 0;
    background: #f8fafc;
}

.cross-sell__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cross-sell__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
}

.cross-sell__card:hover {
    border-color: #16a34a;
    box-shadow: 0 12px 32px rgba(22,163,74,0.1);
    transform: translateY(-4px);
}

.cross-sell__icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.cross-sell__name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.cross-sell__desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb {
    padding: 16px 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.breadcrumb__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
}

.breadcrumb__list a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb__list a:hover {
    color: #16a34a;
}

.breadcrumb__list li:not(:last-child)::after {
    content: '/';
    color: #cbd5e1;
}

.breadcrumb__list li:last-child {
    color: #0f172a;
    font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .course-hero__grid {
        grid-template-columns: 1fr;
    }

    .course-hero__media {
        aspect-ratio: 16 / 9;
        max-width: 600px;
        margin: 0 auto;
    }

    .cross-sell__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-header--courses {
        padding: 40px 0 32px;
    }

    .course-filter {
        gap: 6px;
    }

    .course-filter__tab {
        padding: 8px 14px;
        font-size: 13px;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .course-card__thumb {
        aspect-ratio: 16 / 9;
    }

    .course-hero__cta {
        flex-direction: column;
    }

    .course-register {
        padding: 24px 20px;
    }

    .course-register__form {
        grid-template-columns: 1fr;
    }

    .instructor-card {
        flex-direction: column;
        text-align: center;
    }

    .instructor-card__avatar {
        margin: 0 auto;
    }

    .instructor-card__badges {
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   Single-course template compatibility layer
   The detail template uses the compact double-underscore naming below.
   Keep these rules here so every course detail page shares the same polished
   layout instead of falling back to browser defaults.
   -------------------------------------------------------------------------- */
.course-tabs { padding: 0 0 72px; background: #f8fafc; }
.course-tabs .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.course-tabs__nav { display: flex; gap: 6px; overflow-x: auto; padding: 20px 0 0; border-bottom: 1px solid #e2e8f0; scrollbar-width: thin; }
.course-tabs__tab { appearance: none; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #64748b; padding: 14px 18px; font: 600 14px/1.3 Inter, sans-serif; white-space: nowrap; cursor: pointer; }
.course-tabs__tab:hover, .course-tabs__tab.active { color: #0f172a; border-bottom-color: #16a34a; }
.course-tabs__panel { display: none; padding: 40px 0 0; }
.course-tabs__panel.active { display: block; }
.course-content { max-width: 900px; margin: 0 auto; color: #334155; font-size: 16px; line-height: 1.75; }
.course-content > * { margin-top: 0; margin-bottom: 24px; }
.course-content h2 { color: #0f172a; font: 800 clamp(23px,3vw,30px)/1.2 'Plus Jakarta Sans', sans-serif; margin-top: 44px; }
.course-content h3 { color: #1e293b; font-weight: 750; }
.course-features, .course-audience, .course-register, .instructor__card, .reviews, .schedule__table, .related-courses { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 28px; margin-top: 32px; }
.features-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.features-list li { display: flex; gap: 9px; align-items: flex-start; }
.feature-check { color: #16a34a; font-weight: 800; }
.audience-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.audience-card { padding: 20px; border: 1px solid #e2e8f0; border-radius: 14px; background: #f8fafc; }
.audience-card h3 { margin: 8px 0 5px; font-size: 16px; }
.audience-card p { margin: 0; color: #64748b; font-size: 14px; }
.audience-icon { font-size: 26px; }
.register-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.register-form .form-group { min-width: 0; }
.register-form textarea { width: 100%; resize: vertical; }
.btn--block { width: 100%; justify-content: center; }
.btn--success { background: #16a34a; color: #fff; border: 0; }
.btn--success:hover { background: #15803d; }
.form-note { color: #64748b; font-size: 13px; margin: 0; text-align: center; }
.curriculum__modules { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.curriculum__module { border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; background: #fff; }
.curriculum__module-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.curriculum__module-number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #0f172a; color: #fff; font-weight: 800; flex: 0 0 auto; }
.curriculum__module-title { margin: 0; font-size: 16px; flex: 1; }
.curriculum__module-duration { color: #64748b; font-size: 13px; }
.curriculum__topics { margin: 0; padding: 0 18px 16px 62px; color: #64748b; font-size: 14px; }
.instructor__card { display: flex; gap: 24px; }
.instructor__avatar { font-size: 56px; }
.instructor__info { flex: 1; }
.instructor__info h3 { margin: 0 0 8px; }
.instructor__bio { color: #64748b; }
.reviews__summary { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; }
.reviews__score { font-size: 40px; font-weight: 800; color: #0f172a; }
.reviews__stars, .review__rating { color: #f59e0b; letter-spacing: 2px; }
.reviews__list { display: grid; gap: 14px; }
.review { padding: 16px; border: 1px solid #e2e8f0; border-radius: 12px; }
.review__header { display: flex; justify-content: space-between; gap: 12px; }
.review__text { margin: 8px 0 0; color: #475569; }
.schedule__table { width: 100%; border-collapse: collapse; }
.schedule__table th, .schedule__table td { padding: 12px; border-bottom: 1px solid #e2e8f0; text-align: left; }
.related-courses { margin-top: 40px; }
.course-next-path { margin:40px auto 0; padding:44px 0; background:linear-gradient(135deg,#071f2b,#145b55); color:#fff; }
.course-next-path .container { max-width:900px; text-align:center; }
.course-next-path__eyebrow { margin:0 0 10px; color:#9be85d; font-size:11px; font-weight:800; letter-spacing:.14em; }
.course-next-path h2 { margin:0 0 10px; color:#fff; }
.course-next-path p:not(.course-next-path__eyebrow) { max-width:620px; margin:0 auto 22px; color:#c9e2db; line-height:1.7; }
.course-next-path__actions { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }

/* AI-WB-001 LMS Core reference experience */
.ai-wb-command-center { padding: 64px 0; color: #e2e8f0; background: linear-gradient(135deg, #071533 0%, #0f1d3b 52%, #07111f 100%); }
.ai-wb-command-center .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ai-wb-command-center__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.ai-wb-eyebrow { margin: 0 0 10px; color: #5eead4; font: 700 12px/1.2 Inter, sans-serif; letter-spacing: .12em; }
.ai-wb-command-center h2 { margin: 0 0 10px; color: #fff; font: 800 clamp(26px, 4vw, 40px)/1.12 'Plus Jakarta Sans', sans-serif; }
.ai-wb-command-center__header p:not(.ai-wb-eyebrow) { max-width: 620px; margin: 0; color: #a7b7d4; line-height: 1.65; }
.ai-wb-progress { display: grid; min-width: 130px; padding: 14px 18px; border: 1px solid rgba(94,234,212,.24); border-radius: 14px; background: rgba(94,234,212,.08); text-align: right; }
.ai-wb-progress strong { color: #5eead4; font: 800 28px/1 'Plus Jakarta Sans', sans-serif; }
.ai-wb-progress span { margin-top: 5px; color: #a7b7d4; font-size: 12px; }
.ai-wb-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ai-wb-stage { position: relative; min-height: 148px; padding: 18px; border: 1px solid rgba(167,183,212,.16); border-radius: 16px; background: rgba(255,255,255,.045); }
.ai-wb-stage.is-current { border-color: #5eead4; box-shadow: 0 0 0 1px rgba(94,234,212,.18), 0 16px 30px rgba(0,0,0,.18); }
.ai-wb-stage.is-completed { border-color: rgba(52,211,153,.35); }
.ai-wb-stage__marker { display: grid; width: 30px; height: 30px; margin-bottom: 16px; place-items: center; border-radius: 9px; background: #1e335b; color: #c5d4ef; font-weight: 800; }
.ai-wb-stage.is-current .ai-wb-stage__marker { background: #14b8a6; color: #042f2e; }
.ai-wb-stage.is-completed .ai-wb-stage__marker { background: #10b981; color: #032c22; }
.ai-wb-stage__topline { display: flex; justify-content: space-between; gap: 8px; color: #7dd3fc; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.ai-wb-stage__topline time { color: #91a4c3; font-weight: 500; }
.ai-wb-stage h3 { margin: 8px 0 6px; color: #fff; font-size: 16px; }
.ai-wb-stage p { margin: 0; color: #a7b7d4; font-size: 13px; line-height: 1.5; }
.ai-wb-command-center__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(2,8,23,.32); }
.ai-wb-viewer-teaser { display: flex; align-items: center; gap: 12px; }
.ai-wb-viewer-teaser__icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #fbbf24; color: #422006; }
.ai-wb-viewer-teaser strong, .ai-wb-viewer-teaser span { display: block; }
.ai-wb-viewer-teaser strong { color: #fff; font-size: 14px; }
.ai-wb-viewer-teaser span { margin-top: 4px; color: #9fb0cc; font-size: 12px; }
@media (max-width: 820px) { .ai-wb-timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ai-wb-command-center { padding: 44px 0; } .ai-wb-command-center__header, .ai-wb-command-center__footer { align-items: stretch; flex-direction: column; } .ai-wb-progress { text-align: left; } .ai-wb-timeline { grid-template-columns: 1fr; } }
.ai-wb-artifact-gallery { padding: 64px 0; background: #f8fafc; }
.ai-wb-video { padding: 64px 0; color: #e2e8f0; background: #0b1730; }
.ai-wb-video .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ai-wb-video__header { max-width: 760px; margin-bottom: 24px; }
.ai-wb-video h2 { margin: 0 0 10px; color: #fff; font: 800 clamp(26px, 4vw, 38px)/1.12 'Plus Jakarta Sans', sans-serif; }
.ai-wb-video__header p:not(.ai-wb-eyebrow) { margin: 0; color: #a7b7d4; line-height: 1.65; }
.ai-wb-video__frame { position: relative; overflow: hidden; max-width: 960px; aspect-ratio: 16/9; border: 1px solid rgba(125,211,252,.22); border-radius: 18px; background: #020817; box-shadow: 0 18px 50px rgba(2,8,23,.28); }
.ai-wb-video__frame iframe { width: 100%; height: 100%; border: 0; }
.ai-wb-video__source { margin: 14px 0 0; color: #9fb0cc; font-size: 13px; }.ai-wb-video__source a { color: #7dd3fc; }.ai-wb-video__source span { color: #cbd5e1; }
@media (max-width: 560px) { .ai-wb-video { padding: 44px 0; } .ai-wb-video__frame { border-radius: 12px; } }
.ai-wb-artifact-gallery .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ai-wb-gallery__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.ai-wb-artifact-gallery h2 { margin: 0 0 10px; color: #0f172a; font: 800 clamp(26px, 4vw, 38px)/1.12 'Plus Jakarta Sans', sans-serif; }
.ai-wb-gallery__header p:not(.ai-wb-eyebrow) { max-width: 650px; margin: 0; color: #64748b; line-height: 1.65; }
.ai-wb-gallery__status { padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: 999px; color: #475569; background: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ai-wb-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ai-wb-artifact-card { display: flex; min-height: 152px; flex-direction: column; justify-content: space-between; gap: 14px; padding: 18px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(15,23,42,.04); }
.ai-wb-artifact-card__icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: #e0f2fe; color: #0369a1; font-weight: 800; }
.ai-wb-artifact-card h3 { margin: 0 0 6px; color: #0f172a; font-size: 15px; }
.ai-wb-artifact-card p { margin: 0; color: #64748b; font-size: 12px; line-height: 1.5; }
.ai-wb-artifact-card__state { align-self: flex-start; padding: 4px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.ai-wb-artifact-card[data-state="ready"] { border-color: #86efac; }
.ai-wb-artifact-card[data-state="ready"] .ai-wb-artifact-card__state { background: #dcfce7; color: #166534; }
.ai-wb-artifact-card[data-state="error"] .ai-wb-artifact-card__state { background: #fee2e2; color: #991b1b; }
.ai-wb-gallery__note { margin: 20px 0 0; color: #64748b; font-size: 13px; }
@media (max-width: 900px) { .ai-wb-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ai-wb-artifact-gallery { padding: 44px 0; } .ai-wb-gallery__header { align-items: stretch; flex-direction: column; } .ai-wb-gallery__grid { grid-template-columns: 1fr; } .ai-wb-gallery__status { align-self: flex-start; } }
.ai-wb-trial-workspace { padding: 64px 0; color: #e2e8f0; background: #071126; }
.ai-wb-trial-workspace .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ai-wb-trial__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ai-wb-trial-workspace h2 { margin: 0 0 10px; color: #fff; font: 800 clamp(26px, 4vw, 38px)/1.12 'Plus Jakarta Sans', sans-serif; }
.ai-wb-trial-workspace p:not(.ai-wb-eyebrow) { max-width: 680px; margin: 0; color: #a7b7d4; line-height: 1.65; }
.ai-wb-trial__status { margin-top: 28px; padding: 14px 16px; border: 1px solid rgba(125,211,252,.2); border-radius: 12px; color: #bae6fd; background: rgba(14,116,144,.12); }
.ai-wb-trial__progress { margin-top: 16px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); }
.ai-wb-trial__progress strong, .ai-wb-trial__progress span { display: block; }.ai-wb-trial__progress strong { color: #fff; font-size: 20px; }.ai-wb-trial__progress span { margin-top: 4px; color: #9fb0cc; font-size: 12px; }
.ai-wb-trial__bar { height: 10px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: #1e335b; }.ai-wb-trial__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#14b8a6,#5eead4); transition: width .25s ease; }
.ai-wb-trial__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.ai-wb-trial-step { display: flex; align-items: center; gap: 9px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: #a7b7d4; font-size: 13px; }.ai-wb-trial-step > span:first-child { color: #64748b; font-size: 16px; font-weight: 800; }.ai-wb-trial-step.is-done { border-color: rgba(52,211,153,.35); color: #d1fae5; }.ai-wb-trial-step.is-done > span:first-child { color: #34d399; }
.ai-wb-trial__activity { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 16px; border: 1px solid rgba(251,191,36,.24); border-radius: 12px; color: #fde68a; background: rgba(146,64,14,.12); font-size: 14px; line-height: 1.55; }.ai-wb-trial__activity input { margin-top: 4px; accent-color: #14b8a6; }.ai-wb-trial__note { margin-top: 14px!important; color: #94a3b8!important; font-size: 12px; }
@media (max-width: 700px) { .ai-wb-trial__header { align-items: stretch; flex-direction: column; }.ai-wb-trial__steps { grid-template-columns: 1fr; }.ai-wb-trial-workspace { padding: 44px 0; } }
@media (max-width: 640px) {
    .course-tabs .container { padding: 0 16px; }
    .course-tabs__tab { padding: 12px 10px; font-size: 13px; }
    .course-content { font-size: 15px; }
    .course-features, .course-audience, .course-register, .instructor__card, .reviews, .schedule__table, .related-courses { padding: 20px; }
    .features-list, .audience-grid, .form-row { grid-template-columns: 1fr; }
    .instructor__card { flex-direction: column; }
    .curriculum__module-header { align-items: flex-start; }
}

@media (max-width: 480px) {
    .page-header__features {
        flex-direction: column;
        align-items: stretch;
    }

    .feature {
        justify-content: center;
    }

    .course-section {
        padding: 40px 0;
    }
}

.ai-wb-flashcards { padding: 72px 0; background: #08152b; color: #e2e8f0; }
.ai-wb-flashcards__intro { max-width: 680px; color: #a7b7d4; }
.ai-wb-flashcards__card { max-width: 760px; min-height: 210px; margin: 28px 0 18px; padding: 32px; border: 1px solid rgba(94,234,212,.28); border-radius: 20px; background: linear-gradient(145deg,#102346,#0b1932); cursor: pointer; }
.ai-wb-flashcards__card span { color: #5eead4; font-size: 13px; font-weight: 700; }
.ai-wb-flashcards__card h3 { margin: 26px 0 12px; color: #fff; font-size: clamp(22px,3vw,32px); }
.ai-wb-flashcards__card p { color: #cbd5e1; font-size: 18px; line-height: 1.65; }
.ai-wb-flashcards__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ai-wb-flashcards__rights { margin-top: 22px; color: #94a3b8; font-size: 12px; }
.ai-wb-generic-hero { display: none; }
.ai-wb-learner-hero { padding: 92px 0 78px; background: radial-gradient(circle at 82% 18%, rgba(45,212,191,.22), transparent 32%), linear-gradient(135deg,#071126 0%,#10264a 65%,#0a172d 100%); color:#fff; }
.ai-wb-learner-hero__grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr); gap:52px; align-items:center; }
.ai-wb-learner-hero h1 { max-width:820px; margin:12px 0 20px; color:#fff; font:800 clamp(38px,5.5vw,68px)/1.06 'Plus Jakarta Sans',sans-serif; letter-spacing:-.045em; }
.ai-wb-learner-hero__lead { max-width:700px; color:#b9c7df; font-size:20px; line-height:1.65; }
.ai-wb-learner-hero__facts { display:flex; flex-wrap:wrap; gap:10px; margin:28px 0; }.ai-wb-learner-hero__facts span { padding:9px 13px; border:1px solid rgba(125,211,252,.22); border-radius:999px; color:#cffafe; background:rgba(255,255,255,.06); font-size:13px; font-weight:700; }
.ai-wb-learner-hero__note { margin:14px 0 0; color:#94a3b8; font-size:13px; }.ai-wb-learner-hero__card { padding:30px; border:1px solid rgba(94,234,212,.3); border-radius:24px; background:rgba(3,12,29,.52); box-shadow:0 24px 70px rgba(0,0,0,.22); }.ai-wb-learner-hero__card-label { display:block; margin-bottom:14px; color:#5eead4; font-size:12px; font-weight:800; letter-spacing:.12em; }.ai-wb-learner-hero__card strong { display:block; color:#fff; font-size:22px; line-height:1.35; }.ai-wb-learner-hero__card ol { margin:22px 0; padding-left:22px; color:#cbd5e1; line-height:2; }.ai-wb-learner-hero__brand { color:#7dd3fc; font-size:12px; font-weight:700; }
@media(max-width:800px){.ai-wb-learner-hero{padding:64px 0}.ai-wb-learner-hero__grid{grid-template-columns:1fr;gap:30px}}
body.single-cicc_course { overflow-x: hidden; }
