/* ==========================================================================
   CHI TIẾT RIKKEI LMS AI (TỔNG QUAN, TÍNH NĂNG NỔI BẬT, ĐỐI TƯỢNG, GIẢI PHÁP)
   ========================================================================== */

.lms-detail-section {
    font-family: inherit;
    box-sizing: border-box;
    width: 100%;
    background: #ffffff;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
}

.lms-detail-section *,
.lms-detail-section *::before,
.lms-detail-section *::after {
    box-sizing: border-box;
}

/* Khung chuẩn Max-width 1480px đồng bộ */
.lms-detail-container {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

/* ================= TIÊU ĐỀ SECTION VỚI TAM GIÁC ĐỎ ================= */
.lms-sec-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.lms-red-triangle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lms-sec-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

/* Khối cách nhau giữa các mục */
.lms-sec-block {
    margin-top: 48px;
}

/* ================= 1. HÀNG 1: TỔNG QUAN + TÍNH NĂNG NỔI BẬT ================= */
.lms-row-top {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 10px;
}

.lms-overview-col {
    display: flex;
    flex-direction: column;
}

.lms-overview-desc {
    font-size: 16px;
    font-weight: 400;
    color: #374151;
    line-height: 1.75;
    margin: 0;
    text-align: justify;
}

/* Cột phải: Tính năng nổi bật 4 ô thẻ */
.lms-features-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lms-features-box {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

/* Hàng chứa 2 thẻ */
.features-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Thẻ màu xanh Navy */
.feature-navy-card {
    background: radial-gradient(circle at 35% 35%, #163d7d 0%, #0a224f 75%, #061738 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 16px 14px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    box-shadow: 0 6px 16px rgba(6, 23, 56, 0.25);
    border: 1px solid rgba(96, 165, 250, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: default;
}

.feature-navy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(6, 23, 56, 0.35);
    border-color: #60a5fa;
    background: radial-gradient(circle at 35% 35%, #1e4d9c 0%, #0f2c63 75%, #091e45 100%);
}

/* Tiêu đề ở giữa 2 hàng thẻ được Decor cao cấp */
.features-center-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 18px 0;
    width: 100%;
}

.divider-line {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.45));
}

.divider-line.right {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.45), transparent);
}

.features-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0effe 100%);
    border: 1.5px solid #bfdbfe;
    padding: 7px 20px;
    border-radius: 999px;
    box-shadow: 
        0 4px 16px rgba(37, 99, 235, 0.08),
        0 0 0 3px rgba(239, 246, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
}

.features-badge-pill:hover {
    transform: scale(1.03);
    border-color: #93c5fd;
    box-shadow: 
        0 6px 20px rgba(37, 99, 235, 0.15),
        0 0 0 5px rgba(239, 246, 255, 0.95);
}

.badge-text {
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 70%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.badge-star-icon {
    color: #2563eb;
    flex-shrink: 0;
    animation: starTwinkle 3s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85) rotate(45deg); }
}

/* ================= 2. DÀNH CHO AI (4 THẺ CARD) ================= */
.lms-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.audience-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.audience-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.audience-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.audience-desc {
    font-size: 13.5px;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.55;
    margin: 0;
}

/* ================= 3. VẤN ĐỀ CẦN GIẢI QUYẾT (BẢNG ĐỐI CHIẾU) ================= */
.lms-problem-table {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.table-header-row {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    padding: 14px 24px;
}

.col-head {
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.table-data-row {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    align-items: start;
    transition: background-color 0.2s ease;
}

.table-data-row:last-child {
    border-bottom: none;
}

.table-data-row:hover {
    background-color: #f8fafc;
}

.cell-problem {
    font-size: 14px;
    font-weight: 400;
    color: #374151;
    line-height: 1.55;
    padding-right: 24px;
}

.cell-solution {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.55;
}

/* ================= RESPONSIVE ================= */

/* Màn hình dưới 1100px: Hàng 1 xếp chồng */
@media (max-width: 1100px) {
    .lms-row-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .lms-overview-desc {
        text-align: left;
    }

    .lms-features-box {
        max-width: 520px;
    }
}

/* Màn hình Tablet (Dưới 900px): Dành cho ai chia 2x2 */
@media (max-width: 900px) {
    .lms-audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .table-header-row,
    .table-data-row {
        grid-template-columns: 1fr 1fr;
        padding: 14px 16px;
    }
}

/* Màn hình Mobile (Dưới 640px) */
@media (max-width: 640px) {
    .lms-detail-section {
        padding: 30px 14px;
    }

    .lms-sec-title {
        font-size: 20px;
    }

    .features-card-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature-navy-card {
        min-height: auto;
        padding: 14px 12px;
    }

    .features-center-divider {
        margin: 14px 0;
        gap: 8px;
    }

    .badge-text {
        font-size: 12px;
    }

    .features-badge-pill {
        padding: 6px 14px;
    }

    .lms-audience-grid {
        grid-template-columns: 1fr;
    }

    .table-header-row {
        display: none;
    }

    .table-data-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px;
    }

    .cell-problem {
        padding-right: 0;
        font-size: 13.5px;
    }

    .cell-solution {
        font-size: 13.5px;
        padding-top: 4px;
        border-top: 1px dashed #e2e8f0;
    }
}

