@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #0B0F19;
    --bg-card: #151B2C;
    --bg-input: #1F293D;
    --primary: #6366F1;
    --primary-glow: rgba(99, 102, 241, 0.15);
    --secondary: #06B6D4;
    --accent: #F43F5E;
    --success: #10B981;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #06B6D4 100%);
    --gradient-dark: linear-gradient(180deg, #151B2C 0%, #0B0F19 100%);
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar,
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    outline: none;
    transition: var(--transition);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

/* Typography */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 3.25rem;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.hero-title > span:last-child {
    font-size: 2.2rem;
    color: var(--text-main);
}

.sales-proof-section { padding: 18px 0 32px; }
.sales-proof-heading { text-align: center; margin-bottom: 24px; }
.sales-proof-heading .eyebrow { color: #67E8F9; font-size: .78rem; font-weight: 800; letter-spacing: 1.5px; }
.sales-proof-heading h2 { font-size: 1.65rem; margin-top: 5px; }
.sales-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sales-proof-card {
    display: flex; gap: 13px; padding: 20px; min-height: 148px;
    background: linear-gradient(145deg, rgba(21,27,44,.96), rgba(17,23,38,.88));
    border: 1px solid var(--border); border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.sales-proof-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.45); }
.sales-proof-icon {
    display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 12px;
    color: #fff; background: var(--gradient-primary); box-shadow: 0 8px 20px rgba(99,102,241,.25);
}
.sales-proof-card h3 { font-size: .96rem; margin-bottom: 6px; }
.sales-proof-card p { color: var(--text-muted); font-size: .84rem; line-height: 1.55; }
.sales-process-card {
    margin-top: 16px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto;
    gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--radius-md);
    border: 1px solid rgba(16,185,129,.22); background: rgba(16,185,129,.055);
}
.sales-process-card > div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.sales-process-card > div span { grid-row: 1 / 3; font-weight: 800; color: #6EE7B7; font-size: 1.2rem; }
.sales-process-card > div strong { font-size: .9rem; }
.sales-process-card > div small { color: var(--text-muted); }
.sales-process-card > i { color: var(--text-muted); font-size: .75rem; }

.channel-sales-section { padding: 56px 0 72px; background: radial-gradient(circle at 50% 0, rgba(99,102,241,.11), transparent 55%); }
.channel-sales-heading { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.channel-sales-heading .eyebrow { color: #A5B4FC; font-size: .78rem; font-weight: 800; letter-spacing: 1.4px; }
.channel-sales-heading h2 { font-size: 2rem; margin: 6px 0 8px; }
.channel-sales-heading p { color: var(--text-muted); }
.channel-sales-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.channel-sale-card { --channel-color: #6366F1; position: relative; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(160deg, rgba(25,32,51,.98), rgba(14,19,32,.98)); overflow: hidden; transition: var(--transition); }
.channel-sale-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--channel-color); }
.channel-sale-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--channel-color) 55%, transparent); box-shadow: 0 18px 38px rgba(0,0,0,.28); }
.channel-google { --channel-color: #4285F4; }.channel-facebook { --channel-color: #1877F2; }.channel-tiktok { --channel-color: #FE2C55; }.channel-ai { --channel-color: #8B5CF6; }
.channel-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.channel-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #fff; font-size: 1.25rem; background: color-mix(in srgb, var(--channel-color) 24%, transparent); border: 1px solid color-mix(in srgb, var(--channel-color) 45%, transparent); }
.channel-pill { font-size: .7rem; font-weight: 800; letter-spacing: .8px; color: var(--channel-color); }
.channel-sale-card h3 { min-height: 54px; font-size: 1.05rem; line-height: 1.45; margin-bottom: 8px; }
.channel-sale-card > p { color: var(--text-muted); font-size: .84rem; min-height: 64px; }
.channel-sale-card ul { list-style: none; margin: 16px 0 20px; display: grid; gap: 8px; }
.channel-sale-card li { color: #D1D5DB; font-size: .8rem; }
.channel-sale-card li::before { content: "✓"; color: var(--channel-color); font-weight: 800; margin-right: 7px; }
.channel-cta { margin-top: auto; width: 100%; color: #fff; background: color-mix(in srgb, var(--channel-color) 82%, #111827); }
.channel-cta:hover { transform: translateY(-2px); filter: brightness(1.12); }
.sale-intent-banner { width: fit-content; margin: 0 auto 14px; padding: 7px 13px; border-radius: 99px; font-size: .78rem; font-weight: 700; color: #C4B5FD; background: rgba(139,92,246,.11); border: 1px solid rgba(139,92,246,.25); }
.storefront-products { padding-top: 64px; background: linear-gradient(180deg, rgba(99,102,241,.055), transparent 35%); }
.product-section-kicker { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 16px; color: #A7F3D0; font-size: .78rem; font-weight: 700; }
.product-section-kicker span { display: inline-flex; align-items: center; gap: 6px; }
.products-view-all { text-align: center; margin-top: 30px; }
.products-view-all .btn { min-height: 48px; padding-inline: 28px; }
.faq-sales-section { padding: 64px 0; }
.faq-sales-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 980px; margin: 0 auto; }
.faq-sales-grid details { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 17px 18px; }
.faq-sales-grid summary { cursor: pointer; font-weight: 700; font-size: .92rem; }
.faq-sales-grid p { color: var(--text-muted); font-size: .84rem; margin-top: 10px; }
.policy-page { max-width: 900px; margin: 0 auto; }
.policy-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; margin-bottom: 14px; }
.policy-card h2 { font-size: 1.2rem; margin-bottom: 10px; }.policy-card p,.policy-card li { color: var(--text-muted); }.policy-card ul { padding-left: 20px; }

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px auto;
    font-size: 1.05rem;
}



/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-main);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-zalo {
    background: #0068FF;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 104, 255, 0.3);
}
.btn-zalo:hover {
    background: #0056D2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.45);
}

.btn-telegram {
    background: #229ED9;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(34, 158, 217, 0.3);
}
.btn-telegram:hover {
    background: #1C82B2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 158, 217, 0.45);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}
.badge-hot { background-color: var(--accent); color: white; }
.badge-sale { background-color: #F59E0B; color: white; }
.badge-new { background-color: var(--primary); color: white; }
.badge-best { background-color: var(--success); color: white; }

/* 2. HEADER */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: var(--transition);
    justify-self: start;
}
.logo:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}
.logo i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-self: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-cta-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    border-radius: 30px;
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    font-weight: 700;
    transition: var(--transition);
}
.header-cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

/* Hamburger Menu Button */
.hamburger-btn {
    display: none;
    font-size: 1.4rem;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

/* Mobile Sidebar Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-card);
    z-index: 150;
    padding: 32px 24px;
    box-shadow: var(--shadow-md);
    border-left: 1px solid var(--border);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-nav-drawer.open {
    transform: translateX(-100%);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.mobile-drawer-close {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: auto;
}

.mobile-menu-link {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 8px 0;
}

.mobile-drawer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 140;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.mobile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* 3. HERO SECTION */
.hero-section {
    position: relative;
    padding: 100px 0 80px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-contacts-small {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.hero-contacts-small span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-visual-card {
    background: var(--gradient-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.hero-visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.visual-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: var(--transition);
}
.visual-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
    transform: translateX(4px);
}
.visual-item:last-child {
    margin-bottom: 0;
}

.visual-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.visual-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}
.visual-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 4. COMMUNITY SECTION */
.community-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.community-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.community-left {
    max-width: 600px;
}

.community-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.community-title i {
    color: #0068FF;
}

.community-desc {
    color: var(--text-muted);
}

/* 5. PRODUCT LISTING & FILTER */
.listing-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.filter-tabs-wrapper {
    width: 100%;
    overflow: hidden;
}

.filter-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.filter-tabs:empty {
    display: none;
}

.filter-tab-all {
    flex-shrink: 0;
    white-space: nowrap;
}

.filter-tabs-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    flex: 1;
    min-width: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.25) transparent;
}

/* Tùy chỉnh thanh cuộn ngang tinh tế */
.filter-tabs-scroll::-webkit-scrollbar {
    height: 4px;
}

.filter-tabs-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.filter-tabs-scroll::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.2);
    border-radius: 4px;
}

.filter-tabs-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.45);
}

.filter-tab {
    padding: 8px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
}

.filter-tab:hover {
    color: var(--text-main);
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}

.filter-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.listing-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    flex: 1;
    min-width: 260px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.search-box i {
    color: var(--text-muted);
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-main);
    width: 100%;
    font-size: 0.95rem;
}

.sort-select-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sort-select-wrapper label {
    font-size: 0.88rem;
    color: var(--text-muted);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sort-select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    padding: 9px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.sort-select:focus {
    border-color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}
.product-card:hover {
    transform: scale(1.05);
    border-color: transparent;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.45), 0 0 50px rgba(168, 85, 247, 0.25);
}

/* Hiệu ứng viền chạy Neon khi hover */
.product-card::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #06b6d4, #6366f1);
    background-size: 300% 300%;
    border-radius: calc(var(--radius-md) + 2px);
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: neonBorderMove 4s linear infinite;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 1px; left: 1px; right: 1px; bottom: 1px;
    background: var(--bg-card);
    border-radius: calc(var(--radius-md) - 1px);
    z-index: -1;
    transition: background 0.3s;
}

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

@keyframes neonBorderMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #1A2338;
}
.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
}

.product-status-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

.product-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-desc-short {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7rem;
    line-height: 1.35rem;
    white-space: pre-line;
    word-break: break-word;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 16px;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
}
.price-old {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.product-card-actions {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 8px;
}

.product-card-actions .btn-zalo {
    padding: 10px 6px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.btn-view-detail {
    padding: 10px 6px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}
.btn-view-detail:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Empty State & Loader */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 24px;
}
.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.skeleton-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    aspect-ratio: 4/5;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* 6. MODAL OVERLAY (General) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
    transform: scale(0.9);
    transition: var(--transition);
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.3rem;
    color: #ffffff;
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}
.close-modal-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: rotate(90deg);
}


/* Redirect Modal (Zalo Popup) */
.redirect-modal-content {
    max-width: 400px;
    padding: 32px;
    text-align: center;
}
.redirect-icon {
    font-size: 3rem;
    color: #0068FF;
    margin-bottom: 16px;
}
.redirect-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.redirect-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Product Detail Modal */
.detail-modal-content {
    max-width: 840px; /* 420px * 2 */
    padding: 0;
    max-height: 95vh;
    overflow: hidden;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 cột bằng nhau tuyệt đối */
    height: 420px; /* Chiều cao cố định bằng chiều rộng 1 hình vuông */
}

.detail-media-side {
    background: #0B0F19;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    height: 100%;
    overflow: hidden;
}
.detail-media-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info-side {
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.detail-info-side::-webkit-scrollbar {
    display: none;
}

.detail-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.detail-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.detail-price-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.detail-price-box .price-current {
    font-size: 1.75rem;
}
.detail-price-box .price-old {
    font-size: 1.1rem;
}

.detail-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

.detail-specs {
    margin-bottom: 28px;
}
.spec-item {
    display: flex;
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.spec-label {
    width: 120px;
    font-weight: 600;
    color: var(--text-muted);
}
.spec-value {
    color: var(--text-main);
    flex: 1;
}

.detail-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.detail-contacts div {
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-contacts a {
    color: var(--text-main);
    font-weight: 600;
}

/* 7. FLOATING CONTACT (Desktop) */
.floating-contact-desktop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.floating-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}

.floating-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition);
}

.floating-contact-desktop:hover .floating-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
}
.floating-item:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
}
.floating-item i {
    font-size: 1.1rem;
}
.floating-item.item-zalo i { color: #0068FF; }
.floating-item.item-group i { color: var(--secondary); }
.floating-item.item-telegram i { color: #229ED9; }

/* Mobile Sticky Navigation Bottom */
.floating-contact-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 54px;
    background: rgba(21, 27, 44, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    z-index: 130;
    grid-template-columns: repeat(3, 1fr);
}

.mobile-contact-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}
.mobile-contact-tab i {
    font-size: 1.15rem;
    margin-bottom: 2px;
}
.mobile-contact-tab:hover {
    color: var(--text-main);
}
.mobile-contact-tab.zalo i { color: #0068FF; }
.mobile-contact-tab.group i { color: var(--secondary); }
.mobile-contact-tab.telegram i { color: #229ED9; }

/* 8. CTA SECTION (BOTTOM) */
.cta-bottom-card {
    background: var(--gradient-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.cta-bottom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 150px;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-bottom-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-bottom-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 36px auto;
}

.cta-bottom-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* 9. FAQ & CONTACT SECTIONS */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}
.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}
.faq-answer {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 10. FOOTER */
.footer {
    background: #080A12;
    border-top: 1px solid var(--border);
    padding: 64px 0 32px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--text-main);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-contact-item a {
    color: var(--text-main);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 11. ADMIN DASHBOARD LAYOUT */
.admin-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-main);
}

.admin-sidebar {
    width: 260px;
    background-color: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 100;
    transition: var(--transition);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
    flex-grow: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}
.admin-nav-item:hover, .admin-nav-item.active {
    color: var(--text-main);
    background: var(--primary-glow);
}
.admin-nav-item i {
    font-size: 1.1rem;
}

.admin-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.admin-title {
    font-size: 1.75rem;
    font-weight: 800;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-glow);
    color: var(--primary);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-card:nth-child(2) .stat-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}
.stat-card:nth-child(3) .stat-icon {
    background: rgba(244, 63, 94, 0.1);
    color: var(--accent);
}

.stat-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
}
.stat-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Admin Dashboard Lists */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 32px;
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.admin-card-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
    justify-content: space-between;
}

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.admin-table th {
    font-weight: 700;
    color: var(--text-muted);
}

.sortable-th {
    user-select: none;
    transition: var(--transition);
    white-space: nowrap;
}
.sortable-th:hover {
    color: var(--primary) !important;
}
.sortable-th i {
    margin-left: 4px;
    font-size: 0.85rem;
    opacity: 0.5;
    transition: var(--transition);
}
.sortable-th:hover i {
    opacity: 0.9;
}
.sortable-th.active-sort {
    color: var(--primary) !important;
}
.sortable-th.active-sort i {
    opacity: 1;
    color: var(--primary);
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.table-image-preview {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #1A2338;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.btn-icon:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}
.btn-icon.btn-edit:hover {
    color: var(--secondary);
    background: rgba(6, 182, 212, 0.1);
}
.btn-icon.btn-copy:hover {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}
.btn-icon.btn-toggle-status:hover {
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.1);
}
.btn-icon.btn-delete:hover {
    color: var(--accent);
    background: rgba(244, 63, 94, 0.1);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Image Cropper Component */
.image-upload-wrapper {
    background: var(--bg-input);
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}
.image-upload-wrapper:hover {
    border-color: var(--primary);
}

.image-preview-box {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.image-preview-box img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #1A2338;
}

.image-crop-modal-content {
    max-width: 500px;
    padding: 28px;
}
.cropper-container {
    width: 100%;
    aspect-ratio: 1/1;
    background: #000;
    margin: 20px 0;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-sm);
}
.cropper-canvas {
    width: 100%;
    height: 100%;
    background: #000;
}
.cropper-guide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);
    pointer-events: none;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.active {
    transform: translateX(0);
}
.toast.toast-success { border-left-color: var(--success); }
.toast.toast-error { border-left-color: var(--accent); }

/* Switch Toggle Component */
.switch-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-input);
    border: 1px solid var(--border);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 999px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background-color: #9CA3AF;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
input:checked + .slider {
    background-color: var(--success);
    border-color: var(--success);
}
input:checked + .slider:before {
    transform: translateX(22px);
    background-color: #ffffff;
}

/* 12. RESPONSIVE MEDIA QUERIES */

/* Desktop & Laptop */
@media (min-width: 1025px) {
    /* Mặc định desktop đã được thiết kế tối ưu */
}

/* Tablet (1024px trở xuống) */
@media (max-width: 1024px) {
    .channel-sales-grid { grid-template-columns: repeat(2, 1fr); }
    .sales-proof-grid { grid-template-columns: repeat(2, 1fr); }
    .sales-process-card { grid-template-columns: 1fr auto 1fr auto 1fr; }
    .sales-process-card > .btn { grid-column: 1 / -1; }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1.2fr 0.8fr 1fr;
        gap: 32px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile L (768px trở xuống) */
@media (max-width: 768px) {
    .channel-sales-section { padding: 42px 0 48px; }
    .channel-sales-heading h2 { font-size: 1.55rem; }
    .channel-sales-grid { grid-template-columns: 1fr; gap: 12px; }
    .channel-sale-card h3, .channel-sale-card > p { min-height: 0; }
    .storefront-products { padding-top: 42px; }
    .product-section-kicker { gap: 7px 12px; font-size: .7rem; }
    .faq-sales-section { padding: 44px 0; }
    .faq-sales-grid { grid-template-columns: 1fr; }
    .sales-proof-section { padding-top: 8px; }
    .sales-proof-grid { grid-template-columns: 1fr; gap: 10px; }
    .sales-proof-card { min-height: 0; padding: 16px; }
    .sales-process-card { grid-template-columns: 1fr; text-align: left; }
    .sales-process-card > i { display: none; }
    .section-padding {
        padding: 48px 0;
    }
    
    .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 10px 14px 10px 14px;
        gap: 10px;
    }

    .logo {
        justify-self: center;
        margin: 0 auto;
    }

    /* Hiển thị trực tiếp các tab menu dạng thanh cuộn ngang mượt trên mobile */
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        justify-content: flex-start;
        padding: 2px 2px 4px 2px;
    }
    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        white-space: nowrap;
        font-size: 0.84rem;
        font-weight: 600;
        flex-shrink: 0;
        padding: 6px 13px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid var(--border);
        border-radius: 99px;
        color: var(--text-muted);
        transition: var(--transition);
    }
    .nav-link.active {
        background: var(--gradient-primary);
        border-color: transparent;
        color: #ffffff;
        box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
    }
    .nav-link.nav-link-yt.active {
        background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
        box-shadow: 0 2px 10px rgba(239, 68, 68, 0.35);
    }
    .nav-link::after {
        display: none !important;
    }

    .hamburger-btn,
    .mobile-nav-drawer,
    .mobile-drawer-overlay {
        display: none !important;
    }

    /* Hero Section */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.95rem;
    }
    .hero-cta-group {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    .hero-cta-group .btn {
        width: 100%;
    }
    .hero-contacts-small {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    .hero-visual {
        order: 2;
    }

    /* Listing Header & Filters */
    .listing-header {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 12px;
        gap: 12px;
    }
    
    .filter-tabs-wrapper {
        width: 100%;
        overflow: hidden;
    }
    
    .filter-tabs {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    
    .filter-tab-all {
        padding: 8px 14px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .filter-tabs-scroll {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4px 2px;
        scrollbar-width: none;
    }
    
    .filter-tabs-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .filter-tab {
        padding: 8px 14px;
        font-size: 0.85rem;
        flex-shrink: 0;
        white-space: nowrap;
        border-radius: 999px;
    }

    .listing-controls {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .search-box {
        max-width: 100% !important;
        width: 100%;
    }

    .sort-select-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    
    .sort-select {
        flex: 1;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Product Cards trên Mobile */
    .product-card {
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .product-image-wrapper {
        aspect-ratio: 1 / 1;
        position: relative;
    }

    .product-card-badge {
        top: 6px;
        left: 6px;
        font-size: 0.7rem;
        padding: 2px 7px;
    }

    .product-card-content {
        padding: 10px 10px 12px 10px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .product-category-tag {
        font-size: 0.68rem;
        padding: 2px 6px;
        margin-bottom: 4px;
        align-self: flex-start;
    }

    .product-title {
        font-size: 0.88rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.3em;
    }

    .product-desc-short {
        display: none; /* Ẩn mô tả ngắn trên 2 cột mobile để thẻ vuông vức, đều nhau */
    }

    .product-price-row {
        margin-top: auto;
        padding-top: 6px;
        display: flex;
        align-items: baseline;
        gap: 6px;
        flex-wrap: wrap;
        margin-bottom: 8px;
    }

    .price-current {
        font-size: 1.05rem;
        font-weight: 800;
    }

    .price-old {
        font-size: 0.78rem;
    }

    .product-card-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        width: 100%;
    }

    .btn-buy-now-card {
        padding: 8px 6px;
        font-size: 0.82rem;
        font-weight: 700;
        border-radius: 6px;
        width: 100%;
        justify-content: center;
    }

    .btn-view-detail-card {
        padding: 6px 6px;
        font-size: 0.78rem;
        border-radius: 6px;
        width: 100%;
        justify-content: center;
    }

    /* Community section */
    .community-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 18px;
    }
    .community-left {
        max-width: 100%;
    }

    /* Detail Modal */
    .detail-modal-content {
        max-height: 90vh;
        overflow-y: auto;
        max-width: 95vw;
        border-radius: 16px;
    }
    .detail-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .detail-media-side {
        border-right: none;
        border-bottom: 1px solid var(--border);
        aspect-ratio: 16 / 9;
        max-height: 220px;
        width: 100%;
        height: auto;
    }
    .detail-info-side {
        padding: 18px;
        height: auto;
        overflow: visible;
    }
    .tooltip-target::before,
    .tooltip-target::after {
        display: none !important;
    }
    .tooltip-target {
        cursor: default;
    }
    .truncate-text {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        display: inline;
    }
    .truncate-multiline {
        display: block !important;
        overflow: visible;
        text-overflow: clip;
        -webkit-line-clamp: none;
    }

    /* Floating Navigation Mobile Bottom */
    .floating-contact-desktop {
        display: none !important;
    }
    .floating-contact-mobile {
        display: grid;
    }
    body {
        padding-bottom: 54px; /* Tránh bị che bởi Bottom bar */
    }

    /* CTA bottom */
    .cta-bottom-card {
        padding: 32px 18px;
    }
    .cta-bottom-title {
        font-size: 1.35rem;
    }
    .cta-bottom-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* =========================================
       ADMIN DASHBOARD MOBILE RESPONSIVE
       ========================================= */
    .admin-container {
        flex-direction: column;
        width: 100%;
        min-width: 100%;
        overflow-x: hidden;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: sticky;
        top: 0;
        padding: 12px 16px;
        border-right: none;
        border-bottom: 1px solid var(--border);
        background: var(--bg-card);
        z-index: 100;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }
    
    .admin-sidebar .logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        font-size: 1.1rem;
    }
    
    .admin-sidebar > .btn-secondary {
        display: none; /* Ẩn nút xem trang chủ dưới đáy sidebar ở mobile để tiết kiệm diện tích */
    }
    
    .admin-nav {
        display: flex;
        flex-direction: row;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-top: 10px;
        padding-bottom: 4px;
        width: 100%;
        scrollbar-width: none;
    }
    
    .admin-nav::-webkit-scrollbar {
        display: none;
    }

    .admin-nav-item {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 12px;
        font-size: 0.82rem;
        border-radius: 8px;
    }
    
    .admin-content {
        padding: 16px 12px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }

    .admin-title {
        font-size: 1.4rem;
    }
    
    .admin-header > div:last-child {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 8px;
    }

    .admin-header .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

    .stat-card {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 12px;
    }

    .stat-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        border-radius: 8px;
    }

    .stat-info h3 {
        font-size: 1.3rem;
        line-height: 1.1;
    }

    .stat-info p {
        font-size: 0.75rem;
    }

    /* Admin Toolbar */
    .admin-card {
        padding: 16px 12px;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .admin-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 16px;
    }

    .admin-toolbar .search-box {
        max-width: 100% !important;
        width: 100%;
    }

    .admin-toolbar > div:last-child {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 8px;
    }

    /* Bảng Quản trị vuốt ngang mượt mà trên Mobile */
    .admin-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
        border: 1px solid var(--border);
    }

    .admin-table {
        min-width: 620px; /* Đảm bảo các cột không bị ép méo mà vuốt ngang chuẩn */
    }

    .admin-table th, .admin-table td {
        padding: 10px 12px;
        font-size: 0.84rem;
    }

    .table-image-preview {
        width: 40px;
        height: 40px;
    }

    .action-buttons {
        gap: 6px;
    }

    .btn-icon {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    /* Realtime Traffic Analytics Tab Mobile */
    .analytics-live-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 14px;
    }

    .live-status-indicator {
        justify-content: space-between;
        width: 100%;
    }

    .analytics-actions {
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .analytics-actions .btn {
        flex: 1;
        padding: 8px 10px;
        font-size: 0.82rem;
        justify-content: center;
    }

    .analytics-breakdown-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .device-browser-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Mobile S & M (480px trở xuống) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .hero-content h1 {
        font-size: 1.85rem;
    }
    .hero-title > span:last-child { font-size: 1.5rem; }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-card-content {
        padding: 8px 8px 10px 8px;
    }
    .product-title {
        font-size: 0.82rem;
        margin-bottom: 2px;
    }
    .price-current {
        font-size: 0.95rem;
    }
    .price-old {
        font-size: 0.72rem;
    }
    .btn-buy-now-card {
        padding: 7px 4px;
        font-size: 0.78rem;
    }
    .btn-view-detail-card {
        padding: 5px 4px;
        font-size: 0.72rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 350px) {
    .products-grid {
        grid-template-columns: 1fr; /* Màn hình cực nhỏ (< 350px) hiển thị 1 cột */
    }
}

/* ==========================================================================
   ADMIN AUTHENTICATION LOCK SCREEN (PASSWORD ONLY)
   ========================================================================== */
.admin-auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 23, 0.96);
    backdrop-filter: blur(16px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.admin-auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(99, 102, 241, 0.15);
}

.auth-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.auth-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.auth-back-link:hover {
    color: var(--primary) !important;
}

@keyframes authShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.auth-shake {
    animation: authShake 0.4s ease;
}

/* ==========================================================================
   12. REALTIME TRAFFIC ANALYTICS TAB
   ========================================================================== */
.analytics-live-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid var(--border);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
}

.live-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--success);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--success);
    animation: pulseLive 1.8s infinite;
}

@keyframes pulseLive {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.live-text {
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    background: linear-gradient(135deg, var(--success), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.live-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.analytics-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.analytics-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

/* Distribution Progress Bars */
.source-distribution-list,
.device-distribution-list {
    margin-top: 14px;
}

.distribution-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.distribution-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.dist-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.dist-val {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 600;
}

.dist-pct {
    color: var(--text-main);
    font-weight: 700;
}

.dist-progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
}

.dist-progress-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.device-browser-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dist-sub-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dist-sub-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Traffic Badges & Table Customization */
.traffic-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Traffic Timestamp Details */
.time-cell-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.time-exact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--text-main);
    white-space: nowrap;
}

.time-exact strong {
    color: var(--text-main);
    font-family: monospace;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
}

.time-date {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-left: 2px;
}

.time-relative {
    display: flex;
    align-items: center;
}

.time-badge-now {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--success);
    background: rgba(16, 185, 129, 0.12);
    padding: 1px 7px;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.time-badge-min {
    font-size: 0.75rem;
    color: var(--secondary);
    background: rgba(6, 182, 212, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.time-badge-today {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 1px 6px;
    border-radius: 4px;
}

.time-badge-past {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.utm-tag-box {
    display: inline-block;
    background: rgba(99, 102, 241, 0.08);
    border: 1px dashed rgba(99, 102, 241, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    color: var(--secondary);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.path-badge {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 6px;
    border-radius: 4px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.row-new-entry {
    animation: rowFlash 2.5s ease-out;
}

@keyframes rowFlash {
    0% {
        background-color: rgba(16, 185, 129, 0.22);
    }
    100% {
        background-color: transparent;
    }
}

@media (max-width: 768px) {
    .device-browser-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .analytics-live-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .analytics-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

.btn-video-tool-add {
    background: linear-gradient(135deg, #06B6D4 0%, #6366F1 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35) !important;
}

.btn-video-tool-add:hover {
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5) !important;
    transform: translateY(-1px);
}

/* ===================================================
   YOUTUBE AI COURSE SECTION (PA MEDIA)
   =================================================== */
.youtube-course-section {
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 40%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                var(--bg-main);
    border-top: 1px solid rgba(239, 68, 68, 0.15);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.nav-link-yt {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-link-yt i {
    font-size: 1.05rem;
    transition: transform 0.25s ease;
}
.nav-link-yt:hover i {
    transform: scale(1.2);
}

/* Header Card / Banner */
.yt-header-card {
    background: linear-gradient(135deg, #1C0F15 0%, #2A1218 50%, #151B2C 100%);
    border: 1px solid rgba(239, 68, 68, 0.28);
    border-radius: var(--radius-lg);
    padding: 50px 36px;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15), var(--shadow-md);
}

.yt-header-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
    height: 260px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.yt-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #F87171;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: 99px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.yt-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #EF4444;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.65rem;
}

.yt-main-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.yt-course-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.yt-name-gradient {
    background: linear-gradient(135deg, #FF4B4B 0%, #FF8533 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.yt-subtitle {
    font-size: 1.15rem;
    font-style: italic;
    color: #FCA5A5;
    font-weight: 500;
    margin-bottom: 28px;
}

.yt-highlights-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.yt-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 99px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}
.yt-pill:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    transform: translateY(-2px);
}
.yt-pill i {
    color: #EF4444;
}

.yt-pill-price {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.22) 0%, rgba(245, 158, 11, 0.22) 100%);
    border-color: rgba(239, 68, 68, 0.5);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}
.yt-pill-price:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.35) 0%, rgba(245, 158, 11, 0.35) 100%);
    border-color: rgba(239, 68, 68, 0.7);
}
.yt-price-highlight {
    color: #FEF08A;
    font-size: 1.05rem;
    font-weight: 800;
}

/* 2 Columns Grid */
.yt-course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.yt-col-left, .yt-col-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Common Box Styles */
.yt-target-box,
.yt-curriculum-box,
.yt-outcomes-box,
.yt-commitment-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.yt-target-box:hover,
.yt-curriculum-box:hover,
.yt-outcomes-box:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.yt-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.yt-box-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.yt-icon-target { background: rgba(245, 158, 11, 0.12); color: #F59E0B; }
.yt-icon-calendar { background: rgba(239, 68, 68, 0.12); color: #EF4444; }
.yt-icon-gift { background: rgba(16, 185, 129, 0.12); color: #10B981; }

.yt-box-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    color: var(--text-main);
}

/* 1. Target Audience Box */
.yt-target-box {
    border-color: rgba(245, 158, 11, 0.25);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--bg-card) 100%);
}
.yt-target-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.yt-target-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #E2E8F0;
    line-height: 1.55;
}
.yt-target-bullet {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 2. Curriculum Sessions (B1 - B5) */
.yt-curriculum-box {
    border-color: rgba(239, 68, 68, 0.2);
}
.yt-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.yt-session-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: var(--transition);
}
.yt-session-item:hover {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.35);
    transform: translateX(4px);
}
.yt-session-badge {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 6px 12px;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}
.yt-session-content {
    flex: 1;
}
.yt-session-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}
.yt-session-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* 3. Outcomes Box */
.yt-outcomes-box {
    border-color: rgba(16, 185, 129, 0.25);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-card) 100%);
}
.yt-outcomes-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.yt-outcomes-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: #E2E8F0;
    line-height: 1.55;
}
.yt-check-icon {
    color: #10B981;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.yt-tag-pill {
    display: inline-block;
    background: rgba(99, 102, 241, 0.12);
    color: #818CF8;
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    margin: 0 2px;
}

/* 4. Terminal Commitment Box */
.yt-commitment-box {
    background: #090D16;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0;
    overflow: hidden;
}
.yt-terminal-header {
    background: #111726;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.yt-terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.yt-terminal-dot.dot-red { background: #EF4444; }
.yt-terminal-dot.dot-yellow { background: #F59E0B; }
.yt-terminal-dot.dot-green { background: #10B981; }
.yt-terminal-title {
    margin-left: 8px;
    font-family: monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.yt-terminal-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.yt-code-line {
    font-family: 'JetBrains Mono', 'Fira Code', monospace, Consolas;
    font-size: 0.88rem;
    line-height: 1.6;
}
.yt-code-comment {
    color: #34D399;
}

/* 4.5 Pricing & Value Proposition Card */
.yt-pricing-card {
    background: linear-gradient(145deg, #1C0F17 0%, #2A1320 40%, #13172B 100%);
    border: 2px solid rgba(239, 68, 68, 0.55);
    border-radius: var(--radius-md);
    padding: 32px 26px;
    box-shadow: 0 0 35px rgba(239, 68, 68, 0.22), 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.yt-pricing-card:hover {
    border-color: #EF4444;
    box-shadow: 0 0 45px rgba(239, 68, 68, 0.38), 0 20px 45px rgba(0, 0, 0, 0.6);
    transform: translateY(-3px);
}
.yt-pricing-header {
    text-align: center;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 22px;
}
.yt-pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.35) 0%, rgba(245, 158, 11, 0.35) 100%);
    border: 1px solid rgba(239, 68, 68, 0.6);
    color: #FFE4E6;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 6px 18px;
    border-radius: 99px;
    margin-bottom: 16px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}
.yt-pricing-badge i {
    color: #EF4444;
}
.yt-price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.yt-price-amount {
    font-size: 3.6rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1;
    background: linear-gradient(135deg, #FF6B6B 0%, #FFA834 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(255, 107, 107, 0.35));
}
.yt-price-sub {
    font-size: 1.05rem;
    color: #CBD5E1;
    font-weight: 700;
}
.yt-price-note {
    font-size: 0.9rem;
    color: #34D399;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
}
.yt-pricing-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.yt-p-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #F1F5F9;
    line-height: 1.5;
}
.yt-p-benefit-item i {
    color: #10B981;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.yt-pricing-contact-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #E2E8F0;
}
.yt-contact-item-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.yt-pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.yt-btn-glow {
    background: linear-gradient(135deg, #0068FF 0%, #004ecc 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 15px 24px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(0, 104, 255, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-align: center;
}
.yt-btn-glow:hover {
    background: linear-gradient(135deg, #1A7BFF 0%, #0059E6 100%);
    box-shadow: 0 6px 25px rgba(0, 104, 255, 0.6);
    transform: translateY(-2px);
}
.yt-btn-call {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--transition);
}
.yt-btn-call:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}
.yt-pricing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    text-align: center;
}
.yt-slogan-main {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #FFE4E6;
    margin-bottom: 4px;
}
.yt-slogan-sub {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Course Section */
@media (max-width: 992px) {
    .yt-course-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .yt-main-title {
        font-size: 2rem;
    }
    .yt-header-card {
        padding: 36px 20px;
    }
}
@media (max-width: 600px) {
    .yt-main-title {
        font-size: 1.55rem;
    }
    .yt-course-name {
        font-size: 1.35rem;
    }
    .yt-subtitle {
        font-size: 1rem;
    }
    .yt-highlights-pills {
        gap: 8px;
    }
    .yt-pill {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .yt-price-amount {
        font-size: 2.8rem;
    }
    .yt-pricing-card {
        padding: 22px 18px;
    }
    .yt-target-box,
    .yt-curriculum-box,
    .yt-outcomes-box,
    .yt-commitment-box {
        padding: 20px 16px;
    }
    .yt-pricing-contact-row {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==========================================================================
   STOREFRONT UI POLISH — DESKTOP & MOBILE
   ========================================================================== */

/* Desktop: mật độ gọn hơn, CTA rõ hơn và card không đè lên nhau khi hover */
@media (min-width: 1025px) {
    .header-container { height: 68px; }
    .nav-menu { gap: 28px; }
    .header-wrapper { background: rgba(11, 15, 25, 0.88); }

    .hero-section { padding: 72px 0 64px; }
    .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
    .hero-title { font-size: 3.5rem; max-width: 670px; }
    .hero-title > span:last-child { font-size: 2.05rem; margin-top: 4px; }
    .hero-content p { margin-bottom: 28px; }
    .hero-visual-card { max-width: 420px; transform: perspective(900px) rotateY(-2deg); }

    .sales-proof-section { padding: 28px 0 40px; }
    .sales-proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sales-proof-card { min-height: 154px; }
    .sales-process-card { grid-template-columns: 1fr auto 1fr auto 1fr auto; }

    .channel-sales-section { padding: 48px 0 60px; }
    .channel-sale-card { padding: 20px; }
    .channel-sale-card > p { min-height: 58px; }

    .products-grid { gap: 18px; }
    .product-card:hover { transform: translateY(-7px); }
    .product-image-wrapper { aspect-ratio: 4 / 3; }
    .product-card-content { padding: 16px; }
    .product-desc-short { margin-bottom: 12px; }
    .product-price-row { margin-bottom: 12px; }
}

/* Tablet: giữ thẻ dễ đọc và tránh lưới quá chật */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-container { grid-template-columns: auto 1fr; }
    .nav-menu { justify-self: end; gap: 20px; }
    .hero-section { padding: 72px 0 60px; }
    .channel-sales-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .product-card:hover { transform: translateY(-5px); }
}

/* Mobile: ưu tiên thao tác một tay, giảm chiều dài trang và vùng bấm >= 44px */
@media (max-width: 768px) {
    body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
    .header-wrapper { background: rgba(11, 15, 25, .94); }
    .header-container { padding: 7px 12px 8px; gap: 6px; }
    .logo { font-size: 1.08rem; gap: 7px; }
    .logo i { font-size: 1.2rem; }
    .nav-menu { gap: 6px; padding-bottom: 2px; }
    .nav-link { min-height: 36px; display: inline-flex; align-items: center; padding: 6px 11px; font-size: .78rem; }

    .hero-section { padding: 38px 0 32px; }
    .hero-grid { gap: 22px; }
    .hero-content, .hero-visual { min-width: 0; width: 100%; }
    .hero-title { gap: 6px; margin-bottom: 14px !important; }
    .hero-title > span:last-child { font-size: 1.45rem; }
    .hero-content p { margin-bottom: 22px; line-height: 1.65; }
    .hero-cta-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .hero-cta-group .btn { min-height: 46px; padding: 10px 8px; font-size: .78rem; line-height: 1.25; }
    .hero-cta-group .btn:last-child { grid-column: 1 / -1; font-size: .86rem; }
    .hero-contacts-small { font-size: .76rem; gap: 8px 12px; }

    .hero-visual-card { display: flex; gap: 10px; max-width: none; overflow-x: auto; padding: 3px 12px 8px; margin: 0 -12px; background: transparent; border: 0; box-shadow: none; scroll-snap-type: x mandatory; }
    .hero-visual-card::before { display: none; }
    .visual-item { flex: 0 0 78%; min-height: 78px; margin: 0; padding: 12px 14px; scroll-snap-align: center; background: var(--bg-card); }
    .visual-info p { line-height: 1.4; }

    .sales-proof-heading { margin-bottom: 16px; }
    .sales-proof-heading h2 { font-size: 1.35rem; }
    .sales-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .sales-proof-card { flex-direction: column; gap: 9px; padding: 13px; }
    .sales-proof-icon { width: 38px; height: 38px; flex-basis: 38px; }
    .sales-proof-card h3 { font-size: .84rem; line-height: 1.35; }
    .sales-proof-card p { font-size: .74rem; line-height: 1.45; }
    .sales-process-card { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 13px; }
    .sales-process-card > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
    .sales-process-card > div span { font-size: .95rem; }
    .sales-process-card > div strong { font-size: .72rem; }
    .sales-process-card > div small { display: none; }
    .sales-process-card > .btn { grid-column: 1 / -1; min-height: 44px; }

    .channel-sales-section { padding: 38px 0 44px; }
    .channel-sales-heading { margin-bottom: 18px; }
    .channel-sales-heading h2 { font-size: 1.4rem; line-height: 1.3; }
    .channel-sales-heading p { font-size: .86rem; }
    .channel-sales-grid { display: flex; overflow-x: auto; gap: 10px; margin: 0 -12px; padding: 2px 12px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .channel-sales-grid::-webkit-scrollbar { display: none; }
    .channel-sale-card { flex: 0 0 84%; scroll-snap-align: center; padding: 18px; }
    .channel-sale-card ul { margin: 12px 0 16px; grid-template-columns: 1fr; }
    .channel-cta { min-height: 44px; }

    .section-title { font-size: 1.55rem; line-height: 1.3; }
    .section-desc { margin-bottom: 24px; font-size: .9rem; }
    .listing-header { position: relative; border-radius: 14px; }
    .search-box input, .sort-select { min-height: 44px; }
    .filter-tab { min-height: 40px; }
    .product-card:hover { transform: none; box-shadow: none; }
    .product-image-wrapper { aspect-ratio: 1 / .92; }
    .btn-buy-now-card { min-height: 42px; }
    .btn-view-detail-card { min-height: 36px; }

    .floating-contact-mobile { height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(14, 19, 32, .96); }
    .mobile-contact-tab { min-height: 54px; }
    .cta-bottom-card { padding: 32px 16px; }
    .cta-bottom-title { font-size: 1.35rem; line-height: 1.35; }
    .cta-bottom-desc { margin-bottom: 22px; font-size: .9rem; }
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid rgba(103, 232, 249, .75);
    outline-offset: 3px;
}

@media (max-width: 380px) {
    .hero-cta-group { grid-template-columns: 1fr; }
    .hero-cta-group .btn:last-child { grid-column: auto; }
    .sales-proof-grid { grid-template-columns: 1fr; }
    .channel-sale-card { flex-basis: 90%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
