﻿        /* ========================================
           CSS RESET & DESIGN SYSTEM
           ======================================== */
        *, *::before, *::after { box-sizing: border-box; }

        :root {
            --primary: #0a4d8c;
            --primary-dark: #073b6e;
            --primary-light: #e8f1fa;
            --accent: #ff6b35;
            --accent-dark: #e55a2b;
            --bg: #f5f7fa;
            --surface: #ffffff;
            --text: #1a1a2e;
            --text-muted: #6c757d;
            --border: #e2e8f0;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
            --shadow: 0 2px 8px rgba(0,0,0,0.08);
            --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
            --radius: 8px;
            --radius-lg: 12px;
            --max-width: 1200px;
            --header-h: 72px;
        }

        html { scroll-behavior: smooth; }

        body {
            margin: 0;
            padding: 0;
            background-color: var(--bg) !important;
            color: var(--text) !important;
            font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif !important;
            font-size: 16px;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }

        a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
        a:hover { color: var(--accent); }

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

        h1, h2, h3, h4, h5, h6 {
            color: var(--text);
            font-weight: 700;
            line-height: 1.3;
            margin-top: 0;
        }

        /* Override Stack theme borders that cause the black line */
        .site-footer, footer, .article, .article-list,
        .section, .container, .content, hr {
            border: none !important;
            border-top: none !important;
            border-bottom: none !important;
        }
        hr { display: none !important; }

        /* ========================================
           LAYOUT: CONTAINER
           ======================================== */
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        #wrapper { min-height: calc(100vh - var(--header-h) - 280px); }

        /* ========================================
           HEADER & NAVIGATION
           ======================================== */
        .site-header {
            background: var(--surface);
            box-shadow: var(--shadow-sm);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border);
        }

        .header-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
            height: var(--header-h);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .header-logo .logo-link {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .header-logo .logo-icon {
            width: 42px;
            height: 42px;
            object-fit: contain;
            flex-shrink: 0;
            border-radius: 6px;
        }

        .header-logo .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
        }

        .header-logo .logo-name {
            font-size: 1.35rem;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: 0.5px;
        }

        .header-logo .logo-tagline {
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1.2px;
        }

        .nav-menu {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            gap: 8px;
        }

        .nav-menu a {
            display: block;
            padding: 8px 18px;
            font-size: 15px;
            font-weight: 600;
            color: var(--text);
            border-radius: 6px;
            transition: all 0.2s;
        }

        .nav-menu a:hover {
            background: var(--primary-light);
            color: var(--primary);
        }

        .nav-menu a.active {
            background: var(--primary);
            color: #fff;
        }

        .nav-menu > li { position: relative; }
        .nav-menu li.has-dropdown > a::after {
            content: '▾';
            font-size: 10px;
            margin-left: 4px;
            opacity: 0.6;
        }
        .nav-menu .dropdown {
            list-style: none;
            margin: 0;
            padding: 6px 0;
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 200px;
            background: #fff;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
            opacity: 0;
            visibility: hidden;
            transform: translateY(8px);
            transition: all 0.2s;
            z-index: 100;
        }
        .nav-menu li.has-dropdown:hover > .dropdown,
        .nav-menu li.has-dropdown:focus-within > .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .nav-menu .dropdown li { position: relative; }
        .nav-menu .dropdown a {
            padding: 8px 18px;
            font-size: 14px;
            font-weight: 500;
            border-radius: 0;
        }
        .nav-menu .dropdown a:hover {
            background: var(--primary-light);
            color: var(--primary);
        }

        .nav-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            flex-direction: column;
            gap: 5px;
        }
        .nav-toggle span {
            display: block;
            width: 24px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
            transition: all 0.3s;
        }
        .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
        .nav-toggle.active span:nth-child(2) { opacity: 0; }
        .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

        /* PAGINATION */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 32px;
            padding-top: 24px;
        }
        .pagination-link, .pagination-current {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 0 12px;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 600;
            text-decoration: none;
        }
        .pagination-link {
            background: var(--surface);
            color: var(--primary);
            border: 1px solid var(--border);
        }
        .pagination-link:hover {
            background: var(--primary-light);
        }
        .pagination-current {
            background: var(--primary);
            color: #fff;
        }

        /* ========================================
           BUTTONS
           ======================================== */
        .btn {
            display: inline-block;
            padding: 13px 28px;
            font-size: 15px;
            font-weight: 700;
            border-radius: 6px;
            border: none;
            cursor: pointer;
            transition: all 0.25s;
            text-decoration: none;
            letter-spacing: 0.3px;
        }
        .btn-primary { background: var(--primary); color: #fff; }
        .btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
        .btn-accent { background: var(--accent); color: #fff; }
        .btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
        .btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
        .btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
        .btn-light { background: #fff; color: var(--primary); }
        .btn-light:hover { background: var(--primary-light); color: var(--primary-dark); }

        /* ========================================
           HERO SECTION
           ======================================== */
        .hero {
            position: relative;
            background: linear-gradient(135deg, rgba(7,59,110,0.93) 0%, rgba(10,77,140,0.88) 50%, rgba(255,107,53,0.75) 100%),
                        url('/images/home-banner.JPG');
            background-size: cover;
            background-position: center;
            color: #fff;
            padding: 90px 0 80px;
        }

        .hero-content {
            max-width: 680px;
        }

        .hero h1 {
            color: #fff;
            font-size: 2.6rem;
            line-height: 1.2;
            margin-bottom: 18px;
            letter-spacing: -0.5px;
        }

        .hero p {
            font-size: 1.15rem;
            line-height: 1.7;
            opacity: 0.92;
            margin-bottom: 32px;
        }

        .hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

        /* ========================================
           SECTIONS
           ======================================== */
        .section { padding: 72px 0; }
        .section-alt { background: var(--surface); }

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

        .section-header h2 {
            font-size: 2rem;
            margin-bottom: 12px;
            color: var(--text);
        }

        .section-header p {
            font-size: 1.05rem;
            color: var(--text-muted);
        }

        .section-title-line {
            width: 56px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
            margin: 16px auto 0;
        }

        /* ========================================
           STATS BAR
           ======================================== */
        .stats-bar {
            background: var(--primary-dark);
            color: #fff;
            padding: 40px 0;
        }

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

        .stat-item .stat-num {
            font-size: 2.2rem;
            font-weight: 800;
            color: #fff;
            line-height: 1;
            margin-bottom: 6px;
        }

        .stat-item .stat-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0.8;
        }

        /* ========================================
           CARD GRIDS (Product categories & features)
           ======================================== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

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

        /* Category card */
        .category-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.25s, box-shadow 0.25s;
            display: flex;
            flex-direction: column;
        }

        .category-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }

        .category-card .card-img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            background: var(--primary-light);
        }

        .category-card .card-body { padding: 24px; }

        .category-card h3 {
            font-size: 1.3rem;
            margin-bottom: 8px;
        }

        .category-card p {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-bottom: 16px;
            flex-grow: 1;
        }

        .card-link {
            color: var(--primary);
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .category-card:hover .card-link { color: var(--accent); }

        /* Feature card */
        .feature-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            padding: 32px 24px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: all 0.25s;
        }

        .feature-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow);
            transform: translateY(-4px);
        }

        .feature-icon {
            width: 56px;
            height: 56px;
            margin: 0 auto 18px;
            background: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .feature-icon svg { width: 28px; height: 28px; fill: var(--primary); }

        .feature-card h3 {
            font-size: 1.15rem;
            margin-bottom: 10px;
        }

        .feature-card p {
            color: var(--text-muted);
            font-size: 0.92rem;
            margin: 0;
        }

        /* ========================================
           PRODUCT LIST (list.html / term.html)
           ======================================== */
        .page-header {
            background: var(--primary-dark);
            color: #fff;
            padding: 56px 0;
            text-align: center;
        }

        .page-header h1 {
            color: #fff;
            font-size: 2.2rem;
            margin-bottom: 10px;
        }

        .page-header p {
            font-size: 1.05rem;
            opacity: 0.85;
            max-width: 580px;
            margin: 0 auto;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
            margin-top: 48px;
        }

        .product-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.25s, box-shadow 0.25s;
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }

        .product-card .card-img {
            width: 100%;
            height: 240px;
            object-fit: cover;
            background: var(--primary-light);
        }

        .product-card .card-body { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
        .product-card h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 400; }
        .product-card h3 a { color: var(--text); }
        .product-card h3 a:hover { color: var(--primary); }
        .product-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; flex-grow: 1; }

        /* Related Products section */
        .related-products {
            padding: 48px 0 64px;
            background: var(--bg);
        }
        .related-products .section-title {
            text-align: center;
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
        }
        .related-products .product-grid {
            margin-top: 32px;
        }
        .card-img-wrap {
            overflow: hidden;
        }

        /* Placeholder for cards without images */
        .card-img-placeholder {
            width: 100%;
            height: 240px;
            background: linear-gradient(135deg, var(--primary-light) 0%, #d6e6f5 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .card-img-placeholder svg {
            width: 48px;
            height: 48px;
            opacity: 0.3;
            color: var(--primary);
        }
        .article-card-img-placeholder {
            width: 100%;
            height: 180px;
            background: linear-gradient(135deg, var(--primary-light) 0%, #d6e6f5 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .article-card-img-placeholder svg {
            width: 40px;
            height: 40px;
            opacity: 0.3;
            color: var(--primary);
        }

        /* ========================================
           ARTICLE / NEWS CARDS
           ======================================== */
        .article-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.25s, box-shadow 0.25s;
            display: flex;
            flex-direction: column;
        }

        .article-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }

        .article-card-img {
            width: 100%;
            height: 180px;
            overflow: hidden;
            background: var(--primary-light);
        }

        .article-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .article-card-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
        .article-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--text); line-height: 1.4; }
        .article-card:hover h3 { color: var(--primary); }
        .article-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 14px; flex-grow: 1; }

        .article-date {
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--accent);
            margin-bottom: 10px;
            display: block;
        }

        /* ========================================
           CATEGORY TAB NAVIGATION (product list)
           ======================================== */
        .category-tabs {
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: var(--header-h);
            z-index: 90;
        }

        .category-tabs-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            gap: 4px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .category-tabs-inner a {
            display: block;
            padding: 14px 20px;
            font-size: 0.92rem;
            font-weight: 600;
            color: var(--text-muted);
            white-space: nowrap;
            border-bottom: 3px solid transparent;
            transition: all 0.2s;
        }

        .category-tabs-inner a:hover {
            color: var(--primary);
            border-bottom-color: var(--primary-light);
        }

        .category-tabs-inner a.active {
            color: var(--primary);
            border-bottom-color: var(--accent);
        }

        .category-intro {
            max-width: 100%;
            margin-bottom: 48px;
        }
        .category-intro h2 { font-size: 1.5rem; margin: 32px 0 14px; }
        .category-intro h2:first-child { margin-top: 0; }
        .category-intro h3 { font-size: 1.2rem; margin: 24px 0 10px; color: var(--primary); }
        .category-intro p { margin-bottom: 14px; line-height: 1.8; color: var(--text); }
        .category-intro ul { margin-bottom: 14px; padding-left: 24px; }
        .category-intro li { margin-bottom: 6px; line-height: 1.7; }
        .category-intro strong { color: var(--text); }
        .category-intro table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 0.92rem;
        }
        .category-intro th {
            background: var(--primary-light);
            color: var(--primary-dark);
            padding: 12px 16px;
            text-align: left;
            font-weight: 700;
            border: 1px solid var(--border);
        }
        .category-intro td {
            padding: 12px 16px;
            border: 1px solid var(--border);
            background: var(--surface);
        }

        /* ========================================
           PRODUCT DETAIL (single.html)
           ======================================== */
        .breadcrumb {
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            padding: 14px 0;
            font-size: 0.88rem;
        }

        .breadcrumb a { color: var(--text-muted); }
        .breadcrumb a:hover { color: var(--primary); }
        .breadcrumb span { color: var(--text-muted); margin: 0 8px; }
        .breadcrumb .current { color: var(--text); font-weight: 600; }

        .product-detail { padding: 48px 0; }

        .product-detail-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: start;
        }

        .product-detail-image {
            width: 100%;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            background: var(--primary-light);
        }

        .product-detail-info h1 {
            font-size: 2rem;
            margin-bottom: 8px;
        }

        .product-detail-info .product-desc {
            color: var(--text-muted);
            font-size: 1.05rem;
            margin-bottom: 24px;
        }

        .spec-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0 28px;
            font-size: 0.95rem;
        }

        .spec-table th {
            background: var(--primary-light);
            color: var(--primary-dark);
            padding: 12px 16px;
            text-align: left;
            font-weight: 700;
            width: 140px;
            border: 1px solid var(--border);
        }

        .spec-table td {
            padding: 12px 16px;
            border: 1px solid var(--border);
            background: var(--surface);
        }

        .product-content {
            margin-top: 48px;
            max-width: 800px;
        }

        .product-content h2 { font-size: 1.5rem; margin: 32px 0 12px; }
        .product-content h3 { font-size: 1.2rem; margin: 24px 0 10px; }
        .product-content p { margin-bottom: 16px; line-height: 1.8; }
        .product-content ul { margin-bottom: 16px; padding-left: 24px; }
        .product-content li { margin-bottom: 8px; line-height: 1.7; }

        /* ========================================
           ARTICLE DETAIL (news single)
           ======================================== */
        .article-detail { padding: 48px 0; }

        .article-detail-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .article-header { margin-bottom: 32px; }

        .article-date-lg {
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--accent);
            display: block;
            margin-bottom: 12px;
        }

        .article-header h1 {
            font-size: 2.1rem;
            margin-bottom: 12px;
            line-height: 1.3;
        }

        .article-lead {
            font-size: 1.15rem;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 0;
        }

        .article-featured-img {
            margin: 0 0 36px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        .article-featured-img img { width: 100%; }

        .article-body { font-size: 1.02rem; line-height: 1.85; }
        .article-body h2 { font-size: 1.5rem; margin: 36px 0 14px; }
        .article-body h3 { font-size: 1.2rem; margin: 28px 0 10px; color: var(--primary); }
        .article-body p { margin-bottom: 18px; }
        .article-body ul { margin-bottom: 18px; padding-left: 24px; }
        .article-body li { margin-bottom: 8px; line-height: 1.7; }
        .article-body table {
            width: 100%;
            border-collapse: collapse;
            margin: 24px 0;
            font-size: 0.92rem;
            display: block;
            overflow-x: auto;
        }
        .article-body th {
            background: var(--primary-light);
            color: var(--primary-dark);
            padding: 12px 16px;
            text-align: left;
            font-weight: 700;
            border: 1px solid var(--border);
        }
        .article-body td {
            padding: 12px 16px;
            border: 1px solid var(--border);
            background: var(--surface);
        }

        /* Article Tags */
        .article-tags {
            margin-top: 18px;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .article-tags-bottom {
            margin-top: 36px;
            padding-top: 24px;
            border-top: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .tags-label {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .tag-link {
            display: inline-block;
            padding: 4px 12px;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--primary);
            background: var(--primary-light);
            border-radius: 20px;
            transition: all 0.2s;
        }
        .tag-link:hover {
            background: var(--primary);
            color: #fff;
        }

        .article-footer-cta {
            margin-top: 48px;
            padding: 32px;
            background: var(--primary-light);
            border-radius: var(--radius-lg);
            text-align: center;
        }
        .article-footer-cta h3 { font-size: 1.3rem; margin-bottom: 8px; }
        .article-footer-cta p { color: var(--text-muted); margin-bottom: 20px; }

        /* ========================================
           SHORTCODES
           ======================================== */
        .sc-contact-box {
            margin: 28px 0;
            padding: 24px 28px;
            background: linear-gradient(135deg, var(--primary-light), #f0f7ff);
            border-left: 4px solid var(--accent);
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        .sc-contact-box h4 { margin: 0 0 10px; color: var(--primary); font-size: 1.1rem; }
        .sc-contact-box p { margin-bottom: 10px; }
        .sc-contact-box .btn-sm { padding: 8px 18px; font-size: 0.9rem; }

        .sc-note {
            margin: 24px 0;
            padding: 18px 22px;
            border-radius: var(--radius);
            border-left: 4px solid var(--primary);
            background: var(--primary-light);
        }
        .sc-note h5 { margin: 0 0 8px; font-size: 1rem; }
        .sc-note p:last-child { margin-bottom: 0; }
        .sc-note-info { border-left-color: var(--primary); background: var(--primary-light); }
        .sc-note-warning { border-left-color: var(--accent); background: var(--accent-light); }
        .sc-note-success { border-left-color: #2e7d32; background: #e8f5e9; }

        .sc-product-card {
            margin: 24px 0;
            display: flex;
            gap: 20px;
            padding: 20px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
        }
        .sc-product-img {
            width: 120px;
            height: 120px;
            object-fit: cover;
            border-radius: var(--radius);
            flex-shrink: 0;
        }
        .sc-product-body { flex: 1; }
        .sc-product-body h5 { margin: 0 0 6px; font-size: 1rem; }
        .sc-product-body p { margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); }
        .sc-product-link {
            display: inline-block;
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--accent);
        }

        /* ========================================
           TAG CLOUD & TAXONOMY PAGES
           ======================================== */
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            max-width: 800px;
            margin: 0 auto;
        }
        .tag-cloud-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 18px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 24px;
            transition: all 0.2s;
        }
        .tag-cloud-item:hover {
            background: var(--primary);
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }
        .tag-cloud-item:hover .tag-cloud-name,
        .tag-cloud-item:hover .tag-cloud-count {
            color: #fff;
        }
        .tag-cloud-name {
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--primary);
        }
        .tag-cloud-count {
            font-size: 0.78rem;
            color: var(--text-muted);
            background: var(--primary-light);
            padding: 1px 8px;
            border-radius: 10px;
        }

        .article-list-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .article-list-item {
            display: flex;
            flex-direction: column;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s;
        }
        .article-list-item:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
        .article-list-img {
            height: 180px;
            overflow: hidden;
        }
        .article-list-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .article-list-body {
            padding: 20px;
        }
        .article-list-date {
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .article-list-body h3 {
            font-size: 1.1rem;
            margin: 8px 0 10px;
            line-height: 1.4;
        }
        .article-list-body p {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 12px;
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .article-list-grid { grid-template-columns: 1fr; }
        }

        /* ========================================
           PAGE CONTENT (about, contact)
           ======================================== */
        .page-content {
            max-width: 820px;
            margin: 0 auto;
            padding: 56px 0;
        }

        .page-content h1 { font-size: 2.2rem; margin-bottom: 8px; }
        .page-content .page-desc { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 32px; }
        .page-content h2 { font-size: 1.6rem; margin: 36px 0 14px; }
        .page-content h3 { font-size: 1.25rem; margin: 28px 0 10px; color: var(--primary); }
        .page-content p { margin-bottom: 18px; line-height: 1.8; }
        .page-content ul { margin-bottom: 18px; padding-left: 24px; }
        .page-content li { margin-bottom: 10px; line-height: 1.7; }
        .page-content strong { color: var(--text); }
        .page-content blockquote {
            border-left: 4px solid var(--accent);
            background: var(--primary-light);
            margin: 24px 0;
            padding: 18px 24px;
            border-radius: 0 8px 8px 0;
            color: var(--text);
            font-style: normal;
        }

        /* ========================================
           CONTACT CARDS
           ======================================== */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin: 40px 0;
        }

        .contact-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            padding: 32px 24px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
        }

        .contact-card .contact-icon {
            width: 52px;
            height: 52px;
            margin: 0 auto 16px;
            background: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .contact-card .contact-icon svg { width: 24px; height: 24px; fill: var(--primary); }
        .contact-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
        .contact-card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

        /* ========================================
           CTA BANNER
           ======================================== */
        .cta-banner {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: #fff;
            text-align: center;
            padding: 64px 0;
        }

        .cta-banner h2 { color: #fff; font-size: 2rem; margin-bottom: 12px; }
        .cta-banner p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 28px; }

        /* ========================================
           FOOTER
           ======================================== */
        .site-footer {
            background: #0f1923;
            color: #b0b8c4;
            padding: 56px 0 24px;
            margin-top: 0;
            border: none !important;
        }

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

        .footer-brand .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 16px;
        }

        .footer-brand .footer-logo img { height: 36px; width: 36px; object-fit: contain; }
        .footer-brand .footer-logo-name { color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: 0.5px; }
        .footer-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 320px; }

        .footer-col h4 {
            color: #fff;
            font-size: 1rem;
            margin-bottom: 18px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .footer-col ul { list-style: none; margin: 0; padding: 0; }
        .footer-col li { margin-bottom: 10px; }
        .footer-col a { color: #b0b8c4; font-size: 0.92rem; }
        .footer-col a:hover { color: var(--accent); }

        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 12px;
            font-size: 0.92rem;
        }

        .footer-contact-item svg { width: 16px; height: 16px; fill: var(--accent); flex-shrink: 0; margin-top: 3px; }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.08);
            padding-top: 24px;
            text-align: center;
            font-size: 0.85rem;
            color: #7a8593;
        }

        /* ========================================
           PRODUCT CATALOG - Three-dimension tree
           ======================================== */
        .product-catalog { max-width: 1200px; margin: 0 auto; padding: 24px 16px; }
        .catalog-layout { display: flex; gap: 24px; }

        /* Sidebar */
        .catalog-sidebar { width: 260px; flex-shrink: 0; position: sticky; top: 80px; align-self: flex-start; max-height: calc(100vh - 100px); overflow-y: auto; }
        .sidebar-toggle { display: none; width: 100%; padding: 12px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; align-items: center; gap: 8px; justify-content: center; }
        .sidebar-toggle svg { width: 18px; height: 18px; }

        .category-tree { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
        .cat-item { border-bottom: 1px solid #f0f0f0; }
        .cat-item:last-child { border-bottom: none; }
        .cat-link { display: block; padding: 10px 14px; font-size: 0.87rem; color: var(--ink); transition: all 0.2s; text-decoration: none; }
        .cat-link:hover { background: var(--primary-light); color: var(--primary); }
        .cat-item.active > .cat-link { background: var(--primary-light); color: var(--primary); font-weight: 600; border-left: 3px solid var(--primary); }

        /* Level 1 with children: bold + arrow indicator */
        .cat-item.has-children > .cat-link { font-weight: 600; color: var(--primary); }
        .cat-item.has-children > .cat-link::before { content: "\25B6"; font-size: 0.65rem; margin-right: 6px; color: var(--muted); transition: transform 0.2s; display: inline-block; }
        .cat-item.has-children.expanded > .cat-link::before { transform: rotate(90deg); }

        /* Tree children (expandable) */
        .cat-children { display: none; background: #f8f9fa; border-left: 2px solid #e0e0e0; margin-left: 14px; }
        .cat-children.expanded { display: block; }
        .cat-item.child .cat-link { padding-left: 16px; font-size: 0.8rem; color: var(--muted); font-weight: 400; }
        .cat-item.child .cat-link::before { content: "—"; margin-right: 6px; color: #ccc; }
        .cat-item.child.active .cat-link { color: var(--primary); font-weight: 500; }

        .sidebar-cta { margin-top: 16px; text-align: center; }

        /* Content area */
        .catalog-content { flex: 1; min-width: 0; }
        .catalog-content h1 { font-size: 1.6rem; margin-bottom: 12px; }
        .category-intro { margin-bottom: 24px; color: var(--text); line-height: 1.7; }
        .catalog-desc { color: var(--muted); margin-bottom: 20px; }
        .subcategory-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
        .subcategory-card { display: block; padding: 12px 20px; background: #fff; border: 1px solid var(--border); border-radius: 8px; transition: all 0.2s; text-decoration: none; color: var(--text); }
        .subcategory-card:hover { background: var(--primary-light); border-color: var(--primary); }
        .subcategory-card h3 { margin: 0 0 4px; font-size: 0.95rem; }
        .subcategory-card p { margin: 0; font-size: 0.82rem; color: var(--muted); }

        /* Related products section in Manufacturing/Materials */
        .related-products-section { margin-top: 32px; }
        .related-products-section h2 { font-size: 1.3rem; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); }

        .catalog-taxonomy { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
        .catalog-taxonomy h3 { font-size: 1rem; margin-bottom: 8px; }
        .taxonomy-links { display: flex; gap: 12px; flex-wrap: wrap; }

        .tag-app { background: #e6f4ea; color: #137333; border: 1px solid #ceead6; }

        /* Product detail page */
        .product-detail { padding: 24px 0; }
        .product-detail-desc { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
        .product-detail-layout { display: flex; gap: 32px; margin-bottom: 32px; }
        .product-detail-image { width: 400px; flex-shrink: 0; }
        .product-detail-image img { width: 100%; border-radius: 8px; border: 1px solid var(--border); }
        .product-detail-info { flex: 1; }
        .spec-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
        .spec-table th { text-align: left; width: 140px; padding: 8px 12px; background: var(--bg2); border: 1px solid var(--border); font-size: 0.87rem; }
        .spec-table td { padding: 8px 12px; border: 1px solid var(--border); font-size: 0.87rem; }
        .taxonomy-section { margin-bottom: 20px; }
        .tax-row { margin-bottom: 8px; font-size: 0.87rem; }
        .tax-label { font-weight: 600; display: inline-block; min-width: 100px; color: var(--muted); }
        .tax-link { display: inline-block; padding: 2px 10px; background: var(--primary-light); color: var(--primary); border-radius: 4px; margin-right: 4px; font-size: 0.82rem; }

        /* Contact button in nav - same style as other nav items */
        .nav-menu .quote-btn { color: var(--ink); font-weight: 500; }
        .nav-menu .quote-btn:hover { color: var(--primary); }

        /* ========================================
           RESPONSIVE
           ======================================== */
        @media (max-width: 900px) {
            .card-grid, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
            .product-grid { grid-template-columns: repeat(2, 1fr); }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
            .contact-grid { grid-template-columns: 1fr; }
            .product-detail-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 32px; }
            .hero h1 { font-size: 2rem; }
            .hero p { font-size: 1rem; }
            .catalog-layout { flex-direction: row; gap: 12px; }
            .catalog-sidebar { width: 160px; flex-shrink: 0; position: sticky; top: 70px; max-height: calc(100vh - 90px); overflow-y: auto; }
            .sidebar-toggle { display: none; }
            .catalog-sidebar .category-tree { display: block; }
            .catalog-sidebar .sidebar-cta { display: none; }
            .cat-link { padding: 8px 10px; font-size: 0.85rem; }
            .catalog-content { flex: 1; min-width: 0; }
            .catalog-content .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
            .catalog-content .product-card h3 { font-size: 0.85rem; }
            .product-detail-layout { flex-direction: column; }
            .product-detail-image { width: 100%; }
        }

        @media (max-width: 768px) {
            .header-inner { flex-wrap: wrap; height: auto; padding: 8px 16px; }
            .header-logo { width: 100%; }
            .nav-toggle { display: none; }
            .nav-menu {
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                width: 100%;
                gap: 0;
                padding: 4px 0 8px;
                border-top: 1px solid var(--border);
                margin-top: 4px;
            }
            .nav-menu > li { width: auto; }
            .nav-menu a { padding: 6px 10px; font-size: 13px; display: block; }
            .nav-menu .dropdown {
                position: absolute;
                opacity: 0;
                visibility: hidden;
                transform: translateY(8px);
                box-shadow: 0 8px 24px rgba(0,0,0,0.12);
                border: 1px solid #e8e8e8;
                border-radius: 8px;
                min-width: 180px;
                padding: 6px 0;
                display: block;
                left: auto;
                right: 0;
            }
            .nav-menu li.has-dropdown:hover > .dropdown,
            .nav-menu li.has-dropdown:focus-within > .dropdown {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }
            .nav-menu li.has-dropdown.expanded > .dropdown { display: block; opacity: 1; visibility: visible; transform: none; }
            .nav-menu .dropdown a { padding: 8px 18px; font-size: 13px; }
            .nav-menu li.has-dropdown > a::after { content: ' \25BC'; font-size: 9px; }
            .card-grid, .card-grid-4 { grid-template-columns: 1fr; }
            .catalog-sidebar { width: 130px; }
            .catalog-sidebar .cat-link { padding: 7px 8px; font-size: 0.8rem; }
            .catalog-content .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
            .catalog-content .product-card h3 { font-size: 0.8rem; }
            .stats-grid { grid-template-columns: 1fr; gap: 24px; }
            .section { padding: 48px 0; }
            .hero { padding: 56px 0 48px; }
            .hero h1 { font-size: 1.7rem; }
            .container, .header-inner { padding: 0 16px; }
        }

/* ===== Contact Form ===== */
.contact-section { padding: 48px 0 64px; }
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.contact-form-wrap h1 { font-size: 2rem; margin-bottom: 8px; }
.contact-lead { color: var(--muted, #475569); font-size: 15px; margin-bottom: 28px; }
.quote-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 5px; }
.form-group .req { color: #dc2626; }
.form-group input, .form-group select, .form-group textarea {
    padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px;
    font-family: inherit; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: #0f6e56; box-shadow: 0 0 0 3px rgba(15,110,86,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.btn-submit { margin-top: 8px; padding: 14px 32px; font-size: 16px; cursor: pointer; }
.file-list { margin-top: 8px; }
.file-item { display: flex; justify-content: space-between; padding: 6px 12px; background: #f1f5f9; border-radius: 6px; margin-bottom: 4px; font-size: 13px; }
.file-size { color: #64748b; }
.form-status { padding: 14px 18px; border-radius: 8px; font-size: 14px; display: none; }
.form-success { display: block; background: #e1f5ee; border: 1px solid #0f6e56; color: #085041; }
.form-error { display: block; background: #fcebeb; border: 1px solid #a32d2d; color: #7f1d1d; }
.contact-info { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 20px; }
.info-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; }
.info-card h3 { font-size: 16px; margin-bottom: 12px; color: #0f172a; }
.info-steps { list-style: none; counter-reset: step; padding: 0; }
.info-steps li { counter-increment: step; padding: 8px 0 8px 36px; position: relative; font-size: 14px; color: #475569; }
.info-steps li::before { content: counter(step); position: absolute; left: 0; top: 7px; width: 24px; height: 24px; background: #0f6e56; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.info-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.info-contact-item svg { width: 18px; height: 18px; fill: #0f6e56; flex-shrink: 0; }
.info-checklist { list-style: none; padding: 0; }
.info-checklist li { padding: 5px 0 5px 22px; position: relative; font-size: 14px; color: #475569; }
.info-checklist li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; background: #0f6e56; border-radius: 50%; }
.info-card-highlight { background: #e1f5ee; border-color: #0f6e56; }
.info-card-highlight p { font-size: 14px; color: #475569; margin: 0; }
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info { position: static; }
}
