/* zenmat.css -- design system extracted from static-version/index-v2.html */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            /* 不在此设 font-family：未分层的 * 会盖过 layout.css @layer base 里 body/h1-h6 的 --font-body/--font-heading */
        }

        /* 表单控件默认不继承字体 */
        button, input, select, textarea {
            font-family: inherit;
        }

        :root {
            /* Blue theme from index.html */
            --navy-950: #061528;
            --navy-900: #07182C;
            --navy-850: #0C2440;
            --navy-800: #142F49;
            --navy-700: #1C4B70;
            --blue-050: #F5F8FC;
            --gold-500: #C9A24D;

            --primary: var(--navy-900);
            --secondary: var(--navy-700);
            --light: var(--blue-050);
            --dark: #1E293B;
            --gray: #64748B;
            --white: #ffffff;
            --shadow: 0 8px 24px rgba(0,0,0,0.06);
            --hover-shadow: 0 12px 32px rgba(0,0,0,0.12);
            --accent-orange: #fff2e8;
            --accent-orange-dark: #e67c42;
            --success-green: #278b49;
            --process-blue: var(--navy-700);
            --pending-grey: #445977;

            --nav-height: 76px;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            color: var(--dark);
            line-height: 1.7;
            background-color: var(--white);
        }

        .container {
            width: 92%;
            max-width: 1200px;
            margin: 0 auto;
        }

        section {
            padding: 80px 0;
        }

        section[id] {
            scroll-margin-top: calc(var(--nav-height) + 8px);
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .section-title {
            font-size: 28px;
            font-weight: 600;
            text-align: center;
            margin-bottom: 60px;
            color: var(--primary);
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: var(--secondary);
            margin: 12px auto 0;
            border-radius: 2px;
        }

        /* ============ Header (from index.html) ============ */
        body.en [data-lang="zh"],
        body.en [data-lang="ja"],
        body.zh [data-lang="en"],
        body.zh [data-lang="ja"],
        body.ja [data-lang="en"],
        body.ja [data-lang="zh"] {
            display: none !important;
        }

        .topbar {
            position: sticky;
            top: 0;
            z-index: 100;
            height: var(--nav-height);
            background: rgba(255, 255, 255, 0.92);
            border-bottom: 1px solid rgba(229, 234, 240, 0.9);
            backdrop-filter: blur(14px);
        }

        .nav {
            height: var(--nav-height);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            min-width: 220px;
        }

        .brand-logo-main {
            width: auto;
            height: 82px;
            max-width: 430px;
            object-fit: contain;
            flex: 0 0 auto;
        }

        .nav-links {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 22px;
            color: #2F3A4A;
            font-size: 14px;
            font-weight: 600;
        }

        .nav-links a {
            position: relative;
            padding: 8px 0;
            white-space: nowrap;
        }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 2px;
            height: 2px;
            border-radius: 999px;
            background: var(--gold-500);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 180ms ease;
        }

        .nav-links a:hover::after,
        .nav-links a:focus-visible::after {
            transform: scaleX(1);
        }

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

        .customer-nav {
            display: inline-flex;
            align-items: center;
            color: #2F3A4A;
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
        }

        .customer-nav [hidden] {
            display: none !important;
        }

        .customer-nav button {
            border: 0;
            background: transparent;
            color: inherit;
            font: inherit;
            cursor: pointer;
            padding: 8px 0;
        }

        .lang-toggle {
            position: relative;
            display: inline-block;
            border: 1px solid #E5EAF0;
            background: var(--white);
            border-radius: 18px;
            box-shadow: 0 6px 18px rgba(7, 20, 38, 0.04);
        }

        .lang-toggle button {
            border: 0;
            background: transparent;
            color: #5B6472;
            font-size: 13px;
            font-weight: 700;
            padding: 9px 13px;
            border-radius: 14px;
            cursor: pointer;
            transition: color 180ms ease, background 180ms ease;
        }

        .lang-toggle-current {
            min-width: 104px;
            background: var(--navy-900) !important;
            color: #FFFFFF !important;
        }

        .lang-menu {
            position: absolute;
            right: 0;
            top: 100%;
            z-index: 20;
            min-width: 138px;
            display: grid;
            gap: 2px;
            padding: 14px 6px 6px;
            opacity: 0;
            pointer-events: none;
            transform: translateY(-4px);
            transition: opacity 160ms ease, transform 160ms ease;
        }

        .lang-menu::before {
            content: "";
            position: absolute;
            inset: 8px 0 0;
            z-index: -1;
            border: 1px solid #E5EAF0;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 18px 42px rgba(2,31,74,0.14);
        }

        .lang-toggle:hover .lang-menu,
        .lang-toggle:focus-within .lang-menu {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

        .lang-toggle.collapsed .lang-menu,
        .lang-toggle.collapsed:hover .lang-menu,
        .lang-toggle.collapsed:focus-within .lang-menu {
            opacity: 0;
            pointer-events: none;
            transform: translateY(-4px);
        }

        .lang-menu button {
            width: 100%;
            text-align: left;
            color: #334155;
            white-space: nowrap;
        }

        .lang-menu button:hover,
        .lang-menu button:focus-visible,
        body.en .lang-menu [data-set-lang="en"],
        body.ja .lang-menu [data-set-lang="ja"],
        body.zh .lang-menu [data-set-lang="zh"] {
            background: var(--navy-900);
            color: #FFFFFF;
        }

        .mobile-menu-button {
            display: none;
            width: 42px;
            height: 42px;
            border: 1px solid #E5EAF0;
            border-radius: 12px;
            background: var(--white);
            color: var(--navy-900);
            cursor: pointer;
        }

        .mobile-menu-button span {
            display: block;
            width: 18px;
            height: 2px;
            background: currentColor;
            margin: 4px auto;
            border-radius: 999px;
        }

        .mobile-panel {
            display: none;
            border-top: 1px solid #E5EAF0;
            background: rgba(255, 255, 255, 0.98);
            padding: 14px 20px 18px;
        }

        .mobile-panel .customer-nav {
            display: block;
            font-size: inherit;
        }

        .mobile-panel .customer-nav button {
            width: 100%;
            text-align: left;
        }

        .mobile-panel a,
        .mobile-panel .customer-nav button {
            display: block;
            padding: 12px 0;
            color: var(--navy-900);
            font-weight: 700;
            border-bottom: 1px solid rgba(229, 234, 240, 0.75);
        }

        /* 7 个导航项 + 登录入口在约 1130px 以下放不下（英文最宽），收进汉堡菜单 */
        @media (max-width: 1140px) {
            .nav-links {
                display: none;
            }
            .mobile-menu-button {
                display: inline-block;
            }
            .mobile-panel.open {
                display: block;
            }
        }

        @media (max-width: 860px) {
            :root {
                --nav-height: 68px;
            }
            .brand {
                min-width: 0;
            }
            .brand-logo-main {
                height: 72px;
                max-width: 360px;
            }
        }

        @media (max-width: 480px) {
            .customer-nav-header {
                display: none;
            }
            .brand-logo-main {
                height: 56px;
                max-width: 190px;
            }
            .nav {
                gap: 12px;
            }
        }

        .back-to-top {
            position: fixed;
            right: 18px;
            bottom: 18px;
            z-index: 80;
            width: 44px;
            height: 44px;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.24);
            background: var(--navy-900);
            color: #FFFFFF;
            box-shadow: 0 14px 34px rgba(2,31,74,0.18);
            cursor: pointer;
            opacity: 0;
            pointer-events: none;
            transform: translateY(8px);
            transition: opacity 180ms ease, transform 180ms ease;
        }

        .back-to-top.visible {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

        .back-to-top:focus-visible,
        .lang-toggle button:focus-visible,
        .mobile-menu-button:focus-visible {
            outline: 3px solid rgba(201,162,77,0.40);
            outline-offset: 3px;
        }

        /* Hero Banner */
        .hero {
            min-height: 90vh;
            background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 0 20px;
        }

        .hero-content h1 {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 16px;
            line-height: 1.4;
        }
        .hero-content .sub-head {
            font-size: 20px;
            opacity: 0.92;
            margin-bottom: 12px;
        }
        .hero-content .tagline {
            font-size: 19px;
            margin: 30px 0 40px;
            letter-spacing: 0.5px;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn {
            padding: 14px 36px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 16px;
        }
        .btn-white {
            background: var(--white);
            color: var(--primary);
        }
        .btn-white:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(255,255,255,0.25);
        }
        .btn-transparent {
            background: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }
        .btn-transparent:hover {
            background: var(--white);
            color: var(--primary);
            transform: translateY(-3px);
        }
        .btn-link {
            color: var(--secondary);
            font-weight: 600;
            text-decoration: underline;
            display: inline-block;
            margin-top: 10px;
        }

        /* Product Section */
        .product-section {
            background: var(--light);
        }
        .product-card .product-img {
            aspect-ratio: 16 / 10;
            background: #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
            overflow: hidden;
        }
        .product-card .product-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .product-card .product-img svg {
            width: 36px;
            height: 36px;
        }
        .product-body {
            padding: 22px 24px 28px;
        }
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 28px;
        }
        .product-card {
            background: var(--white);
            padding: 0;
            border-radius: 14px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        .product-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--hover-shadow);
        }
        .product-card.highlight {
            background: var(--accent-orange);
            border: 1px solid var(--accent-orange-dark);
        }
        .product-card h4 {
            font-size: 17px;
            color: var(--primary);
            margin-bottom: 12px;
        }
        .product-card p {
            font-size: 14px;
            color: var(--gray);
            line-height: 1.65;
        }

        /* Application Solutions */
        .app-desc {
            text-align: center;
            max-width: 1000px;
            margin: 0 auto 40px;
            color: var(--gray);
            font-size: 17px;
        }
        .app-img-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
            gap: 20px;
        }
        /* Application card: image on top, caption bar below */
        .app-card {
            border-radius: 14px;
            overflow: hidden;
            background: var(--white);
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        .app-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--hover-shadow);
        }
        .app-card .app-img {
            aspect-ratio: 4 / 3;
            background: #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
            overflow: hidden;
        }
        .app-card .app-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .app-card .app-img svg {
            width: 36px;
            height: 36px;
        }
        .app-card .app-label {
            padding: 14px 16px;
            text-align: center;
            font-weight: 600;
            color: var(--primary);
            font-size: 15px;
            line-height: 1.5;
        }

        /* Why Zenmat Three Columns */
        .why-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 32px;
        }
        .why-card {
            padding: 45px 28px;
            border-radius: 16px;
            border: 1px solid #e2e8f0;
            transition: 0.3s ease;
        }
        .why-card:hover {
            border-color: var(--secondary);
            background: var(--blue-050);
            transform: translateY(-5px);
        }
        .why-card h3 {
            font-size: 22px;
            color: var(--primary);
            margin-bottom: 16px;
        }
        .why-card .sub-title {
            font-size: 16px;
            color: var(--secondary);
            margin-bottom: 14px;
            font-weight: 600;
        }
        .why-card p {
            color: var(--gray);
            font-size: 15px;
        }

        /* How We Support You Section */
        .support-section {
            background: var(--light);
        }
        .support-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
            gap: 30px;
        }
        .support-card {
            background: #fff;
            padding: 36px 26px;
            border-radius: 14px;
            box-shadow: var(--shadow);
        }
        .support-card h3 {
            font-size: 22px;
            color: var(--primary);
            margin-bottom: 12px;
        }
        .support-card .tag {
            color: var(--secondary);
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 16px;
        }
        .support-grid .support-card {
            container-type: inline-size;
        }
        /* Order Status Visual：横向步骤条，节点在上、文字在下 */
        .status-flow {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            margin: 24px 0 0;
            padding: 0;
        }
        .status-step {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            padding: 0 2px;
            text-align: center;
            font-size: 12px;
            line-height: 1.35;
            color: var(--navy-700);
        }
        /* 节点之间的连线：已完成段用实色，当前节点之后用浅色 */
        .status-step:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 8px;
            left: calc(50% + 13px);
            right: calc(-50% + 13px);
            height: 2px;
            background: var(--navy-700);
        }
        .status-step.is-current::after {
            background: #D3E0EB;
        }
        .status-marker {
            display: grid;
            place-items: center;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            box-sizing: border-box;
        }
        .is-done .status-marker {
            background: var(--navy-700);
            color: #fff;
        }
        .status-marker svg {
            width: 12px;
            height: 12px;
        }
        .is-current .status-marker {
            border: 5px solid var(--gold-500);
            background: #fff;
        }
        .is-current .status-label {
            font-weight: 700;
            color: var(--navy-950);
        }
        .is-pending .status-marker {
            border: 2px solid #C9D7E4;
            background: #fff;
        }
        .is-pending .status-label {
            color: #8296AA;
        }
        /* 主动告知的内容：浅底信息条，标签 + 条目 */
        .status-notes {
            display: flex;
            align-items: baseline;
            gap: 12px;
            margin-top: 20px;
            padding: 10px 14px;
            background: #F5F8FC;
            border-radius: 8px;
            font-size: 13px;
            line-height: 1.6;
        }
        .status-notes-label {
            flex: none;
            font-weight: 600;
            color: var(--navy-700);
        }
        .status-notes ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            margin: 0;
            padding: 0;
            color: #475569;
        }
        .status-notes li:not(:last-child)::after {
            content: "·";
            margin: 0 6px;
            color: #A8B8C8;
        }

        /* About Us */
        .about-text {
            max-width: 980px;
            margin: 0 auto;
            color: var(--gray);
            font-size: 16px;
            line-height: 1.85;
        }
        .about-text p {
            margin-bottom: 20px;
        }

        /* Bottom CTA */
        .cta-section {
            background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-850) 100%);
            color: var(--white);
            text-align: center;
            padding: 100px 0;
        }
        .cta-section h2 {
            font-size: 30px;
            margin-bottom: 20px;
        }
        .cta-section p {
            max-width: 700px;
            margin: 0 auto 40px;
            font-size: 17px;
            opacity: 0.95;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .hero-content h1 {
                font-size: 28px;
            }
            .section-title {
                font-size: 24px;
            }
        }

/* ==== 路由式语言切换（<a> 版本）的样式适配 ==== */
.lang-menu a.lang-menu-item {
	border: 0;
	background: transparent;
	color: #334155;
	font-size: 13px;
	font-weight: 700;
	padding: 9px 13px;
	border-radius: 14px;
	cursor: pointer;
	text-align: left;
	white-space: nowrap;
	text-decoration: none;
	display: block;
	transition: color 180ms ease, background 180ms ease;
}
.lang-menu a.lang-menu-item:hover,
.lang-menu a.lang-menu-item:focus-visible,
body.en .lang-menu a[data-set-lang="en"],
body.ja .lang-menu a[data-set-lang="ja"],
body.zh .lang-menu a[data-set-lang="zh"],
.lang-menu a.lang-menu-item.current {
	background: var(--navy-900);
	color: #ffffff;
}

/* 全站页脚 */
.site-footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}
.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    /* Leave room for the fixed back-to-top button on the right. */
    padding: 24px 64px 24px 0;
}
.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.site-footer a:hover {
    color: var(--white);
}
