/* ==========================================================================
   XLEV THEME — CSS CHI TIẾT GIAO DIỆN DARK LUXURY & NEON GREEN
   ========================================================================== */

/* 1. Header & Navigation */
.xlev-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.xlev-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 12px;
}

/* Logo */
.xlev-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
}

.xlev-logo-icon {
    stroke: var(--brand-neon);
    flex-shrink: 0;
}

.xlev-logo-text {
    display: flex;
    align-items: baseline;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xlev-brand {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-neon);
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
}

.xlev-sublogo {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

/* Desktop Navigation */
.xlev-desktop-nav {
    display: flex;
    align-items: center;
}

.xlev-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.xlev-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
}

.xlev-nav a:hover, .xlev-nav a.active {
    color: var(--brand-neon);
}

/* Header Actions */
.xlev-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Nút Chuyển Đổi Dark / Light Mode */
.xlev-theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.xlev-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.06);
    color: var(--brand-neon);
    border-color: var(--border-neon);
}

.sun-icon { display: block; }
.moon-icon { display: none; }

body.light-mode .sun-icon { display: none; }
body.light-mode .moon-icon { display: block; }
body.light-mode .xlev-theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.12);
    color: #0f172a;
}
body.light-mode .xlev-theme-toggle:hover {
    background: rgba(0, 0, 0, 0.09);
}

/* Nút Hotline */
.xlev-hotline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}

.xlev-hotline-btn .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-neon);
    box-shadow: 0 0 10px var(--brand-neon);
    animation: pulse 2s infinite;
}

.phone-icon-sm {
    display: none;
}

/* Nút Hamburger Menu Mobile */
.xlev-mobile-menu-btn {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.xlev-mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-neon);
}

body.light-mode .xlev-mobile-menu-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.12);
    color: #0f172a;
}

/* Mobile Drawer Menu */
.xlev-mobile-drawer {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-neon);
    padding: 20px 18px 26px 18px;
    flex-direction: column;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.25s ease-out;
}

.xlev-mobile-drawer.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.xlev-mobile-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 20px 0;
    padding: 0;
}

.xlev-mobile-nav a {
    font-size: 15px;
    font-weight: 600;
    color: #cbd5e1;
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: all 0.2s;
}

.xlev-mobile-nav a:hover {
    background: rgba(53, 245, 165, 0.12);
    color: var(--brand-neon);
    border-color: var(--border-neon);
}

body.light-mode .xlev-mobile-drawer {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .xlev-mobile-nav a {
    color: #334155;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

/* RESPONSIVE HEADER MEDIA QUERIES */
@media (max-width: 768px) {
    .xlev-header-inner {
        height: 64px;
    }
    .xlev-desktop-nav {
        display: none;
    }
    .xlev-header-cta {
        display: none !important;
    }
    .xlev-mobile-menu-btn {
        display: inline-flex;
    }
    .xlev-brand {
        font-size: 18px;
    }
    .xlev-sublogo {
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .xlev-header-inner {
        height: 60px;
    }
    .xlev-mobile-drawer {
        top: 60px;
    }
    .xlev-brand {
        font-size: 16px;
    }
    .xlev-sublogo {
        font-size: 13px;
    }
    .xlev-hotline-text {
        display: none;
    }
    .phone-icon-sm {
        display: inline-block;
        stroke: currentColor;
    }
    .xlev-hotline-btn {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        position: relative;
    }
    .xlev-hotline-btn .dot {
        position: absolute;
        top: 5px;
        right: 5px;
        width: 6px;
        height: 6px;
    }
}

.xlev-hotline-btn .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-neon);
    box-shadow: 0 0 10px var(--brand-neon);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* 2. Hero Section */
@keyframes xlevHeroEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.xlev-hero {
    position: relative;
    padding: 160px 0 100px 0;
    background: radial-gradient(circle at 50% 10%, rgba(53, 245, 165, 0.12) 0%, transparent 60%);
    text-align: center;
}

.xlev-hero-badge {
    margin-bottom: 24px;
    animation: xlevHeroEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s backwards;
}

.xlev-hero-title {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.15;
    margin-bottom: 20px;
    animation: xlevHeroEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.16s backwards;
}

.xlev-hero-title .gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--brand-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.xlev-hero-desc {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 36px auto;
    animation: xlevHeroEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.24s backwards;
}

.xlev-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: xlevHeroEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.32s backwards;
}

.xlev-hero-banner {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-neon);
    box-shadow: 0 20px 60px -20px var(--brand-glow);
    animation: xlevHeroEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.40s backwards;
}

/* 3. Trust Bar */
.xlev-trust {
    padding: 40px 0;
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
    background: rgba(15, 23, 42, 0.4);
}

.xlev-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}

.xlev-trust-item h4 {
    font-size: 32px;
    color: var(--brand-neon);
    margin-bottom: 4px;
}

.xlev-trust-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* 4. Fleet Section (Danh sách xe) */
.xlev-section {
    padding: 90px 0;
}

.xlev-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px auto;
}

.xlev-section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 14px;
}

.xlev-section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.xlev-fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}

@media (max-width: 480px) {
    .xlev-fleet-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.xlev-car-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.xlev-car-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}

.xlev-car-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.xlev-car-card:hover .xlev-car-thumb img {
    transform: scale(1.05);
}

.xlev-car-badge-seat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
}

.xlev-car-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.xlev-car-name {
    font-size: 20px;
    margin-bottom: 8px;
}

.xlev-car-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.5;
    flex-grow: 1;
}

.xlev-car-specs {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--text-muted);
}

.xlev-car-spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.xlev-car-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
}

.xlev-car-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-neon);
    font-family: var(--font-heading);
}

.xlev-car-price small {
    font-size: 13px;
    font-weight: normal;
    color: var(--text-muted);
}

/* 5. Single Car Page Layout */
.xlev-single-car-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
    align-items: start;
}

.xlev-single-car-thumb {
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 24px;
    max-height: 460px;
    background: #0f172a;
}

.xlev-single-car-thumb img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
}

.xlev-car-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    font-size: 14px;
}

.xlev-single-car-sidebar {
    position: sticky;
    top: 88px;
}

@media (max-width: 991px) {
    .xlev-single-car-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .xlev-single-car-sidebar {
        position: static;
    }
}

@media (max-width: 480px) {
    .xlev-car-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .xlev-calc-box {
        padding: 20px 16px;
    }
}

/* 6. Price Calculator (Bộ tính giá tương tác trên trang chi tiết xe) */
.xlev-calc-box {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-neon);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px -10px var(--brand-glow);
}

.xlev-calc-title {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.xlev-calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 15px;
}

.xlev-calc-total {
    padding-top: 16px;
    border-top: 2px solid rgba(53, 245, 165, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 18px;
    font-weight: 700;
}

.xlev-calc-total .amount {
    font-size: 32px;
    color: var(--brand-neon);
    font-family: var(--font-heading);
}

/* 6. Lead Form (Form đặt xe) */
.xlev-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.xlev-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.xlev-form-control {
    width: 100%;
    background: rgba(9, 13, 22, 0.7);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.xlev-form-control:focus {
    border-color: var(--brand-neon);
    box-shadow: 0 0 0 2px var(--brand-glow);
}

/* 7. FAQ Accordion */
.xlev-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.xlev-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.xlev-faq-item.active {
    border-color: var(--border-neon);
}

.xlev-faq-question {
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.xlev-faq-question::after {
    content: '+';
    font-size: 22px;
    color: var(--brand-neon);
    transition: transform 0.2s;
}

.xlev-faq-item.active .xlev-faq-question::after {
    content: '−';
}

.xlev-faq-answer {
    display: none;
    padding: 0 24px 20px 24px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.xlev-faq-item.active .xlev-faq-answer {
    display: block;
}

    .xlev-nav {
        display: none; /* Dùng toggle menu trên mobile */
    }
}

/* 9. Nút Back To Top (Lên Đầu Trang) */
.xlev-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-neon);
    color: var(--brand-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.xlev-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.xlev-back-to-top:hover {
    background: var(--brand-neon);
    color: #090d16;
    box-shadow: 0 8px 25px var(--brand-glow);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .xlev-back-to-top {
        bottom: 75px; /* Nằm ngay trên thanh Mobile CTA */
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

/* 10. Footer */
.xlev-footer {
    background: #06090f;
    border-top: 1px solid var(--border-card);
    padding: 80px 0 40px 0;
    font-size: 14px;
    color: var(--text-dim);
}

.xlev-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .xlev-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   11. CHI TIẾT GIAO DIỆN CHẾ ĐỘ SÁNG (LIGHT MODE)
   ========================================================================== */
body.light-mode {
    background-color: var(--bg-main);
    color: var(--text-main);
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
    color: #0f172a;
}

body.light-mode .xlev-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .xlev-logo {
    color: #0f172a;
}

body.light-mode .xlev-logo-icon {
    stroke: var(--brand-neon);
}

body.light-mode .xlev-nav a {
    color: #475569;
}

body.light-mode .xlev-nav a:hover,
body.light-mode .xlev-nav a.active {
    color: var(--brand-neon);
}

body.light-mode .xlev-hotline-btn {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

body.light-mode .xlev-btn-primary {
    color: #ffffff;
}

body.light-mode .xlev-btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

body.light-mode .xlev-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .xlev-hero {
    background: radial-gradient(circle at 50% 10%, rgba(5, 150, 105, 0.1) 0%, transparent 65%);
}

body.light-mode .xlev-hero-title .gradient-text {
    background: linear-gradient(135deg, #0f172a 30%, var(--brand-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .xlev-trust {
    background: #f1f5f9;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-mode .xlev-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
    color: #0f172a !important;
}

body.light-mode .xlev-logo .xlev-sublogo {
    color: #0f172a !important;
}

/* 1. Alternating Sections */
.xlev-section-alt {
    background: rgba(15, 23, 42, 0.4);
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}
body.light-mode .xlev-section-alt {
    background: #f1f5f9 !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

/* 2. Cards */
body.light-mode .xlev-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body.light-mode .xlev-card:hover {
    border-color: var(--brand-neon);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.12);
}

body.light-mode .xlev-car-name {
    color: #0f172a !important;
}

body.light-mode .xlev-car-name a {
    color: #0f172a !important;
}

body.light-mode .xlev-car-desc {
    color: #475569 !important;
}

body.light-mode .xlev-car-specs {
    border-color: rgba(0, 0, 0, 0.06);
    color: #334155;
}

body.light-mode .xlev-car-specs strong {
    color: #0f172a;
}

/* 3. Single Car Page Elements */
body.light-mode .xlev-single-car-desc {
    color: #334155 !important;
}
body.light-mode .xlev-single-car-desc p {
    color: #334155 !important;
}
body.light-mode .xlev-single-car-desc h3 {
    color: #0f172a !important;
}

body.light-mode .xlev-car-specs-grid div {
    color: #334155 !important;
}
body.light-mode .xlev-car-specs-grid strong {
    color: #0f172a !important;
}

body.light-mode .xlev-car-commit-box {
    background: #ecfdf5 !important;
    border-color: rgba(5, 150, 105, 0.25) !important;
}
body.light-mode .xlev-car-commit-box h3 {
    color: #047857 !important;
}
body.light-mode .xlev-car-commit-box li {
    color: #1e293b !important;
}

/* 4. Price Calculator */
body.light-mode .xlev-calc-box {
    background: #ffffff;
    border-color: var(--brand-neon);
    box-shadow: 0 10px 40px rgba(5, 150, 105, 0.12);
}

body.light-mode .xlev-calc-title,
body.light-mode .xlev-calc-title h3 {
    color: #0f172a !important;
}

body.light-mode .xlev-calc-row {
    border-color: rgba(0, 0, 0, 0.06);
    color: #334155 !important;
}
body.light-mode .xlev-calc-row span,
body.light-mode .xlev-calc-row label {
    color: #334155 !important;
}
body.light-mode .xlev-calc-row strong {
    color: #0f172a !important;
}

body.light-mode .xlev-calc-highlight {
    color: #0f172a !important;
}

/* 5. Forms & Inputs */
body.light-mode .xlev-form-group label {
    color: #0f172a !important;
}

body.light-mode .xlev-form-control {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

body.light-mode .xlev-form-control::placeholder {
    color: #94a3b8;
}

body.light-mode .xlev-form-control:focus {
    background: #ffffff;
    border-color: var(--brand-neon);
}

/* 6. Pricing Table */
.xlev-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}
.xlev-table th {
    padding: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--brand-neon);
}
.xlev-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}
.xlev-table td.xlev-car-title-cell {
    font-weight: 700;
    color: #ffffff;
}

body.light-mode .xlev-table th {
    color: #059669 !important;
    border-bottom-color: rgba(0, 0, 0, 0.1) !important;
}
body.light-mode .xlev-table td {
    color: #334155 !important;
    border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}
body.light-mode .xlev-table td.xlev-car-title-cell,
body.light-mode .xlev-table td.xlev-car-title-cell a {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* 7. Reviews & Testimonials */
.xlev-review-author {
    color: #ffffff;
    font-weight: 700;
}
.xlev-review-role {
    color: var(--text-dim);
    font-size: 13px;
}
.xlev-review-text {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 16px;
}
body.light-mode .xlev-review-author {
    color: #0f172a !important;
}
body.light-mode .xlev-review-role {
    color: #64748b !important;
}
body.light-mode .xlev-review-text {
    color: #334155 !important;
}

/* 8. FAQ Items */
body.light-mode .xlev-faq-question {
    color: #0f172a !important;
}
body.light-mode .xlev-faq-answer {
    color: #475569 !important;
}
body.light-mode .xlev-faq-item.active {
    border-color: var(--brand-neon);
    background: #f8fafc;
}

/* 9. Closing Banner */
.xlev-closing-banner {
    padding: 50px 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    border: 1px solid var(--border-neon);
    border-radius: 20px;
    box-shadow: 0 10px 40px -10px var(--brand-glow);
}
.xlev-closing-banner h2 {
    color: #ffffff;
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 12px;
}
.xlev-closing-banner p {
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 15px;
}

body.light-mode .xlev-closing-banner {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%) !important;
    border-color: #059669 !important;
    box-shadow: 0 12px 40px rgba(5, 150, 105, 0.2) !important;
}
body.light-mode .xlev-closing-banner h2 {
    color: #ffffff !important;
}
body.light-mode .xlev-closing-banner p {
    color: #e6fffa !important;
}

/* 10. Footer in Both Modes */
.xlev-footer {
    background: #090d16;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}
.xlev-footer h4 {
    color: #ffffff !important;
}
.xlev-footer p {
    color: #94a3b8 !important;
}
.xlev-footer a {
    color: #94a3b8 !important;
}
.xlev-footer a:hover {
    color: var(--brand-neon) !important;
}
.xlev-footer strong {
    color: #ffffff !important;
}
.xlev-footer .xlev-sublogo {
    color: #ffffff !important;
}

body.light-mode .xlev-footer {
    background: #090d16 !important;
    color: #94a3b8 !important;
}
body.light-mode .xlev-footer h4 {
    color: #ffffff !important;
}
body.light-mode .xlev-footer p {
    color: #94a3b8 !important;
}
body.light-mode .xlev-footer a {
    color: #94a3b8 !important;
}
body.light-mode .xlev-footer a:hover {
    color: #34d399 !important;
}
body.light-mode .xlev-footer strong {
    color: #ffffff !important;
}
body.light-mode .xlev-footer .xlev-sublogo {
    color: #ffffff !important;
}

/* 11. Back to Top */
body.light-mode .xlev-back-to-top {
    background: #ffffff;
    border-color: rgba(5, 150, 105, 0.4);
    color: #059669;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

body.light-mode .xlev-back-to-top:hover {
    background: #059669;
    color: #ffffff;
}

/* ==========================================================================
   12. Scroll Reveal Animations (Hiệu Ứng Cuộn Xuất Hiện Tự Nhiên & Mượt Mà)
   ========================================================================== */

/* Chỉ áp dụng hiệu ứng ẩn khi JavaScript đã khởi chạy thành công */
body.xlev-has-reveal .xlev-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

body.xlev-has-reveal .xlev-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

/* Hiệu ứng trễ theo thứ tự (Stagger Cascading Delay) khi nhiều thẻ nằm cùng hàng */
body.xlev-has-reveal .xlev-reveal.xlev-delay-1 { transition-delay: 0.05s; }
body.xlev-has-reveal .xlev-reveal.xlev-delay-2 { transition-delay: 0.12s; }
body.xlev-has-reveal .xlev-reveal.xlev-delay-3 { transition-delay: 0.19s; }
body.xlev-has-reveal .xlev-reveal.xlev-delay-4 { transition-delay: 0.26s; }
body.xlev-has-reveal .xlev-reveal.xlev-delay-5 { transition-delay: 0.33s; }
body.xlev-has-reveal .xlev-reveal.xlev-delay-6 { transition-delay: 0.40s; }

/* Tôn trọng cài đặt hệ thống người dùng (nếu bật chế độ giảm chuyển động) */
@media (prefers-reduced-motion: reduce) {
    .xlev-hero-badge,
    .xlev-hero-title,
    .xlev-hero-desc,
    .xlev-hero-buttons,
    .xlev-hero-banner {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    body.xlev-has-reveal .xlev-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


