/**
 * 华易文档主题 - 主样式文件
 * Version: 1.0.10
 *
 * 配色方案：
 * 主色：#d70a30 (华易红)
 * 背景色：#ffffff
 * 深色区域：#111827
 * 文字色：#1f2937
 * 次要文字：#6b7280
 * 边框色：#e5e7eb
 * 浅灰背景：#f9fafb
 */

/* ========================================
   CSS变量
   ======================================== */
:root {
    --color-primary: #d70a30;
    --color-primary-dark: #b00826;
    --color-primary-light: #e83f5c;
    --color-primary-50: #fdf2f4;
    --color-primary-100: #fde0e5;
    --color-primary-200: #fbbac7;

    --color-bg: #ffffff;
    --color-bg-light: #f9fafb;
    --color-bg-dark: #111827;
    --color-bg-dark-light: #1f2937;

    --color-text: #1f2937;
    --color-text-secondary: #6b7280;
    --color-text-light: #9ca3af;
    --color-text-white: #ffffff;

    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;

    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    --spacing-5xl: 8rem;

    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    --container-max: 1200px;
    --header-height: 72px;
}

/* ========================================
   基础样式重置
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

ul, ol {
    list-style: none;
}

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

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
}

/* ========================================
   布局
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-padding {
    padding: var(--spacing-5xl) 0;
}

/* 紧跟在页面头部后面的内容区：缩小顶部间距，避免 Hero 和内容之间空隙过大 */
.page-hero + .section-padding {
    padding-top: var(--spacing-xl);
}

.section-bg-light {
    background-color: var(--color-bg-light);
}

/* ========================================
   页面加载动画
   ======================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto var(--spacing-md);
}

.loader-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   滚动显示动画
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   按钮样式
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.625rem 1.25rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    font-family: var(--font-family);
    border: 2px solid transparent;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1.5;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-text-white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

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

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

.btn-white {
    background-color: var(--color-text-white);
    color: var(--color-primary);
    border-color: var(--color-text-white);
}

.btn-white:hover {
    background-color: var(--color-primary-50);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--color-text-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-text-white);
    color: var(--color-text-white);
}

.btn-sm {
    padding: 0.375rem 0.875rem;
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: var(--font-size-base);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ========================================
   导航栏
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    height: 64px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
}

/* 桌面端导航 */
.main-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
}

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

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

/* 保留旧样式用于可能的回退 */
.logo-text {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--color-text);
}

.logo-text:hover {
    color: var(--color-text);
}

.logo-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-text);
}

/* 桌面端导航 */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-menu > .menu-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.5rem 0.875rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

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

/* 当前菜单项才变红，但排除首页锚点链接（#services, #solutions 等） */
.nav-menu > .menu-item.current-menu-item:not(.menu-item-home) > a {
    color: var(--color-primary);
}

/* 首页锚点链接默认黑色，悬停变红 */
.nav-menu > .menu-item.menu-item-home > a {
    color: var(--color-text);
}
.nav-menu > .menu-item.menu-item-home > a:hover {
    color: var(--color-primary);
}

/* 父级菜单（有子菜单的）默认不变红，悬停才变红 */
.nav-menu > .menu-item-has-children:not(.current-menu-item) > a,
.nav-menu > .menu-item.current-menu-ancestor:not(.current-menu-item) > a,
.nav-menu > .menu-item.current-menu-parent:not(.current-menu-item) > a {
    color: var(--color-text);
}

.menu-arrow {
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

/* 桌面端子菜单 */
.nav-menu .menu-item-has-children {
    position: relative;
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-base);
    z-index: 100;
}

/* 子菜单顶部的透明桥接区，防止鼠标移入时间隙导致 hover 中断 */
.nav-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: transparent;
    pointer-events: none;
}

.nav-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* 桌面端：有子菜单的父级链接不可点击（靠 hover 展开子菜单） */
@media (min-width: 992px) {
    .nav-menu > .menu-item-has-children {
        position: relative;
    }
    .nav-menu > .menu-item-has-children > a {
        cursor: default;
        pointer-events: none;
    }
    /* 用 ::before 伪元素填补父菜单与子菜单之间的 8px 间隙 */
    .nav-menu > .menu-item-has-children::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 12px;
        background: transparent;
        pointer-events: none;
    }
}

.nav-menu .menu-item-has-children:hover > a .menu-arrow {
    transform: rotate(180deg);
}

.nav-menu .sub-menu .menu-item a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

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

/* 头部操作区 */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.header-cta {
    font-size: var(--font-size-sm);
}

/* 汉堡菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ========================================
   移动端菜单
   ======================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--color-bg);
    z-index: 2001;
    transition: right var(--transition-slow);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--color-border-light);
    min-height: var(--header-height);
}

.mobile-logo .logo-name {
    font-size: var(--font-size-lg);
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    border-radius: var(--border-radius-md);
    transition: background var(--transition-fast);
}

.mobile-menu-close:hover {
    background: var(--color-bg-light);
}

.mobile-menu-body {
    flex: 1;
    padding: var(--spacing-lg);
    overflow-y: auto;
}

.mobile-nav-menu {
    margin-bottom: var(--spacing-xl);
}

.mobile-nav-menu > .menu-item {
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav-menu > .menu-item:last-child {
    border-bottom: none;
}

.mobile-nav-menu > .menu-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--color-text);
}

.mobile-nav-menu > .menu-item > a:hover {
    color: var(--color-primary);
}

/* 移动端：父级菜单默认不变红 */
.mobile-nav-menu > .menu-item-has-children:not(.current-menu-item) > a,
.mobile-nav-menu > .menu-item.current-menu-ancestor:not(.current-menu-item) > a {
    color: var(--color-text);
}

/* 移动端子菜单 */
.mobile-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-secondary);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.mobile-submenu-toggle:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

.mobile-submenu-toggle svg {
    transition: transform var(--transition-base);
}

.mobile-submenu-toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
}

.mobile-sub-menu {
    display: none;
    padding-left: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
}

.mobile-sub-menu.active {
    display: block;
}

.mobile-sub-menu .menu-item a {
    display: block;
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
}

.mobile-sub-menu .menu-item a:hover {
    color: var(--color-primary);
}

/* 移动端联系信息卡片 */
.mobile-contact-card {
    background: var(--color-bg-light);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.mobile-contact-card .btn {
    margin-top: var(--spacing-md);
}

/* ========================================
   Hero区域
   ======================================== */
/* ========== Hero轮播 ========== */
.hero-carousel {
    position: relative;
    padding-top: calc(var(--header-height) + var(--spacing-3xl));
    padding-bottom: var(--spacing-3xl);
    overflow: hidden;
}

/* 轨道 */
.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    flex: 0 0 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.carousel-slide .hero-subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-slide .hero-buttons {
    justify-content: center;
}

/* 带图片的幻灯片：容器放宽 */
.carousel-slide:has(.has-image) .container {
    max-width: 1200px;
}

/* 带图片的幻灯片：左右两栏布局 */
.hero-content.has-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-slide .hero-text {
    text-align: left;
}

.carousel-slide .hero-text .hero-badge,
.carousel-slide .hero-text .hero-title,
.carousel-slide .hero-text .hero-subtitle {
    margin-left: 0;
    margin-right: auto;
}

.carousel-slide .hero-text .hero-subtitle {
    max-width: 520px;
}

.carousel-slide .hero-text .hero-buttons {
    justify-content: flex-start;
}

/* 幻灯片图片区域 */
.hero-image {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    max-height: 520px;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.5s ease;
}

/* SVG 插图特殊处理 */
.hero-image img[src$=".svg"] {
    width: 100%;
    max-width: 520px;
    height: auto;
}

/* 智能档案库房图片：用 cover 裁掉边缘网格 */
.hero-image img[src*="smart-warehouse"] {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: none;
}

.carousel-slide.active .hero-image img {
    animation: heroImageFloat 4s ease-in-out infinite;
}

@keyframes heroImageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* 箭头 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-md);
}

.carousel-arrow:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.carousel-prev {
    left: var(--spacing-lg);
}

.carousel-next {
    right: var(--spacing-lg);
}

/* 指示器 */
.carousel-indicators {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--color-primary);
    width: 32px;
    border-radius: 6px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.375rem 1rem;
    background: var(--color-primary-100);
    color: var(--color-primary);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.hero-badge svg {
    color: var(--color-warning);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
}

/* 信任指标 */
.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-text);
    border: 2px solid var(--color-bg);
    margin-left: -8px;
}

.trust-avatar:first-child {
    margin-left: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-stars {
    display: flex;
    gap: 1px;
}

.trust-text span {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
}

/* Hero右侧视觉 */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.hero-illustration {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-bg);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-card svg {
    flex-shrink: 0;
}

.hero-card-1 {
    top: 10%;
    right: 0;
    animation-delay: 0s;
}

.hero-card-2 {
    top: 50%;
    left: -20px;
    animation-delay: 2s;
}

.hero-card-3 {
    bottom: 15%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-main-card {
    background: var(--color-bg);
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
}

.main-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border-light);
}

.main-card-dots {
    display: flex;
    gap: 6px;
}

.main-card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.main-card-title {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
}

.main-card-body {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.main-card-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    transition: background var(--transition-fast);
}

.main-card-item:hover {
    background: var(--color-bg-light);
}

.main-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.main-card-item-title {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
}

.main-card-item-meta {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
}

/* ========================================
   统计数字区域
   ======================================== */
.stats-section {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-xl);
}

.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: var(--spacing-sm);
}

.counter {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--color-text-white);
    line-height: 1;
}

.stat-unit {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-primary-light);
}

.stat-label {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   区域标题通用样式
   ======================================== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--spacing-3xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.875rem;
    background: var(--color-primary-100);
    color: var(--color-primary);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.section-desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.section-action {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

/* ========================================
   产品卡片
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.product-card-inner {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-2xl);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-50);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-base);
}

.product-card-inner:hover .product-icon {
    background: linear-gradient(135deg, #d70a30 0%, #b00826 100%);
    box-shadow: 0 4px 12px rgba(215, 10, 48, 0.3);
}

.product-card-inner:hover .product-icon svg {
    stroke: var(--color-text-white);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.product-tag {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--color-primary-100);
    color: var(--color-primary);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.product-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.product-title a {
    color: var(--color-text);
    text-decoration: none;
}

.product-title a:hover {
    color: var(--color-primary);
}

.product-excerpt {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.product-features {
    margin-bottom: var(--spacing-lg);
}

.product-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    padding: var(--spacing-xs) 0;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

.product-link:hover {
    gap: var(--spacing-md);
    color: var(--color-primary-dark);
}

/* ========================================
   核心优势卡片
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.feature-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-2xl);
    text-align: center;
    transition: all var(--transition-base);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary-50);
    border-radius: var(--border-radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--color-primary);
    color: var(--color-text-white);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.feature-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========================================
   案例卡片
   ======================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

/* ========================================
   解决方案网格（首页）
   ======================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

/* 解决方案卡片 - 与产品卡片风格一致 */
.solution-card-inner {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-2xl);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.solution-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-50);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-base);
}

.solution-card-inner:hover .solution-icon {
    background: linear-gradient(135deg, #d70a30 0%, #b00826 100%);
    box-shadow: 0 4px 12px rgba(215, 10, 48, 0.3);
}

.solution-card-inner:hover .solution-icon svg {
    stroke: var(--color-text-white);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.solution-tag {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--color-primary-100);
    color: var(--color-primary);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.solution-card-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.solution-card-title a {
    color: var(--color-text);
    text-decoration: none;
}

.solution-card-title a:hover {
    color: var(--color-primary);
}

.solution-excerpt {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

.solution-link:hover {
    gap: var(--spacing-md);
    color: var(--color-primary-dark);
}

.case-card-inner {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-card-inner:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.case-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.case-card-inner:hover .case-image img {
    transform: scale(1.05);
}

.case-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
}

.case-industry-tag {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 0.25rem 0.625rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.case-content {
    padding: var(--spacing-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.case-title a {
    color: var(--color-text);
    text-decoration: none;
}

.case-title a:hover {
    color: var(--color-primary);
}

.case-excerpt {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.case-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border-light);
}

.case-stat {
    display: flex;
    flex-direction: column;
}

.case-stat-value {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-primary);
}

.case-stat-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

.case-link:hover {
    gap: var(--spacing-md);
    color: var(--color-primary-dark);
}

/* ========================================
   下载卡片
   ======================================== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.download-card-inner {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-xl);
    transition: all var(--transition-base);
}

.download-card-inner:hover {
    border-color: var(--color-primary-200);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-50);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-format-badge {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-primary);
}

.download-info {
    flex: 1;
    min-width: 0;
}

.download-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.download-title a {
    color: var(--color-text);
    text-decoration: none;
}

.download-title a:hover {
    color: var(--color-primary);
}

.download-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.download-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
}

.download-action {
    flex-shrink: 0;
}

/* ========================================
   CTA区域
   ======================================== */
.cta-section {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg-dark);
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: var(--spacing-md);
}

.cta-desc {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-2xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   页脚
   ======================================== */
.site-footer {
    background: var(--color-bg-dark-light);
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr 0.8fr;
    gap: var(--spacing-3xl);
    padding: var(--spacing-4xl) 0;
}

.footer-logo {
    margin-bottom: var(--spacing-lg);
}

.footer-logo .site-logo-img {
    filter: brightness(0) invert(1);
}

.footer-logo .logo-name {
    color: var(--color-text-white);
}

.footer-desc {
    font-size: var(--font-size-sm);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
}

.footer-heading {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-white);
    margin-bottom: var(--spacing-lg);
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-text-white);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary-light);
}

/* 页脚底部 */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.copyright {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--color-text-white);
}

/* ========================================
   页面头部（内页）
   ======================================== */
.page-hero {
    padding-top: calc(var(--header-height) + var(--spacing-3xl));
    padding-bottom: var(--spacing-3xl);
    background: linear-gradient(135deg, #ffffff 0%, var(--color-primary-50) 100%);
}

.page-hero-inner {
    max-width: 640px;
}

.page-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.page-desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-sm);
}

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

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

.breadcrumb-sep {
    color: var(--color-text-light);
}

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

/* ========================================
   内容布局
   ======================================== */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--spacing-3xl);
    align-items: start;
}

.content-main {
    min-width: 0;
}

/* 文章内容 */
.entry-content {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--color-text);
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
}

.entry-content h2 { font-size: var(--font-size-2xl); }
.entry-content h3 { font-size: var(--font-size-xl); }
.entry-content h4 { font-size: var(--font-size-lg); }

.entry-content p {
    margin-bottom: var(--spacing-lg);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-xl);
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: var(--spacing-sm);
}

.entry-content img {
    border-radius: var(--border-radius-lg);
    margin: var(--spacing-xl) 0;
}

.entry-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* 特色图片 */
.single-featured-image,
.page-featured-image {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    margin-bottom: var(--spacing-2xl);
}

.single-featured-image img,
.page-featured-image img {
    width: 100%;
    height: auto;
}

/* 产品特性列表 */
.single-features {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: var(--color-bg-light);
    border-radius: var(--border-radius-xl);
}

.single-features h2 {
    margin-top: 0;
    margin-bottom: var(--spacing-lg);
}

.single-features-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-base);
    color: var(--color-text);
}

/* 案例数据 */
.single-case-stats {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: var(--color-bg-light);
    border-radius: var(--border-radius-xl);
}

.single-case-stats h2 {
    margin-top: 0;
    margin-bottom: var(--spacing-lg);
}

.case-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.case-stat-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--color-bg);
    border-radius: var(--border-radius-lg);
}

.case-stat-card .case-stat-value {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-primary);
}

.case-stat-card .case-stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-top: var(--spacing-xs);
}

.case-detail-industry {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-primary-100);
    color: var(--color-primary);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-top: var(--spacing-sm);
}

/* ========================================
   侧边栏
   ======================================== */
.sidebar .widget {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.widget-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-primary);
}

.sidebar-nav li {
    border-bottom: 1px solid var(--color-border-light);
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav a {
    display: block;
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.sidebar-nav a:hover {
    color: var(--color-primary);
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.sidebar-categories li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border-light);
    transition: color var(--transition-fast);
}

.sidebar-categories li:last-child a {
    border-bottom: none;
}

.sidebar-categories li a:hover {
    color: var(--color-primary);
}

.cat-count {
    background: var(--color-bg-light);
    padding: 0.125rem 0.5rem;
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
}

/* ========================================
   归档筛选
   ======================================== */
.archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-2xl);
    justify-content: center;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.filter-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
}

/* ========================================
   分页
   ======================================== */
.archive-pagination {
    margin-top: var(--spacing-3xl);
    text-align: center;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.nav-links .page-numbers:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.nav-links .page-numbers.current {
    background: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
}

.nav-links .page-numbers svg {
    display: block;
}

/* ========================================
   搜索
   ======================================== */
.search-form-inner {
    display: flex;
    align-items: center;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-xl);
    padding: 0.25rem;
    transition: border-color var(--transition-fast);
}

.search-form-inner:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    color: var(--color-text);
    background: transparent;
}

.search-input::placeholder {
    color: var(--color-text-light);
}

.search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: var(--color-text-white);
    border: none;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: background var(--transition-fast);
    flex-shrink: 0;
}

.search-submit:hover {
    background: var(--color-primary-dark);
}

.page-search-form {
    max-width: 480px;
    margin: var(--spacing-xl) auto 0;
}

/* 搜索结果 */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.search-result-inner {
    padding: var(--spacing-xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-xl);
    transition: all var(--transition-fast);
}

.search-result-inner:hover {
    border-color: var(--color-primary-200);
    box-shadow: var(--shadow-md);
}

.search-result-type {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--color-primary-100);
    color: var(--color-primary);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.search-result-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.search-result-title a {
    color: var(--color-text);
    text-decoration: none;
}

.search-result-title a:hover {
    color: var(--color-primary);
}

.search-result-excerpt {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.search-result-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-result-date {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
}

.search-result-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-primary);
}

.search-keyword {
    color: var(--color-primary);
}

/* ========================================
   404页面
   ======================================== */
.error-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--spacing-lg);
    opacity: 0.3;
}

.error-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.error-desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-2xl);
}

.error-actions {
    margin-bottom: var(--spacing-3xl);
}

.error-search {
    margin-bottom: var(--spacing-3xl);
}

.error-search h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

.error-links h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

.error-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.error-link-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-bg-light);
    border-radius: var(--border-radius-lg);
    color: var(--color-text);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.error-link-card:hover {
    background: var(--color-primary-50);
    color: var(--color-primary);
}

/* ========================================
   无内容
   ======================================== */
.no-content {
    text-align: center;
    padding: var(--spacing-5xl) 0;
}

.no-content svg {
    margin: 0 auto var(--spacing-lg);
    opacity: 0.5;
}

.no-content p {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* ========================================
   屏幕阅读器
   ======================================== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--color-bg);
    border-radius: var(--border-radius-md);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
    clip: auto !important;
    clip-path: none;
    color: var(--color-text);
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ========================================
   页面链接
   ======================================== */
.page-links {
    clear: both;
    margin: var(--spacing-xl) 0;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border-light);
}

/* ========================================
   响应式设计 - 平板
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }

    .hero-carousel {
        padding-top: calc(var(--header-height) + var(--spacing-2xl));
        padding-bottom: var(--spacing-2xl);
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .hero-visual {
        display: none;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content.has-image {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .carousel-slide .hero-text {
        text-align: center;
    }

    .carousel-slide .hero-text .hero-badge,
    .carousel-slide .hero-text .hero-title,
    .carousel-slide .hero-text .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .carousel-slide .hero-text .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

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

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

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

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

    /* 解决方案 */
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .sidebar .widget {
        margin-bottom: 0;
    }
}

/* ========================================
   响应式设计 - 手机
   ======================================== */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
        --header-height: 64px;
    }

    .section-padding {
        padding: var(--spacing-3xl) 0;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    /* 导航 */
    .main-navigation {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero-carousel {
        padding-top: calc(var(--header-height) + var(--spacing-xl));
        padding-bottom: var(--spacing-xl);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    /* 统计 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .stat-item {
        padding: var(--spacing-md);
    }

    .counter {
        font-size: var(--font-size-3xl);
    }

    /* 产品 */
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* 优势 */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* 案例 */
    .cases-grid {
        grid-template-columns: 1fr;
    }

    /* 解决方案 */
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    /* 下载 */
    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .download-card-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-action {
        align-self: flex-end;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    /* 页面头部 */
    .page-hero {
        padding-top: calc(var(--header-height) + var(--spacing-2xl));
        padding-bottom: var(--spacing-2xl);
    }

    /* 侧边栏 */
    .sidebar {
        grid-template-columns: 1fr;
    }

    /* 搜索 */
    .page-search-form {
        margin-top: var(--spacing-lg);
    }

    /* 404 */
    .error-code {
        font-size: 80px;
    }

    .error-links-grid {
        grid-template-columns: 1fr;
    }

    /* 归档筛选 */
    .archive-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--spacing-sm);
        -webkit-overflow-scrolling: touch;
    }

    .archive-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* 案例数据 */
    .case-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   响应式设计 - 小屏手机
   ======================================== */
@media (max-width: 480px) {
    :root {
        --font-size-5xl: 1.75rem;
        --font-size-4xl: 1.5rem;
    }

    .hero-badge {
        font-size: var(--font-size-xs);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .counter {
        font-size: var(--font-size-2xl);
    }

    .stat-unit {
        font-size: var(--font-size-lg);
    }

    .stat-label {
        font-size: var(--font-size-xs);
    }

    .section-header {
        margin-bottom: var(--spacing-2xl);
    }

    .section-desc {
        font-size: var(--font-size-base);
    }

    .product-card-inner {
        padding: var(--spacing-xl);
    }

    .feature-card {
        padding: var(--spacing-xl);
    }

    .case-stats {
        gap: var(--spacing-md);
    }

    .case-stats-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu {
        max-width: 100%;
    }
}

/* ========================================
   华易质检系统页面
   ======================================== */
.qi-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.qi-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(215,10,48,0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(59,130,246,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.qi-hero-inner {
    position: relative;
    z-index: 1;
}
.qi-badge {
    display: inline-block;
    background: rgba(215,10,48,0.2);
    color: #f87171;
    border: 1px solid rgba(215,10,48,0.3);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 1px;
}
.qi-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.qi-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 48px;
}
.qi-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.qi-stat {
    text-align: center;
}
.qi-stat-num {
    font-size: 42px;
    font-weight: 700;
    color: #d70a30;
    line-height: 1;
    margin-bottom: 8px;
}
.qi-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}
.qi-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.qi-cta .btn-primary {
    background: #d70a30;
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s;
}
.qi-cta .btn-primary:hover {
    background: #b00826;
}
.qi-cta .btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.3s;
}
.qi-cta .btn-outline:hover {
    border-color: #fff;
}

/* 核心功能 */
.qi-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.qi-feature-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px 28px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.qi-feature-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.qi-feature-icon {
    font-size: 36px;
    margin-bottom: 20px;
}
.qi-feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}
.qi-feature-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.qi-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.qi-tag {
    display: inline-block;
    background: var(--color-bg-light);
    color: var(--color-text-secondary);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
}

/* 检测规则 */
.section-alt {
    background: var(--color-bg-light);
}
.qi-rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.qi-rule-group {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 28px;
}
.qi-rule-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
}
.qi-rule-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.qi-rule-icon-blue {
    background: #eff6ff;
}
.qi-rule-icon-green {
    background: #f0fdf4;
}
.qi-rule-icon-yellow {
    background: #fffbeb;
}
.qi-rule-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}
.qi-rule-count {
    font-size: 13px;
    color: var(--color-text-secondary);
}
.qi-rule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.qi-rule-list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 2;
}
.qi-rule-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* 使用流程 */
.qi-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.qi-step {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    width: 200px;
    flex-shrink: 0;
}
.qi-step-num {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}
.qi-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}
.qi-step p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}
.qi-step-arrow {
    font-size: 24px;
    color: var(--color-text-light);
    flex-shrink: 0;
}

/* 适用用户与场景 */
.qi-users-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.qi-user-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px 28px;
}
.qi-user-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}
.qi-user-icon-blue { background: #eff6ff; }
.qi-user-icon-green { background: #f0fdf4; }
.qi-user-icon-purple { background: #faf5ff; }
.qi-user-icon-pink { background: #fdf2f8; }
.qi-user-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}
.qi-user-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.qi-user-scenarios {
    background: var(--color-bg-light);
    border-radius: 8px;
    padding: 16px 20px;
}
.qi-scenario-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 10px;
}
.qi-user-scenarios ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.qi-user-scenarios li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 2;
}
.qi-user-scenarios li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* CTA */
.qi-cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.qi-cta-inner h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.qi-cta-inner p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 36px;
}
.qi-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.3s;
}
.btn-outline-light:hover {
    border-color: #fff;
}

/* 响应式 */
@media (max-width: 1024px) {
    .qi-features-grid,
    .qi-rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .qi-title {
        font-size: 32px;
    }
    .qi-stats {
        gap: 32px;
    }
    .qi-stat-num {
        font-size: 32px;
    }
    .qi-features-grid,
    .qi-rules-grid,
    .qi-users-grid {
        grid-template-columns: 1fr;
    }
    .qi-workflow {
        flex-direction: column;
    }
    .qi-step-arrow {
        transform: rotate(90deg);
    }
    .qi-step {
        width: 100%;
        max-width: 300px;
    }
}
@media (max-width: 480px) {
    .qi-hero {
        padding: 72px 0 56px;
    }
    .qi-title {
        font-size: 26px;
    }
    .qi-sub {
        font-size: 15px;
    }
    .qi-stats {
        gap: 20px;
    }
    .qi-stat-num {
        font-size: 28px;
    }
}

/* ========================================
   打印样式
   ======================================== */
@media print {
    .site-header,
    .mobile-menu,
    .mobile-menu-overlay,
    .page-loader,
    .cta-section,
    .site-footer,
    .sidebar,
    .mobile-menu-toggle {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero-carousel {
        padding-top: 0;
        background: none;
    }

    .section-padding {
        padding: 2rem 0;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ========================================
   综合档案管理单机版页面
   ======================================== */
.sa-hero {
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 50%, #162544 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sa-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(26,95,180,0.2) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(215,10,48,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.sa-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.sa-hero-badge {
    display: inline-block;
    background: rgba(26,95,180,0.2);
    color: #60a5fa;
    border: 1px solid rgba(26,95,180,0.3);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 1px;
}
.sa-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.sa-hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.sa-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.sa-hero-actions .btn-primary {
    background: #d70a30;
    color: #fff;
    padding: 12px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.sa-hero-actions .btn-primary:hover {
    background: #b00828;
}
.sa-hero-actions .btn-outline {
    background: transparent;
    color: #fff;
    padding: 12px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.4);
    transition: border-color 0.2s;
}
.sa-hero-actions .btn-outline:hover {
    border-color: #fff;
}
.sa-hero-visual {
    margin-top: 48px;
}
.sa-hero-mockup {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px;
    max-width: 600px;
    margin: 0 auto;
}

/* 通用段落 */
.sa-section {
    padding: 80px 0;
}
.sa-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.sa-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.sa-section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #d70a30;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.sa-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}
.sa-section-desc {
    font-size: 16px;
    color: var(--color-text-secondary);
}

/* 产品概述 */
.sa-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.sa-overview-text p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}
.sa-ov-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--color-border);
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}
.sa-ov-feature:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.sa-ov-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sa-ov-feature h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}
.sa-ov-feature p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* 核心功能 */
.sa-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.sa-feature-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px 24px;
    transition: box-shadow 0.2s;
}
.sa-feature-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.sa-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}
.sa-feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}
.sa-feature-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.sa-feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sa-feature-card ul li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 2;
}
.sa-feature-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d70a30;
}

/* 技术特色 */
.sa-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.sa-tech-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sa-tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.sa-tech-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.sa-tech-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}
.sa-tech-card p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* 安全运维 */
.sa-security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.sa-security-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px 24px;
    border-left: 4px solid #d70a30;
}
.sa-security-num {
    font-size: 28px;
    font-weight: 800;
    color: #d70a30;
    opacity: 0.25;
    margin-bottom: 8px;
}
.sa-security-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}
.sa-security-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* 适用对象 */
.sa-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.sa-audience-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.2s;
}
.sa-audience-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.sa-audience-icon {
    font-size: 36px;
    margin-bottom: 16px;
}
.sa-audience-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}
.sa-audience-card p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .sa-hero-title { font-size: 28px; }
    .sa-overview-grid { grid-template-columns: 1fr; }
    .sa-features-grid { grid-template-columns: 1fr; }
    .sa-tech-grid { grid-template-columns: 1fr 1fr; }
    .sa-security-grid { grid-template-columns: 1fr; }
    .sa-audience-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .sa-tech-grid { grid-template-columns: 1fr; }
    .sa-audience-grid { grid-template-columns: 1fr; }
}

/* ========================================
   统一详情页组件样式（产品/服务/解决方案共用）
   ======================================== */

/* ---- 统一 Hero 区域 ---- */
.detail-hero {
    background: url('../images/hero-unified.png') center/cover no-repeat;
    color: #fff;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.detail-hero > .container,
.detail-hero > .detail-hero-inner {
    width: 100%;
    position: relative;
    z-index: 1;
}
.detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 50%, rgba(215,10,48,0.12) 0%, transparent 55%),
                radial-gradient(circle at 75% 50%, rgba(26,95,180,0.10) 0%, transparent 55%);
    pointer-events: none;
}
.detail-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}
.detail-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 22px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 2px;
}
.detail-hero-title {
    font-size: 46px;
    font-weight: 800;
    color: #fff !important; /* 强制白色，覆盖所有继承 */
    margin-bottom: 20px;
    letter-spacing: 3px;
    line-height: 1.25;
}
.detail-hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.72) !important;
    max-width: 680px;
    margin: 0 auto 0;
    line-height: 1.8;
}
.detail-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.detail-hero-actions .dh-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 16px rgba(215,10,48,.35);
}
.detail-hero-actions .dh-btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.detail-hero-actions .dh-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.35);
    transition: border-color .2s, background .2s;
}
.detail-hero-actions .dh-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.07); }

/* ---- 统一章节标题 ---- */
.detail-section { padding: 80px 0; }
.detail-section-alt { padding: 80px 0; background: #f9fafb; }
.detail-section-header { text-align: center; margin-bottom: 52px; }
.detail-section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.detail-section-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--color-text) !important;
    margin-bottom: 14px;
    line-height: 1.35;
}
.detail-section-desc {
    font-size: 16px;
    color: var(--color-text-secondary) !important;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- 统一卡片网格 ---- */
.detail-card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.detail-card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.detail-card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.detail-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 34px 24px;
    transition: transform .2s, box-shadow .25s;
}
.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.09);
}
.detail-card-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}
.detail-card h3 { font-size: 18px; font-weight: 700; color: var(--color-text); margin-bottom: 10px; }
.detail-card p  { font-size: 14px; color: var(--color-text-secondary); line-height: 1.75; }

/* 卡片图标颜色 */
.dci-red    { background: #fdf2f4; } .dci-red .detail-card-icon    { color: var(--color-primary); }
.dci-blue   { background: #eff6ff; } .dci-blue .detail-card-icon   { color: #2563eb; }
.dci-green  { background: #f0fdf4; } .dci-green .detail-card-icon  { color: #16a34a; }
.dci-orange { background: #fffbeb; } .dci-orange .detail-card-icon { color: #d97706; }
.dci-purple { background: #faf5ff; } .dci-purple .detail-card-icon{ color: #7c3aed; }

/* 统一 CTA */
.detail-cta {
    background: linear-gradient(135deg, #d70a30, #a30824);
    color: #fff !important;
    text-align: center;
    padding: 80px 0;
}
.detail-cta h2 {
    font-size: 28px; font-weight: 800;
    color: #fff !important;
    margin-bottom: 16px;
}
.detail-cta p {
    font-size: 16px;
    color: rgba(255,255,255,.88) !important;
    max-width: 580px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.detail-cta .dh-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.detail-cta .dh-cta-btns a {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.detail-cta .dh-cta-btns .cta-white {
    background: #fff;
    color: var(--color-primary);
}
.detail-cta .dh-cta-btns .cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
}
.detail-cta .dh-cta-btns .cta-outline:hover { border-color: #fff; }

/* 响应式 */
@media (max-width: 992px) {
    .detail-card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .detail-card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .detail-hero { height: 320px; }
    .detail-hero-title { font-size: 30px; letter-spacing: 1px; }
    .detail-section-title { font-size: 24px; }
    .detail-section { padding: 56px 0; }
    .detail-section-alt { padding: 56px 0; }
    .detail-card-grid-2 { grid-template-columns: 1fr; }
    .detail-card-grid-3 { grid-template-columns: 1fr; }
    .detail-card-grid-4 { grid-template-columns: 1fr; }
}

/* ---- 修复：强制现有页面类文字颜色 ---- */
.sa-hero { color: #fff !important; }
.sa-hero-title { color: #fff !important; }
.qi-hero { color: #fff !important; }
.qi-title { color: #fff !important; }
.fc-hero { color: #fff !important; }
.fc-title { color: #fff !important; }
.dp-hero, .dp-hero *, /* 文档AI */
.ar-hero, .ar-hero *, /* 档案室 */
.dg-hero, .dg-hero *, /* 数据治理 */
.cs-hero, .cs-hero *  /* 咨询服务 */ { color: inherit; }
.sa-cta-section h2,
.sa-cta-section p,
.qi-cta-section h2,
.qi-cta-section p,
.fc-cta-section h2,
.fc-cta-section p,
.dp-cta-section h2,
.dp-cta-section p,
.ar-cta-section h2,
.ar-cta-section p,
.dg-cta-section h2,
.dg-cta-section p,
.cs-cta-section h2,
.cs-cta-section p {
    color: #fff !important;
}

/* ========================================
   四性检测页面
   ======================================== */
.fc-hero {
    background: linear-gradient(135deg, #1a237e 0%, #1565c0 50%, #0288d1 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
}
.fc-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.fc-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.8;
}
.fc-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.fc-tags span {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 14px;
}

/* 四性卡片 */
.fc-four-cards {
    margin-top: 0;
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
}
.fc-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.fc-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.fc-card:hover {
    transform: translateY(-4px);
}
.fc-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
}
.fc-icon-blue { background: #e3f2fd; }
.fc-icon-green { background: #e8f5e9; }
.fc-icon-orange { background: #fff3e0; }
.fc-icon-red { background: #fce4ec; }
.fc-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--color-text);
}
.fc-card p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* 核心功能 */
.fc-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.fc-feature-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border-left: 4px solid #1565c0;
    transition: box-shadow 0.2s;
}
.fc-feature-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.fc-feature-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #1565c0;
}
.fc-feature-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* 检测项表格 */
.fc-table-wrap {
    overflow-x: auto;
    margin-top: 40px;
}
.fc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.fc-table th {
    background: #1a237e;
    color: #fff;
    padding: 14px 16px;
    font-size: 14px;
    text-align: left;
    font-weight: 500;
}
.fc-table td {
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    color: var(--color-text);
}
.fc-table tr:last-child td {
    border-bottom: none;
}
.fc-table tr:hover td {
    background: #f5f8ff;
}
.fc-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}
.fc-tag-blue { background: #e3f2fd; color: #1565c0; }
.fc-tag-green { background: #e8f5e9; color: #2e7d32; }
.fc-tag-orange { background: #fff3e0; color: #e65100; }
.fc-tag-red { background: #fce4ec; color: #c62828; }

/* 检测流程 */
.fc-workflow {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 48px;
    justify-content: center;
    flex-wrap: wrap;
}
.fc-step {
    flex: 1;
    text-align: center;
    padding: 0 16px;
    min-width: 180px;
    position: relative;
}
.fc-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1565c0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}
.fc-step h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--color-text);
}
.fc-step p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}
.fc-step-arrow {
    font-size: 24px;
    color: var(--color-text-light);
    flex-shrink: 0;
    margin-top: 24px;
}

/* 产品价值 */
.fc-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.fc-value-card {
    background: #fff;
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.fc-value-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.fc-value-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--color-text);
}
.fc-value-card p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* CTA */
.fc-cta-section {
    background: linear-gradient(135deg, #1a237e 0%, #1565c0 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.fc-cta-inner h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.fc-cta-inner p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 36px;
}
.fc-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 响应式 */
@media (max-width: 1024px) {
    .fc-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .fc-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fc-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .fc-hero {
        padding: 72px 0 60px;
    }
    .fc-title {
        font-size: 32px;
    }
    .fc-cards-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .fc-features-grid {
        grid-template-columns: 1fr;
    }
    .fc-values-grid {
        grid-template-columns: 1fr;
    }
    .fc-workflow {
        flex-direction: column;
        align-items: center;
    }
    .fc-step-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
    }
    .fc-step {
        max-width: 300px;
        width: 100%;
    }
}
@media (max-width: 480px) {
    .fc-title {
        font-size: 26px;
    }
    .fc-sub {
        font-size: 15px;
    }
}
/* =======================================
   文档云商城 - 首页样式（v1.0.9）
   ======================================= */

/* Hero 搜索区 */
.shop-hero {
    background: url('../images/hero-unified.png') center/cover no-repeat;
    background-color: #0b3d6d;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
}
.shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,30,60,0.72) 0%, rgba(20,60,110,0.50) 60%, rgba(215,10,48,0.22) 100%);
    z-index: 0;
}
.shop-hero .container { position: relative; z-index: 1; }
.shop-hero .container { max-width: 800px; }
.shop-hero__title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;    color: #fff;

}
.shop-hero__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.88);
    margin-bottom: 36px;
}
.shop-hero__search {
    display: flex;
    max-width: 560px;
    margin: 0 auto 30px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.shop-hero__search input[type="text"] {
    flex: 1;
    padding: 14px 24px;
    border: none;
    font-size: 15px;
    outline: none;
}
.shop-hero__search button {
    background: #d70a30;
    color: #fff;
    border: none;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.shop-hero__search button:hover { background: #b00826; }
.shop-hero__links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 通用区块 */
.shop-section { padding: 70px 0; }
.shop-section--alt { background: #f8f9fa; }
.shop-section--cta {
    background: linear-gradient(135deg, #0b3d6d 0%, #d70a30 100%);
    color: #fff;
}
.shop-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.shop-section__title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #0b3d6d;
    margin-bottom: 12px;
}
.shop-section--cta .shop-section__title { color: #fff; }
.shop-section__desc {
    text-align: center;
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 44px;
}
.shop-section--cta .shop-section__desc { color: rgba(255,255,255,0.85); }
.shop-section__more { text-align: center; margin-top: 40px; }

/* 分类卡片 */
.shop-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.shop-cat-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    padding: 36px 28px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}
.shop-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-color: var(--cat-color, #0b3d6d);
    text-decoration: none;
    color: inherit;
}
.shop-cat-card__icon {
    font-size: 48px;
    display: block;
    margin-bottom: 18px;
}
.shop-cat-card__name {
    font-size: 20px;
    font-weight: 700;
    color: #0b3d6d;
    margin-bottom: 8px;
}
.shop-cat-card__count {
    font-size: 14px;
    color: #6b7280;
}
.shop-cat-card__arrow {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    font-size: 22px;
    color: var(--cat-color, #0b3d6d);
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
}
.shop-cat-card:hover .shop-cat-card__arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* 产品卡片 */
.shop-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
}
.shop-product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.shop-product-card__img-link {
    display: block;
    position: relative;
    overflow: hidden;
}
.shop-product-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}
.shop-product-card:hover .shop-product-card__img {
    transform: scale(1.05);
}
.shop-product-card__img--placeholder {
    width: 100%;
    height: 220px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}
.shop-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #d70a30;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}
.shop-product-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.shop-product-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.shop-product-card__title a {
    color: #0b3d6d;
    text-decoration: none;
}
.shop-product-card__title a:hover { color: #d70a30; }
.shop-product-card__sku {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 16px;
}
.shop-product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.shop-product-card__price {
    font-size: 22px;
    font-weight: 800;
    color: #d70a30;
}
.shop-product-card__btn {
    background: #0b3d6d;
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}
.shop-product-card__btn:hover {
    background: #d70a30;
    color: #fff;
    text-decoration: none;
}

/* 优势特色 */
.shop-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.shop-feature { text-align: center; padding: 20px; }
.shop-feature__icon {
    font-size: 48px;
    display: block;
    margin-bottom: 18px;
}
.shop-feature__title {
    font-size: 18px;
    font-weight: 700;
    color: #0b3d6d;
    margin-bottom: 10px;
}
.shop-feature__desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn--primary {
    background: #d70a30;
    color: #fff;
    border-color: #d70a30;
}
.btn--primary:hover {
    background: #b00826;
    border-color: #b00826;
    color: #fff;
    text-decoration: none;
}
.btn--white {
    background: #fff;
    color: #0b3d6d;
    border-color: #fff;
}
.btn--white:hover {
    background: #f0f4f8;
    color: #0b3d6d;
    text-decoration: none;
}
.btn--outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

/* 响应式 */
@media (max-width: 768px) {
    .shop-hero { padding: 50px 0; }
    .shop-hero__title { font-size: 28px; }
    .shop-hero__search {
        flex-direction: column;
        border-radius: 14px;
    }
    .shop-hero__search input[type="text"] {
        border-radius: 14px 14px 0 0;
    }
    .shop-hero__search button {
        border-radius: 0 0 14px 14px;
        padding: 12px;
    }
    .shop-section__title { font-size: 24px; }
    .shop-categories,
    .shop-products,
    .shop-features {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .shop-categories,
    .shop-products,
    .shop-features {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   文档云商城 - 产品详情页样式（v1.0.10）
   ======================================== */

/* 产品详情容器 */
.product-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 面包屑导航 */
.product-detail__breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #6b7280;
}
.product-detail__breadcrumb a {
    color: #0b3d6d;
    text-decoration: none;
    transition: color 0.2s;
}
.product-detail__breadcrumb a:hover {
    color: #d70a30;
}
.product-detail__breadcrumb .sep {
    margin: 0 8px;
    color: #d1d5db;
}
.product-detail__breadcrumb .current {
    color: #1f2937;
    font-weight: 600;
}

/* 产品主体区域 */
.product-detail__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* ========== 左侧：图片画廊 ========== */
.product-detail__gallery {
    position: sticky;
    top: 20px;
    align-self: start;
}

.product-detail__main-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
    margin-bottom: 16px;
}
.product-detail__featured-image {
    width: 100%;
    height: 450px;
    object-fit: contain;
    transition: transform 0.4s;
}
.product-detail__main-image:hover .product-detail__featured-image {
    transform: scale(1.03);
}
.product-detail__image-zoom {
    display: block;
    position: relative;
}
.product-detail__zoom-icon {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.product-detail__main-image:hover .product-detail__zoom-icon {
    opacity: 1;
}

/* 无图片占位 */
.product-detail__no-image {
    width: 100%;
    height: 450px;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}
.product-detail__no-image span {
    font-size: 64px;
    margin-bottom: 12px;
}

/* 标签 */
.product-detail__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}
.product-detail__badge--sale {
    background: #d70a30;
    color: #fff;
}
.product-detail__badge--featured {
    background: #0b3d6d;
    color: #fff;
}

/* 缩略图 */
.product-detail__thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}
.product-detail__thumb {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
}
.product-detail__thumb:hover,
.product-detail__thumb.active {
    border-color: #0b3d6d;
}
.product-detail__thumb img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}

/* ========== 右侧：产品信息 ========== */
.product-detail__summary {
    padding-top: 10px;
}

/* 标签 */
.product-detail__tags {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.product-detail__tag {
    background: #e8f4fd;
    color: #0b3d6d;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* 标题 */
.product-detail__title {
    font-size: 30px;
    font-weight: 800;
    color: #0b3d6d;
    margin-bottom: 14px;
    line-height: 1.3;
}

/* 元信息（SKU、分类） */
.product-detail__meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #6b7280;
}
.product-detail__sku,
.product-detail__category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 价格 */
.product-detail__pricing {
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #fdf2f4 0%, #fce0e5 100%);
    border-radius: 12px;
}
.product-detail__price {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.product-detail__price-current {
    font-size: 38px;
    font-weight: 800;
    color: #d70a30;
}
.product-detail__price-regular {
    font-size: 20px;
    color: #9ca3af;
    text-decoration: line-through;
}
.product-detail__discount {
    background: #d70a30;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

/* 简短描述 */
.product-detail__short-desc {
    margin-bottom: 24px;
    color: #4b5563;
    line-height: 1.8;
    font-size: 15px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #0b3d6d;
}

/* 产品特性 */
.product-detail__features {
    margin-bottom: 24px;
    padding: 20px;
    background: #f0f4f8;
    border-radius: 12px;
}
.product-detail__features h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0b3d6d;
    margin-bottom: 12px;
}
.product-detail__features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-detail__features li {
    padding: 8px 0;
    color: #1f2937;
    font-size: 14px;
    border-bottom: 1px solid #e5e7eb;
}
.product-detail__features li:last-child {
    border-bottom: none;
}
.product-detail__features li::before {
    content: "✅ ";
    margin-right: 6px;
}

/* 加入购物车表单 */
.product-detail__cart-form {
    margin-bottom: 24px;
}
.product-detail__cart-form .quantity {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
}
.product-detail__cart-form .qty {
    width: 60px;
    text-align: center;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
}
.product-detail__cart-form .single_add_to_cart_button {
    background: #d70a30 !important;
    color: #fff !important;
    padding: 14px 40px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer;
    transition: background 0.2s !important;
}
.product-detail__cart-form .single_add_to_cart_button:hover {
    background: #b00826 !important;
}

/* 操作按钮 */
.product-detail__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.product-detail__action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: #1f2937;
}
.product-detail__action-btn:hover {
    border-color: #0b3d6d;
    color: #0b3d6d;
    background: #f0f4f8;
}
.product-detail__action-btn--favorite.active {
    border-color: #d70a30;
    color: #d70a30;
    background: #fdf2f4;
}

/* 供应商信息 */
.product-detail__supplier {
    margin-bottom: 24px;
    padding: 14px 18px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 14px;
    color: #4b5563;
}
.product-detail__supplier .label {
    font-weight: 600;
    color: #0b3d6d;
}

/* 分享 */
.product-detail__share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #6b7280;
}
.product-detail__share .label {
    font-weight: 600;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}
.share-btn--wechat {
    background: #07c160;
    color: #fff;
}
.share-btn--weibo {
    background: #e6162d;
    color: #fff;
}
.share-btn--qq {
    background: #12b7f5;
    color: #fff;
}
.share-btn:hover {
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
}

/* ========== 标签页区域 ========== */
.product-detail__tabs {
    margin-bottom: 60px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.product-detail__tab-headers {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    background: #f8f9fa;
}
.product-detail__tab-header {
    flex: 1;
    padding: 18px 24px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.product-detail__tab-header:hover {
    color: #0b3d6d;
    background: rgba(11,61,109,0.05);
}
.product-detail__tab-header.active {
    color: #0b3d6d;
    border-bottom-color: #0b3d6d;
    background: #fff;
}

.product-detail__tab-content {
    display: none;
    padding: 40px;
}
.product-detail__tab-content.active {
    display: block;
}

/* 产品描述 */
.product-detail__description {
    color: #1f2937;
    line-height: 1.9;
    font-size: 15px;
}
.product-detail__description h2,
.product-detail__description h3 {
    color: #0b3d6d;
    margin-top: 30px;
    margin-bottom: 16px;
}
.product-detail__description img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}
.product-detail__description ul,
.product-detail__description ol {
    padding-left: 20px;
    margin: 16px 0;
}
.product-detail__description li {
    margin-bottom: 8px;
}

/* 规格参数表 */
.product-detail__specs-table,
.product-detail__tech-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.product-detail__specs-table tr,
.product-detail__tech-table tr {
    border-bottom: 1px solid #e5e7eb;
}
.product-detail__specs-table tr:nth-child(even),
.product-detail__tech-table tr:nth-child(even) {
    background: #f8f9fa;
}
.spec-label,
.tech-label {
    padding: 14px 20px;
    font-weight: 700;
    color: #0b3d6d;
    width: 200px;
    background: #f0f4f8;
}
.spec-value,
.tech-value {
    padding: 14px 20px;
    color: #1f2937;
}

/* 用户评价 */
.product-detail__reviews {
    /* WooCommerce评论样式 */
}
.product-detail__reviews .comment-reply-title {
    font-size: 20px;
    font-weight: 700;
    color: #0b3d6d;
    margin-bottom: 20px;
}

/* ========== 相关产品 ========== */
.product-detail__related {
    margin-bottom: 40px;
}
.product-detail__related-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #0b3d6d;
    margin-bottom: 36px;
    position: relative;
}
.product-detail__related-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #d70a30;
    margin: 12px auto 0;
    border-radius: 2px;
}
.product-detail__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.product-detail__related-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}
.product-detail__related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.product-detail__related-link {
    text-decoration: none;
    color: inherit;
}
.product-detail__related-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.product-detail__related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.product-detail__related-item:hover .product-detail__related-img img {
    transform: scale(1.05);
}
.product-detail__related-name {
    padding: 16px 16px 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0b3d6d;
    margin: 0;
}
.product-detail__related-price {
    padding: 0 16px 16px;
    font-size: 18px;
    font-weight: 800;
    color: #d70a30;
}
.no-related {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    padding: 40px 0;
}

/* ========== 响应式 ========== */
@media (max-width: 900px) {
    .product-detail__main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-detail__gallery {
        position: static;
    }
    .product-detail__featured-image {
        height: 350px;
    }
    .product-detail__title {
        font-size: 24px;
    }
    .product-detail__price-current {
        font-size: 30px;
    }
    .product-detail__tab-headers {
        flex-wrap: wrap;
    }
    .product-detail__tab-header {
        flex: none;
        padding: 14px 16px;
        font-size: 14px;
    }
    .product-detail__tab-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 20px 12px;
    }
    .product-detail__featured-image {
        height: 280px;
    }
    .product-detail__title {
        font-size: 20px;
    }
    .product-detail__price-current {
        font-size: 26px;
    }
    .product-detail__actions {
        flex-direction: column;
    }
    .product-detail__action-btn {
        justify-content: center;
    }
    .spec-label,
    .tech-label {
        width: 120px;
        padding: 10px 12px;
        font-size: 13px;
    }
    .spec-value,
    .tech-value {
        padding: 10px 12px;
        font-size: 13px;
    }
}
/* ============================
   我的账户 - 仪表盘页面
   ============================ */

.huayi-account-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* 欢迎区域 */
.account-welcome-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.welcome-avatar {
    flex-shrink: 0;
}

.welcome-avatar img {
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    width: 80px;
    height: 80px;
}

.welcome-text h2 {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: white;
}

.welcome-text p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

/* 统计卡片 */
.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 40px;
    line-height: 1;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: #7f8c8d;
    margin-top: 5px;
}

.stat-link {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 13px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.stat-link:hover {
    text-decoration: underline;
}

/* 最近订单 */
.account-recent-orders {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h3 {
    font-size: 20px;
    margin: 0;
    color: #2c3e50;
}

.view-all {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.view-all:hover {
    text-decoration: underline;
}

.orders-table-wrapper {
    overflow-x: auto;
}

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

.orders-table thead th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
    font-size: 14px;
}

.orders-table tbody td {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

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

.order-number a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.order-number a:hover {
    text-decoration: underline;
}

.status-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #d1ecf1;
    color: #0c5460;
}

.status-on-hold {
    background: #ffeaa7;
    color: #6c5ce7;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-refunded {
    background: #e2e3e5;
    color: #383d41;
}

.status-failed {
    background: #f5c6cb;
    color: #721c24;
}

.order-total {
    font-weight: 600;
    color: #e74c3c;
    font-size: 15px;
}

.order-item-count {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}

.btn-view-order {
    display: inline-block;
    padding: 8px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-view-order:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.no-orders {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

.no-orders a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

/* 快捷操作 */
.account-quick-actions {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-card:hover {
    background: white;
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.action-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.action-text {
    font-size: 16px;
    font-weight: 600;
}

/* ============================
   我的账户 - 订单列表页面
   ============================ */

.huayi-account-orders {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.huayi-account-orders .section-header h2 {
    font-size: 24px;
    margin: 0;
    color: #2c3e50;
}

.btn-continue-shopping {
    display: inline-block;
    padding: 10px 25px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-continue-shopping:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

.btn-pay-order {
    display: inline-block;
    padding: 8px 20px;
    background: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-pay-order:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.orders-pagination {
    margin-top: 30px;
    text-align: center;
}

.orders-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.orders-pagination .page-numbers.current,
.orders-pagination .page-numbers:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.no-orders-found {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-orders-found h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.no-orders-found p {
    color: #7f8c8d;
    margin-bottom: 30px;
}

.btn-go-shopping {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-go-shopping:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* ============================
   响应式设计
   ============================ */

@media (max-width: 768px) {
    .welcome-content {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-text h2 {
        font-size: 22px;
    }
    
    .account-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .orders-table thead {
        display: none;
    }
    
    .orders-table tbody td {
        display: block;
        padding: 10px 15px;
        text-align: right;
    }
    
    .orders-table tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: #2c3e50;
    }
    
    .order-actions {
        justify-content: flex-end;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   强制修复段落标题区域布局
   标签、标题、描述各占一行
   ======================================== */
html body .section-header {
    display: block !important;
    flex-direction: unset !important;
    grid-template-columns: unset !important;
    text-align: center !important;
}
html body .section-header > * {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}
html body .section-header .section-badge {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    margin-bottom: 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
html body .section-header h2 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 12px !important;
    text-align: center !important;
}
html body .section-header p {
    display: block !important;
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* 园区优势区域 - 蓝色背景上文字全部白色 */
.ip-advantages p,
.ip-advantages .section-header > * {
    color: #fff !important;
}

/* CTA区域 - 红色背景上描边按钮文字白色 */
.detail-cta a[style*="transparent"] {
    color: #fff !important;
}

/* ===== 防止中文单字孤行（Orphan Prevention） ===== */
/* 标题和描述文字：平衡换行，避免最后一行只有1个字 */
.section-header h2,
.section-header h3,
.section-header p,
.detail-hero-title,
.detail-hero-subtitle,
h2[style*="font-size: 32px"],
h2[style*="font-size: 36px"] {
    text-wrap: balance;
    word-break: keep-all;
}

/* 对所有页面模板中的段落标题和描述也生效 */
.site-main .section-header > * {
    text-wrap: balance;
}
/* ============================================================
   文档云商城 - 产品详情页样式 (product-detail)
   配色与主站/商城首页保持一致：主红 #d70a30，深字 #1f2937
   ============================================================ */

.product-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

/* 面包屑 */
.product-detail__breadcrumb {
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.product-detail__breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color .2s;
}
.product-detail__breadcrumb a:hover {
    color: #d70a30;
}
.product-detail__breadcrumb .sep {
    color: #ccc;
}
.product-detail__breadcrumb .current {
    color: #1f2937;
    font-weight: 500;
}

/* 主体两栏 */
.product-detail__main {
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

/* 左侧画廊 */
.product-detail__gallery {
    position: sticky;
    top: 90px;
}
.product-detail__main-image {
    position: relative;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}
.product-detail__featured-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.product-detail__image-zoom {
    display: block;
    cursor: zoom-in;
}
.product-detail__zoom-icon {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    pointer-events: none;
}
.product-detail__no-image {
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #bbb;
    gap: 10px;
}
.product-detail__no-image span { font-size: 56px; }

/* 折扣/精选角标 */
.product-detail__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    z-index: 2;
}
.product-detail__badge--sale { background: #d70a30; }
.product-detail__badge--featured { background: #1a2a6c; }

/* 缩略图 */
.product-detail__thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.product-detail__thumb {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .2s;
}
.product-detail__thumb.active { border-color: #d70a30; }
.product-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 右侧信息 */
.product-detail__summary { min-width: 0; }

.product-detail__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.product-detail__tag {
    background: #fde8ec;
    color: #d70a30;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}

.product-detail__title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px;
    line-height: 1.3;
}

.product-detail__meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #999;
    margin-bottom: 18px;
}

/* 价格 */
.product-detail__pricing { margin-bottom: 20px; }
.product-detail__price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.product-detail__price-current {
    font-size: 32px;
    font-weight: 800;
    color: #d70a30;
}
.product-detail__price-regular {
    font-size: 18px;
    color: #aaa;
    text-decoration: line-through;
}
.product-detail__discount {
    background: #d70a30;
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
}

.product-detail__short-desc {
    color: #555;
    line-height: 1.75;
    font-size: 15px;
    margin-bottom: 20px;
}

/* 特性列表 */
.product-detail__features {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 22px;
}
.product-detail__features h3 {
    font-size: 16px;
    color: #1f2937;
    margin: 0 0 10px;
}
.product-detail__features ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-detail__features li {
    position: relative;
    padding-left: 24px;
    color: #555;
    line-height: 1.9;
    font-size: 14px;
}
.product-detail__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d70a30;
    font-weight: 700;
}

/* 加入购物车表单（WooCommerce） */
.product-detail__cart-form { margin-bottom: 20px; }
.product-detail__cart-form .cart {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.product-detail__cart-form .quantity .qty {
    width: 64px;
    padding: 11px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
}
.product-detail__cart-form .single_add_to_cart_button {
    background: #d70a30;
    color: #fff;
    border: none;
    padding: 13px 38px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.product-detail__cart-form .single_add_to_cart_button:hover { background: #b00826; }

/* 操作按钮 */
.product-detail__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.product-detail__action-btn {
    flex: 1;
    min-width: 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    color: #444;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.product-detail__action-btn:hover { border-color: #d70a30; color: #d70a30; }
.product-detail__action-btn--inquiry {
    background: #fff5f7;
    border-color: #f3c2cc;
    color: #d70a30;
}

/* 供应商 */
.product-detail__supplier {
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
}
.product-detail__supplier .label { color: #999; }

/* 分享 */
.product-detail__share {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.product-detail__share .label { color: #999; }
.share-btn {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    color: #fff;
}
.share-btn--wechat { background: #07c160; }
.share-btn--weibo { background: #e6162d; }
.share-btn--qq { background: #12b7f5; }

/* 标签页 */
.product-detail__tabs {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}
.product-detail__tab-headers {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}
.product-detail__tab-header {
    padding: 12px 22px;
    border: none;
    background: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .2s;
}
.product-detail__tab-header:hover { color: #d70a30; }
.product-detail__tab-header.active {
    color: #d70a30;
    font-weight: 600;
    border-bottom-color: #d70a30;
}
.product-detail__tab-content {
    display: none;
    padding: 26px 4px;
    color: #555;
    line-height: 1.8;
}
.product-detail__tab-content.active { display: block; }
.product-detail__description { font-size: 15px; }

.product-detail__specs-table,
.product-detail__tech-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.product-detail__specs-table td,
.product-detail__tech-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
}
.spec-label, .tech-label {
    width: 180px;
    color: #999;
    background: #fafafa;
}
.spec-value, .tech-value { color: #333; }

/* 相关产品 */
.product-detail__related { margin-top: 50px; }
.product-detail__related-title {
    font-size: 22px;
    color: #1f2937;
    margin-bottom: 22px;
}
.product-detail__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.product-detail__related-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.product-detail__related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.product-detail__related-link { text-decoration: none; color: inherit; display: block; }
.product-detail__related-img { height: 160px; overflow: hidden; background: #f8f9fa; }
.product-detail__related-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__related-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 12px 12px 6px;
    line-height: 1.4;
}
.product-detail__related-price {
    color: #d70a30;
    font-weight: 700;
    font-size: 16px;
    margin: 0 12px 14px;
}
.no-related { color: #999; }

/* 响应式 */
@media (max-width: 860px) {
    .product-detail__main {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .product-detail__gallery { position: static; }
    .product-detail__title { font-size: 24px; }
}
