/* ROSA – trang Agent Computer: giao diện tối (giữ tông đen/xanh của trang gốc), bố cục gọn, ít hiệu ứng */
:root {
    --bg: #060b17;
    --bar: #0a1020;
    --panel: #0b1527;
    --panel2: #0e1a30;
    --line: #1a2a45;
    --text: #e8eefb;
    --muted: #9fb0cc;
    --blue: #2f9bff;
    --red: #e8384f;
    --red-dark: #cc2c42;
    --font: "Be Vietnam Pro", "Mulish", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

svg.i {
    width: 1.3em;
    height: 1.3em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

/* Thanh điều hướng */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 16, 32, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-content {
    height: 74px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo-icon {
    display: block;
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
    height: 100%;
}

.nav-links a:not(.btn) {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color .15s;
}

.nav-links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform .2s;
}

.nav-links a:not(.btn):hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--blue);
    color: #fff !important;
    font-weight: 600;
    font-size: 13.5px;
    white-space: nowrap;
    transition: background .15s;
}

.btn:hover {
    background: #1a86ec;
}

.nav-cta {
    display: none;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* Banner (hình) */
.banner-img {
    margin: 36px auto 0;
}

.banner-img img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.banner-img.second {
    margin: 28px 0 0;
}

/* Tiêu đề mục */
.ag-sec {
    padding-top: 52px;
}

.ag-sec.first {
    padding-top: 44px;
}

.ag-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #fff;
}

.ag-head::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    flex: none;
}

/* Bảng cấu hình */
.tbl-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
}

table {
    width: 100%;
    min-width: 940px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 15px;
}

th,
td {
    padding: 18px 22px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    line-height: 1.6;
}

th:last-child,
td:last-child {
    border-right: 0;
}

tbody tr:last-child th,
tbody tr:last-child td {
    border-bottom: 0;
}

thead th {
    padding: 0;
    color: #fff;
    font-weight: 600;
    font-size: 15.5px;
    background: var(--panel2);
    border-bottom: 1px solid var(--line);
}

thead th>span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-top: 3px solid var(--c, var(--line));
    white-space: nowrap;
}

thead th.purpose {
    width: 140px;
    text-align: left;
    color: var(--muted);
    font-weight: 500;
    padding: 21px 22px 18px;
    border-top: 3px solid var(--line);
}

.g-everyday {
    --c: #2d7bff;
}

.g-dev {
    --c: #1fb25a;
}

.g-lab {
    --c: #ffa11a;
}

.g-ent {
    --c: #8a5cf6;
}

.g-everyday svg {
    color: #2d7bff;
}

.g-dev svg {
    color: #1fb25a;
}

.g-lab svg {
    color: #ffa11a;
}

.g-ent svg {
    color: #8a5cf6;
}

tbody th {
    background: var(--panel2);
    color: #e6edfb;
    font-weight: 600;
}

tbody th>span {
    display: flex;
    align-items: center;
    gap: 14px;
}

tbody th svg {
    color: var(--blue);
    width: 1.5em;
    height: 1.5em;
}

td {
    color: #d3def2;
}

/* Thẻ sản phẩm — Style NZXT Tự Nhiên Dark Theme (Fade Image to Dark Card) */
.ag-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 72px;
}

.ag-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #0b1426;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    border: 1px solid #1a2a45;
}

.ag-card:hover {
    transform: translateY(-8px);
    border-color: #2f9bff;
    box-shadow: 0 20px 50px rgba(26, 130, 255, 0.25);
}

/* Wrapper ảnh có badge và fade */
.ag-img-wrap {
    position: relative;
    width: 100%;
    background: radial-gradient(circle at center, rgba(30, 60, 110, 0.28) 0%, #08101e 75%);
    overflow: hidden;
}

/* Badge con nhộng tối mờ ở góc trên */
.ag-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: rgba(10, 18, 35, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #70b8ff;
    border: 1px solid rgba(47, 155, 255, 0.35);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.ag-img {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 10px;
    text-decoration: none;
}

.ag-img img {
    max-width: 80%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .6));
    transition: transform .35s ease;
}

.ag-card:hover .ag-img img {
    transform: scale(1.05);
}

/* HIỆU ỨNG GRADIENT FADE CHUYỂN MỜ TỰ NHIÊN VÀO THÂN CARD ĐEN */
.ag-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(to bottom, rgba(11, 20, 38, 0) 0%, rgba(11, 20, 38, 0.75) 55%, #0b1426 100%);
    pointer-events: none;
    z-index: 2;
}

.ag-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 6px 24px 24px;
    background: #0b1426;
}

.ag-body h3 {
    margin: 0 0 14px;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
    letter-spacing: -.01em;
}

.ag-specs {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    flex: 1;
}

.ag-specs li {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 10px;
    padding: 6px 0;
    border-top: 1px solid #16243b;
    font-size: 13px;
    line-height: 1.5;
}

.ag-specs li:first-child {
    border-top: none;
}

.ag-specs span {
    color: #58a6ff;
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ag-specs b {
    font-weight: 400;
    color: #c9d8ee;
}

.ag-gift {
    margin: 0 0 16px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: #fbbf24;
    font-size: 12.5px;
    font-weight: 600;
}

.ag-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #16243b;
}

.ag-price {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #ff4d61;
    text-shadow: 0 0 16px rgba(255, 77, 97, 0.35);
    line-height: 1;
}

.ag-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 50px;
    background: linear-gradient(90deg, #d63031, #eb2f06);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: background .2s ease, gap .2s ease, transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 4px 16px rgba(214, 48, 49, 0.4);
}

.ag-btn:hover {
    background: linear-gradient(90deg, #eb2f06, #ff4757);
    gap: 10px;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255, 71, 87, 0.55);
}

/* Chân trang */
/* ============================================================
   ROSA FOOTER — CHUẨN DESIGN SYSTEM ROSA (ẢNH MẪU)
   ============================================================ */
.rosa-footer {
    background: linear-gradient(180deg, #182332 0%, #131c28 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.6;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.05fr 1.55fr;
    gap: 42px;
    padding-top: 48px;
    padding-bottom: 40px;
}

.footer-column {
    min-width: 0;
}

/* Logo & Thông tin công ty */
.logo_footer {
    display: block;
    height: 48px;
    width: auto;
    margin-bottom: 16px;
}

.rosa-footer p {
    margin: 0 0 6px;
}

.company-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 15.5px;
    line-height: 1.45;
    margin-bottom: 8px !important;
}

.tax-code {
    font-size: 14.5px;
    color: #cbd5e1;
    margin-bottom: 14px !important;
}

.label {
    margin-top: 14px !important;
    margin-bottom: 8px !important;
    font-weight: 700;
    color: #ffffff;
    font-size: 15px;
}

/* Tiêu đề các cột */
.col-title {
    margin: 0 0 18px !important;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

/* Danh sách link (không bullet tròn) */
.footer-column ul {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.footer-column li {
    margin-bottom: 9px;
}

.footer-column li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-column li a:hover {
    color: #38bdf8;
    padding-left: 4px;
}

/* Mạng xã hội: các icon tròn màu chuẩn brand */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.12);
    filter: brightness(1.15);
}

.social-icons a[title="Facebook"] {
    background: #1877F2 !important;
}

.social-icons a[title="LinkedIn"] {
    background: #0A66C2 !important;
}

.social-icons a[title="YouTube"] {
    background: #FF0000 !important;
}

/* Logo Bộ Công Thương */
.bct {
    width: 160px;
    height: auto;
    display: block;
    margin-top: 14px;
}

/* Thống kê truy cập */
.stats {
    margin-top: 16px;
    padding-top: 12px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #e2e8f0;
}

.stats p {
    margin: 0 0 4px;
    color: #cbd5e1;
}

/* Thông tin liên hệ */
.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14.5px;
    line-height: 1.55;
    color: #cbd5e1;
}

.contact-info i {
    flex: none;
    color: #38bdf8;
    font-size: 16px;
    margin-top: 3px;
    width: 18px;
    text-align: center;
}

.contact-info p {
    margin: 0;
}

.contact-info strong {
    color: #ffffff;
    font-weight: 700;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #0f1722;
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
}

.footer-bottom .container {
    padding-top: 18px;
    padding-bottom: 18px;
}

.footer-bottom a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width:1100px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .nav-links a:not(.btn) {
        padding: 0 10px;
        font-size: 12.5px;
    }
}

@media (max-width:992px) {
    .ag-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:900px) {
    .nav-content {
        height: 62px;
        justify-content: space-between;
        gap: 16px;
    }

    .nav-cta-desktop {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        height: auto;
        margin: 0;
        padding: 6px 16px 18px;
        background: var(--bar);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a:not(.btn) {
        height: 50px;
        padding: 0 4px;
        border-bottom: 1px solid var(--line);
    }

    .nav-links a:not(.btn)::after {
        display: none;
    }

    .nav-cta {
        display: inline-flex;
        margin-top: 14px;
    }
}

@media (max-width:620px) {
    .container {
        padding: 0 14px;
    }

    .banner-img {
        margin-top: 20px;
    }

    .ag-grid {
        grid-template-columns: 1fr;
    }

    .ag-sec {
        padding-top: 36px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-top: 32px;
        padding-bottom: 24px;
    }
}