/* Minification failed. Returning unminified contents.
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(18,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(19,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(22,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(23,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(25,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(26,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(27,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(28,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(30,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(31,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(32,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(33,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(45,23): run-time error CSS1039: Token not allowed after unary operator: '-font-sans'
(46,21): run-time error CSS1039: Token not allowed after unary operator: '-text-base'
(47,23): run-time error CSS1039: Token not allowed after unary operator: '-weight-normal'
(48,23): run-time error CSS1039: Token not allowed after unary operator: '-leading-normal'
(58,23): run-time error CSS1039: Token not allowed after unary operator: '-font-sans'
(59,23): run-time error CSS1039: Token not allowed after unary operator: '-weight-bold'
(60,23): run-time error CSS1039: Token not allowed after unary operator: '-leading-tight'
(62,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(66,21): run-time error CSS1039: Token not allowed after unary operator: '-text-page-title'
(71,21): run-time error CSS1039: Token not allowed after unary operator: '-text-section-title'
(76,21): run-time error CSS1039: Token not allowed after unary operator: '-text-xl'
(77,23): run-time error CSS1039: Token not allowed after unary operator: '-weight-semibold'
(82,21): run-time error CSS1039: Token not allowed after unary operator: '-text-lg'
(83,23): run-time error CSS1039: Token not allowed after unary operator: '-weight-semibold'
(89,21): run-time error CSS1039: Token not allowed after unary operator: '-text-base'
(90,23): run-time error CSS1039: Token not allowed after unary operator: '-weight-semibold'
(105,21): run-time error CSS1039: Token not allowed after unary operator: '-text-md'
(106,23): run-time error CSS1039: Token not allowed after unary operator: '-weight-normal'
(107,23): run-time error CSS1039: Token not allowed after unary operator: '-leading-relaxed'
(108,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-color'
(113,21): run-time error CSS1039: Token not allowed after unary operator: '-text-sm'
(114,23): run-time error CSS1039: Token not allowed after unary operator: '-leading-snug'
(122,21): run-time error CSS1039: Token not allowed after unary operator: '-text-xs'
(123,23): run-time error CSS1039: Token not allowed after unary operator: '-leading-snug'
(127,21): run-time error CSS1039: Token not allowed after unary operator: '-text-base'
(135,23): run-time error CSS1039: Token not allowed after unary operator: '-font-sans'
(140,21): run-time error CSS1039: Token not allowed after unary operator: '-text-base'
(141,23): run-time error CSS1039: Token not allowed after unary operator: '-weight-semibold'
(147,21): run-time error CSS1039: Token not allowed after unary operator: '-text-lg'
(148,23): run-time error CSS1039: Token not allowed after unary operator: '-weight-semibold'
(149,23): run-time error CSS1039: Token not allowed after unary operator: '-leading-snug'
(154,21): run-time error CSS1039: Token not allowed after unary operator: '-text-sm'
(155,23): run-time error CSS1039: Token not allowed after unary operator: '-leading-normal'
(158,1): run-time error CSS1019: Unexpected token, found '@import'
(158,9): run-time error CSS1019: Unexpected token, found 'url("typography.css")'
(159,1): run-time error CSS1019: Unexpected token, found '@import'
(159,9): run-time error CSS1019: Unexpected token, found 'url("brand-font.css")'
(168,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(169,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(170,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(171,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(172,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(173,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(174,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(175,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(227,17): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(237,22): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(257,46): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(257,71): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(269,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(302,21): run-time error CSS1039: Token not allowed after unary operator: '-text-hero'
(304,23): run-time error CSS1039: Token not allowed after unary operator: '-weight-bold'
(305,23): run-time error CSS1039: Token not allowed after unary operator: '-leading-tight'
(309,17): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(313,21): run-time error CSS1039: Token not allowed after unary operator: '-text-lg'
(333,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(378,45): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(378,70): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(409,46): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(409,71): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(421,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(425,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-color'
(444,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(464,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-color'
(473,46): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(473,71): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(516,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(523,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(530,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-color'
(549,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(554,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-color'
(561,28): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(562,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(573,22): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(615,17): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(620,21): run-time error CSS1039: Token not allowed after unary operator: '-text-xl'
(643,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(647,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-color'
(667,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(672,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-color'
(698,46): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(698,71): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(709,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(714,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-color'
(739,24): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(763,17): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(781,17): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(797,22): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(843,17): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(855,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(873,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-color'
(881,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(906,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(927,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(954,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(972,24): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1000,46): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1000,71): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(1041,46): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1041,71): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(1048,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(1081,24): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1086,46): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1086,71): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(1118,17): run-time error CSS1039: Token not allowed after unary operator: '-dark-color'
(1315,21): run-time error CSS1039: Token not allowed after unary operator: '-text-xs'
(1333,21): run-time error CSS1039: Token not allowed after unary operator: '-text-xs'
(1404,21): run-time error CSS1039: Token not allowed after unary operator: '-text-lg'
(1405,23): run-time error CSS1039: Token not allowed after unary operator: '-weight-medium'
(1410,21): run-time error CSS1039: Token not allowed after unary operator: '-text-md'
(1782,23): run-time error CSS1039: Token not allowed after unary operator: '-font-sans'
(1784,21): run-time error CSS1039: Token not allowed after unary operator: '-text-sm'
(1785,23): run-time error CSS1039: Token not allowed after unary operator: '-leading-normal'
(2022,21): run-time error CSS1039: Token not allowed after unary operator: '-text-xs'
(2242,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2243,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2244,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2245,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2246,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2247,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2251,22): run-time error CSS1039: Token not allowed after unary operator: '-pm-bc-bar-bg'
(2252,35): run-time error CSS1039: Token not allowed after unary operator: '-pm-bc-bar-border'
(2267,21): run-time error CSS1039: Token not allowed after unary operator: '-text-xs'
(2268,23): run-time error CSS1039: Token not allowed after unary operator: '-leading-snug'
(2269,23): run-time error CSS1039: Token not allowed after unary operator: '-weight-normal'
(2271,17): run-time error CSS1039: Token not allowed after unary operator: '-pm-bc-text'
(2275,17): run-time error CSS1039: Token not allowed after unary operator: '-pm-bc-text'
(2294,22): run-time error CSS1039: Token not allowed after unary operator: '-pm-bc-home-bg'
(2296,21): run-time error CSS1039: Token not allowed after unary operator: '-text-2xs'
(2303,22): run-time error CSS1039: Token not allowed after unary operator: '-pm-bc-home-bg-hover'
(2308,17): run-time error CSS1039: Token not allowed after unary operator: '-pm-bc-sep'
(2309,21): run-time error CSS1039: Token not allowed after unary operator: '-text-xs'
(2310,23): run-time error CSS1039: Token not allowed after unary operator: '-weight-normal'
(2316,17): run-time error CSS1039: Token not allowed after unary operator: '-pm-bc-text'
(2318,21): run-time error CSS1039: Token not allowed after unary operator: '-text-xs'
(2323,17): run-time error CSS1039: Token not allowed after unary operator: '-pm-bc-text'
(2325,21): run-time error CSS1039: Token not allowed after unary operator: '-text-xs'
(2379,25): run-time error CSS1039: Token not allowed after unary operator: '-text-xs'
 */
/**
 * Panamich public site — unified typography (Source Sans 3 + modular scale).
 * Load before style.css / header.css. Logo wordmark uses brand-font.css (Cooper).
 */
/* Web font loaded from _Layout.cshtml (non-blocking) — avoid @import inside bundled CSS */

:root {
    --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

    --text-2xs: 0.75rem;
    --text-xs: 0.8125rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-md: 1.0625rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;

    --text-hero: clamp(2rem, 4vw, 3.25rem);
    --text-section-title: clamp(1.85rem, 3.2vw, 2.5rem);
    --text-page-title: clamp(1.75rem, 4vw, 2.35rem);

    --leading-tight: 1.25;
    --leading-snug: 1.4;
    --leading-normal: 1.6;
    --leading-relaxed: 1.65;

    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    line-height: var(--leading-normal);
    color: #333333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
    color: var(--dark-color, #0d1b2a);
}

h1 {
    font-size: var(--text-page-title);
    margin: 0 0 1rem;
}

h2 {
    font-size: var(--text-section-title);
    margin: 0 0 0.75rem;
}

h3 {
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    margin: 0 0 0.5rem;
}

h4 {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin: 0 0 0.5rem;
}

h5,
h6 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin: 0 0 0.35rem;
}

p {
    margin: 0 0 1rem;
}

.subtitle,
.lead,
.page-lead,
.contact .subtitle,
.features .subtitle,
.products .subtitle,
.solutions .subtitle {
    font-size: var(--text-md);
    font-weight: var(--weight-normal);
    line-height: var(--leading-relaxed);
    color: var(--gray-color, #6c757d);
}

small,
.text-small {
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
}

.text-xs,
.caption,
.meta,
.news-type,
.news-date {
    font-size: var(--text-xs);
    line-height: var(--leading-snug);
}

main[role="main"] {
    font-size: var(--text-base);
}

button,
input,
select,
textarea,
.btn {
    font-family: var(--font-sans);
}

.btn,
button.btn {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.01em;
}

.feature-card h3,
.home-product-card-model {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    line-height: var(--leading-snug);
}

.feature-card p,
.home-product-card-spec {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
}

@import url("typography.css");
@import url("brand-font.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B0000;
    --secondary-color: #DC143C;
    --accent-color: #C41E3A;
    --dark-color: #0d1b2a;
    --dark-light: #1b263b;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
}

body {
    background-color: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶栏由 header.css（header.site-header / .header-nav-wrap）负责；勿在此处写整头渐变，避免盖住白顶栏。 */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.logo img {
    display: none;
}

.admin-header .logo span,
.login-container .logo span {
    font-weight: 800;
    font-size: 1.85rem;
    letter-spacing: 0.03em;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark-color);
}

.hero {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 50%, #2d3a4f 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23DC143C" fill-opacity="0.08" d="M0,192L48,181.3C96,171,192,149,288,160C384,171,480,213,576,229.3C672,245,768,235,864,213.3C960,192,1056,160,1152,160C1248,160,1344,192,1392,208L1440,224L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"%3E%3C/path%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right top;
}

.hero .container {
    position: relative;
    z-index: 1;
}

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

.hero h1 {
    font-size: var(--text-hero);
    margin-bottom: 1.5rem;
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: var(--text-lg);
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #b8c5d6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.features {
    padding: 6rem 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.features .subtitle {
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    /* 每行 3 条，第 4 条起自动换到下一行 */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.feature-card-image {
    margin: 0 0 1.25rem;
    line-height: 0;
}

.feature-card-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: inline-block;
    vertical-align: middle;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
    line-height: 1.7;
}

.products {
    padding: 6rem 0;
    background: white;
}

/* 首页 Product Center：整区白底；外轮廓无边框/阴影以 home.css 为准 */
#products.products.product-center-section {
    background-color: #ffffff;
    border: none;
    box-shadow: none;
}

.products h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.products .subtitle {
    text-align: center;
    margin-bottom: 4rem;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.product-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e9ecef;
    background: white;
    color: var(--gray-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.product-tab.active,
.product-tab:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: transparent;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-info .category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #fdeeee;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--gray-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-specs {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.spec-item {
    text-align: center;
}

.spec-item .value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.spec-item .label {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.product-btn {
    margin-top: 1rem;
    width: 100%;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

a.product-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.product-btn:hover {
    background: var(--primary-color);
    color: white;
}

.solutions {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    color: white;
}

.solutions h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.solutions .subtitle {
    text-align: center;
    color: #b8c5d6;
    margin-bottom: 4rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: rgba(255,255,255,0.08);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.solution-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-5px);
}

.solution-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: var(--text-xl);
    margin-bottom: 1rem;
}

.solution-card p {
    color: #b8c5d6;
    line-height: 1.7;
}

.about {
    padding: 6rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-text p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact {
    padding: 6rem 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact .subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray-color);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139,0,0,0.1);
}

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

footer {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #b8c5d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-section p {
    color: #b8c5d6;
    line-height: 1.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #6c757d;
}

.admin-header {
    background: var(--dark-color);
    padding: 1rem;
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-sidebar {
    width: 260px;
    background: #1b263b;
    min-height: calc(100vh - 65px);
    padding: 1.5rem;
    float: left;
}

.admin-sidebar .logo {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar ul {
    list-style: none;
}

.admin-sidebar ul li {
    margin-bottom: 0.5rem;
}

.admin-sidebar ul li a {
    color: #b8c5d6;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.admin-sidebar ul li a:hover,
.admin-sidebar ul li a.active {
    background: rgba(139,0,0,0.2);
    color: var(--secondary-color);
}

.admin-content {
    margin-left: 280px;
    padding: 2rem;
    background: #f8f9fa;
    min-height: calc(100vh - 65px);
}

.page-title {
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.dashboard-card h4 {
    color: var(--gray-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.dashboard-card .number {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.data-table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--dark-color);
}

.data-table tr:hover {
    background: #f8f9fa;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.table-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
}

.table-btn.edit {
    background: #fdeeee;
    color: var(--primary-color);
}

.table-btn.delete {
    background: #ffebee;
    color: #dc3545;
}

.table-btn:hover {
    opacity: 1;
}

.form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background: #5a6268;
}

.ai-chat {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.chat-header h2 {
    margin-bottom: 0.5rem;
}

.chat-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.chat-messages {
    height: 450px;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8f9fa;
}

.message {
    margin-bottom: 1.25rem;
    max-width: 75%;
}

.message.user {
    margin-left: auto;
}

.message.bot {
    margin-right: auto;
}

.message-content {
    padding: 1rem 1.25rem;
    border-radius: 20px;
}

.message.user .message-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-bottom-right-radius: 5px;
}

.message.bot .message-content {
    background: white;
    color: var(--dark-color);
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.message .time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.chat-input {
    padding: 1.25rem;
    background: white;
    border-top: 1px solid #e9ecef;
}

.chat-input form {
    display: flex;
    gap: 1rem;
}

.chat-input input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-input button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
}

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 50%, #2d3a4f 100%);
}

.login-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
}

.login-container .logo {
    justify-content: center;
    margin-bottom: 2rem;
}

.login-container h2 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form .btn {
    width: 100%;
}

@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero::before {
        display: none;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        width: 100%;
        min-height: auto;
        float: none;
    }

    .admin-content {
        margin-left: 0;
    }

    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .message {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 全站按钮：取消悬停过渡与位移动画 ========== */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.btn,
a.btn,
.btn-primary,
a.btn-primary,
.btn-secondary,
a.btn-secondary,
.btn-cancel,
a.btn-cancel,
.table-btn,
a.table-btn,
.product-btn,
a.product-btn,
.tool-btn,
.chat-input button,
.footer-subscribe button,
.solution-cta-btn,
.solution-tab-btn,
#products.products .product-center-more-btn,
#products.products .product-center-tab,
#products.products .product-center-dot {
    transition: none !important;
}

.btn-primary:hover,
a.btn-primary:hover,
.chat-input button:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

#products.products .product-center-more-btn:hover {
    transform: none !important;
    filter: none !important;
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.25) !important;
}

.solution-cta-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

.table-btn:hover,
a.table-btn:hover {
    opacity: 1 !important;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

/* 与 style.css 中已删除的旧规则同特异性，确保白底顶栏不被其它表意外覆盖 */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: #ffffff;
    color: inherit;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.site-header .container,
header.site-header .container {
    width: min(1240px, 94%);
    margin: 0 auto;
    padding: 0;
}

.header-top {
    height: 52px;
    border-bottom: 1px solid #d7dbe2;
    background: #ffffff;
}

.header-top-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: min(220px, 44vw);
    object-fit: contain;
    object-position: left center;
}

.header-tools {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lang-switcher {
    position: relative;
}

.tool-btn {
    height: 32px;
    min-width: 32px;
    padding: 0 8px;
    border: none;
    background: transparent;
    color: #333949;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: var(--text-xs);
    border-radius: 3px;
}

.tool-btn:hover {
    background: #f0f2f6;
    color: #151922;
}

.lang-btn {
    min-width: 90px;
}

.lang-btn .fa-globe {
    color: #8f1515;
}

.lang-btn .fa-chevron-down {
    font-size: var(--text-xs);
    color: #6d7382;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 34px;
    right: 0;
    min-width: 170px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #d7dbe2;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    z-index: 1300;
}

.lang-dropdown.is-open {
    display: block;
}

.lang-dropdown li a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: #1f2937;
    text-decoration: none;
}

.lang-dropdown li a:hover {
    background: #f3f4f6;
}

.header-nav-wrap {
    background: #10131a;
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.header-nav > ul > li {
    position: relative;
}

.header-nav > ul > li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: #2a3040;
}

/* 一级导航 18px；黑底栏高固定 50px */
.header-nav a {
    height: 50px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    color: #f1f3f7;
    text-decoration: none;
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
    white-space: nowrap;
}

.header-nav a i {
    font-size: var(--text-md);
    color: #8f97a9;
}

.header-nav a:hover {
    color: #ffffff;
    background: #1a2130;
}

.header-nav a:hover i {
    color: #c7cfde;
}

/* 支持多级下拉（不限层级） */
.header-nav li.has-dropdown > a {
    cursor: default;
}

.header-nav ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 314px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #1a2130;
    border: 1px solid #2a3040;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    z-index: 1400;
}

/* 一级下拉内需向右飞出子菜单（Products → Touch Screen → PCAP/RTS/IRTS），不可裁剪 */
.header-nav > ul > li.has-dropdown > ul.dropdown {
    overflow: visible;
    max-height: none;
}

.header-nav li.has-dropdown:hover > ul.dropdown,
.header-nav li.has-dropdown:focus-within > ul.dropdown {
    display: block;
}

.header-nav ul.dropdown li {
    position: relative;
}

.header-nav ul.dropdown li::before {
    display: none !important;
}

.header-nav ul.dropdown a {
    height: auto;
    padding: 11px 20px;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    display: block;
    border-bottom: 1px solid #252b38;
}

.header-nav ul.dropdown li:last-child a {
    border-bottom: none;
}

.header-nav ul.dropdown a:hover {
    background: #252d3d;
    color: #ffffff;
}

/* 向右弹出的子下拉（须 position:absolute，否则 top/left 无效且易被一级 overflow 裁切） */
.header-nav ul.dropdown li.has-dropdown > ul.dropdown {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin: 0;
    min-width: 280px;
    max-height: min(68vh, 500px);
    overflow: visible;
    padding: 6px 0;
    list-style: none;
    background: #202838;
    border: 1px solid #334155;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
    z-index: 1500;
}

.header-nav ul.dropdown li.has-dropdown:hover > ul.dropdown,
.header-nav ul.dropdown li.has-dropdown:focus-within > ul.dropdown {
    display: block;
}

/* 若有更深层级，继续叠在右侧子菜单之上 */
.header-nav ul.dropdown ul.dropdown li.has-dropdown > ul.dropdown {
    z-index: 1600;
}

@media (max-width: 1100px) {
    .header-nav a {
        padding: 0 12px;
        font-size: 16px;
    }

    .header-nav a i {
        font-size: 14px;
    }

    .header-nav ul.dropdown a {
        font-size: 14px;
        padding: 10px 18px;
    }
}

/* —— 手持终端：汉堡菜单 + 侧滑抽屉 —— */
.mobile-nav-toggle,
.mobile-nav-close,
.mobile-nav-backdrop,
.header-nav-panel-head {
    display: none;
}

.header-top-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

@media (max-width: 900px) {
    .header-top {
        height: auto;
        min-height: 52px;
        padding: 6px 0;
    }

    .header-top-inner {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }

    .header-top-actions {
        flex-shrink: 0;
    }

    .header-tools .tool-btn:not(.lang-btn) {
        display: none;
    }

    .lang-btn .lang-btn-label,
    #langCurrentText {
        display: none;
    }

    .lang-btn {
        min-width: 40px;
        padding: 0 6px;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 1px solid #d7dbe2;
        border-radius: 6px;
        background: #fff;
        color: #151922;
        cursor: pointer;
        flex-shrink: 0;
    }

    .mobile-nav-toggle:hover,
    .mobile-nav-toggle:focus-visible {
        background: #f0f2f6;
        outline: 2px solid #b10018;
        outline-offset: 2px;
    }

    .mobile-nav-toggle .fa-bars {
        font-size: 1.15rem;
    }

    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1990;
        background: rgba(8, 10, 14, 0.55);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.22s ease, visibility 0.22s ease;
        border: 0;
        padding: 0;
        cursor: pointer;
    }

    .site-header.site-header--nav-open .mobile-nav-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .header-nav-wrap {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 2000;
        width: min(320px, 88vw);
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 0;
        background: #10131a;
        box-shadow: -8px 0 28px rgba(0, 0, 0, 0.35);
        transform: translateX(100%);
        transition: transform 0.28s ease;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .site-header.site-header--nav-open .header-nav-wrap {
        transform: translateX(0);
    }

    .header-nav-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
        padding: 12px 16px;
        border-bottom: 1px solid #2a3040;
        background: #0d1016;
    }

    .header-nav-panel-title {
        font-size: 1rem;
        font-weight: 600;
        color: #f1f3f7;
        letter-spacing: 0.04em;
    }

    .mobile-nav-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 6px;
        background: transparent;
        color: #e2e8f0;
        cursor: pointer;
        font-size: 1.25rem;
    }

    .mobile-nav-close:hover,
    .mobile-nav-close:focus-visible {
        background: #1a2130;
        outline: 2px solid #b10018;
        outline-offset: 2px;
    }

    .header-nav-panel-body.container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .header-nav {
        overflow: visible;
    }

    .header-nav > ul {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
    }

    .header-nav > ul > li + li::before {
        display: none;
    }

    .header-nav > ul > li {
        border-bottom: 1px solid #2a3040;
    }

    .header-nav a {
        width: 100%;
        height: auto;
        min-height: 48px;
        padding: 12px 16px;
        font-size: 16px;
        white-space: normal;
        justify-content: space-between;
    }

    .header-nav li.has-dropdown > a .nav-submenu-chevron {
        transition: transform 0.2s ease;
    }

    .header-nav li.has-dropdown.is-expanded > a .nav-submenu-chevron {
        transform: rotate(90deg);
    }

    .header-nav li.has-dropdown:hover > ul.dropdown,
    .header-nav li.has-dropdown:focus-within > ul.dropdown {
        display: none;
    }

    .header-nav ul.dropdown {
        display: none;
        position: static;
        top: auto;
        left: auto;
        min-width: 0;
        max-height: none;
        overflow: visible;
        margin: 0;
        padding: 0 0 8px;
        border: none;
        box-shadow: none;
        background: #151922;
    }

    .header-nav li.has-dropdown.is-expanded > ul.dropdown {
        display: block;
    }

    .header-nav ul.dropdown a {
        padding: 10px 16px 10px 28px;
        font-size: 15px;
        border-bottom: 1px solid #222733;
    }

    .header-nav ul.dropdown li.has-dropdown > ul.dropdown {
        position: static;
        left: auto;
        margin: 0;
        background: #1a2130;
        box-shadow: none;
    }

    .header-nav ul.dropdown li.has-dropdown.is-expanded > ul.dropdown {
        display: block;
    }
}

body.mobile-nav-open {
    overflow: hidden;
    touch-action: none;
}

.site-footer {
    background: #0b0d11;
    color: #d6d9df;
    font-family: var(--font-sans);
    overflow-x: hidden;
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
}

.site-footer a {
    color: #cfd3db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer .container {
    width: min(1220px, 92%);
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-main {
    border-top: 1px solid #1b1f27;
    border-bottom: 1px solid #1b1f27;
    padding: 28px 0 12px;
    background: #0d1016;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.footer-columns {
    display: grid;
    gap: 0;
    max-width: 100%;
    grid-template-columns: 1.15fr 1.25fr 0.9fr 0.95fr 0.7fr 1fr;
}

/* 主导航镜像：各列宽随文案(max-content)，列间剩余空间由 space-between 自动分配 */
.footer-columns.footer-columns--sync-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: min-content;
}

.footer-columns.footer-columns--sync-nav .footer-column {
    flex: 0 0 auto;
    width: max-content;
    max-width: none;
    min-width: 0;
    padding: 0 2px 8px;
    text-align: left;
}

.footer-column {
    padding: 0 16px 12px;
    border-right: 1px solid #222733;
    min-height: auto;
    min-width: 0;
    text-align: left;
}

.footer-column:last-child {
    border-right: none;
}

.footer-column h4,
.footer-column-heading {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-columns.footer-columns--sync-nav .footer-column h4,
.footer-columns.footer-columns--sync-nav .footer-column-heading {
    margin: 0 0 9px;
}

.footer-column-heading a {
    color: inherit;
    text-decoration: none;
    display: block;
    max-width: 100%;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-column-heading a:hover {
    color: #f9fafb;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.footer-column li {
    margin: 0 0 8px;
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-column li:last-child {
    margin-bottom: 0;
}

.footer-columns.footer-columns--sync-nav .footer-column li {
    margin: 0 0 7px;
}

.footer-column li a {
    display: block;
    max-width: 100%;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.3;
    text-align: left;
    color: #afb5c1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-column li a:hover {
    color: #e8eaef;
}

/* 二级为可点击链接且仍有子链时使用；纯分组（Url 为 #）在页脚已扁平化，与同级链接同字号颜色 */
.footer-column ul.footer-nav-tier3 {
    margin: 8px 0 3px 0;
    padding: 0 0 0 0.65em;
    border-left: 1px solid #2a3040;
    text-align: left;
}

.footer-column ul.footer-nav-tier3 li {
    margin: 0 0 6px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-column ul.footer-nav-tier3 li:last-child {
    margin-bottom: 0;
}

.footer-column ul.footer-nav-tier3 li a {
    display: block;
    max-width: 100%;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.3;
    text-align: left;
    color: #afb5c1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-column ul.footer-nav-tier3 li a:hover {
    color: #e8eaef;
}

.footer-bottom {
    background: #080a0e;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0 10px;
    border-bottom: 1px solid #1a1e27;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 280px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.footer-brand-logo {
    display: block;
    height: 36px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1f2430;
    color: #e3e6ec;
    font-size: var(--text-xs);
}

.social-links a:hover {
    background: #b40000;
    color: #ffffff;
}

.footer-subscribe {
    display: flex;
    align-items: center;
    width: min(520px, 100%);
    margin-left: auto;
}

.footer-subscribe input {
    flex: 1;
    height: 36px;
    border: 1px solid #2a2f3b;
    border-right: none;
    background: #161a22;
    color: #ffffff;
    padding: 0 12px;
    outline: none;
    font-size: 14px;
}

.footer-subscribe input::placeholder {
    color: #7f8797;
}

.footer-subscribe input:focus {
    border-color: #474f62;
}

.footer-subscribe button {
    height: 36px;
    border: none;
    padding: 0 18px;
    background: #b20000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
}

.footer-subscribe button:hover {
    background: #d30000;
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 8px 0 10px;
    overflow-x: auto;
    text-align: left;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0 14px;
    flex-shrink: 0;
}

.footer-links a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.3;
    color: #b2b8c4;
    white-space: nowrap;
    flex: 0 0 auto;
}

.footer-links a + a {
    border-left: 1px solid #323847;
    padding-left: 14px;
    margin-left: 0;
}

.footer-meta p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.3;
    color: #b2b8c4;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1 1 auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1200px) {
    .footer-columns:not(.footer-columns--sync-nav) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-columns:not(.footer-columns--sync-nav) .footer-column:nth-child(3n) {
        border-right: none;
    }
}

@media (max-width: 860px) {
    .footer-columns.footer-columns--sync-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex-wrap: wrap;
        justify-content: stretch;
        gap: 0 12px;
        min-width: 0;
        overflow-x: visible;
    }

    .footer-columns.footer-columns--sync-nav .footer-column {
        width: auto;
        max-width: none;
        flex: none;
        border-right: none;
        border-bottom: 1px solid #222733;
        padding: 0 8px 14px;
        margin-bottom: 8px;
    }

    .footer-main {
        overflow-x: visible;
    }

    .footer-columns:not(.footer-columns--sync-nav) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-columns:not(.footer-columns--sync-nav) .footer-column:nth-child(2n) {
        border-right: none;
    }

    .footer-column {
        min-height: auto;
        border-right: 1px solid #222733;
    }

    .footer-bottom-inner,
    .footer-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-subscribe {
        width: 100%;
    }

    .footer-meta p {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .footer-columns.footer-columns--sync-nav {
        grid-template-columns: 1fr;
    }

    .footer-columns:not(.footer-columns--sync-nav) {
        grid-template-columns: 1fr;
    }

    .footer-columns:not(.footer-columns--sync-nav) .footer-column {
        border-right: none;
        border-bottom: 1px solid #222733;
        padding-bottom: 12px;
        margin-bottom: 10px;
    }

    .footer-columns:not(.footer-columns--sync-nav) .footer-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .footer-brand-logo {
        max-width: 160px;
        height: 30px;
    }
}

/**
 * 全站统一面包屑（Winmate / Chassis Display 设计稿）
 * - 主导航下方：深灰 / 近黑横条
 * - 左侧：红色实心方块 + 白色房子图标
 * - 路径：白色无衬线小字，「>」分隔
 *
 * <div class="ts-breadcrumb-bar">
 *   <div class="ts-container ts-breadcrumb" aria-label="Breadcrumb">
 *     <a href="/Home/Index" class="ts-bc-home" aria-label="Home"><i class="fas fa-home"></i></a>
 *     <span class="ts-bc-sep" aria-hidden="true">&gt;</span>
 *     <a href="...">Products</a>
 *     …
 *     <span class="ts-bc-current" aria-current="page">当前页</span>
 *   </div>
 * </div>
 */
:root {
    --pm-bc-bar-bg: #2b2f36;
    --pm-bc-bar-border: #1a1d22;
    --pm-bc-home-bg: #cc0000;
    --pm-bc-home-bg-hover: #a80000;
    --pm-bc-text: #ffffff;
    --pm-bc-sep: rgba(255, 255, 255, 0.55);
}

.ts-breadcrumb-bar {
    background: var(--pm-bc-bar-bg);
    border-bottom: 1px solid var(--pm-bc-bar-border);
}

.ts-breadcrumb-bar .ts-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.ts-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 5px;
    padding: 8px 0;
    font-size: var(--text-xs);
    line-height: var(--leading-snug);
    font-weight: var(--weight-normal);
    letter-spacing: 0.02em;
    color: var(--pm-bc-text);
}

.ts-breadcrumb a:not(.ts-bc-home) {
    color: var(--pm-bc-text);
    text-decoration: none;
    font-weight: 400;
}

.ts-breadcrumb a:not(.ts-bc-home):hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ts-bc-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-right: 2px;
    background: var(--pm-bc-home-bg);
    color: #ffffff !important;
    font-size: var(--text-2xs);
    line-height: 1;
    border-radius: 2px;
    text-decoration: none;
}

.ts-bc-home:hover {
    background: var(--pm-bc-home-bg-hover);
    color: #ffffff !important;
}

.ts-bc-sep {
    color: var(--pm-bc-sep);
    font-size: var(--text-xs);
    font-weight: var(--weight-normal);
    margin: 0 1px;
    user-select: none;
}

.ts-bc-current {
    color: var(--pm-bc-text);
    font-weight: 400;
    font-size: var(--text-xs);
}

/* 无独立落地页时的分组名（如 Touch Screen 二级仅作分类） */
.ts-bc-static {
    color: var(--pm-bc-text);
    font-weight: 400;
    font-size: var(--text-xs);
}

/* Global mobile / narrow viewport reinforcement for all public pages */
html {
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

img,
video,
canvas,
svg:not(:root) {
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

iframe {
    max-width: 100%;
}

/* 触控友好：表单与链接最小点击区域 */
@media (max-width: 900px) {
    .container {
        width: min(1240px, 100%);
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
        box-sizing: border-box;
    }

    main[role="main"],
    .product-detail-page .product-detail-wrap,
    .ts-breadcrumb-bar .ts-container {
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
        box-sizing: border-box;
    }

    .ts-breadcrumb-bar .ts-container {
        padding-top: 0;
        padding-bottom: 0;
    }

    .ts-breadcrumb {
        font-size: var(--text-xs);
        gap: 4px;
    }

    .btn,
    .tool-btn,
    a.btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    code,
    pre {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    /* 首页区块：避免固定宽度撑破视口 */
    .hero--slides .hero-slide-inner,
    .solution-section .container,
    .tech-matrix .container,
    #products.products .container {
        max-width: 100%;
    }

    .product-detail-page .pd-hero-icons {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .product-detail-page .pd-sticky-tabs {
        top: env(safe-area-inset-top, 0);
        border-radius: 0;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
        max-width: 100vw;
    }

    .product-detail-page .pd-sticky-tabs button {
        min-height: 44px;
        padding: 0.75rem 0.85rem;
        font-size: 0.82rem;
    }

    .product-detail-page .pd-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-detail-page .pd-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .hero-slide h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
}

