/* ============================================
   UI UX Pro Max Design System v3.0
   南昌鑫润科技 - 全新创意设计
   基于: Soft UI Evolution + Glassmorphism
   ============================================ */

/* 减少动画 - 尊重用户偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   0. 最高优先级 - 产品列表强制横排和按钮显示
   必须在所有样式之前，确保优先级最高
   ============================================ */
.plist_box,
ul.plist_box,
#plist .plist_box,
#bd_right .plist_box,
#bd_right #plist .plist_box,
#plist ul.plist_box,
#bd_right #plist ul.plist_box {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
}

.plist_box li,
ul.plist_box li,
#plist .plist_box li,
#bd_right .plist_box li,
#plist ul.plist_box li,
#bd_right #plist ul.plist_box li {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    margin-right: 0 !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
    background: white !important;
    border-radius: 1.5rem !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) inset !important;
}

.plist_box li .product-card-action,
ul.plist_box li .product-card-action,
#plist .plist_box li .product-card-action,
#bd_right .plist_box li .product-card-action {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0 1.5rem 1.5rem !important;
    margin-top: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 50px !important;
}

.plist_box li .product-btn,
ul.plist_box li .product-btn,
#plist .plist_box li .product-btn,
.plist_box li .product-card-action a,
ul.plist_box li .product-card-action a,
#plist .plist_box li .product-card-action a,
#bd_right .plist_box li .product-card-action a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    padding: 0.75rem 1.5rem !important;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    color: white !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 1rem !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    margin: 0 !important;
    min-height: 44px !important;
    line-height: 1.5 !important;
    height: auto !important;
}

/* ============================================
   1. Google Fonts - Tech Startup
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================
   2. CSS Variables - SaaS Color Palette
   ============================================ */
:root {
    /* Colors - SaaS Palette */
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --secondary: #3B82F6;
    --cta: #F97316;
    --cta-hover: #EA580C;
    --background: #F8FAFC;
    --background-alt: #FFFFFF;
    --text: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    /* Soft UI Shadows */
    --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);
    
    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
    --transition-slow: 300ms ease-in-out;
    
    /* Container - 更大气 */
    --container-max: 1600px;
}

/* ============================================
   3. Global Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important; /* 确保顶部没有空白 */
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   强制覆盖 - 产品列表横排和按钮显示 - 最高优先级
   覆盖所有旧样式文件（包括 ximages/style.css）
   ============================================ */
.plist_box,
ul.plist_box,
#plist .plist_box,
#bd_right .plist_box,
#bd_right #plist .plist_box,
#plist ul.plist_box,
#bd_right #plist ul.plist_box,
#plist ul.plist_box,
#bd_right #plist ul.plist_box {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    list-style: none !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
}

.plist_box li,
ul.plist_box li,
#plist .plist_box li,
#bd_right .plist_box li,
#plist ul.plist_box li,
#bd_right #plist ul.plist_box li {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    position: relative !important;
    background: white !important;
    border-radius: 1.5rem !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) inset !important;
}

.plist_box li .product-card-action,
ul.plist_box li .product-card-action,
#plist .plist_box li .product-card-action {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: 100% !important;
    padding: 0 var(--spacing-md) var(--spacing-md) !important;
    margin-top: auto !important;
}

.plist_box li .product-btn,
ul.plist_box li .product-btn,
#plist .plist_box li .product-btn,
.plist_box li .product-card-action a,
ul.plist_box li .product-card-action a,
#plist .plist_box li .product-card-action a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 44px !important;
    width: 100% !important;
    padding: 0.75rem var(--spacing-md) !important;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    color: white !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: var(--radius-lg) !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* ============================================
   4. Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
}

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

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

/* ============================================
   5. Header - Glassmorphism Navbar 毛玻璃导航栏
   ============================================ */
.header {
    position: fixed;
    top: var(--spacing-md) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 2 * var(--spacing-md)) !important;
    max-width: var(--container-max) !important;
    margin: 0 !important;
    z-index: 1000;
    background: transparent !important; /* 移除背景，让dock效果更明显 */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
}

/* Header第一行：Logo + 导航菜单 + 联系电话 - 融为一体，统一背景 - 菜单居中 */
.header-row {
    display: grid;
    grid-template-columns: auto 1fr auto; /* Logo | 菜单(居中) | 联系电话 */
    align-items: center;
    width: 100%;
    gap: 1rem !important;
    background: rgba(30, 58, 138, 0.85) !important; /* 统一蓝色背景 */
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: var(--radius-xl) !important;
    border: 1px solid rgba(59, 130, 246, 0.3); /* 蓝色边框 */
    box-shadow: 0 8px 32px 0 rgba(30, 58, 138, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.2) inset;
    padding: 0.5rem 1.5rem !important; /* 减小内边距，适应缩小后的Logo */
    animation: slideDown 0.5s ease-out;
    overflow: visible !important; /* 允许内容显示 */
}

/* Logo区域 - 固定在左侧 */
.header .logo-dock,
.header .logo {
    grid-column: 1;
    flex-shrink: 0 !important;
    min-width: 0 !important;
}

/* 导航菜单 - 居中显示 */
.header .nav-dock,
.header > ul.nav,
.header > ul#nav,
#nav {
    grid-column: 2;
    justify-self: center !important; /* 在grid列中居中 */
    flex-shrink: 1 !important;
    min-width: 0 !important;
    overflow-x: auto !important; /* 如果空间不足，允许横向滚动 */
}

/* 联系电话区域 - 固定在右侧 */
.header-actions {
    grid-column: 3;
    flex-shrink: 0 !important; /* 联系电话区域不收缩 */
    min-width: fit-content !important;
    justify-self: end !important; /* 右对齐 */
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo - 简化样式，与导航栏融为一体 */
.header .logo-dock,
.header .logo {
    display: flex !important;
    align-items: center;
    gap: var(--spacing-xs);
    width: auto !important;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important; /* 移除内边距 */
    float: none !important;
    background: transparent !important; /* 移除背景，与header-row融为一体 */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important; /* 移除圆角 */
    border: none !important; /* 移除边框 */
    box-shadow: none !important; /* 移除阴影 */
    transition: opacity 0.3s ease;
}

.header .logo-dock:hover,
.header .logo:hover {
    opacity: 0.8;
    transform: none; /* 移除悬停动画 */
}

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

.header .logo img {
    height: auto !important;
    max-height: 40px !important; /* 缩小Logo高度 */
    width: auto !important;
    max-width: 120px !important; /* 保持比例缩放 */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
}

.header .logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

/* Header操作区域 - 联系电话 */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.header .contact-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0 !important; /* 移除内边距 */
    background: transparent !important; /* 移除背景，与header-row融为一体 */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important; /* 移除圆角 */
    box-shadow: none !important; /* 移除阴影 */
    border: none !important; /* 移除边框 */
    font-size: 1.1rem; /* 增大字体大小 */
    font-weight: 600; /* 加粗 */
    color: white;
    transition: opacity 0.3s ease;
}

.header .contact-info .contact-icon {
    width: 1.2rem;
    height: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.25rem;
    vertical-align: middle;
    color: currentColor;
}

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

.header .contact-info:hover {
    opacity: 0.8;
    transform: none; /* 移除悬停动画 */
}

/* 移除重复定义，使用上面的SVG样式 */

.header .contact-info .contact-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

.header .contact-info .contact-phone {
    color: white !important;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.header .contact-info .contact-phone:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: underline;
}

/* Navigation - 简化样式，与导航栏融为一体，移除横向滚动条 */
.header .nav-dock,
.header > ul.nav,
.header > ul#nav,
.header > .nav:last-of-type,
#nav {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    gap: 0.75rem !important; /* 统一菜单项间距 */
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important; /* 移除内边距 */
    background: transparent !important; /* 移除背景，与header-row融为一体 */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important; /* 移除圆角 */
    border: none !important; /* 移除边框 */
    box-shadow: none !important; /* 移除阴影 */
    width: auto !important;
    flex-grow: 1;
    max-width: none !important;
    justify-content: flex-start !important;
    align-items: center;
    overflow: visible !important; /* 移除横向滚动条 */
    overflow-x: visible !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: auto;
    position: relative;
    height: auto !important;
}

/* 所有导航菜单项 - 现代化设计 - 强制扁平化 */
.header > .nav li,
.header > ul.nav li,
.header > ul#nav li,
.header .nav-dock li,
#nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    vertical-align: middle;
}

/* 强制隐藏所有嵌套的li元素 */
.header > .nav li > ul,
.header > ul.nav li > ul,
.header > ul#nav li > ul,
.header .nav-dock li > ul,
#nav li > ul {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 确保只有直接子li显示 */
.header > .nav > li,
.header > ul.nav > li,
.header > ul#nav > li,
.header .nav-dock > li,
#nav > li {
    display: inline-block !important;
}

/* 隐藏所有嵌套的li */
.header > .nav li li,
.header > ul.nav li li,
.header > ul#nav li li,
.header .nav-dock li li,
#nav li li,
#nav li li li {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* 强制扁平化导航菜单 - 移除所有嵌套 */
.header > .nav li ul,
.header > ul.nav li ul,
.header > ul#nav li ul,
.header .nav-dock li ul,
#nav li ul,
#nav li ul li,
#nav li ul li ul {
    display: none !important; /* 隐藏所有子菜单 */
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

/* 确保只有一级菜单项显示 */
.header > .nav li,
.header > ul.nav li,
.header > ul#nav li,
.header .nav-dock li,
#nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    vertical-align: middle;
}

/* 确保菜单项内没有嵌套的li */
.header > .nav li li,
.header > ul.nav li li,
.header > ul#nav li li,
.header .nav-dock li li,
#nav li li {
    display: none !important;
}

/* 菜单项链接 - 简化样式，与导航栏融为一体 - 增大字体和按钮 */
.header .nav-dock li a,
.header > .nav li a,
.header > ul.nav li a,
.header > ul#nav li a,
#nav li a {
    padding: 0.75rem 1.25rem !important; /* 增大内边距，使按钮更大 */
    border-radius: var(--radius-md) !important; /* 使用较小的圆角 */
    font-weight: 600; /* 加粗字体 */
    font-size: 1.1rem !important; /* 增大字体大小 */
    transition: all 0.3s ease !important;
    color: white !important;
    text-decoration: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
    background: transparent !important; /* 移除背景 */
    border: none !important; /* 移除边框 */
    position: relative;
    box-shadow: none !important; /* 移除阴影 */
    line-height: 1.4 !important;
    height: auto !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    float: none !important;
    flex-shrink: 0 !important;
}

/* 将"首页"替换为"网站首页" - 确保宽度一致，覆盖内联样式 */
.header .nav-dock li:first-child,
.header > ul.nav li:first-child,
.header > ul#nav li:first-child,
#nav li:first-child,
#nav li.top:first-child {
    width: auto !important; /* 覆盖内联样式 width:136px */
    min-width: auto !important;
    max-width: none !important;
    max-width: none !important;
}

/* 覆盖内联样式中的span padding */
.header .nav-dock li:first-child a span,
.header > ul.nav li:first-child a span,
.header > ul#nav li:first-child a span,
#nav li:first-child a span,
#nav li:first-child a.top_link span {
    padding: 0 !important; /* 覆盖内联样式 padding:0px 54px */
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
}

.header .nav-dock li:first-child a,
.header > ul.nav li:first-child a,
.header > ul#nav li:first-child a,
#nav li:first-child a {
    font-size: 0 !important; /* 隐藏原始文本 */
    position: relative !important;
    padding: 0.75rem 1.25rem !important; /* 确保padding与其他按钮一致 */
    width: auto !important; /* 覆盖内联样式 */
    min-width: auto !important;
    max-width: none !important;
}

.header .nav-dock li:first-child a::after,
.header > ul.nav li:first-child a::after,
.header > ul#nav li:first-child a::after,
#nav li:first-child a::after {
    content: "网站首页" !important;
    font-size: 1.1rem !important; /* 匹配增大后的字体 */
    color: white !important;
    font-weight: 600;
    display: inline !important; /* 使用inline而不是inline-block，避免额外宽度 */
    line-height: 1.4 !important; /* 匹配行高 */
    white-space: nowrap !important; /* 不换行 */
    position: relative;
    vertical-align: baseline;
}

/* 菜单项悬停效果 - 简化 */
.header .nav-dock li a:hover,
.header > .nav li a:hover,
.header > ul.nav li a:hover,
.header > ul#nav li a:hover,
#nav li a:hover {
    background: rgba(255, 255, 255, 0.1) !important; /* 悬停时轻微背景 */
    color: white !important;
    transform: none !important; /* 移除悬停动画 */
    box-shadow: none !important;
    border: none !important;
    z-index: 10;
}

/* Dock悬停效果 - 放大和提升 */
.header > .nav li a:hover,
.header > ul.nav li a:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    transform: translateY(-8px) scale(1.1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.4);
    z-index: 10;
}

/* Dock激活状态 */
.header > .nav li a:active,
.header > ul.nav li a:active {
    transform: translateY(-4px) scale(1.05) !important;
}

/* 相邻菜单项的连锁反应效果 */
.header > .nav li:hover ~ li a,
.header > ul.nav li:hover ~ li a {
    transform: translateY(-2px) scale(1.02);
}

.header > .nav li:has(+ li:hover) a,
.header > ul.nav li:has(+ li:hover) a {
    transform: translateY(-2px) scale(1.02);
}

/* 平滑过渡动画 */
@keyframes dockBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.05); }
}

.header > .nav li a:focus,
.header > ul.nav li a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    animation: dockBounce 0.6s ease;
}

/* 键盘导航支持 - 所有可交互元素 */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.product-btn:focus-visible,
.download-btn:focus-visible,
.feature-card:focus-visible,
.product-card:focus-visible,
.download-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* 移除默认focus样式，使用自定义样式 */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================
   6. Hero Section - Full Screen 全屏英雄区
   UI UX Pro Max: 现代化软件官网风格
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(120px + var(--spacing-2xl)) var(--spacing-md) var(--spacing-2xl);
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    overflow: hidden;
    margin-top: 0 !important;
}

/* Hero内容容器 - 圆角毛玻璃效果 */
.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 100% !important; /* 全屏宽度 */
    width: 100% !important;
    margin: 0 auto;
    padding: 0 var(--spacing-xl) !important; /* 只保留左右内边距 */
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
    background: transparent !important; /* 移除背景，让hero背景更突出 */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* 添加动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    pointer-events: none;
    z-index: 0;
}


.hero-section h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-section p {
    font-size: clamp(1.125rem, 2.5vw, 1.75rem);
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.95);
    max-width: 1000px; /* 增大最大宽度，更大气 */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--cta);
    color: white;
    box-shadow: var(--shadow-lg);
}

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

/* Hero区域的btn-secondary - 白色毛玻璃效果（深色文字确保可见性） */
.hero-section .btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.hero-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--primary);
    border-color: rgba(255, 255, 255, 1);
}

/* 浅色背景区域的btn-secondary - 实色按钮 */
.features-section .btn-secondary,
.product-grid .btn-secondary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.features-section .btn-secondary:hover,
.product-grid .btn-secondary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

/* Section Footer - 统一的查看更多按钮 */
.section-footer {
    text-align: center;
    margin-top: var(--spacing-2xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.section-footer .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

/* ============================================
   7. Features Section - Soft UI Cards
   ============================================ */
/* ============================================
   7. Features Section - 核心特性区域 - 柔和配色
   ============================================ */
.features-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-section .container {
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    animation: fadeInUp 0.8s ease-out;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.1) inset;
    border-color: rgba(37, 99, 235, 0.3);
}

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

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    color: var(--primary);
}

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

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    color: var(--text);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* 最新动态区域的链接样式 */
.feature-card h3 a {
    color: var(--text) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature-card h3 a:hover {
    color: var(--primary) !important;
    text-decoration: underline;
}

/* 确保内联样式不覆盖文字颜色 */
.feature-card span[style*="color"] {
    color: var(--primary) !important;
}

.feature-card span[style*="text-muted"] {
    color: var(--text-muted) !important;
}

/* ============================================
   8. Product Grid - 下载中心区域 - 柔和配色
   ============================================ */
.product-grid {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.product-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.product-grid .container {
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.product-grid h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.1) inset;
    border-color: rgba(37, 99, 235, 0.3);
}

.product-card:hover::after {
    transform: scaleX(1);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    transition: transform 0.4s ease;
    background: var(--background-alt);
}

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

.product-card .card-body {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text);
    font-weight: 700;
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.product-card .btn {
    align-self: center;
    width: 100%;
    text-align: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    border: none;
    margin-top: auto;
}

.product-card .btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

/* ============================================
   9. List Pages - Modern Layout
   ============================================ */
#bd {
    max-width: var(--container-max);
    margin: calc(100px + var(--spacing-xl)) auto var(--spacing-xl);
    padding: var(--spacing-xl);
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    width: 100% !important;
    min-width: 0 !important;
}

#bd_right {
    min-width: 0 !important;
    width: 100% !important;
    overflow: visible !important;
    display: block !important;
}

.list_nav {
    grid-column: 1 / -1;
    padding: var(--spacing-sm) var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.list_nav a {
    color: var(--primary);
    font-weight: 500;
}

#bd_left {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
    position: sticky;
    top: calc(100px + var(--spacing-md));
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#bd_left:hover {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.1) inset;
}

#bd_left .title {
    margin: 0;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 1.125rem;
}

#bd_left .title img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}

#bd_left .title > div {
    padding: var(--spacing-md);
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 0;
}

#bd_left .cate_list {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid var(--border);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#bd_left #menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#bd_left #menu {
    padding: 0.5rem 0;
}

#bd_left #menu li {
    margin-bottom: 0.375rem;
    list-style: none;
}

/* 一级菜单项 */
#bd_left #menu > li > a {
    display: flex;
    align-items: center;
    padding: 0.875rem var(--spacing-md);
    border-radius: var(--radius-md);
    color: var(--text);
    background: white;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

#bd_left #menu > li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #2563eb, #3b82f6);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#bd_left #menu > li > a:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%);
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.1) inset;
    transform: translateX(2px);
}

#bd_left #menu > li > a.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(59, 130, 246, 0.06) 100%);
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.35);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.15) inset;
}

#bd_left #menu > li > a:hover::before,
#bd_left #menu > li > a.active::before {
    transform: scaleX(1);
}

/* 子菜单容器 */
#bd_left #menu ul {
    list-style: none;
    margin: 0.5rem 0 0 0;
    padding: 0;
    padding-left: 1rem;
    border-left: 2px solid rgba(37, 99, 235, 0.1);
    margin-left: 0.75rem;
}

/* 子菜单项 */
#bd_left #menu ul li {
    margin-bottom: 0.25rem;
}

#bd_left #menu ul li a {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    background: rgba(248, 250, 252, 0.6);
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

#bd_left #menu ul li a::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: rgba(37, 99, 235, 0.4);
    font-size: 0.75rem;
    transition: all 0.25s ease;
    transform: translateX(-4px);
    opacity: 0;
}

#bd_left #menu ul li a:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.2);
    padding-left: 1.5rem;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

#bd_left #menu ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

#bd_left #menu ul li a.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.3);
    font-weight: 600;
    padding-left: 1.5rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

#bd_left #menu ul li a.active::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: var(--primary);
    font-size: 0.75rem;
    opacity: 1;
    transform: translateX(0);
}

/* 三级菜单（如果有） */
#bd_left #menu ul ul {
    margin-top: 0.375rem;
    padding-left: 0.875rem;
    border-left-color: rgba(37, 99, 235, 0.08);
    margin-left: 0.5rem;
}

#bd_left #menu ul ul li a {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    background: rgba(248, 250, 252, 0.4);
}

#bd_left #menu ul ul li a:hover {
    padding-left: 1.25rem;
    transform: translateX(2px);
}

#bd_left #contact {
    margin: 0;
    padding: var(--spacing-lg);
    border-top: 2px solid var(--border);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

#bd_left #contact .hd {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: var(--text);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid transparent;
    background: linear-gradient(to bottom, var(--primary), var(--primary)) no-repeat;
    background-size: 60px 2px;
    background-position: 0 bottom;
}

#bd_left #contact .bd {
    margin: 0;
}

#bd_left #contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#bd_left #contact li {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
}

#bd_left #contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    list-style: none;
}

#bd_left #contact li .contact-icon-svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
}

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

#bd_left #contact li .contact-text {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text);
}

#bd_right {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
    transition: all 0.3s ease;
    overflow: visible !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

#plist {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    display: block !important;
    min-width: 0 !important;
}

#plist .plist_box,
#plist ul.plist_box {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    position: relative !important;
    min-width: 0 !important;
}

/* 强制显示按钮 - 最高优先级 */
#plist .plist_box li .product-card-action,
#plist ul.plist_box li .product-card-action,
#bd_right .plist_box li .product-card-action,
#bd_right #plist .plist_box li .product-card-action {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0 1.5rem 1.5rem !important;
    margin-top: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 50px !important;
    position: relative !important;
    z-index: 1 !important;
}

#plist .plist_box li .product-btn,
#plist ul.plist_box li .product-btn,
#plist .plist_box li .product-card-action a,
#plist ul.plist_box li .product-card-action a,
#bd_right .plist_box li .product-card-action a,
#bd_right #plist .plist_box li .product-card-action a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    padding: 0.75rem 1.5rem !important;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    color: white !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 1rem !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    margin: 0 !important;
    min-height: 44px !important;
    line-height: 1.5 !important;
    height: auto !important;
    position: relative !important;
    z-index: 2 !important;
}

#bd_right:hover {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.1) inset;
}

#newslist .hd,
#view .hd,
#plist .hd,
#download .hd,
#brandlist .hd {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 3px solid transparent;
    background: linear-gradient(to bottom, var(--primary), var(--primary)) no-repeat;
    background-size: 120px 3px;
    background-position: 0 bottom;
    position: relative;
}

#newslist .hd::after,
#view .hd::after,
#plist .hd::after,
#download .hd::after,
#brandlist .hd::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
    border-radius: 2px;
}

#newslist .hd h1,
#view .hd h2,
#plist .hd h1,
#download .hd h1,
#brandlist .hd h1 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 800;
    margin: 0;
}

.newslist_box {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.newslist_box li {
    padding: var(--spacing-lg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    background: white;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.newslist_box li:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    padding-left: var(--spacing-xl);
    border-radius: var(--radius-md);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
    transform: translateX(4px);
}

.newslist_box li b a {
    font-weight: 600;
    color: var(--text);
}

.newslist_box li b a:hover {
    color: var(--primary);
}

.newslist_box li span {
    color: var(--text-muted);
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Product List - 强制横排布局 */
.plist_box,
ul.plist_box,
#plist .plist_box,
#bd_right .plist_box {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: var(--spacing-lg) !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

.plist_box li,
ul.plist_box li,
#plist .plist_box li,
#bd_right .plist_box li {
    background: white !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-xl) !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) inset !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.plist_box li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.plist_box li:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.1) inset;
    border-color: rgba(37, 99, 235, 0.3);
}

.plist_box li:hover::after {
    transform: scaleX(1);
}

/* 产品卡片图片区域 */
.product-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.product-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    background: white;
}

.plist_box li:hover .product-card-image img {
    transform: scale(1.1);
}

/* 产品卡片内容区域 */
.product-card-body {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.product-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

/* 标题在 body 中的样式（已移除，保留以防其他地方使用） */
.product-card-body .product-card-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* 标题在 action 中作为按钮的样式 */
.product-card-action .product-card-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    padding: 0.75rem 1.5rem !important;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    color: white !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 1rem !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    margin: 0 !important;
    min-height: 44px !important;
    line-height: 1.5 !important;
    transition: all 0.3s ease !important;
}

.product-card-action .product-card-title:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #2563eb 100%) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

.product-card-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 产品卡片按钮区域 - 强制显示 */
.product-card-action,
.plist_box li .product-card-action,
ul.plist_box li .product-card-action,
#plist .plist_box li .product-card-action {
    padding: 0 var(--spacing-md) var(--spacing-md) !important;
    margin-top: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: 100% !important;
    min-height: 50px !important;
}

.product-btn,
.plist_box li .product-btn,
ul.plist_box li .product-btn,
#plist .plist_box li .product-btn,
.plist_box li .product-card-action a,
ul.plist_box li .product-card-action a {
    display: block !important;
    width: 100% !important;
    padding: 0.75rem var(--spacing-md) !important;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    color: white !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: var(--radius-lg) !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    margin: 0 !important;
    min-height: 44px !important;
    line-height: 1.5 !important;
}

.product-btn:hover,
.plist_box li .product-btn:hover,
ul.plist_box li .product-btn:hover,
#plist .plist_box li .product-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
    color: white !important;
}

/* 隐藏旧的图片按钮 */
.plist_box li a.more,
.plist_box li a.more img,
.plist_box li .more,
.plist_box li .more img {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* Product List Page - 产品列表页面布局 */
.main {
    max-width: var(--container-max);
    margin: calc(100px + var(--spacing-xl)) auto var(--spacing-xl);
    padding: var(--spacing-xl);
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.mainleft {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
    position: sticky;
    top: calc(100px + var(--spacing-md));
    overflow: hidden;
}

.mainleft .lefttop {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.mainleft .lefttop h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.mainleft .leftmiddle {
    padding: var(--spacing-md);
}

.mainleft .aboutnav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mainleft .aboutnav li {
    margin-bottom: var(--spacing-xs);
}

.mainleft .aboutnav li a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9375rem;
    text-decoration: none;
}

.mainleft .aboutnav li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #2563eb, #3b82f6);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
}

.mainleft .aboutnav li a:hover,
.mainleft .aboutnav li.active a {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%);
    color: var(--primary);
    padding-left: calc(var(--spacing-md) + 8px);
    font-weight: 600;
}

.mainleft .aboutnav li a:hover::before,
.mainleft .aboutnav li.active a::before {
    height: 60%;
}

.mainleft .contact {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
}

.mainright {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
}

.mainright .righttop {
    padding: var(--spacing-sm) var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.mainright .righttop a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mainright .righttop a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.newsa {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.newsa li {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.newsa li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #2563eb, #3b82f6);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.newsa li:hover {
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.newsa li:hover::before {
    transform: scaleY(1);
}

.centerimg {
    flex-shrink: 0;
}

.centerimg img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.newsa li:hover .centerimg img {
    transform: scale(1.05);
}

.centercontent {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.centercontent b {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.5;
}

.centercontent b a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.centercontent p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.centercontent p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.centercontent p a:hover {
    text-decoration: underline;
}

/* 产品卡片按钮居中 */
.plist_box ul li .btn,
.plist_box ul li a.btn,
.plist_box ul li button {
    display: none !important;
    visibility: hidden !important;
}

/* 使用新的 product-btn 样式 */
.plist_box li .product-card-action,
.plist_box ul li .product-card-action,
#plist .plist_box li .product-card-action,
#bd_right .plist_box li .product-card-action {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0 1.5rem 1.5rem !important;
    margin-top: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 50px !important;
    position: relative !important;
    z-index: 1 !important;
}

.plist_box ul li .btn:hover,
.plist_box ul li a.btn:hover,
.plist_box ul li button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

/* Brand List - 品牌客户列表 */
.brandlist_box {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.brandlist_box li {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
}

.brandlist_box li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.brandlist_box li:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

.brandlist_box li:hover::after {
    transform: scaleX(1);
}

.brandlist_box li img {
    width: 100%;
    height: auto;
    max-width: 188px;
    max-height: 87px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
}

.brandlist_box li:hover img {
    transform: scale(1.1);
}

/* Pagination - 分页组件 */
.page {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    text-align: center;
    border-top: 1px solid var(--border);
}

.page a,
.page span {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    margin: 0 var(--spacing-xs);
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: var(--radius-md);
    color: var(--text);
    text-decoration: none;
    background: white;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    font-size: 0.9375rem;
    font-weight: 500;
}

.page a:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.page .current,
.page span.current {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.page .prev,
.page .next {
    font-weight: 600;
}

/* Download List - 卡片式横向布局 */
.download_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.download_list li.download-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}

.download_list li.download-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.download_list li.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.1) inset;
    border-color: rgba(37, 99, 235, 0.3);
}

.download_list li.download-card:hover::after {
    transform: scaleX(1);
}

/* 下载卡片图片区域 */
.download-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.download-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.download-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    background: white;
}

.download_list li.download-card:hover .download-card-image img {
    transform: scale(1.1);
}

/* 下载卡片内容区域 */
.download-card-body {
    padding: 0.875rem var(--spacing-md) 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.download-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.download-card-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.download-card-desc {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0;
    flex: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
    max-height: calc(0.75rem * 1.4 * 3);
}

.download-card-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: 0;
    margin-bottom: 0;
}

.download-count {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.download-count i {
    color: var(--primary);
    font-weight: 600;
    font-style: normal;
}

/* 下载卡片操作按钮 */
.download-card-action {
    padding: 0 var(--spacing-md) 0.625rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    padding: 0.375rem var(--spacing-md);
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

.download-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    color: currentColor;
    flex-shrink: 0;
}

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

.download-text {
    font-size: 0.8125rem;
}

/* Detail Page */
.ctbox {
    padding: var(--spacing-md) 0;
}

.ctbox .title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary);
    color: var(--text);
}

.ctbox .ct {
    line-height: 1.8;
    color: var(--text);
}

.ctbox .ct p {
    margin-bottom: var(--spacing-md);
}

.ctbox .ct img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
    box-shadow: var(--shadow-md);
}

/* ============================================
   10. Footer
   ============================================ */
/* 主内容区域 - 自动填充剩余空间 */
body > section,
body > div:not(.header):not(.footer),
#bd,
.hero-section,
.features-section,
.product-grid {
    flex: 1 0 auto;
}

.footer {
    background: var(--text);
    color: white;
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: auto; /* 使用auto让footer始终在底部 */
    flex-shrink: 0; /* 防止footer被压缩 */
}

.footer .container {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
    color: white;
}

/* ============================================
   11. Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    #bd {
        grid-template-columns: 1fr;
    }
    
    #bd_left {
        position: static;
        margin-bottom: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .header {
        flex-wrap: wrap;
        top: var(--spacing-xs);
        left: var(--spacing-xs);
        right: var(--spacing-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .header-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .header .contact-info {
        width: 100%;
        justify-content: center;
    }
    
    .header .nav {
        width: 100%;
        margin-top: var(--spacing-sm);
    }
    
    .hero-section {
        padding: calc(180px + var(--spacing-xl)) var(--spacing-sm) var(--spacing-xl);
        margin-top: calc(120px + var(--spacing-xs));
        min-height: calc(100vh - 180px);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .plist_box ul {
        grid-template-columns: 1fr;
    }
    
    .download_list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--spacing-md);
    }
    
    .download_list li.download-card {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .header .logo-text {
        font-size: 1rem;
    }
    
    /* 触摸目标大小优化 - 最小44x44px */
    .btn,
    .btn-primary,
    .btn-secondary,
    .product-btn,
    .download-btn,
    a.btn {
        min-height: 44px;
        min-width: 44px;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .feature-card,
    .product-card,
    .download-card {
        min-height: 200px;
    }
}

/* ============================================
   12. Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn var(--transition-slow) ease-out;
}

/* ============================================
   13. Utility Classes
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg); /* 增大左右内边距，更大气 */
    animation: fadeIn 0.6s ease-out;
}

/* Hero区域的container全屏 */
.hero-section .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 var(--spacing-xl) !important;
}

/* 其他区域的container保持原有宽度但增大内边距 */
.features-section .container,
.product-grid .container,
.footer .container {
    max-width: var(--container-max);
    padding: 0 var(--spacing-lg);
    animation: fadeIn 0.8s ease-out;
}

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

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================
   14. Override Old Styles
   ============================================ */
.main {
    display: none !important;
}

.banner,
.news.old,
.ask,
.anli,
.product_content.old {
    display: none !important;
}
