/* CSS Variables - Design Tokens (Hệ màu 3 sắc: Tím Royal + Xanh Cyan + Hồng Sunset) */
:root {
    --primary-color: #7928ca;      /* Tím Royal sâu lắng */
    --primary-light: #9d4edd;
    --primary-dark: #4c1d95;
    --accent-color: #ff007a;       /* Hồng Sunset Neon */
    --accent-light: #ff5eaa;
    --secondary-color: #00d2ff;    /* Xanh Cyan Điện Tử phát sáng */
    
    --bg-dark: #140b28;
    --bg-card: rgba(48, 22, 85, 0.45);
    --bg-card-hover: rgba(72, 33, 125, 0.7);
    --border-glass: rgba(255, 255, 255, 0.16);
    --border-glass-hover: rgba(0, 210, 255, 0.5);
    
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-dark: #0d0614;
    
    --gradient-primary: linear-gradient(135deg, #7928ca, #ff007a);
    --gradient-accent: linear-gradient(135deg, #ff007a, #00d2ff);
    --gradient-neon: linear-gradient(135deg, #00d2ff 0%, #a855f7 50%, #ff007a 100%);
    
    /* Hiệu ứng Nền Aurora Mesh 3 Màu tỏa sáng đa chiều khắp trang web */
    --gradient-dark: 
        radial-gradient(ellipse at 15% 8%, rgba(121, 40, 202, 0.38) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 12%, rgba(0, 210, 255, 0.28) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 40%, rgba(255, 0, 122, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 15% 70%, rgba(0, 210, 255, 0.25) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 85%, rgba(121, 40, 202, 0.35) 0%, transparent 50%),
        linear-gradient(180deg, #130a26 0%, #1e0f3b 30%, #170c2f 70%, #100720 100%);
    
    --shadow-glow: 0 8px 32px 0 rgba(121, 40, 202, 0.35);
    --shadow-glow-accent: 0 8px 32px 0 rgba(255, 0, 122, 0.4);
    --shadow-strong: 0 15px 35px rgba(0, 0, 0, 0.5);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: var(--gradient-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 50px 0;
}

.text-center {
    text-align: center;
}

.opacity-muted {
    opacity: 0.6;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: var(--transition-bounce);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 16px;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px 0 rgba(247, 37, 133, 0.45);
    background: linear-gradient(135deg, var(--accent-light), var(--primary-light));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.btn-disabled {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.02);
    cursor: not-allowed;
}

/* Text Gradient & Badges */
.text-gradient {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(157, 78, 221, 0.15);
    color: var(--primary-light);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(157, 78, 221, 0.2);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

/* Nhãn nhỏ luôn nằm riêng một dòng phía trên tiêu đề */
.section-header.text-center > .badge {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(30, 14, 60, 0.88); /* Tím hoàng hôn sáng, nổi bật */
    border-bottom: 1px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(121, 40, 202, 0.5);
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.mobile-nav-actions {
    display: none;
}

.nav-link {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600; /* Tăng độ dày chữ */
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9); /* Trắng sáng */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.nav-link:hover {
    color: var(--accent-light); /* Màu hồng tím phát sáng */
    text-shadow: 0 0 10px rgba(247, 37, 133, 0.6);
}

/* Laptop 13–15.6 inch: menu không xuống dòng, thu gọn dần khoảng cách */
.nav-link,
.nav-actions {
    white-space: nowrap;
}

.nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* 1536 = màn 15.6 inch Full HD đặt tỉ lệ 125% */
@media (min-width: 993px) and (max-width: 1536px) {
    .nav-menu {
        gap: 18px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .nav-link i {
        margin-right: 2px;
    }
}

@media (min-width: 993px) and (max-width: 1280px) {
    .container.navbar {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 12px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .nav-actions .btn-sm {
        padding: 8px 14px;
    }
}

@media (min-width: 993px) and (max-width: 1150px) {
    .nav-menu {
        gap: 10px;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .logo {
        font-size: 1.3rem;
    }
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.22) 0%, rgba(121, 40, 202, 0.15) 40%, transparent 70%);
    top: -120px;
    left: -120px;
    z-index: 0;
    pointer-events: none;
    filter: blur(40px);
}

.hero-glow-2 {
    position: absolute;
    width: 750px;
    height: 750px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 122, 0.2) 0%, rgba(121, 40, 202, 0.12) 45%, transparent 70%);
    bottom: -150px;
    right: -120px;
    z-index: 0;
    pointer-events: none;
    filter: blur(50px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
    max-width: 500px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Dashboard Mockup - Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}

.dashboard-mockup {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-strong), var(--shadow-glow);
    animation: float 7s ease-in-out infinite;
    transform-style: preserve-3d;
    text-align: left;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   HERO MULTI-DEVICE COMPOSITION (DESKTOP POS + REAL PHONE SCREENS 3, 4, 5)
   ========================================================================== */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.dashboard-mockup {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-strong), var(--shadow-glow);
    animation: floatDesktop 8s ease-in-out infinite;
    transform-style: preserve-3d;
    text-align: left;
    position: relative;
    z-index: 2;
}

@keyframes floatDesktop {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Realistic Smartphone Device Frames (Left & Right) */
.hero-phone-device {
    position: absolute;
    width: 220px;
    background: #0f071a;
    border: 3.5px solid #7928ca;
    border-radius: 36px;
    padding: 8px 7px 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(121, 40, 202, 0.35);
    z-index: 10;
    transition: var(--transition-smooth);
}

.hero-phone-device:hover {
    transform: translateY(-8px) scale(1.03) !important;
    border-color: #a855f7;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85), 0 0 45px rgba(168, 85, 247, 0.6);
    z-index: 20;
}

/* Left Phone: Reports App (5.jpg) */
.hero-phone-device.device-left {
    left: -35px;
    bottom: -35px;
    animation: floatPhoneLeft 6s ease-in-out infinite alternate;
}

@keyframes floatPhoneLeft {
    0% { transform: translateY(0px) rotate(-2deg); }
    100% { transform: translateY(-12px) rotate(0deg); }
}

/* Right Phone: Order & Table Map (3.jpg / 4.jpg) */
.hero-phone-device.device-right {
    right: -35px;
    bottom: -35px;
    animation: floatPhoneRight 6.5s ease-in-out infinite alternate;
}

@keyframes floatPhoneRight {
    0% { transform: translateY(0px) rotate(2deg); }
    100% { transform: translateY(-14px) rotate(0deg); }
}

.phone-screen-inner {
    position: relative;
    background: #000000;
    border-radius: 28px;
    overflow: hidden;
    height: 380px;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.2);
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: opacity 0.3s ease;
}

.phone-badge-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7209b7, #f72585);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(247, 37, 133, 0.5);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 4px;
}

.phone-badge-tag.badge-cyan {
    background: linear-gradient(135deg, #0077b6, #4cc9f0);
    box-shadow: 0 4px 12px rgba(76, 201, 240, 0.5);
}

/* Switcher tabs on the right phone */
.phone-toggle-pills {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    background: rgba(15, 7, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3px 6px;
    border-radius: 100px;
    backdrop-filter: blur(8px);
    z-index: 15;
}

.phone-pill-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.phone-pill-btn.active {
    background: #7209b7;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(114, 9, 183, 0.5);
}

/* Floating Audio / Payment Alert Toast */
.hero-floating-toast {
    position: absolute;
    top: -16px;
    right: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    z-index: 15;
    animation: floatToast 4.5s ease-in-out infinite alternate;
}

@keyframes floatToast {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

@media (max-width: 1200px) {
    .hero-phone-device.device-left {
        left: -15px;
        width: 190px;
    }
    .hero-phone-device.device-right {
        right: -15px;
        width: 190px;
    }
    .phone-screen-inner {
        height: 330px;
    }
}

@media (max-width: 992px) {
    .hero-phone-device.device-left,
    .hero-phone-device.device-right {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 20px auto 0;
        width: 240px;
        display: inline-block;
    }
    .hero-mobile-devices-row {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 25px;
        flex-wrap: wrap;
    }
    .phone-screen-inner {
        height: 380px;
    }
    .hero-floating-toast {
        top: 10px;
        right: 10px;
    }
}

.mockup-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 16px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.mockup-body.pos-layout {
    display: grid;
    grid-template-columns: 75px 1.25fr 1.15fr; /* 3 cột: Nhóm món, Lưới món, Giỏ hàng */
    height: 440px; /* Tăng chiều cao lên 440px để thấy rõ nút Lưu & Thanh Toán */
    background: #fdfdfd; /* Màu nền trắng xám chuẩn app POS gốc */
    color: #333333; /* Chữ tối màu dễ đọc */
}

/* Sidebar Categories */
.pos-sidebar {
    background: #f3f3f3;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.category-item {
    padding: 8px 4px;
    font-size: 0.6rem;
    font-weight: 700;
    text-align: center;
    color: #666666;
    cursor: pointer;
    border-bottom: 1px solid #e8e8e8;
    line-height: 1.2;
}

.category-item span {
    display: block;
    font-size: 0.7rem;
    color: #999999;
}

.category-item.active {
    background: #7209b7; /* Màu tím đặc trưng của CANPOS */
    color: #ffffff;
}

.category-item.active span {
    color: rgba(255, 255, 255, 0.7);
}

/* Middle: Products grid and search bar */
.pos-products {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-right: 1px solid #e0e0e0;
    height: 100%;
    overflow: hidden;
}

.pos-search-bar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
    gap: 8px;
    background: #ffffff;
}

.pos-search-bar .arrow-back {
    color: #555555;
    font-size: 0.85rem;
}

.search-input-wrapper {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper input {
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 20px;
    padding: 6px 30px;
    font-size: 0.7rem;
    background: #fbfbfb;
    outline: none;
}

.keyboard-icon {
    position: absolute;
    left: 10px;
    color: #7209b7;
    font-size: 0.75rem;
}

.barcode-scanner-icon {
    position: absolute;
    right: 10px;
    color: #448aff;
    font-size: 0.75rem;
}

.trash-icon {
    color: #ff5252;
    font-size: 0.85rem;
    cursor: pointer;
}

.add-icon {
    color: #4caf50;
    font-size: 0.95rem;
    cursor: pointer;
}

/* Products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px;
    overflow-y: auto;
    flex-grow: 1;
    align-content: start;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 7px;
    text-align: center;
    background: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.product-card .product-img {
    font-size: 1.5rem;
    margin-bottom: 5px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.product-card .product-img.bida {
    color: #ffffff;
    background: radial-gradient(circle, #7b2cbf 0%, #3c096c 100%);
    border-radius: 4px;
    font-size: 1rem;
}

.product-name {
    font-size: 0.58rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 5px;
    min-height: 14px;
    line-height: 1.1;
}

.product-price {
    font-size: 0.65rem;
    color: #ff5252;
    font-weight: 700;
    width: 100%;
    text-align: left;
    border-top: 1px dashed #eeeeee;
    padding-top: 4px;
}

.stock-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: #e1f5fe;
    color: #03a9f4;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 4px;
}

.product-card.selected {
    border-color: #7209b7;
    box-shadow: 0 0 5px rgba(114, 9, 183, 0.2);
}

.selected-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #7209b7;
    color: #ffffff;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Right Sidebar: Cart Panel */
.pos-cart {
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
}

.cart-header-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    padding: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.cart-btn {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 8px 4px;
    text-align: center;
    cursor: pointer;
}

.cart-btn.customer {
    background: #7209b7;
}

.cart-btn.price-list {
    background: #f1f1f1;
    color: #555555;
    border: 1px solid #dcdcdc;
}

.cart-btn.table-num {
    background: #ff9100;
}

/* Cart Items Scroll list */
.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-box {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 8px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.item-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: #222222;
}

.remove-item {
    color: #ff5252;
    font-size: 0.65rem;
    cursor: pointer;
}

.item-notes {
    font-size: 0.6rem;
    color: #ff9100;
    margin-bottom: 6px;
}

.item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unit-price {
    font-size: 0.6rem;
    color: #999999;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    overflow: hidden;
}

.qty-btn {
    padding: 2px 6px;
    font-size: 0.6rem;
    background: #f5f5f5;
    color: #555555;
    cursor: pointer;
    font-weight: 700;
}

.qty-val {
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #333333;
    background: #ffffff;
}

.item-total {
    font-size: 0.68rem;
    font-weight: 700;
    color: #ff5252;
}

.item-subtoppings {
    margin-top: 6px;
    padding-top: 4px;
    border-top: 1px dashed #f0f0f0;
    font-size: 0.58rem;
    color: #ffaa00;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Cart Summary Footer */
.cart-summary-footer {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.62rem;
    color: #555555;
    font-weight: 600;
}

.summary-line.highlight-total {
    font-size: 0.68rem;
    font-weight: 800;
    color: #111827;
    padding-top: 3px;
    border-top: 1px dashed #e5e7eb;
}

.summary-line.highlight-total .total-amount {
    font-size: 0.85rem;
    font-weight: 900;
    color: #ef4444;
}

.pos-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5px;
    margin-top: 4px;
}

.action-btn {
    border: none;
    border-radius: 6px;
    padding: 7px 4px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-print {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.btn-print:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.btn-checkout {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.btn-checkout:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
    transform: translateY(-1px);
}

/* Features Section */
.features-section {
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 36px;
    backdrop-filter: blur(12px);
    transition: var(--transition-bounce);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feature-icon.purple { background: linear-gradient(135deg, #7209b7, #3f37c9); }
.feature-icon.indigo { background: linear-gradient(135deg, #4895ef, #3f37c9); }
.feature-icon.pink { background: linear-gradient(135deg, #f72585, #b5179e); }
.feature-icon.cyan { background: linear-gradient(135deg, #4cc9f0, #4895ef); }
.feature-icon.blue { background: linear-gradient(135deg, #3a0ca3, #7209b7); }
.feature-icon.teal { background: linear-gradient(135deg, #00f5d4, #00bbf9); }

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Downloads Section */
.downloads-section {
    position: relative;
    overflow: hidden;
}

.downloads-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.download-tabs-nav {
    display: none;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow);
}

.download-platform {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.download-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    flex-grow: 1;
    min-height: 50px;
}

.download-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 16px;
}

.download-divider {
    width: 100%;
    border: none;
    border-top: 1px solid var(--border-glass);
    margin: 20px 0;
}

/* Chọn phiên bản Tool in ngầm (Win10/11 - Win7) */
.tool-version-caret {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.is-open .tool-version-caret {
    transform: rotate(180deg);
}

.tool-version-picker {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-left: 12px;
    border-left: 2px solid var(--primary-light);
}

.tool-version-picker[hidden] {
    display: none;
}

.tool-version-picker .btn {
    font-size: 0.9rem;
    padding: 10px 16px;
}

/* Pricing Section */
.pricing-section {
    position: relative;
}

.pricing-toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    padding: 8px 20px;
    border-radius: 100px;
    margin-top: 24px;
}

.toggle-label {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}

.toggle-label.active {
    color: #ffffff;
}

.discount-badge {
    background: var(--accent-color);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    vertical-align: middle;
}

.pricing-toggle {
    width: 50px;
    height: 28px;
    border-radius: 100px;
    background: var(--primary-dark);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    position: relative;
    padding: 2px;
    transition: var(--transition-smooth);
}

.toggle-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    display: block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: var(--transition-bounce);
    transform: translateX(0);
}

.pricing-toggle.active {
    background: var(--accent-color);
}

.pricing-toggle.active .toggle-circle {
    transform: translateX(22px);
}

/* POS Pricing Type Tabs */
.pos-pricing-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin: 32px 0 20px 0;
}

.pos-pricing-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 6px;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
}

.pos-pricing-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 40px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.pos-pricing-tab-btn i {
    font-size: 1.05rem;
}

.pos-pricing-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.pos-pricing-tab-btn.active {
    background: var(--gradient-accent);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(247, 37, 133, 0.4);
}

.pos-tab-badge {
    background: #10b981;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.pricing-grid-view {
    display: none;
    animation: fadeInGrid 0.35s ease-in-out forwards;
}

.pricing-grid-view.active {
    display: grid;
}

@keyframes fadeInGrid {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .pos-pricing-tabs-wrapper {
        margin: 20px 0 15px 0 !important;
        width: 100% !important;
    }
    .pos-pricing-tabs {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 50px !important;
        padding: 4px !important;
        gap: 4px !important;
        box-sizing: border-box !important;
    }
    .pos-pricing-tab-btn {
        flex: 1 !important;
        width: auto !important;
        justify-content: center !important;
        padding: 9px 6px !important;
        font-size: 0.75rem !important;
        border-radius: 40px !important;
        gap: 5px !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
    .pos-pricing-tab-btn i {
        font-size: 0.85rem !important;
    }
    .pos-tab-badge {
        font-size: 0.55rem !important;
        padding: 1px 5px !important;
    }
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 32px 24px;
    backdrop-filter: blur(12px);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow);
}

.pricing-card.popular {
    background: rgba(30, 14, 55, 0.6);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.pricing-card.popular:hover {
    background: rgba(43, 20, 78, 0.7);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-glow-accent);
}

.pricing-card.lifetime {
    border-color: rgba(76, 175, 80, 0.25);
}

.pricing-card.lifetime:hover {
    background: rgba(20, 50, 25, 0.4);
    border-color: rgba(76, 175, 80, 0.6);
    box-shadow: 0 8px 32px 0 rgba(76, 175, 80, 0.3);
}

.pricing-card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    padding: 6px 18px;
    border-radius: 100px;
    white-space: nowrap;
    z-index: 2;
}

.pricing-card-badge.purple {
    background: var(--gradient-accent);
    box-shadow: var(--shadow-glow-accent);
}

.pricing-card-badge.blue {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 4px 15px rgba(76, 201, 240, 0.4);
}

.pricing-card-badge.green {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.pricing-header {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
    min-height: 40px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 6px;
}

.price-value {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.price-value-text {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-left: 4px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-features li i {
    font-size: 0.9rem;
}

.plan-features li i.fa-check {
    color: var(--secondary-color);
}

.plan-features li i.fa-xmark {
    color: #ff5f56;
}

.plan-features li.disabled {
    color: var(--text-muted);
    opacity: 0.45;
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--border-glass-hover);
    background: var(--bg-card-hover);
}

.stars {
    color: #ffd166;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 30px;
    font-style: italic;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.customer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.customer-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.customer-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, rgba(22, 11, 38, 0.4), rgba(41, 15, 68, 0.2));
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 60px;
    backdrop-filter: blur(20px);
}

.contact-info h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    line-height: 1.25;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.05rem;
}

.info-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(76, 201, 240, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(76, 201, 240, 0.15);
}

.contact-card-info {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--border-glass);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-glow);
}

.contact-form-container {
    background: rgba(15, 7, 28, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group label .required {
    color: var(--accent-color);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-light);
    box-shadow: 0 0 12px rgba(157, 78, 221, 0.2);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f3eff5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

select.form-control option {
    background-color: var(--bg-dark);
    color: #ffffff;
}

/* Footer */
.footer {
    background: rgba(4, 1, 9, 0.95);
    border-top: 1px solid var(--border-glass);
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition-bounce);
}

.social-links a:hover {
    background: var(--gradient-accent);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-accent);
}

.footer-links-group h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links-group ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
}

/* Features Tabs styling */
.features-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.tab-btn:hover {
    border-color: var(--primary-light);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--gradient-accent);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.tab-btn.tab-btn-highlight {
    border-color: rgba(254, 44, 85, 0.5);
    background: rgba(254, 44, 85, 0.08);
}

.tab-btn.tab-btn-highlight:hover {
    border-color: #fe2c55;
    background: rgba(254, 44, 85, 0.18);
}

.tab-new-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ff007a, #ff5e00);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(255, 0, 122, 0.75);
    animation: newPulse 1.8s infinite;
    margin-left: 4px;
}

@keyframes newPulse {
    0% { transform: scale(1); box-shadow: 0 0 8px rgba(255, 0, 122, 0.6); }
    50% { transform: scale(1.08); box-shadow: 0 0 16px rgba(255, 94, 0, 0.9); }
    100% { transform: scale(1); box-shadow: 0 0 8px rgba(255, 0, 122, 0.6); }
}

/* Tab Content Show/Hide */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Auto Printer Tab Hero Banner */
.printer-hero-banner {
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.25), rgba(249, 115, 22, 0.15));
    border: 1.5px solid rgba(249, 115, 22, 0.35);
    border-radius: 20px;
    padding: 30px 36px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(249, 115, 22, 0.15);
}

/* Shipping Tab Hero Banner (GHN - Giao Hàng Nhanh) */
.shipping-hero-banner {
    background: linear-gradient(135deg, rgba(243, 112, 33, 0.22), rgba(0, 70, 127, 0.35) 50%, rgba(243, 112, 33, 0.25));
    border: 1.5px solid rgba(243, 112, 33, 0.45);
    border-radius: 20px;
    padding: 30px 36px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(243, 112, 33, 0.2);
}

.shipping-hero-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(243, 112, 33, 0.35), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.shipping-fire-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f37021, #ff8c00);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(243, 112, 33, 0.4);
    margin-bottom: 14px;
}

.brand-tag-ghn {
    border-color: rgba(243, 112, 33, 0.4);
}
.brand-tag-ghn:hover {
    background: rgba(243, 112, 33, 0.25);
    border-color: #f37021;
    color: #ffedd5;
}

/* Ecommerce Tab Hero Banner (TikTok Shop & Shopee) */
.ecommerce-hero-banner {
    background: linear-gradient(135deg, rgba(238, 77, 45, 0.2), rgba(0, 0, 0, 0.4) 50%, rgba(254, 44, 85, 0.2));
    border: 1.5px solid rgba(238, 77, 45, 0.4);
    border-radius: 20px;
    padding: 30px 36px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(238, 77, 45, 0.2);
}

.ecommerce-hero-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.35), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ecommerce-fire-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ee4d2d, #fe2c55);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(238, 77, 45, 0.4);
    margin-bottom: 14px;
}

.brand-tag-shopee {
    border-color: rgba(238, 77, 45, 0.4);
}
.brand-tag-shopee:hover {
    background: rgba(238, 77, 45, 0.25);
    border-color: #ee4d2d;
    color: #ffedd5;
}
.brand-tag-tiktok {
    border-color: rgba(254, 44, 85, 0.4);
}
.brand-tag-tiktok:hover {
    background: rgba(254, 44, 85, 0.25);
    border-color: #fe2c55;
    color: #ffedd5;
}

.printer-hero-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.3), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.printer-fire-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    margin-bottom: 14px;
}

.printer-banner-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    font-family: 'Be Vietnam Pro', sans-serif;
    letter-spacing: -0.01em;
}

.printer-banner-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.5;
}

.printer-brands-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.brand-tag:hover {
    background: rgba(249, 115, 22, 0.2);
    border-color: #f97316;
    color: #ffedd5;
    transform: translateY(-2px);
}

.brand-tag i {
    color: #22c55e;
    font-size: 0.8rem;
}

/* Video Section styling */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.video-placeholder-card {
    position: relative;
    width: 100%;
    min-height: 290px;
    aspect-ratio: 16 / 9;
    background: #1a0b2e;
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-strong), var(--shadow-glow);
    transition: var(--transition-smooth);
    text-decoration: none;
    padding: 24px 20px 20px;
}

.video-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    filter: brightness(0.85) contrast(1.05);
    z-index: 1;
}

.video-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 7, 34, 0.1) 0%, rgba(19, 7, 34, 0.3) 35%, rgba(19, 7, 34, 0.88) 62%, rgba(19, 7, 34, 0.97) 100%);
    z-index: 2;
    transition: var(--transition-smooth);
}

.video-card-overlay.overlay-timekeeping {
    background: linear-gradient(180deg, rgba(10, 25, 45, 0.1) 0%, rgba(10, 25, 45, 0.3) 35%, rgba(10, 20, 35, 0.88) 62%, rgba(10, 20, 35, 0.97) 100%);
}

.video-card-overlay.overlay-printer {
    background: linear-gradient(180deg, rgba(35, 15, 10, 0.1) 0%, rgba(35, 15, 10, 0.3) 35%, rgba(20, 10, 5, 0.88) 55%, rgba(20, 10, 5, 0.97) 100%);
}

.video-placeholder-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-strong), var(--shadow-glow-accent);
}

.video-placeholder-card:hover .video-thumb-img {
    transform: scale(1.06);
    filter: brightness(0.98) contrast(1.08);
}

.video-placeholder-card.video-card-timekeeping:hover {
    box-shadow: var(--shadow-strong), 0 8px 32px 0 rgba(76, 201, 240, 0.35);
    border-color: rgba(76, 201, 240, 0.4);
}

.video-placeholder-card.video-card-printer:hover {
    box-shadow: var(--shadow-strong), 0 8px 32px 0 rgba(249, 115, 22, 0.4);
    border-color: rgba(249, 115, 22, 0.5);
}

.video-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 6px 14px;
    background: rgba(19, 7, 34, 0.85);
    border: 1px solid rgba(247, 37, 133, 0.6);
    color: #ff70a6;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    z-index: 3;
    backdrop-filter: blur(8px);
}

.video-badge-timekeeping {
    border-color: rgba(76, 201, 240, 0.6);
    color: var(--secondary-color);
}

.video-badge-printer {
    border-color: rgba(249, 115, 22, 0.6);
    color: #f97316;
}

.video-placeholder-card .play-btn-circle {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(247, 37, 133, 0.6);
    transition: var(--transition-smooth);
    z-index: 3;
    animation: pulse-glow 2s infinite;
}

.video-placeholder-card .play-btn-circle.play-btn-timekeeping {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 0 25px rgba(76, 201, 240, 0.6);
    animation: pulse-glow-cyan 2s infinite;
}

.video-placeholder-card .play-btn-circle.play-btn-printer {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.6);
    animation: pulse-glow-amber 2s infinite;
}

.video-placeholder-card:hover .play-btn-circle {
    transform: translate(-50%, -50%) scale(1.18);
    box-shadow: 0 0 35px rgba(247, 37, 133, 0.9);
}

.video-placeholder-card.video-card-timekeeping:hover .play-btn-circle {
    box-shadow: 0 0 35px rgba(76, 201, 240, 0.9);
}

.video-placeholder-card.video-card-printer:hover .play-btn-circle {
    box-shadow: 0 0 35px rgba(249, 115, 22, 0.9);
}

.video-info-box {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    padding-top: 10px;
}

.video-placeholder-text {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.video-placeholder-subtext {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    line-height: 1.4;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(247, 37, 133, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 37, 133, 0); }
}

@keyframes pulse-glow-cyan {
    0% { box-shadow: 0 0 0 0 rgba(76, 201, 240, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(76, 201, 240, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 201, 240, 0); }
}

@keyframes pulse-glow-amber {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Mobile menu toggled by js */
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px; /* height of navbar */
        left: 0;
        width: 100%;
        background: rgba(15, 7, 28, 0.98);
        border-bottom: 1px solid rgba(157, 78, 221, 0.25);
        padding: 16px 0;
        gap: 0;
        backdrop-filter: blur(24px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: slideDown 0.3s ease forwards;
    }
    
    .nav-menu.active .nav-link {
        width: 100%;
        padding: 14px 24px;
        text-align: center;
        display: block;
        font-size: 1.05rem;
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        transition: all 0.2s ease;
    }
    
    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active .nav-link:hover {
        background: rgba(157, 78, 221, 0.15);
        color: var(--accent-light);
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
}

.floating-btn .btn-label {
    position: absolute;
    right: 70px;
    background: rgba(15, 7, 28, 0.95);
    border: 1px solid var(--border-glass);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.floating-btn:hover .btn-label {
    opacity: 1;
    visibility: visible;
    right: 66px;
}

.zalo-btn {
    background: #0068ff;
    animation: pulse-zalo 2s infinite;
}

/* Chữ "Zalo" thay biểu tượng tin nhắn chung chung */
.zalo-btn .zalo-logo {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: -0.2px;
    color: #fff;
}

.phone-btn {
    background: #4caf50;
    animation: pulse-phone 2s infinite;
}

@keyframes pulse-zalo {
    0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 104, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); }
}

@keyframes pulse-phone {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Mobile viewport optimizations */
@media (max-width: 576px) {
    .pricing-card {
        padding: 24px 16px;
    }
    
    .contact-container {
        padding: 24px 16px;
    }
    
    .contact-card-info {
        padding: 24px 16px;
    }
    
    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .video-placeholder-card {
        min-height: 250px;
        padding: 16px 14px 16px;
    }
    
    .video-placeholder-card .play-btn-circle {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
    
    .video-placeholder-text {
        font-size: 1.05rem;
    }
    
    .video-placeholder-subtext {
        font-size: 0.8rem;
        margin-top: 4px;
    }

    .printer-hero-banner {
        padding: 20px 16px;
    }

    .printer-banner-title {
        font-size: 1.15rem;
    }

    .printer-banner-subtitle {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   MOCKUP SWITCHER & MULTI-VIEW STYLES (POS, MOBILE APP, REPORTS)
   ========================================================================== */
.mockup-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.mockup-tab-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
}

.mockup-tab-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.mockup-tab-btn.active {
    background: var(--gradient-accent);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(247, 37, 133, 0.4);
}

.mockup-view {
    display: none;
    animation: fadeInView 0.35s ease forwards;
}

.mockup-view.active {
    display: block;
}

@keyframes fadeInView {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   1. MOBILE APP MOCKUP UI
   -------------------------------------------------------------------------- */
.mobile-view-wrapper {
    background: #0f071c;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 440px;
}

.phone-device-frame {
    width: 320px;
    background: #181126;
    border: 3px solid #3d2460;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(114, 9, 183, 0.3);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    background: #f8f9fb;
    border-radius: 28px;
    overflow: hidden;
    color: #222222;
    display: flex;
    flex-direction: column;
    height: 400px;
    font-family: 'Inter', sans-serif;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 16px 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #333333;
    background: #f8f9fb;
}

.phone-notch {
    width: 70px;
    height: 14px;
    background: #000000;
    border-radius: 10px;
}

.phone-app-header {
    background: #7209b7;
    color: #ffffff;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-badge-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    padding: 2px;
}

.store-name-title {
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.1;
}

.store-table-tag {
    font-size: 0.58rem;
    opacity: 0.85;
}

.phone-categories-scroll {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
    background: #ffffff;
    overflow-x: auto;
    border-bottom: 1px solid #ebebeb;
}

.phone-cat-pill {
    padding: 4px 10px;
    background: #f0f0f5;
    border-radius: 100px;
    font-size: 0.62rem;
    font-weight: 600;
    color: #555555;
    white-space: nowrap;
}

.phone-cat-pill.active {
    background: #7209b7;
    color: #ffffff;
}

.phone-products-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phone-product-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid #eeeeee;
}

.phone-prod-thumb {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    object-fit: cover;
}

.phone-prod-info {
    flex-grow: 1;
}

.phone-prod-name {
    font-size: 0.68rem;
    font-weight: 700;
    color: #222222;
}

.phone-prod-price {
    font-size: 0.65rem;
    color: #e63946;
    font-weight: 700;
}

.phone-add-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #7209b7;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
}

.phone-cart-bar {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.05);
}

.phone-cart-left {
    font-size: 0.68rem;
}

.phone-cart-total {
    font-weight: 800;
    color: #e63946;
    font-size: 0.78rem;
}

.phone-pay-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --------------------------------------------------------------------------
   2. REPORTS DASHBOARD MOCKUP UI
   -------------------------------------------------------------------------- */
.report-view-wrapper {
    background: #15092a;
    padding: 16px 20px;
    height: 440px;
    overflow-y: auto;
    color: #ffffff;
}

.report-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.report-date-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.report-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.kpi-card-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.kpi-card-box.kpi-revenue { border-color: rgba(76, 201, 240, 0.4); }
.kpi-card-box.kpi-orders { border-color: rgba(168, 85, 247, 0.4); }
.kpi-card-box.kpi-profit { border-color: rgba(76, 175, 80, 0.4); }
.kpi-card-box.kpi-ecom { border-color: rgba(238, 77, 45, 0.4); }

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.kpi-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Be Vietnam Pro', sans-serif;
    margin-bottom: 2px;
}

.kpi-grow {
    font-size: 0.62rem;
    color: #22c55e;
    font-weight: 600;
}

.report-charts-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 12px;
}

.chart-panel-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
}

.chart-title-sm {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
}

.bar-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    padding-top: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bar-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    gap: 4px;
}

.bar-fill {
    width: 100%;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #4cc9f0, #3a0ca3);
    transition: height 0.5s ease;
}

.bar-label {
    font-size: 0.58rem;
    color: var(--text-muted);
}

.top-items-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.top-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    padding: 4px 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.top-item-name {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-item-rank {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(157, 78, 221, 0.3);
    color: #ffffff;
    font-size: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   3. SHOWCASE SECTION (MULTI-DEVICE & ANALYTICS)
   -------------------------------------------------------------------------- */
.showcase-section {
    position: relative;
    background: linear-gradient(180deg, rgba(19, 7, 34, 0.95) 0%, rgba(30, 11, 56, 0.6) 50%, rgba(19, 7, 34, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-grid-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 40px;
}

.showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 36px;
    backdrop-filter: blur(14px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.showcase-card:hover {
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    width: fit-content;
}

.showcase-tag.tag-mobile {
    background: rgba(76, 201, 240, 0.15);
    color: var(--secondary-color);
    border: 1px solid rgba(76, 201, 240, 0.3);
}

.showcase-tag.tag-report {
    background: rgba(247, 37, 133, 0.15);
    color: var(--accent-light);
    border: 1px solid rgba(247, 37, 133, 0.3);
}

.showcase-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}

.showcase-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.showcase-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.showcase-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.showcase-features-list li i {
    color: #22c55e;
    margin-top: 3px;
}

.showcase-mockup-embed {
    margin-top: auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 992px) {
    .showcase-grid-dual {
        grid-template-columns: 1fr;
    }
    .report-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .report-charts-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PARTNERS & INTEGRATIONS MARQUEE SECTION (ĐỒNG BỘ LIỀN MẠCH VỚI TRANG CHỦ)
   ========================================================================== */
.partners-marquee-section {
    position: relative;
    padding: 10px 0 25px 0;
    margin-top: -10px;
    background: transparent;
    border: none;
    overflow: hidden;
    z-index: 10;
}

.partners-marquee-section::before {
    display: none;
}

.partners-header {
    position: relative;
    z-index: 2;
    margin-bottom: 32px;
}

.partners-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(247, 37, 133, 0.2);
    border: 1px solid rgba(247, 37, 133, 0.45);
    color: #ff85b3;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    box-shadow: 0 0 20px rgba(247, 37, 133, 0.35);
}

.partners-badge i {
    color: #ffd166;
}

.partners-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.partners-subtitle {
    color: #d1c7dc;
    font-size: 1.05rem;
    max-width: 750px;
    margin: 0 auto;
}

/* Marquee Scroller */
.partner-category-block {
    margin-bottom: 28px;
    position: relative;
}

.partner-category-block:last-child {
    margin-bottom: 0;
}

.partner-cat-header {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.partner-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.partner-cat-pill:hover {
    transform: translateY(-2px);
}

.partner-cat-pill.cat-invoice {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.45);
    color: #93c5fd;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.25);
}

.partner-cat-pill.cat-shipping {
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.45);
    color: #fdba74;
    box-shadow: 0 0 16px rgba(249, 115, 22, 0.25);
}

.partner-cat-pill.cat-ecommerce {
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.45);
    color: #f472b6;
    box-shadow: 0 0 16px rgba(236, 72, 153, 0.25);
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 36s linear infinite;
}

.marquee-track.track-invoice {
    animation: marqueeScroll 32s linear infinite;
}

.marquee-track.track-shipping {
    animation: marqueeScroll 28s linear infinite;
}

.marquee-track.track-ecommerce {
    animation: marqueeScroll 34s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Partner Card Styling - Sáng, Rõ Nét, Cao Cấp */
.partner-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 22px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 0 20px rgba(157, 78, 221, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    cursor: default;
}

.partner-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(247, 37, 133, 0.4);
}

.partner-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-icon-wrap {
    transform: scale(1.08);
}

.logo-bg-white {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px;
    border-radius: 12px;
}

.partner-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.partner-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.partner-name {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.01em;
    line-height: 1.25;
}

.partner-desc {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
    margin-top: 3px;
}

.partner-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    margin-left: 8px;
    letter-spacing: 0.02em;
}

.partner-tag.tag-hot {
    background: #fff1f0;
    color: #e11d48;
    border-color: #fecdd3;
}

.partner-tag.tag-success {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}

.partner-tag.tag-invoice {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.25);
}

.partner-tag.tag-shipping {
    background: rgba(243, 112, 33, 0.12);
    color: #ea580c;
    border-color: rgba(243, 112, 33, 0.25);
}

.partner-tag.tag-ecommerce {
    background: rgba(236, 72, 153, 0.12);
    color: #db2777;
    border-color: rgba(236, 72, 153, 0.25);
}

.partner-tag.tag-soundbox {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.25);
}

.soundbox-bg {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border-radius: 12px;
}

/* ==========================================================================
   TOÀN DIỆN MOBILE & TABLET RESPONSIVE (CHỐNG MÓP MÉO VÀ TRÀN KHUNG)
   ========================================================================== */

/* Ngăn ngừa tràn khung ngang trên mọi kích thước màn hình */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

/* Tablet & Màn hình vừa (< 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 24px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    /* Header & Mobile Nav */
    .navbar {
        height: 72px;
    }
    
    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(121, 40, 202, 0.45), rgba(255, 0, 122, 0.3));
        border: 1px solid rgba(0, 210, 255, 0.5);
        color: #ffffff;
        font-size: 1.35rem;
        cursor: pointer;
        box-shadow: 0 0 15px rgba(121, 40, 202, 0.4);
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(36, 17, 66, 0.95);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        flex-direction: column;
        padding: 22px 18px 28px 18px;
        gap: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        border-bottom: 2px solid #a855f7;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(121, 40, 202, 0.35);
        transform: translateY(-160%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-link {
        font-size: 1rem;
        font-weight: 700;
        padding: 12px 16px;
        width: 100%;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #ffffff;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.25s ease;
    }

    .nav-link i {
        color: #00d2ff;
        font-size: 1.15rem;
        width: 22px;
        text-align: center;
    }
    
    .nav-link:hover, .nav-link:active {
        background: linear-gradient(135deg, rgba(121, 40, 202, 0.6), rgba(0, 210, 255, 0.35));
        border-color: #00d2ff;
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
    }
    
    .mobile-nav-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        margin-top: 6px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-nav-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.9rem;
        border-radius: 12px;
        font-weight: 700;
    }

    .mobile-nav-actions .btn-secondary {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-nav-actions .btn-primary {
        background: linear-gradient(135deg, #7928ca, #ff007a);
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(121, 40, 202, 0.35);
    }
    
    .nav-actions {
        display: none;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 110px;
        padding-bottom: 40px;
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .hero-grid {
        grid-template-columns: 100% !important;
        gap: 36px;
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.25;
        max-width: 100% !important;
        word-wrap: break-word !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100% !important;
        margin: 0 auto 28px;
        word-wrap: break-word !important;
    }
    
    .hero-btns {
        justify-content: center;
        width: 100% !important;
        max-width: 450px !important;
        box-sizing: border-box !important;
    }
    
    .hero-stats {
        justify-content: center;
        margin: 0 auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Hero Visual Devices: Tách riêng 2 dòng trên Mobile */
    .hero-visual {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 15px auto 0 auto !important;
        display: flex;
        flex-direction: column;
        gap: 20px;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .dashboard-mockup {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        border-radius: 16px;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        box-sizing: border-box !important;
        transform: none !important;
        animation: none !important;
    }
    
    .mockup-body.pos-layout {
        min-width: 540px;
        height: 380px;
    }
    
    /* Dòng 2: 2 Điện thoại đặt song song cân đối bên dưới */
    .hero-mobile-devices-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 450px !important;
        margin: 10px auto 0 !important;
        position: static !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    
    .hero-phone-device.device-left,
    .hero-phone-device.device-right {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        display: block !important;
        animation: none !important;
        transform: none !important;
        border-width: 2.5px !important;
        border-radius: 26px !important;
        padding: 6px 5px 8px !important;
        box-sizing: border-box !important;
    }
    
    .phone-screen-inner {
        height: 310px !important;
        border-radius: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .phone-badge-tag {
        font-size: 0.56rem !important;
        padding: 2px 8px !important;
        top: -9px !important;
    }
    
    .phone-toggle-pills {
        bottom: 6px !important;
        padding: 2px 5px !important;
    }
    
    .phone-pill-btn {
        font-size: 0.54rem !important;
        padding: 2px 6px !important;
    }
    
    /* Grids & Cards */
    .showcase-grid-dual {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .report-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .report-charts-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-grid, .downloads-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Smartphone & Màn hình di động (< 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .section-padding {
        padding: 45px 0;
    }
    
    .section-header {
        margin-bottom: 35px;
    }
    
    .section-title {
        font-size: 1.7rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Hero on Mobile */
    .hero-section {
        padding-top: 96px;
        padding-bottom: 30px;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    .badge {
        font-size: 0.72rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }
    
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
        margin-bottom: 14px;
        word-wrap: break-word !important;
    }
    
    .hero-subtitle {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 24px;
        word-wrap: break-word !important;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100% !important;
        gap: 12px;
        margin-bottom: 28px;
        box-sizing: border-box !important;
    }
    
    .hero-btns .btn {
        width: 100% !important;
        justify-content: center;
        padding: 13px 20px;
        font-size: 0.95rem;
        box-sizing: border-box !important;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding-top: 20px;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .stat-num {
        font-size: 1.35rem;
    }
    
    .stat-label {
        font-size: 0.72rem;
    }
    
    /* Thu gọn màn hình thu ngân POS trên Mobile: Ngắn lại, nhỏ gọn vừa vặn khung hình */
    .dashboard-mockup {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        margin: 0 auto !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
    }
    
    .mockup-header {
        padding: 6px 10px !important;
        gap: 8px !important;
    }
    
    .mockup-dots span {
        width: 6px !important;
        height: 6px !important;
    }
    
    .mockup-title {
        font-size: 0.62rem !important;
    }

    .mockup-body.pos-layout {
        display: grid !important;
        grid-template-columns: 46px 1.22fr 1fr !important;
        height: 255px !important;
        min-width: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    /* Thu nhỏ cột danh mục trái */
    .pos-sidebar {
        padding: 2px 0 !important;
    }
    
    .pos-sidebar .category-item {
        padding: 5px 2px !important;
        font-size: 0.48rem !important;
        line-height: 1.1 !important;
    }
    
    .pos-sidebar .category-item span {
        font-size: 0.52rem !important;
    }

    /* Thu nhỏ thanh tìm kiếm & sản phẩm */
    .pos-search-bar {
        padding: 4px 6px !important;
        gap: 4px !important;
    }
    
    .pos-search-bar .arrow-back, .pos-search-bar .trash-icon, .pos-search-bar .add-icon {
        font-size: 0.65rem !important;
    }
    
    .search-input-wrapper input {
        padding: 3px 20px !important;
        font-size: 0.52rem !important;
    }
    
    .keyboard-icon, .barcode-scanner-icon {
        font-size: 0.58rem !important;
        left: 6px !important;
        right: 6px !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4px !important;
        padding: 4px !important;
    }
    
    .product-card {
        padding: 3px !important;
        border-radius: 4px !important;
    }
    
    .product-img {
        height: 36px !important;
    }
    
    .product-name {
        font-size: 0.52rem !important;
        line-height: 1.1 !important;
        margin: 2px 0 !important;
    }
    
    .product-price {
        font-size: 0.52rem !important;
        font-weight: 700 !important;
    }

    /* Thu nhỏ giỏ hàng */
    .pos-cart {
        padding: 4px 5px !important;
    }
    
    .cart-header-buttons {
        gap: 2px !important;
        margin-bottom: 3px !important;
    }
    
    .cart-btn {
        font-size: 0.45rem !important;
        padding: 2px 3px !important;
    }
    
    .cart-items-list {
        gap: 3px !important;
    }
    
    .cart-item-box {
        padding: 3px 4px !important;
        margin-bottom: 2px !important;
    }
    
    .item-title {
        font-size: 0.52rem !important;
    }
    
    .unit-price, .item-total {
        font-size: 0.48rem !important;
    }
    
    .item-notes, .item-subtoppings, .note-input {
        display: none !important;
    }
    
    .qty-btn {
        width: 14px !important;
        height: 14px !important;
        font-size: 0.52rem !important;
        line-height: 14px !important;
    }
    
    .qty-val {
        font-size: 0.5rem !important;
    }
    
    /* Cart Summary Footer Mobile */
    .cart-summary-footer {
        padding: 4px 5px !important;
        gap: 2px !important;
    }
    
    .summary-line {
        font-size: 0.46rem !important;
    }
    
    .summary-line.highlight-total {
        font-size: 0.5rem !important;
        padding-top: 2px !important;
    }
    
    .summary-line.highlight-total .total-amount {
        font-size: 0.6rem !important;
    }
    
    .pos-action-buttons {
        gap: 3px !important;
        margin-top: 2px !important;
        grid-template-columns: 1fr 1.4fr !important;
    }
    
    .action-btn {
        font-size: 0.42rem !important;
        padding: 3px 2px !important;
        border-radius: 4px !important;
        gap: 2px !important;
    }
    
    /* Dòng 2 Điện thoại trên Smartphone nhỏ */
    .hero-mobile-devices-row {
        gap: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .phone-screen-inner {
        height: 275px !important;
    }
    
    /* Partners Marquee on Mobile */
    .partners-marquee-section {
        padding: 10px 0 45px 0;
    }
    
    .partner-category-block {
        margin-bottom: 20px !important;
    }
    
    .partner-cat-header {
        margin-bottom: 8px !important;
    }
    
    .partner-cat-pill {
        font-size: 0.68rem !important;
        padding: 4px 12px !important;
    }
    
    .partners-badge {
        font-size: 0.72rem;
        padding: 4px 12px;
    }
    
    .partners-title {
        font-size: 1.35rem;
        line-height: 1.3;
    }
    
    .partners-subtitle {
        font-size: 0.85rem;
    }
    
    .marquee-group {
        gap: 14px;
        padding-right: 14px;
    }
    
    .partner-card {
        padding: 8px 14px;
        gap: 10px;
        border-radius: 14px;
    }
    
    .partner-icon-wrap {
        width: 36px;
        height: 36px;
        padding: 4px;
        font-size: 1.1rem;
    }
    
    .partner-name {
        font-size: 0.88rem;
    }
    
    .partner-desc {
        font-size: 0.7rem;
    }
    
    .partner-tag {
        font-size: 0.65rem;
        padding: 3px 8px;
        margin-left: 4px;
    }
    
    .marquee-track {
        animation-duration: 28s;
    }
    
    /* Features Tabs on Mobile (Thanh trượt ngang vuốt mượt mà) */
    .features-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding: 6px 4px 14px 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .features-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.82rem;
        padding: 9px 15px;
        border-radius: 100px;
    }
    
    /* Features Cards on Mobile (Bố cục ngang nhỏ gọn, tiết kiệm 60% chiều cao cuộn trang) */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .feature-card {
        padding: 14px 14px !important;
        border-radius: 14px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
        text-align: left !important;
    }

    .feature-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 10px !important;
        font-size: 1.1rem !important;
        margin-bottom: 0 !important;
        margin-top: 2px !important;
    }
    
    .feature-title {
        font-size: 0.96rem !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
        font-weight: 700 !important;
    }
    
    .feature-desc {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    /* Pricing on Mobile (Bảng giá 1 hàng 2 thẻ cân đối, siêu gọn gàng) */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }

    .pricing-grid-view {
        display: none !important;
    }

    .pricing-grid-view.active {
        display: grid !important;
    }

    .addon-pricing-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 15px !important;
    }
    
    .pricing-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 8px 12px 8px !important;
        border-radius: 14px !important;
        margin-bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        text-align: center !important;
    }
    
    .pricing-card-badge {
        font-size: 0.52rem !important;
        padding: 2px 6px !important;
        top: -9px !important;
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
    }

    .pricing-card.popular {
        transform: none !important;
    }

    .plan-name {
        font-size: 0.92rem !important;
        margin-bottom: 3px !important;
        line-height: 1.2 !important;
    }

    .plan-desc {
        font-size: 0.66rem !important;
        margin-bottom: 8px !important;
        min-height: 32px !important;
        line-height: 1.25 !important;
    }
    
    .price-value {
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        display: block !important;
    }

    .price-period {
        font-size: 0.66rem !important;
        display: block !important;
        margin-top: 1px !important;
    }

    .pricing-action {
        padding-top: 10px !important;
        margin-top: auto !important;
    }

    .pricing-action .btn {
        padding: 8px 4px !important;
        font-size: 0.72rem !important;
        border-radius: 8px !important;
        width: 100% !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }

    /* Downloads on Mobile: Gọn gàng trong 1 thẻ chuyển tab 3 nền tảng (Windows / Android / iOS) */
    .download-tabs-nav {
        display: flex !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
        flex-wrap: nowrap !important;
    }

    .download-tab-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 9px 16px !important;
        border-radius: 100px !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        font-family: 'Be Vietnam Pro', sans-serif !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: var(--text-muted) !important;
        cursor: pointer !important;
        transition: var(--transition-smooth) !important;
    }

    .download-tab-btn.active {
        background: linear-gradient(135deg, #7928ca, #ff007a) !important;
        color: #ffffff !important;
        border-color: transparent !important;
        box-shadow: 0 4px 15px rgba(121, 40, 202, 0.4) !important;
    }

    .download-grid {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .download-card {
        display: none !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }

    .download-card.active-mobile {
        display: flex !important;
        animation: fadeInTab 0.3s ease !important;
    }

    .download-platform {
        font-size: 2.2rem !important;
        margin-bottom: 8px !important;
    }

    .download-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 4px !important;
    }

    .download-desc {
        font-size: 0.8rem !important;
        margin-bottom: 14px !important;
        min-height: auto !important;
    }

    .download-divider {
        margin: 14px 0 !important;
    }

    .download-meta {
        font-size: 0.72rem !important;
        margin-top: 8px !important;
    }
    
    /* Contact Form & FAQs on Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-card {
        padding: 24px 16px;
        border-radius: 18px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .faq-item {
        padding: 16px;
        border-radius: 14px;
    }
    
    /* Footer on Mobile */
    .footer {
        padding: 45px 0 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 20px;
    }
}

/* ==========================================================================
   FEATURES TABS (DESKTOP & MOBILE CONTINUOUS MARQUEE CHẠY NGANG)
   ========================================================================== */
.features-tabs-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto 40px auto;
}

.features-tabs-track {
    display: flex;
    justify-content: center;
    width: 100%;
}

.features-tabs-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.features-tabs-group[aria-hidden="true"] {
    display: none;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-muted);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(121, 40, 202, 0.5);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #7928ca, #ff007a);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(121, 40, 202, 0.5);
}

.tab-btn-highlight {
    border-color: rgba(255, 94, 0, 0.4);
}

.tab-new-badge {
    background: #ff5e00;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Mobile: Chạy ngang mượt mà vô tận giống dải thẻ đối tác */
@media (max-width: 768px) {
    .features-tabs-wrapper {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        overflow: hidden !important;
        padding: 10px 0 !important;
        margin-bottom: 25px !important;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    }

    .features-tabs-track {
        display: flex !important;
        width: max-content !important;
        animation: tabsMarqueeScroll 28s linear infinite !important;
    }

    .features-tabs-wrapper:hover .features-tabs-track,
    .features-tabs-wrapper:active .features-tabs-track {
        animation-play-state: paused !important;
    }

    .features-tabs-group {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px !important;
        padding-right: 10px !important;
    }

    .features-tabs-group[aria-hidden="true"] {
        display: flex !important;
    }

    .tab-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 0.82rem !important;
        padding: 9px 15px !important;
        border-radius: 100px !important;
    }

    @keyframes tabsMarqueeScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        margin-bottom: 4px !important;
    }

    .download-desc {
        font-size: 0.8rem !important;
        margin-bottom: 14px !important;
        min-height: auto !important;
    }

    .download-divider {
        margin: 14px 0 !important;
    }

    .download-meta {
        font-size: 0.72rem !important;
        margin-top: 8px !important;
    }
    
    /* Contact Form & FAQs on Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-card {
        padding: 24px 16px;
        border-radius: 18px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .faq-item {
        padding: 16px;
        border-radius: 14px;
    }
    
    /* Footer on Mobile */
    .footer {
        padding: 45px 0 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 20px;
    }
}

/* ==========================================================================
   FEATURES TABS (DESKTOP & MOBILE CONTINUOUS MARQUEE CHẠY NGANG)
   ========================================================================== */
.features-tabs-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto 25px auto;
}

.features-tabs-track {
    display: flex;
    justify-content: center;
    width: 100%;
}

.features-tabs-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.features-tabs-group[aria-hidden="true"] {
    display: none;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-muted);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(121, 40, 202, 0.5);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #7928ca, #ff007a);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(121, 40, 202, 0.5);
}

.tab-btn-highlight {
    border-color: rgba(255, 94, 0, 0.4);
}

.tab-new-badge {
    background: #ff5e00;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Mobile: Chạy ngang mượt mà vô tận giống dải thẻ đối tác */
@media (max-width: 768px) {
    .features-tabs-wrapper {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        overflow: hidden !important;
        padding: 10px 0 !important;
        margin-bottom: 25px !important;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    }

    .features-tabs-track {
        display: flex !important;
        width: max-content !important;
        animation: tabsMarqueeScroll 28s linear infinite !important;
    }

    .features-tabs-wrapper:hover .features-tabs-track,
    .features-tabs-wrapper:active .features-tabs-track {
        animation-play-state: paused !important;
    }

    .features-tabs-group {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px !important;
        padding-right: 10px !important;
    }

    .features-tabs-group[aria-hidden="true"] {
        display: flex !important;
    }

    .tab-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 0.82rem !important;
        padding: 9px 15px !important;
        border-radius: 100px !important;
    }

    @keyframes tabsMarqueeScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   INDUSTRIES SECTION - CÁC NGÀNH NGHỀ PHẦN MỀM HỖ TRỢ (12 NGÀNH)
   ========================================================== */
.industries-section {
    position: relative;
    padding: 30px 0 40px 0;
    overflow: hidden;
}

/* Industry Filters (Desktop: Căn giữa tĩnh | Mobile: Chạy ngang Marquee liên tục) */
.industry-filters-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto 30px auto;
    padding: 0;
}

.industry-filters-track {
    display: flex;
    justify-content: center;
    width: 100%;
}

.industry-filters-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.industry-filters-group[aria-hidden="true"] {
    display: none;
}

.ind-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 1.05rem; /* Cỡ chữ to rõ ràng */
    padding: 13px 26px; /* Nút rộng rãi, nổi bật */
    border-radius: 100px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.01em;
}

.ind-filter-btn i {
    font-size: 1.15rem;
    transition: transform 0.3s ease;
}

.ind-filter-btn:hover {
    color: #ffffff;
    border-color: var(--secondary-color);
    background: rgba(0, 210, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.25);
}

.ind-filter-btn:hover i {
    transform: scale(1.15);
}

.ind-filter-btn.active {
    background: linear-gradient(135deg, #7928ca, #00d2ff);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(0, 210, 255, 0.5), 0 0 20px rgba(121, 40, 202, 0.4);
}

/* Mobile: Kích hoạt chạy ngang lặp vô tận */
@media (max-width: 768px) {
    .industry-filters-wrapper {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        overflow: hidden !important;
        padding: 6px 0 14px 0 !important;
        margin-bottom: 25px !important;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%) !important;
        mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%) !important;
    }

    .industry-filters-track {
        display: flex !important;
        width: max-content !important;
        animation: industryMarqueeScroll 26s linear infinite !important;
    }

    .industry-filters-wrapper:hover .industry-filters-track,
    .industry-filters-wrapper:active .industry-filters-track {
        animation-play-state: paused !important;
    }

    .industry-filters-group {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px !important;
        padding-right: 10px !important;
    }

    .industry-filters-group[aria-hidden="true"] {
        display: flex !important;
    }

    .ind-filter-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 0.95rem !important;
        padding: 10px 18px !important;
    }

    @keyframes industryMarqueeScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

@media (max-width: 1400px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Industry Card */
.industry-card {
    background: rgba(30, 15, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.industry-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 210, 255, 0.45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(121, 40, 202, 0.3);
}

.industry-card.hidden {
    display: none !important;
}

/* Industry Image Wrap */
.industry-img-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #0f0720;
}

.industry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card:hover .industry-img {
    transform: scale(1.08);
}

.industry-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(30, 15, 59, 0.95), transparent);
    pointer-events: none;
}

/* Badges */
.industry-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.industry-badge.fnb {
    background: rgba(249, 115, 22, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.industry-badge.retail {
    background: rgba(14, 165, 233, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.industry-badge.service {
    background: rgba(168, 85, 247, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.industry-badge.special {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.industry-badge.beauty {
    background: rgba(236, 72, 153, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.industry-badge.gym {
    background: rgba(16, 185, 129, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.industry-badge.pharma {
    background: rgba(20, 184, 166, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.industry-badge.tech {
    background: rgba(99, 102, 241, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.industry-badge.bakery {
    background: rgba(217, 119, 6, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.industry-badge.build {
    background: rgba(100, 116, 139, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card Content */
.industry-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.industry-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.industry-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.industry-feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.industry-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.9);
    line-height: 1.4;
}

.industry-feature-list li i {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Ảnh màn hình bán hàng thật thay cho khung mô phỏng HTML */
.dashboard-mockup .mockup-shot {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}

/* Màn lớn: ảnh màn bán hàng ở giữa, 2 điện thoại 2 bên nhỏ lại và lệch ra ngoài, hạ thấp xuống
   → chỉ đè mép dưới 2 bên, không che phần chính của ảnh */
@media (min-width: 993px) {
    .hero-visual .dashboard-mockup {
        max-width: 80%;
    }
    .hero-phone-device.device-left,
    .hero-phone-device.device-right {
        width: 132px;
        /* Canh giữa theo chiều cao ảnh màn bán hàng (điện thoại cao ~260px) */
        bottom: auto;
        top: 50%;
        margin-top: -130px;
    }
    .hero-phone-device.device-left { left: -25px; }
    .hero-phone-device.device-right { right: -25px; }
    .hero-phone-device .phone-screen-inner {
        height: 235px;
    }
}

/* Thẻ ngành nghề gọn lại (đỡ phải cuộn lâu): ảnh thấp hơn, mô tả 2 dòng, chỉ giữ 2 ý nổi bật */
.industries-grid { gap: 18px; }
.industry-img-wrap { height: 120px; }
.industry-content { padding: 14px 16px 16px; }
.industry-title { font-size: 1rem; margin-bottom: 6px; }
.industry-desc {
    font-size: 0.82rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.industry-feature-list { gap: 5px; padding-top: 10px; }
.industry-feature-list li { font-size: 0.8rem; }
.industry-feature-list li:nth-child(n+3) { display: none; }
@media (min-width: 993px) and (max-width: 1400px) {
    .industries-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
    /* Điện thoại: 2 thẻ một hàng, chỉ ảnh + tên ngành */
    .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .industry-img-wrap { height: 90px; }
    .industry-content { padding: 10px 12px 12px; }
    .industry-title { font-size: 0.88rem; margin-bottom: 0; }
    .industry-desc, .industry-feature-list { display: none; }
    .industry-badge { top: 8px; left: 8px; padding: 3px 8px; font-size: 0.65rem; }
}

/* Thẻ "Hệ thống tính năng" gọn lại: thẻ nhỏ hơn, mô tả tối đa 2–3 dòng */
.features-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.feature-card { padding: 20px; border-radius: 16px; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; font-size: 1.15rem; margin-bottom: 12px; }
.feature-title { font-size: 1.05rem; margin-bottom: 6px; line-height: 1.35; }
.feature-desc {
    font-size: 0.85rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 768px) {
    /* Điện thoại: biểu tượng bên trái, tên + mô tả 2 dòng xếp dọc bên phải */
    .feature-card {
        display: grid !important;
        grid-template-columns: 38px 1fr;
        column-gap: 12px;
        align-items: start !important;
        padding: 12px !important;
    }
    .feature-icon { grid-row: 1 / span 2; }
    .feature-title, .feature-desc { grid-column: 2; }
    .feature-desc { -webkit-line-clamp: 2; }
}

/* Bảng giá phần mềm bổ sung (Chấm công / Lấy số / Thiết kế tem) gộp thành tab */
.addon-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.addon-tab-btn {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.addon-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
    color: #fff;
}
.addon-tab-panel { display: none; }
.addon-tab-panel.active { display: block; }
.addon-tab-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 auto 20px;
}
@media (max-width: 600px) {
    .addon-tab-btn { padding: 8px 12px; font-size: 0.8rem; }
}

/* Logo chữ GHTK (chưa có file ảnh logo) */
.ghtk-logo {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    color: #00a651;
    letter-spacing: 0.5px;
}
.brand-tag-ghtk { border-color: rgba(0, 166, 81, 0.45) !important; }

/* Hợp tác: tuyển Sale / CTV / Đại lý */
.hoptac-section { position: relative; }
.hoptac-head { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.hoptac-head h2 { font-size: 2.3rem; line-height: 1.25; margin-bottom: 16px; }
.hoptac-hl { background: var(--gradient-neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hoptac-head p { color: var(--text-muted); font-size: 1.1rem; }
.hoptac-head p strong { color: var(--text-main); }
.hoptac-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.hoptac-tags span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-glass); background: rgba(255, 255, 255, 0.04); font-weight: 600; font-size: 0.95rem; }
.hoptac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hoptac-card { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 24px; padding: 28px; backdrop-filter: blur(16px); transition: var(--transition-smooth); }
.hoptac-card:hover { border-color: var(--border-glass-hover); transform: translateY(-4px); }
.hoptac-icon { font-size: 2rem; margin-bottom: 10px; }
.hoptac-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.hoptac-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hoptac-card li { color: var(--text-muted); line-height: 1.5; font-size: 0.98rem; }
.hoptac-card li b { color: var(--text-main); }
.hoptac-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-radius: 24px; border: 1px solid var(--border-glass); background: linear-gradient(135deg, rgba(121, 40, 202, 0.25), rgba(255, 0, 122, 0.15)); }
.hoptac-company { display: flex; flex-direction: column; gap: 6px; }
.hoptac-company strong { font-size: 1.05rem; }
.hoptac-company span { color: var(--text-muted); }
.hoptac-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 992px) {
    .hoptac-grid { grid-template-columns: 1fr; }
    .hoptac-head h2 { font-size: 1.8rem; }
    .hoptac-cta { flex-direction: column; align-items: stretch; text-align: center; }
    .hoptac-actions { flex-direction: column; }
    .hoptac-actions .btn { width: 100%; justify-content: center; }
}

/* Menu có thêm mục "Hợp Tác" → màn 993–1150px ẩn icon trước chữ cho khỏi chật */
@media (min-width: 993px) and (max-width: 1150px) {
    .nav-menu .nav-link i { display: none; }
}
