/* ==================== CSS Variables ==================== */
:root {
    --color-primary: #0d2847;
    --color-primary-light: #1a3a5c;
    --color-primary-lighter: #2c5282;
    --color-accent: #3b82f6;
    --color-bg: #ffffff;
    --color-bg-alt: #f7f9fc;
    --color-bg-dark: #0d1b2a;
    --color-text: #1a1a2e;
    --color-text-secondary: #64748b;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;
    --color-white: #ffffff;
    --color-spectrum: linear-gradient(90deg, #7b2ff7, #4a90d9, #2ecc71, #f5a623, #e74c3c);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1200px;
    --container-padding: clamp(16px, 4vw, 32px);
    --section-py: clamp(48px, 8vw, 96px);
    --header-height: 64px;
}

/* ==================== Reset ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ==================== Spectrum Accent Line ==================== */
.spectrum-line {
    position: fixed; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--color-spectrum); z-index: 1000;
}

/* ==================== Layout ==================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section { padding: var(--section-py) 0; }
.section-alt { background: var(--color-bg-alt); }

.section-header {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.section-eyebrow {
    display: inline-block;
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--color-text-secondary);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-block;
    padding: 12px clamp(20px, 4vw, 32px);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn-primary:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}
.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-full { width: 100%; text-align: center; }

/* ==================== Navigation ==================== */
#header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--header-height); z-index: 900;
    transition: background var(--transition), box-shadow var(--transition);
}

/* Detail pages: header is always solid white (no transparent hero) */
#header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

.nav { height: 100%; }

.nav-container {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.logo-cn {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 1;
}

.nav-menu {
    display: flex;
    gap: 2px;
    align-items: center;
    margin-left: auto;   /* 让导航菜单整体靠右，紧邻中英切换按钮 */
}

.nav-item { position: relative; }

.nav-menu > .nav-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px clamp(8px, 1.5vw, 14px);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-menu > .nav-item > a::after {
    content: '';
    width: 6px; height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform var(--transition);
    opacity: 0.5;
}

.nav-item:hover > a::after {
    transform: rotate(225deg) translateY(0px);
    opacity: 1;
}

.nav-menu > .nav-item > a:hover {
    color: var(--color-accent);
    background: rgba(59, 130, 246, 0.08);
}

/* ==================== Dropdown Menu ==================== */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 12px 36px rgba(13, 40, 71, 0.14), 0 1px 3px rgba(0, 0, 0, 0.06);
    border-top: 2px solid var(--color-accent);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1000;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: -14px; left: 0; right: 0; height: 14px;
    background: transparent;
}

.nav-item:hover > .nav-dropdown,
.nav-item.dropdown-open > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown li { position: relative; }

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 14px;
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown a::before {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--color-border);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.nav-dropdown a:hover {
    color: var(--color-accent);
    background: rgba(59, 130, 246, 0.08);
}

.nav-dropdown a:hover::before {
    background: var(--color-accent);
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.nav-dropdown a.current {
    color: var(--color-accent);
    font-weight: 500;
    background: rgba(59, 130, 246, 0.10);
}
.nav-dropdown a.current::before {
    background: var(--color-accent);
    transform: scale(1.3);
}

/* Active nav item */
.nav-menu > .nav-item.active > a {
    color: var(--color-accent);
    font-weight: 500;
}

/* ==================== Mobile Nav Toggle ==================== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== Breadcrumb ==================== */
.breadcrumb {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    z-index: 800;
    font-size: 0.82rem;
    padding: 8px 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item::after {
    content: '/';
    color: var(--color-text-light);
    font-size: 0.75rem;
}

.breadcrumb-item:last-child::after { display: none; }

.breadcrumb-item a {
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

.breadcrumb-item a:hover { color: var(--color-accent); }

.breadcrumb-item.current {
    color: var(--color-primary);
    font-weight: 500;
}

/* ==================== Page Hero ==================== */
.page-hero {
    margin-top: calc(var(--header-height) + 40px);
    padding: clamp(40px, 6vw, 72px) 0;
    background: linear-gradient(to right, #00082a 0%, #00082a 66.67%, #1f73e5 100%); /* 横向蓝渐变：左2/3为00082a，右1/3过渡到1f73e5 */
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* 仅做轻微压暗，让底层蓝渐变透出、同时保证左侧白色文字可读 */
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.10));
    z-index: 0;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--color-spectrum);
    z-index: 3;          /* 置于装饰图(z-index:1)与文字之上，避免被图片遮挡 */
}

/* 带右侧装饰图(.has-img)时，遮罩再压轻一点，让蓝渐变与产品图都更清晰 */
.page-hero.has-img::before {
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.06));
}

/* hero 右侧装饰 PNG（如产品图），绝对定位偏右、不挡左侧文字；深色背景透出作底 */
.page-hero-figure {
    position: absolute;
    top: 50%;
    right: clamp(80px, 13vw, 250px);   /* 右侧间距增大到 250px */
    transform: translateY(-50%);
    max-width: 38%;
    max-height: 84%;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 1;          /* 与 .container 同级；DOM 中置于 container 之前，文字仍在上层 */
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 响应式入场动画：复用 .reveal，但保留垂直居中 translateY(-50%)，叠加从下方滑入 */
.page-hero-figure.reveal {
    transform: translateY(calc(-50% + 24px));
}
.page-hero-figure.reveal.visible {
    opacity: 1;
    transform: translateY(-50%);
}

/* B 系列装饰图：取消上下留白，紧贴 hero 上下边缘（高度撑满，不再垂直居中）；整体靠右对齐 */
.page-hero-figure--full {
    top: 0;
    bottom: 0;
    right: 0;          /* 覆盖基础规则的 right:250px，整体靠右贴边 */
    transform: none;
    height: 100%;
    max-height: 100%;
    max-width: 60%;
}
.page-hero-figure--full.reveal {
    transform: translateY(24px);
}
.page-hero-figure--full.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .page-hero-figure { display: none; }  /* 窄屏隐藏，避免与文字重叠 */
}

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

.page-hero-eyebrow {
    display: inline-block;
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

/* Hero English eyebrow — matches 技术原理子页（夫琅禾费线等）的标题英文标签样式 */
.eyebrow {
    display: inline-block;
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.page-hero h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

.page-hero p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
}

/* ==================== Detail Page Content ==================== */
.detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.detail-content h2 {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-top: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
    position: relative;
}

.detail-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 60px; height: 2px;
    background: var(--color-accent);
}

.detail-content h3 {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 28px;
    margin-bottom: 12px;
}

.detail-content p {
    margin-bottom: 16px;
    color: var(--color-text);
    line-height: 1.8;
}

.detail-content ul, .detail-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.detail-content ul li, .detail-content ol li {
    margin-bottom: 8px;
    color: var(--color-text);
    line-height: 1.8;
}

.detail-content ul li {
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.detail-content ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 12px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.detail-content ol li { list-style: decimal; }

.detail-content strong { color: var(--color-primary); font-weight: 600; }

.detail-content blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--color-text-secondary);
    font-style: italic;
}

.detail-content code {
    background: var(--color-bg-alt);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.875em;
    color: var(--color-accent);
    font-family: "SF Mono", "Fira Code", "Consolas", monospace;
}

/* ==================== Feature Cards ==================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(16px, 3vw, 24px);
    margin: 32px 0;
}

.feature-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: all var(--transition);
}

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

.feature-card .icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.feature-card .icon svg {
    width: 24px; height: 24px;
}

.feature-card h3,
.feature-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 应用领域「检测项目」：缩小单元格顶部留白（原 28px 偏大，h3 上方显空） */
.feature-grid--detect { margin-top: 16px; }
.feature-grid--detect .feature-card {
    padding: 18px 22px;
}
.feature-grid--detect .feature-card h3 { margin-top: 0; }

/* 无图标卡片（company.html 核心业务）：顶部品牌色装饰条，填补图标空缺 */
.feature-grid--plain .feature-card {
    padding-top: 26px;
}

.feature-grid--plain .feature-card::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--color-accent);
    margin-bottom: 16px;
}

/* 产品中心核心特性：悬停翻面动画（图标+标题 → 标题+描述）
   性能策略：动效只用 opacity / transform（GPU 合成），不吃 will-change 常驻层（避免多卡片合成层过载）；
   阴影改用轻量值且不做过渡，时长缩短到 0.22s 更跟手；卡片固定高度不影响下方布局。 */
.feature-grid--flip .feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 180px;
    padding: 26px 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #ffffff;
    overflow: hidden;
    cursor: pointer;
}

/* 蓝色覆盖层：悬停时仅用 opacity 显示，避免背景色重绘 */
.feature-grid--flip .feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #242da2;
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: 0;
}

.feature-grid--flip .feature-card:hover {
    border-color: #242da2;
    box-shadow: 0 6px 18px rgba(13, 40, 71, 0.12);
}

.feature-grid--flip .feature-card:hover::before {
    opacity: 1;
}

/* 内容层始终位于蓝色覆盖层之上 */
.feature-grid--flip .feature-card .feature-flip-icon,
.feature-grid--flip .feature-card p {
    z-index: 1;
}

.feature-grid--flip .feature-card h3 {
    position: relative;
    z-index: 1;
}

/* 图标：绝对定位，脱离文档流，不挤压标题 */
.feature-grid--flip .feature-card .feature-flip-icon {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    color: #242da2;
    opacity: 1;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.feature-grid--flip .feature-card .feature-flip-icon svg {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}

/* 配件列表产品图：固定尺寸+圆角，居中于图标容器，复用悬停淡出动画 */
.feature-grid--flip .feature-card .feature-flip-icon img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* 配件列表（带实拍图）专属：产品图放大至约占卡片 2/3 高度，标题在底部；
   悬停时图片淡出、标题上移、描述淡入到底部（仅作用于 optical-accessories，不影响其他产品页 SVG 图标） */
.feature-grid--photos .feature-card .feature-flip-icon {
    top: 14px;
    width: 72%;
    max-width: 160px;
    height: 120px;            /* ≈ 2/3 卡片高度(180px) */
}

.feature-grid--photos .feature-card .feature-flip-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

/* 标题与描述改为绝对定位：非悬停时标题贴底、描述隐藏于底外；
   悬停时标题上移、描述落底，二者分明、不再重叠 */
.feature-grid--photos .feature-card h3 {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    margin: 0;
}

.feature-grid--photos .feature-card p {
    top: auto;
    bottom: 16px;
    transform: translateY(20px);
}

.feature-grid--flip.feature-grid--photos .feature-card:hover h3 {
    transform: translateY(-88px);
}

.feature-grid--flip.feature-grid--photos .feature-card:hover p {
    transform: translateY(0);
}

.feature-grid--flip .feature-card h3 {
    color: var(--color-primary);
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.22s ease, transform 0.22s ease;
}

/* 描述：绝对定位在卡片中下部，默认隐藏，悬停贴近标题淡入（不撑高卡片） */
.feature-grid--flip .feature-card p {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 50%;
    transform: translateY(60px);
    color: var(--color-text-secondary);
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.feature-grid--flip .feature-card:hover .feature-flip-icon {
    opacity: 0;
    transform: translateX(-50%) scale(0.6);
}

.feature-grid--flip .feature-card:hover h3 {
    color: #ffffff;
    transform: translateY(-30px);
}

.feature-grid--flip .feature-card:hover p {
    opacity: 1;
    transform: translateY(20px);
    color: rgba(255, 255, 255, 0.85);
}

/* 触屏设备无悬停：静态布局直接展示完整内容（白底+深字） */
@media (hover: none) {
    .feature-grid--flip .feature-card {
        height: auto;
        min-height: 180px;
        justify-content: flex-start;
        padding-top: 30px;
        background: #ffffff;
    }
    .feature-grid--flip .feature-card::before {
        opacity: 0;
    }
    .feature-grid--flip .feature-card .feature-flip-icon {
        position: static;
        transform: none;
        margin-bottom: 12px;
        color: #242da2;
    }
    .feature-grid--flip .feature-card h3 {
        transform: none;
        color: var(--color-primary);
    }
    .feature-grid--flip .feature-card p {
        position: static;
        opacity: 1;
        transform: none;
        margin-top: 12px;
        color: var(--color-text-secondary);
    }
}

/* 配件列表触屏：还原 h3/p 为静态堆叠，避免绝对定位在手机端隐藏描述 */
@media (hover: none) {
    .feature-grid--photos .feature-card h3,
    .feature-grid--photos .feature-card p {
        position: static;
        transform: none;
    }
    .feature-grid--photos .feature-card .feature-flip-icon {
        width: 60%;
        max-width: 200px;
        height: 120px;
        margin-bottom: 14px;
    }
}

/* ==================== Spec Table ==================== */
.spec-table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
    border-bottom: none;
}

.spec-table th {
    width: 200px;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-bg-alt);
    white-space: nowrap;
}

.spec-table td {
    color: var(--color-text);
}

.spec-table tbody tr:nth-child(even) td {
    background: var(--color-bg-alt);
}

.spec-table tbody tr:hover th {
    background: rgba(59, 130, 246, 0.06);
}

.spec-table tbody tr:hover td {
    background: rgba(59, 130, 246, 0.04);
}

/* ==================== CTA Section ==================== */
.cta-section {
    background: var(--color-primary);
    color: var(--color-white);
    padding: clamp(40px, 6vw, 64px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--color-spectrum);
}

.cta-section h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.cta-section .btn-primary {
    background: var(--color-accent);
}

.cta-section .btn-outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-outline:hover {
    border-color: var(--color-white);
    color: var(--color-primary);
    background: var(--color-white);
}

/* ==================== Related Links ==================== */
.related-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    background: var(--color-bg-alt);
    border: none;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    text-decoration: none;
}

.related-card:hover {
    background: #242da2;
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.related-card:hover h3 {
    color: #ffffff;
}

.related-card:hover p {
    color: rgba(255, 255, 255, 0.82);
}

.related-card h3 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.related-card p {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.related-card::after {
    content: "\2192";
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.related-card:hover::after {
    transform: translateX(4px);
    color: #ffffff;
}

/* ==================== Article / News List ==================== */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-item {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.article-item:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.article-date {
    flex: 0 0 auto;
    text-align: center;
    min-width: 70px;
}

.article-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.article-date .month {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.article-body { flex: 1; }

.article-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.article-body h3 a {
    color: inherit;
}

.article-body h3 a:hover {
    color: var(--color-accent);
}

.article-body p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.article-thumb {
    flex: 0 0 auto;
}

.article-more {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
}

.article-more:hover {
    text-decoration: underline;
}

.article-tag {
    display: inline-block;
    font-size: 0.72rem;
    padding: 2px 10px;
    border-radius: 99px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    margin-right: 8px;
}

/* ==================== Article Detail ==================== */
.article-detail {
    max-width: 760px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.article-date-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.article-lead {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 28px;
}

.article-detail h2 {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-top: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
    position: relative;
}

.article-detail h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--color-accent);
}

.article-detail p {
    margin-bottom: 18px;
    line-height: 1.9;
    color: var(--color-text);
}

.article-bullets {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-bullets li {
    position: relative;
    padding-left: 28px;
    line-height: 1.85;
    color: var(--color-text);
}

.article-bullets li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--color-accent);
}

.article-figure {
    margin: 28px 0;
    text-align: center;
}

.article-figure img {
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.article-figure figcaption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.article-back {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.article-back a {
    color: var(--color-accent);
    font-weight: 600;
}

.article-back a:hover {
    text-decoration: underline;
}

/* ==================== Contact Form ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.contact-info h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-text);
    font-size: 0.9rem;
}

.contact-icon {
    flex: 0 0 24px;
    width: 24px; height: 24px;
    color: var(--color-accent);
}

.contact-icon svg { width: 100%; height: 100%; }

/* 地图与站内快捷导航（与首页“联系我们”模块保持一致） */
.contact-map {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.company-map {
    width: 100%;
    height: 260px;
    background: var(--color-bg-alt, #f2f4f7);
}

.contact-internal-links {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.contact-internal-links p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.contact-internal-links a {
    display: inline-block;
    margin-right: 16px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--color-accent);
    transition: all var(--transition);
}

.contact-internal-links a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.contact-form {
    background: var(--color-bg);
    padding: clamp(20px, 4vw, 36px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.required { color: #e74c3c; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-alt);
    color: var(--color-text);
    transition: all var(--transition);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-bg);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea { resize: vertical; }

.form-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-align: center;
}

/* 蜜罐字段：对真人不可见，机器人若填写则被后台静默丢弃 */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* 人机验证（腾讯云 TCaptcha）可见组件 */
.captcha-box {
    margin-bottom: 16px;
}

.captcha-box.is-error .captcha-trigger {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

.captcha-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fff;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    color: var(--color-text);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.captcha-trigger:hover {
    border-color: var(--color-accent);
}

.captcha-trigger[aria-pressed="true"] {
    border-color: #27ae60;
    background: rgba(46, 204, 113, 0.06);
}

.captcha-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1;
    transition: all 0.2s;
}

.captcha-trigger[aria-pressed="true"] .captcha-check {
    border-color: #27ae60;
    background: #27ae60;
    color: #fff;
}

.captcha-label {
    flex: 1;
}

.captcha-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--color-text-light);
}

.captcha-box.is-verified .captcha-hint {
    color: #27ae60;
}

.captcha-box.is-demo .captcha-hint {
    color: #f5a623;
}

/* ==================== Company Stats ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: clamp(16px, 3vw, 32px);
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.stat-number {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-top: 8px;
}

/* ==================== Two Column Layout ==================== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: clamp(40px, 6vw, 64px) 0 24px;
}

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

.footer-brand h4 {
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.95rem;
    color: var(--color-white);
    margin-bottom: 12px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-links ul li a:hover {
    color: var(--color-accent);
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    font-size: 0.8rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--color-accent); }

/* ==================== Reveal Animation ==================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        flex-direction: column;
        padding: 16px var(--container-padding);
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-200%);
        transition: transform var(--transition);
        opacity: 0;
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-item { width: 100%; }

    .nav-menu > .nav-item > a {
        width: 100%;
        padding: 12px 0;
        color: var(--color-text-secondary);
        border-bottom: 1px solid var(--color-border);
        justify-content: space-between;
    }

    .nav-menu > .nav-item > a:hover {
        color: var(--color-accent);
        background: none;
    }

    .nav-item.dropdown-open > a::after {
        transform: rotate(225deg) translateY(0px);
        opacity: 1;
    }

    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        border-top: 2px solid var(--color-accent);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 4px;
        margin: 6px 0 4px 12px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, margin 0.3s ease;
    }

    .nav-dropdown::after { display: none; }

    .nav-item.dropdown-open > .nav-dropdown {
        max-height: 400px;
        margin: 6px 0 8px 12px;
    }

    .nav-dropdown a {
        padding: 10px 14px;
        font-size: 0.82rem;
        color: var(--color-text-secondary);
        border-radius: var(--radius-sm);
        border-bottom: none;
    }

    .nav-dropdown a::before { width: 4px; height: 4px; }

    .nav-dropdown a:hover {
        color: var(--color-accent);
        background: rgba(59, 130, 246, 0.08);
        padding-left: 14px;
    }

    .nav-dropdown a:hover::before {
        background: var(--color-accent);
        transform: scale(1.3);
    }

    .contact-grid { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .article-item { flex-direction: column; gap: 12px; }
    .spec-table th { width: 120px; font-size: 0.82rem; }
    .spec-table th, .spec-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
    .feature-grid { grid-template-columns: 1fr; }
    .related-grid { gap: 10px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media print {
    #header, .breadcrumb, .nav-toggle, .cta-section, .footer { display: none; }
    .page-hero { color: #000; background: none; }
    .page-hero::before { display: none; }
}

/* ==================== FAQ（SEO / GEO 友好） ==================== */
.faq {
    padding: clamp(48px, 8vw, 96px) 0;
    background: var(--color-bg-alt);
}
.faq h2 {
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 40px);
}
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}
.faq-item h3 {
    font-size: 1.02rem;
    line-height: 1.5;
    margin-bottom: 8px;
    color: var(--color-primary);
}
.faq-item p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ===== i18n 语言切换按钮（同步自 spectra-cos-publish） ===== */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    min-width: 44px;
    padding: 0 12px;
    margin-left: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-primary);
    background: rgba(13, 40, 71, 0.06);
    border: 1px solid rgba(13, 40, 71, 0.18);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}
.lang-toggle:hover {
    color: var(--color-accent);
    background: rgba(13, 40, 71, 0.12);
    border-color: var(--color-accent);
}
