/* ==========================================================================
   VIỆT LÂM CODER 2026 — MASTER DESIGN SYSTEM & TYPOGRAPHY ENGINE
   Chuẩn mực thiết kế cao cấp: Be Vietnam Pro 100% Native Diacritics
   Bảng màu: Luxury Obsidian Midnight & Royal Sapphire Blue (United Carriers & Apple Pro)
   100% Pure CSS • Zero-Lag • Không Lỗi Font Dấu • Responsive Hoàn Hảo
   ========================================================================== */

/* 1. TYPOGRAPHY: BE VIETNAM PRO (100% LOCAL-FIRST VIETNAMESE ACCENT READY) */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/be-vietnam-pro-vietnamese-400-normal.woff2') format('woff2'),
         url('../fonts/be-vietnam-pro-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/be-vietnam-pro-vietnamese-400-italic.woff2') format('woff2'),
         url('../fonts/be-vietnam-pro-latin-400-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/be-vietnam-pro-vietnamese-500-normal.woff2') format('woff2'),
         url('../fonts/be-vietnam-pro-latin-500-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/be-vietnam-pro-vietnamese-600-normal.woff2') format('woff2'),
         url('../fonts/be-vietnam-pro-latin-600-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/be-vietnam-pro-vietnamese-600-italic.woff2') format('woff2'),
         url('../fonts/be-vietnam-pro-latin-600-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/be-vietnam-pro-vietnamese-700-normal.woff2') format('woff2'),
         url('../fonts/be-vietnam-pro-latin-700-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/be-vietnam-pro-vietnamese-800-normal.woff2') format('woff2'),
         url('../fonts/be-vietnam-pro-latin-800-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/be-vietnam-pro-vietnamese-900-normal.woff2') format('woff2'),
         url('../fonts/be-vietnam-pro-latin-900-normal.woff2') format('woff2');
}

:root {
    /* --- Master Luxury Palette (Obsidian & Royal Sapphire) --- */
    --bg-canvas: #070913;
    --bg-surface: #0d1222;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(23, 37, 68, 0.85);
    --bg-glass: rgba(11, 17, 33, 0.82);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-active: rgba(59, 130, 246, 0.45);
    --border-glow: rgba(56, 189, 248, 0.35);

    /* --- Royal Brand Accents (Không dùng neon chuối hay tím chói) --- */
    --primary: #2563eb;
    --primary-glow: #3b82f6;
    --primary-deep: #1d4ed8;
    --primary-light: #60a5fa;
    --accent-indigo: #6366f1;
    --accent-cyan: #38bdf8;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-lime: #10b981;   /* Aliased to Emerald/Mint high contrast (#10b981) */
    --accent-pink: #ec4899;   /* Aliased to Rose/Pink high contrast (#ec4899) */

    /* --- Typography (Bắt buộc Be Vietnam Pro 100% • Tương phản chuẩn WCAG AAA) --- */
    --text-main: #ffffff;
    --text-muted: #e2e8f0;
    --text-subtle: #cbd5e1;
    --font-heading: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* --- Effects & Radii --- */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 35px rgba(37, 99, 235, 0.25);
    --shadow-cyan: 0 0 30px rgba(56, 189, 248, 0.25);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables (Nếu cần switch) */
[data-theme="light"] {
    --bg-canvas: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-subtle: rgba(15, 23, 42, 0.08);
    --border-active: rgba(37, 99, 235, 0.4);
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-subtle: #94a3b8;
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 8px 30px rgba(37, 99, 235, 0.12);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: inherit;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-canvas);
    color: var(--text-main);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body) !important;
    line-height: 1.68;
    background: var(--bg-canvas);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Nền Ambient phát sáng huyền bí (Không dùng tím & xanh chuối) */
body::before {
    content: '';
    position: fixed;
    top: -15%;
    left: 20%;
    width: 65vw;
    height: 65vh;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(99, 102, 241, 0.04) 45%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: 5%;
    width: 55vw;
    height: 55vh;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(37, 99, 235, 0.03) 50%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.container-narrow {
    max-width: 980px;
}

/* Khóa cứng 100% Heading dùng Be Vietnam Pro - Triệt tiêu lỗi fallback font */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .title, .section-title span {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Text Gradient Cao Cấp (Ánh kim cương & Sapphire) */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, #60a5fa 70%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-pink, .gradient-text-indigo {
    background: linear-gradient(135deg, #ffffff 25%, #818cf8 65%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   2. MASTER NAVIGATION BAR (HOÀN TOÀN KHÔNG VỠ MENU & CHỐNG RỚT DÒNG)
   ========================================================================== */
.wct-navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 11, 22, 0.95);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
    margin: 0;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.wct-navbar .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wct-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 70px;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}


/* Brand Identity */
.wct-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.brand-logo-img:hover {
    opacity: 0.88;
}

.wct-brand-meta {
    display: flex;
    flex-direction: column;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulseDot 2s infinite ease-in-out;
}

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

/* Desktop Nav Links — gọn, đều, không đóng khung */
.wct-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    flex-shrink: 1;
}

.wct-nav-link {
    position: relative;
    font-family: var(--font-heading) !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    color: #cbd5e1;
    transition: all 0.2s ease;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.4;
    text-decoration: none;
}

.wct-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Trạng thái đang xem: chữ cyan tinh tế + nền pill mờ chuẩn 2026 */
.wct-nav-link.active {
    color: var(--accent-cyan) !important;
    font-weight: 600;
    background: rgba(56, 189, 248, 0.12);
}


/* Nhãn HOT nhỏ cho mục ưu đãi (thay cho nút gradient thứ 2) */
.nav-hot-tag {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 0.45rem;
    border-radius: 4px;
    background: rgba(234, 88, 12, 0.18);
    border: 1px solid rgba(249, 115, 22, 0.5);
    color: #fb923c;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
}

[data-theme="light"] .nav-hot-tag {
    background: #ffedd5 !important;
    border: 1px solid #fed7aa !important;
    color: #c2410c !important; /* High contrast orange WCAG AAA */
    font-weight: 800 !important;
    box-shadow: 0 1px 2px rgba(194, 65, 12, 0.08) !important;
}

/* Navigation Dropdown System (Chuẩn WordPress Hierarchy) */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    min-width: 260px;
    background: #080d19;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 25px rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.95rem;
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-dropdown-link:hover {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.2);
    transform: translateX(4px);
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* Topbar: gọn, chữ thường, không font mono */
.wct-topbar {
    background: #050811;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.45rem 0;
    font-size: 0.8rem;
    color: #cbd5e1;
    position: relative;
    z-index: 1001;
}

.wct-topbar .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


.wct-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    min-width: 0;
}

.topbar-link {
    color: #b8c4d6;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.8rem;
    white-space: nowrap;
}

.topbar-link:hover {
    color: #ffffff;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    white-space: nowrap;
}

.topbar-phone {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    text-decoration: none;
}

.topbar-phone-label {
    color: #94a3b8;
    font-size: 0.78rem;
}

.topbar-phone-number {
    color: #e2e8f0;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.topbar-phone:hover .topbar-phone-number {
    color: var(--primary-light);
}

@media (max-width: 1024px) {
    .wct-topbar {
        display: none;
    }
}

/* Nav Actions: icon tìm kiếm + 1 CTA duy nhất */
.wct-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.btn-search-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50%;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-search-trigger:hover,
.btn-search-trigger:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Theme Toggle Button (Desktop & Mobile) */
.btn-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50%;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    flex-shrink: 0;
}

.btn-theme-toggle:hover,
.btn-theme-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: rotate(15deg);
}

.btn-theme-toggle .theme-icon-light,
.btn-theme-toggle .theme-icon-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Default / Dark: Show Sun (click to turn light), hide Moon */
:root:not([data-theme="light"]) .theme-icon-dark,
[data-theme="dark"] .theme-icon-dark {
    display: none !important;
}

:root:not([data-theme="light"]) .theme-icon-light,
[data-theme="dark"] .theme-icon-light {
    display: inline-flex !important;
}

/* Light Theme: Show Moon (click to turn dark), hide Sun */
[data-theme="light"] .theme-icon-light {
    display: none !important;
}

[data-theme="light"] .theme-icon-dark {
    display: inline-flex !important;
}

[data-theme="light"] .btn-theme-toggle {
    background: transparent;
    border: 1px solid transparent;
    color: #475569;
}

[data-theme="light"] .btn-theme-toggle:hover,
[data-theme="light"] .btn-theme-toggle:focus-visible {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #0f172a;
    transform: rotate(-15deg);
}

.kbd-badge {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 0.1rem 0.35rem;
    color: #cbd5e1;
}

.btn-nav-hotline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 40px;
    padding: 0 1.2rem 0 1rem;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-size: 0.86rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav-hotline:hover {
    background: var(--primary-glow);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
    color: #ffffff !important;
}

/* Mobile Hamburger Toggle Button */
.btn-mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.btn-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   2.2 RESPONSIVE NAVBAR (1 breakpoint duy nhất chuyển sang hamburger: 1024px)
   ========================================================================== */
@media (max-width: 1200px) {
    .wct-nav-inner {
        gap: 0.75rem;
        padding-left: 1rem;
    }
    .wct-nav-links {
        gap: 0.1rem;
    }
    .wct-nav-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.86rem;
    }
    .brand-logo-img {
        height: 38px;
    }
}

@media (max-width: 1100px) {
    .btn-nav-hotline {
        width: 40px;
        padding: 0;
    }
    .btn-nav-hotline .hotline-btn-text {
        display: none;
    }
}

@media (max-width: 1024px) {
    .wct-nav-links {
        display: none !important;
    }
    .btn-mobile-toggle {
        display: inline-flex !important;
    }
    .btn-nav-hotline {
        display: none !important;
    }
    .wct-nav-inner {
        padding: 0.4rem 0.45rem 0.4rem 1rem;
    }
}

/* ==========================================================================
   2.3 MOBILE DRAWER & UNIFIED ACCORDIONS (SOLID LUXURY DARK - RULE 14)
   ========================================================================== */
.wct-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    display: none;
}

/* Chỉ hiển thị mobile drawer trên các thiết bị dưới 1024px */
@media (max-width: 1024px) {
    .wct-mobile-drawer {
        display: flex;
    }
}

.wct-mobile-drawer.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: flex !important;
}

.mobile-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    pointer-events: auto;
}

.mobile-drawer-content {
    position: relative;
    z-index: 2;
    width: 88%;
    max-width: 380px;
    height: 100%;
    height: 100dvh;
    background: #080d19; /* Solid Dark - Rule 14 */
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.15rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.7);
}

.wct-mobile-drawer.active .mobile-drawer-content {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.btn-mobile-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-mobile-close:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
    transform: rotate(90deg);
}

.mobile-drawer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex-grow: 1;
}

.mobile-search-btn {
    width: 100% !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 1rem !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    gap: 0.65rem !important;
    color: #cbd5e1 !important;
    cursor: pointer !important;
}

.mobile-search-btn span {
    font-size: 0.88rem;
    color: #94a3b8;
}

[data-theme="light"] .mobile-search-btn {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

[data-theme="light"] .mobile-search-btn span {
    color: #64748b !important;
}

/* 1. Mobile Regular Item */
.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0.65rem 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-item .nav-item-left {
    display: flex;
    align-items: center;
}

.mobile-nav-item .nav-item-arrow {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    transform: translateX(3px);
}

.mobile-nav-item:hover .nav-item-arrow,
.mobile-nav-item.active .nav-item-arrow {
    color: #60a5fa;
    transform: translateX(3px);
}

/* 2. Mobile Hot Deal Item */
.mobile-deal-item {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.mobile-btn-deal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(245, 158, 11, 0.15));
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    color: #fca5a5;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1);
}

.mobile-btn-deal .deal-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.mobile-btn-deal .deal-pill-tag {
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.mobile-btn-deal:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(245, 158, 11, 0.25));
    border-color: #ef4444;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.25);
}

/* 3. Mobile Accordion Toggle & Group (Rule 14 Solid Dark) */
.mobile-accordion-group {
    display: flex;
    flex-direction: column;
}

.mobile-accordion-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.2s ease;
    overflow: hidden;
}

.mobile-accordion-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

.mobile-accordion-row.is-open {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(59, 130, 246, 0.35);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.mobile-accordion-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.95rem;
    color: #e2e8f0;
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-accordion-link:hover,
.mobile-accordion-link.active {
    color: #60a5fa;
}

.mobile-accordion-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.mobile-accordion-arrow:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #ffffff;
}

.mobile-accordion-arrow .accordion-chevron {
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-accordion-arrow.is-open .accordion-chevron {
    transform: rotate(180deg);
    color: #60a5fa;
}

.mobile-accordion-row .sub-count-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.mobile-accordion-row.is-open .sub-count-badge {
    background: rgba(37, 99, 235, 0.35);
    color: #bfdbfe;
}

/* 4. Mobile Accordion Content (Smooth Slide Down) */
.mobile-accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    background: #050811;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-top: -2px;
    margin-bottom: 0.25rem;
}

.mobile-accordion-content.active {
    border-color: rgba(59, 130, 246, 0.25);
}

.mobile-mega-cat-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.85rem 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #60a5fa;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
    margin-top: 0.35rem;
}

.mobile-mega-cat-title:first-child {
    border-top: none;
    margin-top: 0;
}

.mobile-sub-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 42px;
    padding: 0.55rem 0.85rem 0.55rem 1.15rem;
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    margin: 2px 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sub-link .item-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64748b;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-sub-link:hover,
.mobile-sub-link:active {
    color: #38bdf8;
    background: rgba(37, 99, 235, 0.16);
    padding-left: 1.35rem;
}

.mobile-sub-link:hover .item-dot,
.mobile-sub-link:active .item-dot {
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
    transform: scale(1.3);
}

/* 4.5 Mobile Drawer Secondary Links (Topbar links in mobile drawer) */
.mobile-drawer-secondary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.mobile-drawer-secondary a {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mobile-drawer-secondary a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
}

/* 5. Mobile Drawer Footer */
.mobile-drawer-footer {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.mobile-drawer-support {
    font-size: 0.74rem;
    color: #94a3b8;
    text-align: center;
    line-height: 1.4;
    margin-top: 0.25rem;
}

/* ==========================================================================
   3. HERO SECTION (CHUẨN XU HƯỚNG 2026, KHÔNG NHÃN DEV GEEK)
   ========================================================================== */
.hero-section {
    padding: 4.5rem 0 5rem;
    position: relative;
    text-align: left;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 1.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-pill .status-dot {
    background: #60a5fa;
    box-shadow: 0 0 10px #60a5fa;
}

.hero-title {
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    max-width: 1050px;
    font-family: var(--font-heading) !important;
}

.hero-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--text-muted);
    max-width: 820px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-lead strong {
    color: #ffffff;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #ffffff;
    font-family: var(--font-heading) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    height: 50px;
    padding: 0 1.85rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.6);
    color: #ffffff !important;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    height: 50px;
    padding: 0 1.75rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font-family: var(--font-heading) !important;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-active);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 44px;
    padding: 0 1.5rem;
    background: rgba(37, 99, 235, 0.12);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.35);
    font-family: var(--font-heading) !important;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-bubble:hover {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary-glow);
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.btn-bubble-lime, .btn-bubble-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border-color: var(--primary-glow) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35) !important;
}

.btn-bubble-lime:hover, .btn-bubble-primary:hover {
    background: linear-gradient(135deg, var(--primary-glow) 0%, var(--primary) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.55) !important;
    transform: translateY(-2px);
}

/* Floating Metrics Badges (Tinh tế, không lòe loẹt) */
.hero-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.badge-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.badge-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-active);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.badge-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: grid;
    place-items: center;
    color: #60a5fa;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.badge-content h4 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.badge-content p {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   4. SERVICES & SOLUTIONS BENTO GRID
   ========================================================================== */
.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.35;
    margin-bottom: 0.85rem;
    white-space: nowrap;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.65;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (max-width: 1023px) and (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-active);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.35);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.service-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: #e2e8f0;
    font-family: var(--font-mono);
}

/* ==========================================================================
   5. PORTFOLIO SHOWCASE GRID
   ========================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-active);
    box-shadow: var(--shadow-glow);
}

.portfolio-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #0d1222;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: object-position 4.5s ease-in-out, transform 0.5s ease;
}

.portfolio-card:hover .portfolio-thumb img {
    object-position: bottom center;
}

.portfolio-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.portfolio-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* ==========================================================================
   6. POSTS & TUTORIALS (630+ BÀI VIẾT DI CHUYỂN TỪ WP GỐC)
   ========================================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-active);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background: var(--bg-card-hover);
}

.post-thumb-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0f172a;
    position: relative;
}

.post-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-thumb-wrap img {
    transform: scale(1.05);
}

.post-meta-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(7, 9, 19, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
}

.post-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-date {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-bottom: 0.45rem;
}

.post-title {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.post-excerpt {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* ==========================================================================
   7. PRICING & PAYMENT (VIETQR NAPAS)
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.75rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured,
.pricing-card.popular {
    border-color: var(--primary-glow);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(23, 37, 84, 0.9));
    transform: translateY(-4px);
}

.pricing-badge,
.popular-badge {
    position: absolute;
    top: -13px;
    right: 20px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.3rem 0.95rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.5);
    z-index: 2;
}

.pricing-name,
.pricing-card h3 {
    font-family: var(--font-heading) !important;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.pricing-cost,
.pricing-price {
    font-size: 2.25rem;
    font-weight: 900;
    color: #ffffff;
    margin: 1.25rem 0 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.price-val {
    font-family: var(--font-heading) !important;
    font-size: 2.3rem;
    font-weight: 900;
    color: #38bdf8;
    letter-spacing: -0.02em;
}

.price-cycle,
.pricing-price span {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    padding: 0;
}

.pricing-feature,
.pricing-features li {
    font-size: 0.92rem;
    color: #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    line-height: 1.5;
}

.pricing-feature svg,
.pricing-features li svg {
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Hộp VietQR Napas Thanh Toán Thông Minh */
.vietqr-card {
    background: linear-gradient(135deg, rgba(13, 20, 38, 0.9), rgba(17, 29, 61, 0.85));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    margin: 3rem 0;
}

.vietqr-qr-box {
    background: #ffffff;
    padding: 1rem;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.vietqr-qr-box img {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
}

.vietqr-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.vietqr-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.bank-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

.bank-detail-label {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
}

.bank-detail-val {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
}

.btn-copy-stk {
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy-stk:hover {
    background: var(--primary);
    color: #ffffff;
}

/* ==========================================================================
   8. FOOTER & SEARCH MODAL
   ========================================================================== */
.wct-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 0 2.5rem;
    background: rgba(6, 9, 18, 0.98);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-link {
    font-size: 0.92rem;
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-link:hover {
    color: #60a5fa;
    padding-left: 0.25rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.88rem;
    color: var(--text-subtle);
}

/* Search Modal */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    display: none;
    place-items: center;
    z-index: 10000;
    padding: 1.5rem;
}

.search-modal.active {
    display: grid;
}

.search-modal-backdrop {
    position: absolute;
    inset: 0;
}

.search-modal-card {
    position: relative;
    background: #0f172a;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    z-index: 1;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.search-input-field {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 1.15rem;
    color: #ffffff;
    outline: none;
    font-family: var(--font-heading) !important;
}

.search-results-list {
    max-height: 420px;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-result-item {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: var(--transition);
}

.search-result-item:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--border-active);
}

.search-result-item h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.search-result-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS & COMPONENT GRIDS (CHỐNG VỠ 100% TRÊN MỌI THIẾT BỊ)
   ========================================================================== */
.subpage-container {
    padding-top: 5rem !important;
    padding-bottom: 6rem !important;
}

/* Contact Page Responsive Grids */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3.5rem;
    align-items: flex-start;
    margin-bottom: 5rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-info-card,
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    box-shadow: var(--shadow-card);
}

.contact-form-input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.contact-form-input:focus {
    border-color: var(--primary-glow);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.contact-icon-bubble {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid var(--border-active);
    display: grid;
    place-items: center;
    color: var(--accent-cyan);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* About Page Responsive Bio Grid & Authentic Avatar */
.about-bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-card);
}

.author-avatar-badge {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f8fafc;
    display: grid;
    place-items: center;
    border: 2px solid var(--border-active);
    box-shadow: var(--shadow-glow);
    margin: 0 auto;
    padding: 1.25rem;
}

.author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.author-avatar-badge:hover .author-avatar-img {
    transform: scale(1.06);
}

/* Breakpoint 1100px: Switch to Mobile Drawer */
@media (max-width: 1100px) {
    .wct-nav-links {
        display: none !important;
    }
    .btn-mobile-toggle {
        display: flex !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Breakpoint 900px: Tablets & Large Mobile */
@media (max-width: 900px) {
    .contact-layout-grid,
    .about-bio-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 2rem !important;
    }
    .subpage-container {
        padding-top: 4.5rem !important;
        padding-bottom: 4rem !important;
    }
}

/* Breakpoint 768px: Mobile Standard */
@media (max-width: 768px) {
    .btn-search-trigger {
        display: inline-flex !important;
    }
    .btn-bubble {
        padding: 0.55rem 1.15rem !important;
        font-size: 0.88rem !important;
    }
    .vietqr-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.75rem;
    }
    .vietqr-qr-box {
        margin: 0 auto;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-hero-primary, .btn-hero-secondary {
        justify-content: center;
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Breakpoint 600px: Small Phones */
@media (max-width: 600px) {
    .contact-form-row {
        grid-template-columns: 1fr !important;
    }
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem !important;
    }
    .btn-nav-hotline span {
        display: none;
    }
    .btn-nav-hotline {
        padding: 0 0.65rem !important;
        width: 38px;
    }
    .wct-nav-inner {
        padding: 0.45rem 0.85rem;
    }
    .hero-title {
        font-size: 2.1rem !important;
    }
    .hero-pill {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }
}

/* ==========================================================================
   10. BLOG ARCHIVE, CATEGORY TABS & POST CARDS (CHUẨN EXECUTIVE 2026)
   ========================================================================== */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.5rem 0 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .category-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: thin;
        scrollbar-color: rgba(59, 130, 246, 0.4) transparent;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.75rem;
    }
}

.category-tabs::-webkit-scrollbar {
    height: 5px;
}

.category-tabs::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.35);
    border-radius: 9999px;
}

.cat-tab {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    text-decoration: none;
}

.cat-tab:hover {
    color: #ffffff;
    border-color: var(--border-active);
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.cat-tab.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%) !important;
    border-color: var(--primary-glow) !important;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
}

.cat-tab.active strong {
    color: #ffffff;
    opacity: 0.9 !important;
}

.btn-read-more {
    color: var(--accent-cyan);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.btn-read-more:hover {
    color: #60a5fa;
    transform: translateX(4px);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-active);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 99, 235, 0.18);
}

.post-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0d1222;
    display: block;
}

.post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.post-card:hover .post-thumb {
    transform: scale(1.05);
}

.post-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(7, 9, 19, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    letter-spacing: 0.02em;
    z-index: 2;
}

.post-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.post-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading) !important;
}

.post-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: var(--accent-cyan);
}

.post-excerpt {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.62;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
}

/* ==========================================================================
   11. WCT-PAGINATION (CHUẨN CAO CẤP, TRIỆT TIÊU 100% LỖI ICON SVG KHỔNG LỒ)
   ========================================================================== */
.wct-pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    justify-content: center;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    background: rgba(15, 23, 42, 0.75);
    padding: 0.45rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-width: 100%;
}

@media (max-width: 768px) {
    .wct-pagination {
        gap: 0.25rem;
        padding: 0.35rem 0.5rem;
    }
    .wct-pagination .page-link {
        min-width: 32px;
        height: 32px;
        font-size: 0.82rem;
        padding: 0 0.25rem;
    }
    .wct-pagination .page-arrow {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 600px) {
    .wct-pagination .page-link:not(.active):not(.page-arrow):not(.page-dots):not(.page-first):not(.page-last) {
        display: none !important;
    }
}

.wct-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.5rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font-heading) !important;
    color: #cbd5e1;
    background: transparent;
    text-decoration: none;
    transition: var(--transition);
    user-select: none;
}

.wct-pagination .page-link:hover:not(.disabled):not(.active) {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.wct-pagination .page-link.active {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.45);
}

.wct-pagination .page-arrow {
    width: 38px;
    height: 38px;
    padding: 0;
}

.wct-pagination .page-arrow svg {
    display: block;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
}

.wct-pagination .page-arrow.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.wct-pagination .page-dots {
    color: var(--text-subtle);
    cursor: default;
    min-width: 24px;
}

/* Phòng thủ tối thượng: Triệt tiêu mọi SVG khổng lồ từ bất kỳ pagination nào */
nav[role="navigation"] svg {
    max-width: 20px !important;
    max-height: 20px !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-block !important;
}

nav[role="navigation"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
}

/* ==========================================================================
   12. POST DETAIL & ARTICLE CONTENT
   ========================================================================== */
.post-detail-header {
    max-width: 860px;
    margin-bottom: 2.5rem;
}

.post-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 3.5rem;
    align-items: start;
    width: 100%;
}

.article-content {
    min-width: 0;
    max-width: 100%;
    color: #e2e8f0;
    font-size: 1.08rem;
    line-height: 1.82;
    font-family: var(--font-body);
    overflow-wrap: break-word;
    word-break: break-word;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 2.5rem 0 1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.65rem;
}

.article-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2rem 0 0.85rem;
    color: var(--accent-cyan);
}

.article-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.6rem 0 0.65rem;
    color: #f8fafc;
}

.article-content h5,
.article-content h6 {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 1.25rem 0 0.5rem;
    color: #cbd5e1;
}

.article-content p {
    margin-bottom: 1.35rem;
}

.article-content ul {
    list-style-type: disc;
    margin-bottom: 1.5rem;
    padding-left: 1.65rem;
}

.article-content ol {
    list-style-type: decimal;
    margin-bottom: 1.5rem;
    padding-left: 1.65rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content li::marker {
    color: var(--accent-cyan);
}

/* Rich inline highlight & badge classes shared with TinyMCE */
.article-content mark,
.article-content .text-highlight {
    background: linear-gradient(120deg, #fde68a 0%, #fbbf24 100%);
    color: #0f172a !important;
    font-weight: 600;
    border-radius: 0.28em;
    padding: 0.08em 0.35em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.article-content .text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 55%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.article-content .text-accent {
    color: #38bdf8 !important;
    font-weight: 700;
}

.article-content .text-success {
    color: #34d399 !important;
    font-weight: 700;
}

.article-content .text-warning {
    color: #fbbf24 !important;
    font-weight: 700;
}

.article-content kbd,
.article-content .kbd-inline {
    display: inline-block;
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-bottom-width: 2px;
    border-radius: 6px;
    padding: 0.08em 0.45em;
    font-family: var(--font-mono) !important;
    font-size: 0.84em;
    font-weight: 600;
    line-height: 1.4;
}

/* Center figures & captions tightly around images */
.article-content figure,
.article-content .wp-caption {
    max-width: 100% !important;
    width: fit-content !important;
    margin: 2rem auto !important;
    display: table !important;
    clear: both;
    text-align: center;
}

.article-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-md);
    margin: 1.5rem auto;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: block;
}

.article-content figure img,
.article-content .wp-caption img {
    margin: 0 auto !important;
}

.article-content figcaption,
.article-content .wp-caption-text {
    text-align: center;
    font-size: 0.86rem;
    color: #94a3b8;
    margin-top: 0.65rem;
    font-style: italic;
    line-height: 1.5;
}

/* ============================================================
   ARTICLE CALLOUT & NOTE BOXES (HIGH CONTRAST DARK MODE LUXURY)
   ============================================================ */
.post-callout {
    padding: 1.15rem 1.35rem;
    border-radius: var(--radius-md);
    margin: 1.85rem 0;
    font-size: 0.98rem;
    line-height: 1.7;
    position: relative;
    border: 1px solid transparent;
}

.post-callout p:last-child {
    margin-bottom: 0;
}

.post-callout-success {
    background: rgba(16, 185, 129, 0.12) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    color: #cbd5e1 !important;
}

.post-callout-success strong {
    color: #34d399 !important;
}

.post-callout-info {
    background: rgba(56, 189, 248, 0.12) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    color: #cbd5e1 !important;
}

.post-callout-info strong {
    color: #38bdf8 !important;
}

.post-callout-warning {
    background: rgba(245, 158, 11, 0.12) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: #cbd5e1 !important;
}

.post-callout-warning strong {
    color: #fbbf24 !important;
}

/* Fallback override for any direct inline styles in HTML */
.article-content [style*="#ebf6e0"],
.article-content [style*="#ebf"] {
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    color: #cbd5e1 !important;
    border-radius: var(--radius-md) !important;
    padding: 1.15rem 1.35rem !important;
}

.article-content [style*="#ebf6e0"] strong,
.article-content [style*="#ebf"] strong {
    color: #34d399 !important;
}

/* ============================================================
   LEGACY SYNTAX HIGHLIGHTERS (CRAYON / URVANOV / CRAYON-TABLE)
   ============================================================ */
.article-content .urvanov-syntax-highlighter-main,
.article-content .urvanov-syntax-highlighter-syntax,
.article-content .crayon-syntax,
.article-content .syntaxhighlighter {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.article-content .crayon-table {
    width: 100% !important;
    background: transparent !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.article-content .crayon-nums {
    background: #0d1424 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #64748b !important;
    padding: 12px 8px !important;
}

.article-content .crayon-num {
    color: #64748b !important;
}

.article-content .urvanov-syntax-highlighter-code {
    background: #090d16 !important;
    padding: 12px 16px !important;
}

.article-content .crayon-pre,
.article-content .crayon-pre * {
    color: #e2e8f0 !important;
    font-family: var(--font-mono) !important;
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
}

.article-content .crayon-striped-line {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* ============================================================
   ARTICLE CODE CARD & SYNTAX HIGHLIGHTING (ONE DARK LUXURY 2026)
   ============================================================ */
.article-content .code-card {
    position: relative;
    margin: 2.25rem 0;
    border-radius: var(--radius-md);
    background: #090d16;
    border: 1px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.code-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    background: #0d1424;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-card-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.code-card-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.code-dot-red { background: #ef4444; }
.code-dot-yellow { background: #f59e0b; }
.code-dot-green { background: #10b981; }

.code-lang-badge {
    padding: 0.15rem 0.55rem;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.code-card-title {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.01em;
}

.code-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-copy-btn:hover {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
}

.code-copy-btn.copied {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.5);
    background: rgba(16, 185, 129, 0.15);
}

.article-content .code-card pre {
    margin: 0 !important;
    padding: 1.25rem 1.35rem !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow-x: auto;
    font-family: var(--font-mono) !important;
    font-size: 0.92rem;
    line-height: 1.7;
    tab-size: 4;
}

.article-content .code-card pre code {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #abb2bf;
    font-family: var(--font-mono) !important;
    display: block;
}

/* Atom One Dark Luxury Syntax Highlighting Tokens */
.hljs-keyword, .hljs-selector-tag, .hljs-subst, .hljs-section { color: #c678dd !important; font-weight: 700; }
.hljs-string, .hljs-title.class_, .hljs-regexp, .hljs-link { color: #98c379 !important; }
.hljs-variable, .hljs-template-variable, .hljs-name, .hljs-selector-id, .hljs-selector-class { color: #e06c75 !important; }
.hljs-function, .hljs-title.function_, .hljs-title, .hljs-meta, .hljs-symbol, .hljs-bullet { color: #61afef !important; font-weight: 600; }
.hljs-number, .hljs-literal, .hljs-attr, .hljs-attribute { color: #d19a66 !important; font-weight: 600; }
.hljs-comment, .hljs-quote, .hljs-deletion { color: #7f848e !important; font-style: italic; }
.hljs-tag { color: #5c6370 !important; }
.hljs-built_in, .hljs-type, .hljs-class { color: #e5c07b !important; }
.hljs-operator { color: #56b6c2 !important; }
.hljs-params { color: #abb2bf !important; }

/* Inline Code Pill & Article Links */
.article-content :not(pre):not(.line):not(.crayon-line) > code:not(.code-card code) {
    font-family: var(--font-mono) !important;
    font-size: 0.88em;
    background: rgba(37, 99, 235, 0.15);
    color: #38bdf8;
    padding: 0.18rem 0.45rem;
    border-radius: 5px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    font-weight: 500;
}

.article-content a:not([class]) {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.article-content a:not([class]):hover {
    color: #7dd3fc;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-glow);
    background: rgba(37, 99, 235, 0.08);
    padding: 1rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
    color: #cbd5e1;
    font-style: italic;
}

.post-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.widget-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-list {
    list-style: none;
    padding: 0 0.25rem 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.35) transparent;
}

.toc-list::-webkit-scrollbar {
    width: 4px;
}

.toc-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 9999px;
}

.toc-list::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.35);
    border-radius: 9999px;
}

.toc-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Floating Contact Pulse & Hover */
.btn-floating-circle:hover {
    transform: scale(1.12) translateY(-2px) !important;
}

.btn-floating-phone {
    position: relative;
    animation: wctPulsePhone 2.5s infinite;
}

@keyframes wctPulsePhone {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6), 0 4px 20px rgba(16, 185, 129, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0), 0 4px 20px rgba(16, 185, 129, 0.5);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), 0 4px 20px rgba(16, 185, 129, 0.5);
    }
}


.toc-link {
    display: block;
    font-size: 0.86rem;
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.45;
}

.toc-link:hover {
    color: var(--accent-cyan);
    background: rgba(59, 130, 246, 0.08);
    border-left-color: var(--accent-cyan);
    padding-left: 0.75rem;
}

.toc-link.toc-h3 {
    margin-left: 0.85rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

@media (max-width: 992px) {
    .post-detail-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .post-sidebar {
        position: static;
    }
}

/* ==========================================================================
   PORTFOLIO & LUXURY PROJECT SHOWCASE SYSTEM 2026
   ========================================================================== */
.subpage-container {
    padding-top: 5rem !important;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
    gap: 2.25rem;
}

.project-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 115, 190, 0.5);
    box-shadow: 0 20px 40px -10px rgba(30, 115, 190, 0.35), 0 0 25px rgba(56, 189, 248, 0.2);
}

.browser-mockup-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1e293b;
    padding: 0.55rem 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.browser-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.browser-url {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #cbd5e1;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.15rem 0.65rem;
    border-radius: 4px;
}

.project-thumb-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

.project-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: object-position 4.5s ease-in-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-thumb {
    object-position: bottom center;
}

.project-overlay {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
}

.project-client-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: rgba(7, 9, 19, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #38bdf8;
}

.project-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-category {
    font-size: 0.78rem;
    color: #60a5fa;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.project-desc {
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.project-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-badge-tag {
    font-size: 0.8rem;
    color: #60a5fa;
    font-weight: 600;
}

.btn-card-action {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-card-action:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary-glow);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.portfolio-cta-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   13. MASTER HIERARCHY NAVIGATION: DROPDOWN & 3-COLUMN MEGA MENU (2026)
   ========================================================================== */
.wct-nav-links .nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.wct-nav-links .nav-has-sub {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wct-nav-links .nav-has-sub svg {
    transition: transform 0.2s ease;
}

.wct-nav-links .nav-item-dropdown:hover .nav-has-sub svg {
    transform: rotate(180deg);
}

/* Invisible bridge so mouse hover doesn't break between link and dropdown */
.wct-nav-links .nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
}

/* Standard Dropdown Menu (Dịch vụ) - Solid Dark 100% (Rule 14) */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    background: #080d19;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: var(--radius-md);
    padding: 0.55rem 0.45rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 25px rgba(37, 99, 235, 0.2);
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    list-style: none;
    margin: 0;
    pointer-events: none;
}

.nav-item-dropdown:hover > .nav-dropdown-menu,
.nav-item-dropdown:focus-within > .nav-dropdown-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.62rem 1rem;
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-dropdown-link:hover {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.2);
    transform: translateX(4px);
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.nav-dropdown-link .sub-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* 3-Column Luxury Mega Menu (Kiến Thức) - 100% Solid Opaque (No Bleed) */
.nav-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 880px;
    max-width: calc(100vw - 30px);
    background: #080d19;
    border: 1px solid rgba(59, 130, 246, 0.45);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(37, 99, 235, 0.25);
    visibility: hidden;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    pointer-events: none;
}

.nav-item-dropdown:hover > .nav-mega-menu,
.nav-item-dropdown:focus-within > .nav-mega-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
}

.mega-column-title {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-sub-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    padding: 0.42rem 0.5rem;
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.mega-sub-link:hover {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.08);
    transform: translateX(4px);
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.mega-sub-link .item-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.5);
    flex-shrink: 0;
    margin: 0;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.mega-sub-link:hover .item-dot {
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* ==========================================================================
   14. COMMAND PALETTE SEARCH MODAL (⌘K / Ctrl+K)
   ========================================================================== */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
}

.search-modal.active {
    display: flex !important;
}

.search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 14, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.search-modal-card {
    position: relative;
    width: 650px;
    max-width: calc(100vw - 32px);
    background: #0d1222;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(37, 99, 235, 0.25);
    overflow: hidden;
    animation: searchModalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes searchModalIn {
    from { opacity: 0; transform: scale(0.96) translateY(-10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-input-wrap svg {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.search-input-field {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.05rem;
    font-family: inherit;
    outline: none;
}

.search-input-field::placeholder {
    color: var(--text-muted);
}

.search-results-list {
    max-height: 420px;
    overflow-y: auto;
    padding: 0.75rem 0.5rem;
}

.search-result-item {
    display: block;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.15s ease;
}

.search-result-item:hover {
    background: rgba(37, 99, 235, 0.18);
}

.search-result-item h5 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
    line-height: 1.35;
}

.search-result-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}



.home-contact-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem; }
.home-contact-card > * { min-width: 0; }
@media (max-width: 768px) {
    .home-contact-card { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1rem; }
    .home-contact-card form { padding: 1rem !important; }
    .btn-bubble { max-width: 100%; white-space: normal; height: auto; min-height: 44px; line-height: 1.4; text-align: center; }
}

.payment-layout-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: start; margin-bottom: 5rem; }
.contact-layout-grid > *, .payment-layout-grid > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 768px) {
    .payment-layout-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .payment-layout-grid > div:first-child, .payment-layout-grid > div > div { padding: 1rem !important; }
    .contact-info-card a { overflow-wrap: anywhere; }
}

/* Intrinsic widths must not force a grid or flex item beyond its container. */
.post-card, .service-card, .pricing-card { min-width: 0; overflow-wrap: anywhere; }
.pricing-cost { flex-wrap: wrap; }
.price-val { max-width: 100%; overflow-wrap: anywhere; }
.archive-hero-box input { min-width: 0; width: 100%; }
.archive-hero-box form > button { flex-shrink: 0; }
.archive-cat-wrap > div { max-width: 100%; min-width: 0; }
.archive-cat-wrap select { max-width: 100%; }
.article-content { min-width: 0; overflow-wrap: anywhere; }
.article-content img, .article-content video, .article-content iframe { max-width: 100%; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 480px) {
    .pricing-card { padding: 1.5rem; }
    .price-val { font-size: clamp(1.6rem, 8vw, 2.5rem); }
}

.home-contact-card .contact-info div { min-width: 0; }
.home-contact-card .contact-info a { overflow-wrap: anywhere; }

/* Editorial refinement: balanced grids, quieter surfaces, readable spacing. */
.container { max-width: 1240px; }
.hero-section { padding-top: 4rem; padding-bottom: 3rem; }
.hero-title { max-width: 960px; font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: 1.16; letter-spacing: -.035em; }
.hero-lead { max-width: 760px; font-size: 1.05rem; line-height: 1.8; }
.hero-pill { font-size: .75rem; letter-spacing: .035em; }
.hero-buttons { gap: .75rem; margin-top: 1.75rem; }
.btn-hero-primary, .btn-hero-secondary, .btn-bubble { border-radius: 10px; box-shadow: none; font-weight: 600; }
.btn-hero-primary, .btn-hero-secondary { padding: .85rem 1.25rem; font-size: .95rem; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.25; }
.section-subtitle { max-width: 720px; line-height: 1.75; }
.service-card, .badge-card, .pricing-card, .contact-info-card, .contact-form-card { border-radius: 16px; box-shadow: none; }
.service-card:hover, .badge-card:hover { transform: none; box-shadow: none; }
.service-icon { width: 42px; height: 42px; font-size: 1.35rem; border-radius: 10px; }
.service-tags { gap: .4rem; }
.service-pill { font-size: .72rem; }
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.pricing-card { padding: 2rem 1.5rem 1.5rem; min-width: 0; }
.pricing-card h3 { font-size: 1.2rem; line-height: 1.4; min-height: 3.36rem; }
.pricing-card > p { min-height: 4.5em; line-height: 1.5; }
.pricing-card.featured, .pricing-card.popular { transform: none; box-shadow: none; background: #101b32; border-color: #4775b8; }
.pricing-cost, .pricing-price { flex-wrap: wrap; gap: .3rem .65rem; }
.pricing-price > span:first-child, .price-val { font-size: 2rem; color: #f1f5f9; font-weight: 700; }
.pricing-badge, .popular-badge { box-shadow: none; background: #285bb0; font-weight: 600; letter-spacing: 0; text-transform: none; }
.pricing-features { gap: .65rem; margin-bottom: 1.5rem; }
.pricing-card > .btn-bubble { margin-top: auto; box-shadow: none !important; }
.hosting-note { max-width: 720px; color: var(--text-muted); margin: -1.5rem 0 3rem; }
.contact-layout-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 2rem; }
.contact-details-stack { display: grid; gap: 1.5rem; }
.contact-info-card, .contact-form-card { padding: 2rem; }
.contact-notes { padding: 1.5rem 0; border-top: 1px solid var(--border-subtle); }
.contact-icon-bubble { width: 36px; height: 36px; flex-shrink: 0; font-size: 1rem; border-radius: 10px; }
.contact-form-card button { font-size: 1rem !important; box-shadow: none !important; }
.wct-footer { padding: 3.5rem 0 1.75rem; }
.footer-grid { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr); gap: 3rem; margin-bottom: 2.5rem; }
.footer-col { min-width: 0; }
.footer-col h4 { font-size: 1rem; font-weight: 600; }
.footer-col:first-child > p { max-width: 340px; }
.footer-col a[href^="tel:"] { font-size: 1rem !important; font-weight: 600 !important; }
.footer-bottom { gap: 1rem; font-size: .8rem; }
.floating-quick-actions { right: 1rem !important; bottom: 1rem !important; }
.float-btn { box-shadow: none !important; }
@media (max-width: 1000px) {
 .pricing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .contact-layout-grid { grid-template-columns: minmax(0,1fr); }
 .footer-grid { gap: 2rem; }
}
@media (max-width: 640px) {
 .hero-section { padding-top: 2.5rem; }
 .hero-buttons > a { width: 100%; justify-content: center; }
 .pricing-grid, .footer-grid { grid-template-columns: minmax(0,1fr); }
 .pricing-card h3, .pricing-card > p { min-height: 0; }
 .contact-info-card, .contact-form-card { padding: 1.25rem; }
 .footer-bottom { align-items: flex-start; flex-direction: column; padding-right: 3rem; }
}

.refined-icon { width: 22px; height: 22px; display: block; }
.hero-title, .section-title, .service-card h3, .badge-content h4, .pricing-card h3 { font-weight: 700; }
.badge-icon-box { border-radius: 10px; background: rgba(59,130,246,.07); border-color: var(--border-subtle); }
.service-icon { color: #8db7f2; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0,1fr); } }

/* ==========================================================================
   15. MASTER LIGHT THEME DESIGN SYSTEM (LARAVEL MODERN LUXURY AESTHETIC)
   Chuẩn mực: Warm Sand (#fdfdfc) • Dot Pattern 24px x 24px • Royal Sapphire Blue (#2563eb)
   100% Anti-Blind Text (Rule 16) • Solid 100% Dropdowns & macOS One Dark Code Cards (Rule 14)
   ========================================================================== */

[data-theme="light"] body {
    background-color: var(--bg-canvas, #fdfdfc) !important;
    background-image: radial-gradient(var(--dot-color, #d4d3ce) 1px, transparent 0) !important;
    background-size: 24px 24px !important;
    background-position: 24px 24px !important;
    color: var(--text-main, #0f172a) !important;
}

[data-theme="light"] body::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, rgba(56, 189, 248, 0.02) 45%, transparent 70%) !important;
}

[data-theme="light"] body::after {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.04) 0%, transparent 60%) !important;
}

/* 15.1 TOPBAR & NAVBAR (LIGHT MODE) */
[data-theme="light"] .wct-topbar {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

[data-theme="light"] .wct-topbar a {
    color: #475569 !important;
}

[data-theme="light"] .wct-topbar a:hover {
    color: #0f172a !important;
}

[data-theme="light"] .topbar-phone-label,
[data-theme="light"] .wct-topbar .topbar-phone-label {
    color: #64748b !important;
    font-weight: 500 !important;
}

[data-theme="light"] .topbar-phone-number,
[data-theme="light"] .wct-topbar .topbar-phone-number {
    color: #0f172a !important; /* Bold Slate-900 WCAG AAA */
    font-weight: 700 !important;
}

[data-theme="light"] .topbar-phone:hover .topbar-phone-number,
[data-theme="light"] .wct-topbar .topbar-phone:hover .topbar-phone-number {
    color: #2563eb !important;
}

[data-theme="light"] .wct-topbar strong,
[data-theme="light"] .wct-topbar b {
    color: #0f172a !important;
}

[data-theme="light"] .wct-navbar {
    background: rgba(253, 253, 252, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 10px 25px -5px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .wct-nav-link {
    color: #334155 !important;
}

[data-theme="light"] .wct-nav-link:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
}

[data-theme="light"] .wct-nav-link.active {
    color: #1d4ed8 !important;
    background: #eff6ff !important;
    font-weight: 600 !important;
}

[data-theme="light"] .btn-search-trigger {
    color: #475569 !important;
}

[data-theme="light"] .btn-search-trigger:hover,
[data-theme="light"] .btn-search-trigger:focus-visible {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

[data-theme="light"] .btn-mobile-toggle {
    color: #0f172a !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
}

/* 15.2 DROPDOWNS & MEGA MENU (SOLID 100% OPAQUE - RULE 14) */
[data-theme="light"] .nav-dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .nav-dropdown-link {
    color: #334155 !important;
}

[data-theme="light"] .nav-dropdown-link:hover {
    color: #1d4ed8 !important;
    background: #eff6ff !important;
    transform: translateX(4px);
}

[data-theme="light"] .nav-mega-menu {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 1px 1px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .mega-column-title {
    color: #1e40af !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .mega-sub-link {
    color: #334155 !important;
}

[data-theme="light"] .mega-sub-link:hover {
    color: #1d4ed8 !important;
    background: #eff6ff !important;
    text-shadow: none !important;
}

[data-theme="light"] .mega-sub-link .item-dot {
    background: #3b82f6 !important;
}

/* 15.3 HERO SECTION & TYPOGRAPHY */
[data-theme="light"] .hero-title,
[data-theme="light"] .section-title,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #0f172a !important;
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0284c7 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .gradient-text-pink,
[data-theme="light"] .gradient-text-indigo {
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 50%, #9333ea 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .hero-pill {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .hero-pill .status-dot {
    background: #2563eb !important;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4) !important;
}

[data-theme="light"] .hero-lead {
    color: #475569 !important;
}

[data-theme="light"] .hero-lead strong {
    color: #0f172a !important;
}

[data-theme="light"] .btn-hero-secondary {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .btn-hero-secondary:hover {
    background: #f8fafc !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

/* 15.4 SERVICES & PILLS (100% ANTI-BLIND TEXT - RULE 16) */
[data-theme="light"] .section-tag {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
    padding: 0.35rem 0.95rem !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08) !important;
}

[data-theme="light"] .section-subtitle {
    color: #475569 !important;
}

[data-theme="light"] .service-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .service-card:hover {
    border-color: #93c5fd !important;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08) !important;
}

[data-theme="light"] .service-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .service-card p {
    color: #475569 !important;
}

[data-theme="light"] .service-icon {
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    color: #2563eb !important;
}

[data-theme="light"] .service-pill {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
}

[data-theme="light"] .service-pill:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* 15.5 PRICING CARDS */
[data-theme="light"] .pricing-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .pricing-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .pricing-card > p {
    color: #475569 !important;
}

[data-theme="light"] .pricing-card.featured,
[data-theme="light"] .pricing-card.popular {
    background: #f0f7ff !important;
    border-color: #2563eb !important;
    box-shadow: 0 10px 30px -5px rgba(37, 99, 235, 0.15) !important;
}

[data-theme="light"] .pricing-price > span:first-child,
[data-theme="light"] .price-val {
    color: #0f172a !important;
}

[data-theme="light"] .pricing-badge,
[data-theme="light"] .popular-badge {
    background: #2563eb !important;
    color: #ffffff !important;
    padding: 0.35rem 0.95rem !important;
    border-radius: 9999px !important;
    white-space: nowrap !important;
    line-height: 1.35 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}

[data-theme="light"] .pricing-features li {
    color: #334155 !important;
}

/* Standard / Non-featured pricing card button */
[data-theme="light"] .pricing-card:not(.popular):not(.featured) .btn-bubble {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .pricing-card:not(.popular):not(.featured) .btn-bubble * {
    color: #0f172a !important;
}

[data-theme="light"] .pricing-card:not(.popular):not(.featured) .btn-bubble:hover {
    background: #eff6ff !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
}

[data-theme="light"] .pricing-card:not(.popular):not(.featured) .btn-bubble:hover * {
    color: #2563eb !important;
}

/* Featured & Popular pricing card button (Solid Sapphire Blue, Pure White Text - 100% Anti-Blind Text) */
[data-theme="light"] .pricing-card.featured .btn-bubble,
[data-theme="light"] .pricing-card.popular .btn-bubble,
[data-theme="light"] .pricing-card .btn-bubble-primary {
    background: #2563eb !important;
    color: #ffffff !important;
    border: 1px solid #1d4ed8 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}

[data-theme="light"] .pricing-card.featured .btn-bubble *,
[data-theme="light"] .pricing-card.popular .btn-bubble *,
[data-theme="light"] .pricing-card .btn-bubble-primary * {
    color: #ffffff !important;
}

[data-theme="light"] .pricing-card.featured .btn-bubble:hover,
[data-theme="light"] .pricing-card.popular .btn-bubble:hover,
[data-theme="light"] .pricing-card .btn-bubble-primary:hover {
    background: #1d4ed8 !important;
    border-color: #1e40af !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
}

/* 15.6 POSTS, CATEGORY TABS & PAGINATION (100% LIGHT MODE AUDITED) */
[data-theme="light"] .category-tabs::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
}

[data-theme="light"] .cat-tab {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .cat-tab:hover {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12) !important;
}

[data-theme="light"] .cat-tab.active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
}

[data-theme="light"] .cat-tab strong {
    color: #64748b !important;
}

[data-theme="light"] .cat-tab.active strong {
    color: #ffffff !important;
}

[data-theme="light"] .post-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .post-card:hover {
    border-color: #93c5fd !important;
    box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.1) !important;
}

[data-theme="light"] .post-thumb-wrap {
    background: #f1f5f9 !important;
}

[data-theme="light"] .post-category-badge {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .post-meta-row {
    color: #64748b !important;
}

[data-theme="light"] .post-title a {
    color: #0f172a !important;
}

[data-theme="light"] .post-title a:hover {
    color: #2563eb !important;
}

[data-theme="light"] .post-excerpt {
    color: #475569 !important;
}

[data-theme="light"] .post-footer {
    border-top: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .btn-read-more {
    color: #2563eb !important;
}

[data-theme="light"] .btn-read-more:hover {
    color: #1d4ed8 !important;
}

/* WCT-PAGINATION (LIGHT MODE — CLEAN WHITE PILL CONTAINER) */
[data-theme="light"] .wct-pagination {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .wct-pagination .page-link {
    color: #475569 !important;
    background: transparent !important;
}

[data-theme="light"] .wct-pagination .page-link:hover:not(.disabled):not(.active) {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .wct-pagination .page-link.active {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35) !important;
}

[data-theme="light"] .wct-pagination .page-arrow {
    color: #64748b !important;
}

[data-theme="light"] .wct-pagination .page-arrow.disabled {
    opacity: 0.3 !important;
    color: #94a3b8 !important;
}

[data-theme="light"] .wct-pagination .page-dots {
    color: #94a3b8 !important;
}

/* 15.7 CONTACT, VIETQR & FORMS (ZERO CONTRAST CONFLICTS) */
[data-theme="light"] .vietqr-card,
[data-theme="light"] .home-contact-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .vietqr-card h3,
[data-theme="light"] .home-contact-card h3,
[data-theme="light"] .contact-info h3 {
    color: #0f172a !important;
}

[data-theme="light"] .vietqr-card p,
[data-theme="light"] .home-contact-card p,
[data-theme="light"] .contact-info p {
    color: #475569 !important;
}

[data-theme="light"] .home-contact-card .contact-info > div > div {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .home-contact-card form {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .vietqr-qr-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .bank-detail-val {
    color: #0f172a !important;
}

[data-theme="light"] .contact-info-card,
[data-theme="light"] .contact-form-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .contact-info-card h3,
[data-theme="light"] .contact-form-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .contact-form-card label {
    color: #0f172a !important;
}

[data-theme="light"] .contact-notes {
    border-top-color: #e2e8f0 !important;
}

[data-theme="light"] .contact-icon-bubble {
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    color: #2563eb !important;
}

[data-theme="light"] input:not(.search-input-field):not(.archive-search-input):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
[data-theme="light"] select,
[data-theme="light"] textarea,
[data-theme="light"] .contact-form-input {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] input:not(.search-input-field):not(.archive-search-input):focus,
[data-theme="light"] select:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] .contact-form-input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder,
[data-theme="light"] .contact-form-input::placeholder {
    color: #94a3b8 !important;
}

/* ZERO-BORDER SEARCH CAPSULES (ARCHIVE & COMMAND PALETTE MODAL) */
.archive-search-form input,
.archive-search-input,
.search-input-wrap input,
.search-input-field,
[data-theme="light"] .archive-search-form input,
[data-theme="light"] .archive-search-input,
[data-theme="light"] .search-input-wrap input,
[data-theme="light"] .search-input-field {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
}

.archive-search-form input:focus,
.archive-search-input:focus,
.search-input-wrap input:focus,
.search-input-field:focus,
[data-theme="light"] .archive-search-form input:focus,
[data-theme="light"] .archive-search-input:focus,
[data-theme="light"] .search-input-wrap input:focus,
[data-theme="light"] .search-input-field:focus {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* 15.8 PORTFOLIO & PROJECTS (SHOWCASE) */
[data-theme="light"] .project-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .project-card:hover {
    border-color: #93c5fd !important;
    box-shadow: 0 16px 32px -8px rgba(37, 99, 235, 0.12) !important;
}

[data-theme="light"] .browser-mockup-bar {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .browser-url {
    color: #64748b !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .project-thumb-box {
    background: #f1f5f9 !important;
}

[data-theme="light"] .project-client-badge {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: #e2e8f0 !important;
    color: #1e40af !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .project-title {
    color: #0f172a !important;
}

[data-theme="light"] .project-desc {
    color: #475569 !important;
}

[data-theme="light"] .project-card-footer {
    border-top: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .btn-card-action {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .btn-card-action:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

[data-theme="light"] .portfolio-cta-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .portfolio-cta-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .portfolio-cta-card p {
    color: #475569 !important;
}

/* 15.9 ARTICLE DETAIL & TOC SIDEBAR */
[data-theme="light"] .sidebar-widget,
[data-theme="light"] .archive-hero-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .widget-title {
    color: #0f172a !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .sidebar-widget a:not([class*="btn-"]) {
    color: #334155 !important;
}

[data-theme="light"] .sidebar-widget a:not([class*="btn-"]):hover {
    color: #2563eb !important;
}

/* LIGHT MODE BUTTON CONTRAST GUARANTEE (WCAG AAA - ZERO DARK TEXT ON BLUE) */
[data-theme="light"] .btn-hero-primary,
[data-theme="light"] .btn-bubble-primary,
[data-theme="light"] .sidebar-widget a.btn-bubble-primary,
[data-theme="light"] .sidebar-widget a.btn-hero-primary {
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}

[data-theme="light"] .btn-hero-primary *,
[data-theme="light"] .btn-bubble-primary *,
[data-theme="light"] .sidebar-widget a.btn-bubble-primary *,
[data-theme="light"] .sidebar-widget a.btn-hero-primary * {
    color: #ffffff !important;
}

[data-theme="light"] .btn-hero-primary:hover,
[data-theme="light"] .btn-bubble-primary:hover,
[data-theme="light"] .sidebar-widget a.btn-bubble-primary:hover,
[data-theme="light"] .sidebar-widget a.btn-hero-primary:hover {
    background: #1d4ed8 !important;
    border-color: #1e40af !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
}

[data-theme="light"] .btn-bubble:not(.btn-bubble-primary):not(.btn-bubble-lime),
[data-theme="light"] .btn-hero-secondary {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .btn-bubble:not(.btn-bubble-primary):not(.btn-bubble-lime):hover,
[data-theme="light"] .btn-hero-secondary:hover {
    background: #f8fafc !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
}

[data-theme="light"] .btn-bubble-lime {
    background: #16a34a !important;
    border: 1px solid #15803d !important;
    color: #ffffff !important;
}

[data-theme="light"] .btn-bubble-lime * {
    color: #ffffff !important;
}

[data-theme="light"] .toc-list::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
}

[data-theme="light"] .toc-list::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
}

[data-theme="light"] .toc-link {
    color: #475569 !important;
}

[data-theme="light"] .toc-link:hover {
    color: #2563eb !important;
    background: #eff6ff !important;
    border-left-color: #2563eb !important;
}

[data-theme="light"] .toc-link.toc-h3 {
    color: #64748b !important;
}

/* 15.10 SEARCH MODAL (COMMAND PALETTE) */
[data-theme="light"] .search-modal-backdrop {
    background: rgba(15, 23, 42, 0.45) !important;
}

[data-theme="light"] .search-modal-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
}

[data-theme="light"] .search-input-wrap {
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .search-input-field {
    color: #0f172a !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

[data-theme="light"] .search-input-field:focus {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

[data-theme="light"] .search-input-field::placeholder {
    color: #94a3b8 !important;
}

[data-theme="light"] .search-result-item {
    color: #1e293b !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .search-result-item:hover {
    background: #eff6ff !important;
}

[data-theme="light"] .search-result-item h5,
[data-theme="light"] .search-result-title {
    color: #0f172a !important;
}

[data-theme="light"] .search-result-item p,
[data-theme="light"] .search-result-meta {
    color: #64748b !important;
}

/* 15.11 BADGES & CARDS */
[data-theme="light"] .badge-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .badge-content h4 {
    color: #0f172a !important;
}

[data-theme="light"] .badge-content p {
    color: #475569 !important;
}

/* 15.12 BUTTONS & INTERACTIVE ELEMENTS */
[data-theme="light"] .btn-bubble {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

[data-theme="light"] .btn-bubble:hover {
    background: #eff6ff !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
}

[data-theme="light"] .btn-bubble-primary,
[data-theme="light"] .btn-bubble-lime {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

[data-theme="light"] .btn-bubble-primary:hover,
[data-theme="light"] .btn-bubble-lime:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}

/* 15.13 MOBILE DRAWER */
[data-theme="light"] .mobile-drawer-content {
    background: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .mobile-drawer-header {
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .btn-mobile-close {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

[data-theme="light"] .btn-mobile-close:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}

[data-theme="light"] .mobile-nav-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
}

[data-theme="light"] .mobile-nav-item:hover,
[data-theme="light"] .mobile-nav-item.active {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1d4ed8 !important;
}

[data-theme="light"] .mobile-accordion-row {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
}

[data-theme="light"] .mobile-accordion-row.is-open {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}

[data-theme="light"] .mobile-accordion-link {
    color: #1e293b !important;
}

[data-theme="light"] .mobile-accordion-content {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .mobile-mega-cat-title {
    color: #1e40af !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .mobile-sub-link {
    color: #334155 !important;
}

[data-theme="light"] .mobile-sub-link:hover {
    color: #1d4ed8 !important;
    background: #eff6ff !important;
}

[data-theme="light"] .mobile-drawer-secondary {
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .mobile-drawer-secondary a {
    color: #64748b !important;
}

[data-theme="light"] .mobile-drawer-secondary a:hover {
    color: #1e293b !important;
}

[data-theme="light"] .mobile-drawer-support {
    color: #64748b !important;
}

/* 15.14 FOOTER (LIGHT MODE) */
[data-theme="light"] .wct-footer {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .footer-col h4 {
    color: #0f172a !important;
}

[data-theme="light"] .footer-col p,
[data-theme="light"] .footer-col span {
    color: #475569 !important;
}

[data-theme="light"] .footer-col a {
    color: #475569 !important;
}

[data-theme="light"] .footer-col a:hover {
    color: #2563eb !important;
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

/* 15.15 CODE CARDS macOS ONE DARK (RULE 14: STAYS DARK IN BOTH THEMES) */
.code-card,
.laravel-code-window,
pre[class*="language-"],
pre:has(> code) {
    background: #080d19 !important;
    border: 1px solid #1e293b !important;
    color: #abb2bf !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45) !important;
    overflow: hidden !important;
    margin: 1.75rem 0 !important;
}

.code-card pre,
pre[class*="language-"] {
    margin: 0 !important;
    padding: 1.25rem 1.4rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow-x: auto !important;
    font-family: var(--font-mono) !important;
    font-size: 0.92rem !important;
    line-height: 1.7 !important;
    tab-size: 4 !important;
}

.code-card pre code,
.code-card code,
pre[class*="language-"] code {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #abb2bf !important;
    font-family: var(--font-mono) !important;
    font-size: 0.92rem !important;
    line-height: 1.7 !important;
    display: block !important;
}

.code-card-header,
.code-window-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.7rem 1.2rem !important;
    background: #040711 !important;
    border-bottom: 1px solid #1e293b !important;
    color: #94a3b8 !important;
}

.code-card-left {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
}

.code-card-dots {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
}

.code-dot {
    width: 11px !important;
    height: 11px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.code-dot-red { background: #ff5f56 !important; box-shadow: 0 0 6px rgba(255, 95, 86, 0.4) !important; }
.code-dot-yellow { background: #ffbd2e !important; box-shadow: 0 0 6px rgba(255, 189, 46, 0.4) !important; }
.code-dot-green { background: #27c93f !important; box-shadow: 0 0 6px rgba(39, 201, 63, 0.4) !important; }

/* Language Badges with Distinct Signature Brand Colors */
.code-lang-badge {
    padding: 0.2rem 0.6rem !important;
    border-radius: 5px !important;
    font-family: var(--font-mono) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    line-height: 1 !important;
}

.lang-badge-php {
    background: rgba(129, 140, 248, 0.18) !important;
    color: #a5b4fc !important;
    border: 1px solid rgba(129, 140, 248, 0.45) !important;
}

.lang-badge-javascript, .lang-badge-js {
    background: rgba(245, 158, 11, 0.18) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
}

.lang-badge-xml, .lang-badge-html {
    background: rgba(249, 115, 22, 0.18) !important;
    color: #fb923c !important;
    border: 1px solid rgba(249, 115, 22, 0.45) !important;
}

.lang-badge-css, .lang-badge-scss {
    background: rgba(56, 189, 248, 0.18) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
}

.lang-badge-sql {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
}

.lang-badge-bash, .lang-badge-shell, .lang-badge-linux {
    background: rgba(34, 197, 94, 0.18) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(34, 197, 94, 0.45) !important;
}

.lang-badge-apache, .lang-badge-htaccess {
    background: rgba(244, 63, 94, 0.18) !important;
    color: #fb7185 !important;
    border: 1px solid rgba(244, 63, 94, 0.45) !important;
}

.lang-badge-nginx {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
}

.lang-badge-python {
    background: rgba(59, 130, 246, 0.18) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.45) !important;
}

.lang-badge-go {
    background: rgba(6, 182, 212, 0.18) !important;
    color: #22d3ee !important;
    border: 1px solid rgba(6, 182, 212, 0.45) !important;
}

.lang-badge-json {
    background: rgba(168, 85, 247, 0.18) !important;
    color: #c084fc !important;
    border: 1px solid rgba(168, 85, 247, 0.45) !important;
}

.lang-badge-config, .lang-badge-ini {
    background: rgba(148, 163, 184, 0.18) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(148, 163, 184, 0.45) !important;
}

.lang-badge-terminal, .lang-badge-plaintext {
    background: rgba(100, 116, 139, 0.22) !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(100, 116, 139, 0.45) !important;
}

.code-card-title {
    font-family: var(--font-body) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
}

.code-copy-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.35rem 0.85rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    color: #cbd5e1 !important;
    font-size: 0.78rem !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.code-copy-btn:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.code-copy-btn.copied {
    color: #34d399 !important;
    border-color: rgba(52, 211, 153, 0.5) !important;
    background: rgba(16, 185, 129, 0.2) !important;
}

/* Atom One Dark Syntax Token Rules (Absolute Specificity) */
.code-card code .hljs-keyword,
.code-card code .hljs-selector-tag,
.code-card code .hljs-subst,
.code-card code .hljs-section,
pre code .hljs-keyword,
pre code .hljs-selector-tag,
pre code .hljs-subst {
    color: #c678dd !important; /* One Dark Purple */
    font-weight: 700 !important;
}

.code-card code .hljs-string,
.code-card code .hljs-title.class_,
.code-card code .hljs-regexp,
.code-card code .hljs-link,
pre code .hljs-string,
pre code .hljs-regexp {
    color: #98c379 !important; /* One Dark Green */
}

.code-card code .hljs-variable,
.code-card code .hljs-template-variable,
.code-card code .hljs-name,
.code-card code .hljs-selector-id,
.code-card code .hljs-selector-class,
pre code .hljs-variable,
pre code .hljs-name {
    color: #e06c75 !important; /* One Dark Coral / Red */
}

.code-card code .hljs-tag,
pre code .hljs-tag {
    color: #5c6370 !important; /* One Dark Tag Brackets */
}

.code-card code .hljs-function,
.code-card code .hljs-title.function_,
.code-card code .hljs-title,
.code-card code .hljs-meta,
.code-card code .hljs-symbol,
.code-card code .hljs-bullet,
pre code .hljs-function,
pre code .hljs-title.function_,
pre code .hljs-meta {
    color: #61afef !important; /* One Dark Blue */
    font-weight: 600 !important;
}

.code-card code .hljs-number,
.code-card code .hljs-literal,
.code-card code .hljs-attr,
.code-card code .hljs-attribute,
pre code .hljs-number,
pre code .hljs-literal,
pre code .hljs-attr {
    color: #d19a66 !important; /* One Dark Orange */
    font-weight: 600 !important;
}

.code-card code .hljs-comment,
.code-card code .hljs-quote,
.code-card code .hljs-deletion,
pre code .hljs-comment,
pre code .hljs-quote {
    color: #7f848e !important; /* One Dark Muted Gray */
    font-style: italic !important;
}

.code-card code .hljs-built_in,
.code-card code .hljs-type,
.code-card code .hljs-class,
pre code .hljs-built_in,
pre code .hljs-type {
    color: #e5c07b !important; /* One Dark Yellow/Gold */
}

.code-card code .hljs-operator,
pre code .hljs-operator {
    color: #56b6c2 !important; /* One Dark Cyan */
}

.code-card code .hljs-params,
pre code .hljs-params {
    color: #abb2bf !important; /* One Dark Light Slate */
}

/* 15.16 SLEEK LARAVEL LUXURY ARCHIVE SEARCH BAR */
.archive-search-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    padding: 0.35rem 0.5rem 0.35rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.archive-search-form:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .archive-search-form {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .archive-search-form:focus-within {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15), 0 4px 16px rgba(37, 99, 235, 0.08) !important;
}

[data-theme="light"] .archive-search-form svg {
    color: #64748b !important;
}

[data-theme="light"] .archive-search-form:focus-within svg {
    color: #2563eb !important;
}

[data-theme="light"] .archive-search-form input,
[data-theme="light"] .archive-search-input {
    color: #0f172a !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

[data-theme="light"] .archive-search-form input:focus,
[data-theme="light"] .archive-search-input:focus {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

[data-theme="light"] .archive-search-form input::placeholder,
[data-theme="light"] .archive-search-input::placeholder {
    color: #94a3b8 !important;
}

/* ==========================================================================
   15.17 FLOATING QUICK ACTIONS & BACK TO TOP BUTTON
   ========================================================================== */
.floating-quick-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    pointer-events: auto;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, opacity 0.25s ease, background 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.float-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.float-btn:active {
    transform: translateY(0) scale(0.96);
}

.float-btn-zalo {
    background: #0068ff;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.82rem;
    box-shadow: 0 4px 18px rgba(0, 104, 255, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.float-btn-phone {
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.float-btn-top {
    background: #0f172a;
    border: 1.5px solid rgba(59, 130, 246, 0.45) !important;
    color: #38bdf8 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.85);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.float-btn-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.float-btn-top:hover {
    background: #2563eb !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.55);
}

[data-theme="light"] .float-btn-top {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #2563eb !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .float-btn-top:hover {
    background: #2563eb !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35) !important;
}

@media (max-width: 768px) {
    .floating-quick-actions {
        right: 1.25rem;
        bottom: 1.25rem;
        gap: 0.6rem;
    }
    .float-btn {
        width: 44px;
        height: 44px;
    }
}

/* ==========================================================================
   15.18 MASTER PRICING CARD BUTTONS (ZERO BLIND TEXT & BULLETPROOF CONTRAST)
   ========================================================================== */
.pricing-card.popular .btn-bubble,
.pricing-card.featured .btn-bubble,
.pricing-card .btn-bubble.btn-bubble-primary,
.pricing-card .btn-bubble-primary,
[data-theme="light"] .pricing-card.popular .btn-bubble,
[data-theme="light"] .pricing-card.featured .btn-bubble,
[data-theme="light"] .pricing-card .btn-bubble.btn-bubble-primary,
[data-theme="light"] .pricing-card .btn-bubble-primary,
[data-theme="dark"] .pricing-card.popular .btn-bubble,
[data-theme="dark"] .pricing-card.featured .btn-bubble,
[data-theme="dark"] .pricing-card .btn-bubble.btn-bubble-primary,
[data-theme="dark"] .pricing-card .btn-bubble-primary {
    background: #2563eb !important;
    background-color: #2563eb !important;
    border: 1.5px solid #1d4ed8 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}

.pricing-card.popular .btn-bubble *,
.pricing-card.featured .btn-bubble *,
.pricing-card .btn-bubble.btn-bubble-primary *,
.pricing-card .btn-bubble-primary *,
[data-theme="light"] .pricing-card.popular .btn-bubble *,
[data-theme="light"] .pricing-card.featured .btn-bubble *,
[data-theme="light"] .pricing-card .btn-bubble.btn-bubble-primary *,
[data-theme="light"] .pricing-card .btn-bubble-primary *,
[data-theme="dark"] .pricing-card.popular .btn-bubble *,
[data-theme="dark"] .pricing-card.featured .btn-bubble *,
[data-theme="dark"] .pricing-card .btn-bubble.btn-bubble-primary *,
[data-theme="dark"] .pricing-card .btn-bubble-primary * {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.pricing-card.popular .btn-bubble:hover,
.pricing-card.featured .btn-bubble:hover,
.pricing-card .btn-bubble.btn-bubble-primary:hover,
.pricing-card .btn-bubble-primary:hover,
[data-theme="light"] .pricing-card.popular .btn-bubble:hover,
[data-theme="light"] .pricing-card.featured .btn-bubble:hover,
[data-theme="light"] .pricing-card .btn-bubble.btn-bubble-primary:hover,
[data-theme="light"] .pricing-card .btn-bubble-primary:hover {
    background: #1d4ed8 !important;
    background-color: #1d4ed8 !important;
    border-color: #1e40af !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5) !important;
}

/* Non-popular pricing card button (Standard) */
[data-theme="light"] .pricing-card:not(.popular):not(.featured) .btn-bubble:not(.btn-bubble-primary) {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .pricing-card:not(.popular):not(.featured) .btn-bubble:not(.btn-bubble-primary) * {
    color: #0f172a !important;
}

[data-theme="light"] .pricing-card:not(.popular):not(.featured) .btn-bubble:not(.btn-bubble-primary):hover {
    background: #eff6ff !important;
    background-color: #eff6ff !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
}

[data-theme="light"] .pricing-card:not(.popular):not(.featured) .btn-bubble:not(.btn-bubble-primary):hover * {
    color: #2563eb !important;
}





/* Restored content: scoped additions preserve the current light/dark theme. */
.footer-grid.footer-grid-with-payment { grid-template-columns: minmax(0,1.3fr) repeat(2,minmax(0,1fr)) minmax(0,1.15fr); gap: 2rem; }
.footer-grid-with-payment a[href^="mailto:"] { overflow-wrap: anywhere; }
.restored-hosting-comparison { margin: 3rem 0; padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.restored-hosting-comparison h2 { margin-bottom: 1.5rem; font-size: 1.5rem; color: var(--text-main); }
.restored-comparison-scroll { overflow-x: auto; }
.restored-comparison-scroll:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.restored-hosting-comparison table { width: 100%; min-width: 900px; border-collapse: collapse; text-align: left; font-size: .88rem; }
.restored-hosting-comparison th, .restored-hosting-comparison td { padding: 1rem .8rem; border-bottom: 1px solid var(--border-subtle); color: var(--text-main); vertical-align: top; }
.restored-hosting-comparison thead th { background: var(--bg-surface); }
.restored-hosting-comparison tbody td { color: var(--text-muted); }
.restored-hosting-comparison + .hosting-note { margin-top: 0; }
@media (max-width: 1100px) { .footer-grid.footer-grid-with-payment { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .footer-grid.footer-grid-with-payment { grid-template-columns: minmax(0,1fr); } .restored-hosting-comparison { padding: 1rem; } }

#payment .bank-detail-label { color: var(--text-muted); }
#payment .bank-detail-val { color: var(--text-main) !important; }

/* ==========================================================================
   Nội dung bài kế thừa từ WordPress (tiêu đề mục, thẻ liên hệ, ghi chú giá, bảng gọn)
   Dùng biến theme sáng/tối sẵn có. HTML được dựng trong App\Support\Cms::autopLegacy().
   ========================================================================== */
.article-content p.legacy-heading {
    margin: 2rem 0 .6rem;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}
.article-content p.legacy-heading strong, .article-content p.legacy-heading b { font-weight: inherit; }
.article-content .post-price-note { margin: .5rem 0 1rem; color: var(--text-subtle); font-size: .9rem; line-height: 1.7; }
.article-content .post-contact-card {
    max-width: 560px;
    margin: 2.25rem auto 1.5rem;
    padding: 1.4rem 1.6rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    text-align: center;
}
.article-content .post-contact-card p { margin: 0 0 .4rem; text-align: center; line-height: 1.7; }
.article-content .post-contact-card p:last-child { margin-bottom: 0; }
.article-content .post-contact-card p:first-child { margin-bottom: .7rem; color: var(--primary-light); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-content .post-contact-card p:first-child * { color: inherit; font-size: inherit; text-decoration: none; }
.article-content .post-contact-card a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Ô bảng giá: đoạn <p> bên trong không cộng thêm khoảng cách nên hàng không còn cao bất thường */
.article-content td p, .article-content th p { margin: 0; }
.article-content table:not(.crayon-table) th, .article-content table:not(.crayon-table) td { padding: .6rem 1rem; vertical-align: middle; }

/* Thẻ <code></code> rỗng từ dữ liệu bài cũ: không hiện viên thuốc thừa */
.article-content code:empty { display: none !important; }

/* ==========================================================================
   Footer gọn, sang: 4 cột phẳng + điểm nhấn gradient (đồng bộ với bản WordPress).
   Dùng biến theme sáng/tối; nội dung lấy từ Settings (xem partials/footer.blade.php).
   ========================================================================== */
.wct-footer { position: relative; padding: 3.75rem 0 1.75rem; }
.wct-footer::before {
    content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent 0, var(--primary) 22%, var(--accent-cyan) 50%, var(--primary) 78%, transparent 100%);
    opacity: .85;
}
.wct-footer .footer-grid.footer-grid-with-payment { grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, .85fr) minmax(0, .9fr); gap: 3rem; margin-bottom: 2.5rem; align-items: start; }
.wct-footer .footer-col h4 {
    position: relative; margin: 0 0 1.5rem; padding-bottom: .7rem;
    font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-main);
}
.wct-footer .footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--accent-cyan)); }
.wct-footer .footer-brand-logo { display: inline-block; margin-bottom: 1.1rem; }
.wct-footer .brand-logo-img { display: block; height: 44px; width: auto; object-fit: contain; }
.wct-footer .footer-about { max-width: 330px; margin: 0 0 1.3rem; color: var(--text-muted); font-size: .9rem; line-height: 1.75; }
.wct-footer .footer-contact, .wct-footer .footer-links { margin: 0; padding: 0; list-style: none; }
.wct-footer .footer-contact li { margin: 0 0 .6rem; }
html .wct-footer .footer-col .footer-contact a { display: inline-flex; align-items: center; gap: .65rem; font-size: .9rem !important; font-weight: 600 !important; text-decoration: none; overflow-wrap: anywhere; }
.wct-footer .footer-contact .fc-icon { display: inline-grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: rgba(37, 99, 235, .12); color: var(--primary-light); transition: background-color .18s, color .18s; }
html .wct-footer .footer-col .footer-contact li.is-phone a { font-size: 1.08rem !important; font-weight: 800 !important; color: var(--primary-light) !important; letter-spacing: .01em; }
html[data-theme="light"] .wct-footer .footer-col .footer-contact li.is-phone a { color: #1d4ed8 !important; }
html .wct-footer .footer-col .footer-contact a:hover .fc-icon { background: var(--primary); color: #fff; }
.wct-footer .footer-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
html .wct-footer .footer-col .footer-social a { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .9rem; border: 1px solid var(--border-subtle); border-radius: 999px; background: var(--bg-card); font-size: .82rem; font-weight: 600; text-decoration: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
html .wct-footer .footer-col .footer-social a:hover { border-color: var(--border-active); box-shadow: 0 6px 14px -8px rgba(37, 99, 235, .55); transform: translateY(-1px); }
.wct-footer .footer-social svg { color: #1877f2; }
.wct-footer .footer-social-zalo { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: #0068ff; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; }
.wct-footer .footer-links { display: block; }
.wct-footer .footer-links li { margin: 0 0 .7rem; }
.wct-footer .footer-links li:last-child { margin-bottom: 0; }
html .wct-footer .footer-col .footer-link { position: relative; display: inline-block; padding-left: 0; font-size: .92rem; text-decoration: none; transition: color .18s, padding-left .2s ease; }
.wct-footer .footer-link::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; border-radius: 2px; background: var(--primary); transform: translateY(-50%); transition: width .2s ease; }
html .wct-footer .footer-col .footer-link:hover { padding-left: 16px; }
.wct-footer .footer-link:hover::before { width: 10px; }
.wct-footer .footer-qr { display: block; width: 100%; max-width: 172px; padding: 3px; border-radius: 18px; background: linear-gradient(135deg, var(--primary), var(--accent-cyan) 55%, var(--primary-light)); box-shadow: 0 14px 30px -16px rgba(37, 99, 235, .7); transition: transform .25s ease, box-shadow .25s ease; }
.wct-footer .footer-qr:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -16px rgba(37, 99, 235, .8); }
.wct-footer .footer-qr img { display: block; width: 100%; height: auto; padding: 8px; border-radius: 15px; background: #fff; }
.wct-footer .footer-pay-info { display: flex; flex-direction: column; gap: .1rem; margin: .9rem 0 0; color: var(--text-muted); font-size: .84rem; line-height: 1.55; }
.wct-footer .footer-pay-info strong { color: var(--text-main); font-size: .9rem; }
.wct-footer .footer-pay-info .footer-pay-account { color: var(--primary-light); font-family: var(--font-mono), monospace; font-size: .95rem; font-weight: 800; letter-spacing: .06em; }
html[data-theme="light"] .wct-footer .footer-pay-info .footer-pay-account { color: #1d4ed8; }
.wct-footer .footer-bottom { flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 1.4rem; font-size: .82rem; }
.wct-footer .footer-bottom p { margin: 0; }
@media (max-width: 1100px) { .wct-footer .footer-grid.footer-grid-with-payment { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; } }
@media (max-width: 640px) {
    .wct-footer { padding-top: 2.75rem; }
    .wct-footer .footer-grid.footer-grid-with-payment { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
    .wct-footer .footer-qr { max-width: 180px; }
}
/* Luật màu chung của theme (.footer-col span) ghi đè lên thẻ span nội bộ: cho kế thừa / đặt lại đúng màu */
html .wct-footer .footer-col .footer-contact a > span:not(.fc-icon) { color: inherit !important; }
html .wct-footer .footer-col .footer-contact .fc-icon { color: var(--primary-light) !important; }
html[data-theme="light"] .wct-footer .footer-col .footer-contact .fc-icon { color: #1d4ed8 !important; }
html .wct-footer .footer-col .footer-contact a:hover .fc-icon { color: #fff !important; }
html .wct-footer .footer-col .footer-social a > span:not(.footer-social-zalo) { color: inherit !important; }
html .wct-footer .footer-col .footer-social-zalo { color: #fff !important; }
html .wct-footer .footer-col .footer-pay-info .footer-pay-account { color: var(--primary-light) !important; }
html[data-theme="light"] .wct-footer .footer-col .footer-pay-info .footer-pay-account { color: #1d4ed8 !important; }
html .wct-footer .footer-col .footer-pay-info strong { color: var(--text-main) !important; }
/* Chế độ tối: màu tường minh cho các thành phần mới của footer (tránh bị luật theme sáng/tối ghi đè) */
html:not([data-theme="light"]) .wct-footer .footer-col h4 { color: #f8fafc !important; }
html:not([data-theme="light"]) .wct-footer .footer-col .footer-social a { background: rgba(255, 255, 255, .06) !important; color: #e2e8f0 !important; border-color: rgba(255, 255, 255, .12) !important; }
html:not([data-theme="light"]) .wct-footer .footer-col .footer-pay-info,
html:not([data-theme="light"]) .wct-footer .footer-col .footer-pay-info span:not(.footer-pay-account) { color: #94a3b8 !important; }
html:not([data-theme="light"]) .wct-footer .footer-col .footer-pay-info strong { color: #f8fafc !important; }
html:not([data-theme="light"]) .wct-footer .footer-col .footer-about { color: #94a3b8 !important; }
html:not([data-theme="light"]) .wct-footer .footer-bottom { border-top-color: rgba(255, 255, 255, .1) !important; }
.wct-footer .footer-bottom p { text-align: left; }

/* Cột Văn phòng (5 cột): danh sách địa chỉ có chấm nhấn và đường ngăn mảnh, đồng bộ bản WordPress */
.wct-footer .footer-grid.footer-grid-with-payment { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.15fr) minmax(0, .85fr); gap: 2.5rem; }
.wct-footer .footer-grid.footer-grid-with-payment:not(:has(.footer-col-offices)) { grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, .85fr) minmax(0, .9fr); }
.wct-footer .footer-offices { margin: 0; padding: 0; list-style: none; }
.wct-footer .footer-offices li { position: relative; margin: 0 0 1rem; padding: 0 0 1rem 1.15rem; border-bottom: 1px solid var(--border-subtle); }
.wct-footer .footer-offices li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.wct-footer .footer-offices li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.wct-footer .footer-offices strong { display: block; margin-bottom: .2rem; font-size: .9rem; font-weight: 700; }
html .wct-footer .footer-col .footer-offices strong { color: var(--text-main) !important; }
html .wct-footer .footer-col .footer-offices span { display: block; font-size: .86rem; line-height: 1.65; color: var(--text-muted) !important; }
html[data-theme="light"] .wct-footer .footer-col .footer-offices span { color: #64748b !important; }
@media (max-width: 1200px) { .wct-footer .footer-grid.footer-grid-with-payment { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; } }
@media (max-width: 860px) { .wct-footer .footer-grid.footer-grid-with-payment { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .wct-footer .footer-grid.footer-grid-with-payment { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1201px) {
    .wct-footer .footer-grid.footer-grid-with-payment { grid-template-columns: minmax(0, 1.15fr) minmax(0, .75fr) minmax(0, .75fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.25rem; }
    .wct-footer .footer-col h4 { letter-spacing: .11em; white-space: nowrap; }
}

/* Kiểm định mobile: vùng bấm tối thiểu ~32px cho link "Đọc tiếp", "Xem tất cả" và nút sao chép code */
@media (max-width: 900px) {
    .post-footer a { display: inline-flex; align-items: center; min-height: 32px; }
    .code-copy-btn, .copy-the-code-button { min-height: 34px; padding-top: 6px; padding-bottom: 6px; }
    #danh-sach-bai-viet ~ * a[href*="#danh-sach-bai-viet"], a[href$="#danh-sach-bai-viet"] { display: inline-flex; align-items: center; min-height: 32px; }
}
.hierarchy-name { font-size: max(11.5px, 1em); }
@media (max-width: 900px) {
    main a[style*="display: inline-flex"], main a[style*="font-size: 1.15rem"] { min-height: 32px; display: inline-flex; align-items: center; }
    .archive-search-form a[style*="padding: 0 0.5rem"] { min-width: 36px; justify-content: center; display: inline-flex; align-items: center; }
}

/* Thanh liên hệ cuối bài dịch vụ: nằm ngang, số điện thoại là nút gọi (thay cho hộp nhỏ có vạch trái) */
.article-content .post-contact-card.is-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; max-width: none; margin: 2rem 0 .5rem; padding: 1rem 1.25rem; text-align: left; box-shadow: none; }
.article-content .post-contact-who { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.article-content .post-contact-label { color: var(--text-subtle); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-content .post-contact-who strong { color: var(--text-main); font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.article-content .post-contact-card a.post-contact-tel { display: inline-flex; align-items: center; min-height: 40px; padding: .6rem 1.15rem; border-radius: 999px; background: var(--primary); color: #fff !important; font-size: .95rem; font-weight: 700; text-decoration: none; box-shadow: 0 8px 18px -10px rgba(37, 99, 235, .7); transition: background-color .18s ease, transform .18s ease; }
.article-content .post-contact-card a.post-contact-tel:hover { background: var(--primary-deep); transform: translateY(-1px); }
@media (max-width: 549px) { .article-content .post-contact-card.is-row { flex-direction: column; align-items: stretch; } .article-content .post-contact-card a.post-contact-tel { justify-content: center; } }
html body .article-content .post-contact-card a.post-contact-tel,
html body .article-content .post-contact-card a.post-contact-tel:visited { color: #fff !important; text-decoration: none !important; font-weight: 700 !important; }

/* ==========================================================================
   Cổng hỗ trợ có phí (cửa sổ quét QR). Dùng biến theme sáng/tối; chỉ in ra khi bật trong Admin › Cài đặt.
   ========================================================================== */
body.wct-sg-open { overflow: hidden; }
.wct-sg[hidden] { display: none; }
.wct-sg { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 16px; }
.wct-sg-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .6); backdrop-filter: blur(4px); animation: wctSgFade .2s ease; }
.wct-sg-panel {
    position: relative; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 32px 36px 28px;
    border: 1px solid var(--border-subtle); border-radius: 22px; background: var(--bg-surface); color: var(--text-main);
    box-shadow: 0 40px 80px -30px rgba(2, 6, 23, .6); animation: wctSgRise .28s cubic-bezier(.16, 1, .3, 1); outline: 0;
}
.wct-sg-panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 22px 22px 0 0; background: linear-gradient(90deg, var(--primary), var(--accent-cyan)); }
.wct-sg-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--bg-card); color: var(--text-muted); font-size: 26px; line-height: 1; cursor: pointer; transition: background-color .18s; }
.wct-sg-close:hover { background: var(--bg-card-hover); }
.wct-sg-eyebrow { margin: 0 0 6px; color: var(--primary-light); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.wct-sg-title { margin: 0 0 8px; color: var(--text-main); font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.wct-sg-intro { margin: 0 0 22px; max-width: 680px; color: var(--text-muted); font-size: 14.5px; line-height: 1.75; }
.wct-sg-steps { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; }
.wct-sg-step { min-width: 0; padding: 20px; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--bg-card); }
.wct-sg-step h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--text-main); font-size: 15px; font-weight: 700; line-height: 1.4; }
.wct-sg-step h3 strong { color: var(--primary-light); }
.wct-sg-num { display: inline-grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; }
.wct-sg-pay { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: start; }
.wct-sg-qr { display: grid; place-items: center; min-height: 170px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(148, 163, 184, .35) inset; }
.wct-sg-qr img { display: block; width: 100%; height: auto; border-radius: 8px; }
.wct-sg-loading { color: #64748b; font-size: 13px; }
.wct-sg-bank { margin: 0; font-size: 13.5px; line-height: 1.5; }
.wct-sg-bank dt { display: block; margin: 0 0 1px; color: var(--text-subtle); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wct-sg-bank dd { display: block; margin: 0 0 10px; color: var(--text-main); font-weight: 600; overflow-wrap: anywhere; }
.wct-sg-bank dd strong { color: var(--primary-light); font-family: var(--font-mono), monospace; letter-spacing: .06em; }
.wct-sg-copy { min-height: 26px; margin-left: 6px; padding: 3px 9px; border: 1px solid var(--border-subtle); border-radius: 999px; background: var(--bg-surface); color: var(--text-muted); font-size: 11.5px; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; }
.wct-sg-copy:hover { border-color: var(--border-active); color: var(--primary-light); }
.wct-sg-hint { margin: 12px 0 0; color: var(--text-subtle); font-size: 12.5px; line-height: 1.6; }
.wct-sg-form label { display: block; margin: 0 0 12px; color: var(--text-muted); font-size: 12.5px; font-weight: 600; }
.wct-sg-form input[type="text"], .wct-sg-form textarea { display: block; width: 100%; margin: 5px 0 0; padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: 10px; background: var(--bg-surface); color: var(--text-main); font: inherit; font-size: 15px; box-sizing: border-box; }
.wct-sg-form textarea { resize: vertical; min-height: 96px; }
.wct-sg-form input[type="text"]:focus, .wct-sg-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .2); outline: 0; }
.wct-sg-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wct-sg-form .wct-sg-check { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; line-height: 1.5; }
.wct-sg-check input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); }
.wct-sg-msg { margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; background: rgba(239, 68, 68, .12); color: #f87171; font-size: 13px; line-height: 1.5; }
html[data-theme="light"] .wct-sg-msg { color: #b91c1c; background: #fef2f2; }
.wct-sg-submit { width: 100%; min-height: 46px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .7); transition: transform .18s ease; }
.wct-sg-submit:hover { transform: translateY(-1px); }
.wct-sg-submit[disabled] { opacity: .6; cursor: wait; transform: none; }
.wct-sg-done { padding: 18px; border-radius: 12px; background: rgba(16, 185, 129, .12); color: #34d399; font-size: 14px; line-height: 1.7; }
html[data-theme="light"] .wct-sg-done { background: #ecfdf5; color: #065f46; }
.wct-sg-done-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.wct-sg-free { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--border-subtle); color: var(--text-subtle); font-size: 13px; line-height: 1.6; }
.wct-sg-free a { color: var(--primary-light); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@keyframes wctSgFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wctSgRise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.wct-sg-panel.wct-sg-single-panel { width: min(560px, 100%); text-align: center; }
.wct-sg-single-panel .wct-sg-intro { margin-left: auto; margin-right: auto; }
.wct-sg-single-card {
    padding: 24px; border: 1px solid var(--border-subtle); border-radius: 20px;
    background: var(--bg-card); box-shadow: 0 10px 30px -10px rgba(0,0,0,.15);
}
.wct-sg-pay-center {
    display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 22px;
}
.wct-sg-single-card .wct-sg-qr {
    width: 200px; height: 200px; padding: 8px; border-radius: 16px; background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.wct-sg-single-card .wct-sg-bank {
    text-align: left; width: 100%; max-width: 360px; margin: 0 auto;
    background: var(--bg-surface); padding: 14px 18px; border-radius: 14px;
    border: 1px solid var(--border-subtle);
}
.wct-sg-action-zone { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.wct-sg-btn-zalo {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; min-height: 52px; padding: 12px 20px; border-radius: 14px;
    background: linear-gradient(135deg, #0068FF, #0052cc); color: #fff !important;
    font-size: 15px; font-weight: 800; text-decoration: none !important;
    box-shadow: 0 12px 28px -8px rgba(0, 104, 255, .55);
    transition: transform .18s ease, box-shadow .18s ease;
}
.wct-sg-btn-zalo:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(0, 104, 255, .7); }
.wct-sg-btn-zalo .zalo-icon-badge {
    display: inline-grid; place-items: center; padding: 2px 8px; border-radius: 8px;
    background: #fff; color: #0068FF; font-weight: 900; font-size: 13px; letter-spacing: -0.5px;
}
.wct-sg-hint-text { margin: 0; color: var(--text-subtle); font-size: 12px; line-height: 1.5; }
@media (max-width: 760px) {
    .wct-sg { padding: 0; align-items: end; }
    .wct-sg-panel { width: 100%; max-height: 94vh; padding: 26px 18px 22px; border-radius: 22px 22px 0 0; }
    .wct-sg-steps { grid-template-columns: 1fr; gap: 16px; }
    .wct-sg-pay { grid-template-columns: 1fr; justify-items: center; }
    .wct-sg-qr { width: 190px; }
    .wct-sg-bank { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .wct-sg-backdrop, .wct-sg-panel { animation: none; } }
.wct-footer .footer-pay-info .footer-pay-hint { margin-top: .35rem; color: var(--text-subtle); font-size: .8rem; line-height: 1.5; }

/* ---- Sửa hình dạng và bố cục (kiểm bằng đo hình học): nút tròn đúng, cột trái không trống ---- */
.wct-sg .wct-sg-close { box-sizing: border-box; width: 40px !important; height: 40px !important; min-width: 40px !important; min-height: 40px !important; max-height: 40px !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; border-radius: 50% !important; display: grid !important; place-items: center; }
.wct-sg .wct-sg-close svg { display: block; width: 16px; height: 16px; }
.wct-sg .wct-sg-copy { box-sizing: border-box; height: 28px !important; min-height: 28px !important; margin: 0 0 0 8px !important; padding: 0 12px !important; line-height: 26px !important; display: inline-flex; align-items: center; vertical-align: middle; }
.wct-sg .wct-sg-submit { margin: 0 !important; }
.wct-sg .wct-sg-pay { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
.wct-sg .wct-sg-qr { width: 210px; min-height: 210px; }
.wct-sg .wct-sg-bank { width: 100%; display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; align-items: center; }
.wct-sg .wct-sg-bank dt { grid-column: auto; }
.wct-sg .wct-sg-bank > dt, .wct-sg .wct-sg-bank > dd { margin: 0; }
.wct-sg .wct-sg-hint { text-align: center; }
@media (max-width: 760px) { .wct-sg .wct-sg-bank { grid-template-columns: max-content 1fr; } }

/* ---- Trạng thái lỗi của khung QR: ảnh bị ẩn thật sự, thông báo gọn có nút "Thử lại" ---- */
.wct-sg .wct-sg-qr img[hidden] { display: none !important; }
.wct-sg .wct-sg-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 150px; padding: 12px; text-align: center; color: #475569; font-size: 13px; line-height: 1.5; }
.wct-sg .wct-sg-loading[hidden] { display: none !important; }
.wct-sg .wct-sg-retry { min-height: 34px !important; height: 34px !important; margin: 0 !important; padding: 0 16px !important; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #1d4ed8; font-size: 12.5px; font-weight: 700; line-height: 32px !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; }
.wct-sg .wct-sg-retry:hover { border-color: #93c5fd; }

/* Kiểm định hình học: avatar tròn không bị flex bóp thành oval trên mobile */
.testimonial-avatar, [class*="avatar"]:not(img):not(.wct-card-avatar) { flex-shrink: 0; aspect-ratio: 1 / 1; }
.testimonial-avatar { min-width: 40px; }
/* Ô tròn khai báo bằng style nội tuyến (icon thẻ thanh toán...) không bị flex bóp thành oval */
div[style*="border-radius: 50%"][style*="width:"] { flex-shrink: 0; }
.archive-search-form { align-items: center; }
.archive-search-form a[title="Xóa tìm kiếm"] { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0 !important; border-radius: 50%; flex-shrink: 0; }
.archive-search-form a[title="Xóa tìm kiếm"]:hover { background: var(--bg-card-hover); color: var(--text-main) !important; }

/* Tương phản: số bài trong chip danh mục không làm mờ bằng opacity (2.97:1 -> đạt AA) */
.archive-cat-wrap strong[style*="opacity"], span > strong[style*="opacity: 0.75"] { opacity: 1 !important; color: inherit; font-weight: 600; }

/* ---- MODAL-01: nút đóng luôn nhìn thấy khi cuộn ----
   Khung .wct-sg-panel không cuộn; chỉ .wct-sg-scroll cuộn. Nút đóng nằm ngoài vùng cuộn, ghim góc phải trên. */
.wct-sg .wct-sg-panel { display: flex; flex-direction: column; padding: 0 !important; overflow: hidden !important; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
.wct-sg .wct-sg-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 32px 36px 28px; }
.wct-sg .wct-sg-close { position: absolute; top: 14px; right: 14px; z-index: 5; box-shadow: 0 2px 10px rgba(15, 23, 42, .22); }
.wct-sg .wct-sg-title { padding-right: 48px; }
@media (max-width: 760px) {
    .wct-sg .wct-sg-panel { max-height: 94vh; max-height: 94dvh; }
    .wct-sg .wct-sg-scroll { padding: 26px 18px calc(22px + env(safe-area-inset-bottom, 0px)); }
}

/* ---- MODAL-01: menu di động — thanh tiêu đề (logo + nút đóng) ghim đầu ngăn kéo khi cuộn ---- */
.mobile-drawer-content { padding-top: 0; }
.mobile-drawer-header { position: sticky; top: 0; z-index: 5; padding-top: 1.25rem; background: #080d19; }
[data-theme="light"] .mobile-drawer-header { background: #ffffff; }
