/* 产品页面专用样式 */

/* 产品头部 - 不受主题影响，保持固定配色 */
.product-hero {
    background: linear-gradient(135deg, #005B9A 0%, #003D73 100%) !important;
    color: white;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.product-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.product-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.product-breadcrumb a:hover {
    opacity: 0.7;
}

.product-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.product-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.product-icon-large i {
    font-size: 2rem;
    color: white;
}

.product-info h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-tagline {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #e0e7ff;
    line-height: 1.6;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

/* 产品概述 */
.product-overview {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--background-color) 100%);
}

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

.overview-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.overview-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.software-preview {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
}

.software-preview i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.software-preview p {
    color: var(--text-light);
    font-weight: 500;
}

/* 工具模块 */
.product-modules {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--background-color) 0%, var(--light-bg) 100%);
}

.product-modules h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4rem;
}

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

.module-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

/* 暗色模式下的模块卡片 */
@media (prefers-color-scheme: dark) {
    .module-card {
        background: rgba(30, 41, 59, 0.95);
        border-color: rgba(51, 65, 85, 0.8);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
}

[data-theme="dark"] .module-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(51, 65, 85, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* 亮色模式下的模块卡片 - 强制白色 */
[data-theme="light"] .module-card {
    background: white !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 暗色模式下hover */
@media (prefers-color-scheme: dark) {
    .module-card:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }
}

[data-theme="dark"] .module-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.module-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.module-icon i {
    font-size: 1.5rem;
    color: white;
}

.module-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.module-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.module-features {
    list-style: none;
}

.module-features li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.module-features li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 产品功能 */
.product-features {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--background-color) 100%);
}

.product-features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4rem;
}

/* 产品功能区域(与.product-modules样式一致) */
.product-features-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--background-color) 0%, var(--light-bg) 100%);
}

.product-features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

/* 暗色模式下的功能卡片 */
@media (prefers-color-scheme: dark) {
    .feature-card {
        background: rgba(30, 41, 59, 0.95);
        border-color: rgba(51, 65, 85, 0.8);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
}

[data-theme="dark"] .feature-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(51, 65, 85, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* 亮色模式下的功能卡片 - 强制白色 */
[data-theme="light"] .feature-card {
    background: white !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 暗色模式下hover */
@media (prefers-color-scheme: dark) {
    .feature-card:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }
}

[data-theme="dark"] .feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 更新过程 */
.update-process {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--background-color) 100%);
}

.update-process h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.update-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.update-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 暗色模式下的更新卡片 */
@media (prefers-color-scheme: dark) {
    .update-item {
        background: rgba(30, 41, 59, 0.95);
        border: 1px solid rgba(51, 65, 85, 0.8);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
}

[data-theme="dark"] .update-item {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(51, 65, 85, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* 亮色模式下的更新卡片 - 强制白色 */
[data-theme="light"] .update-item {
    background: white !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.update-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* 暗色模式下hover效果 */
@media (prefers-color-scheme: dark) {
    .update-item:hover {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    }
}

[data-theme="dark"] .update-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.update-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    cursor: pointer;
    background: white;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

/* 暗色模式下的更新头部 */
@media (prefers-color-scheme: dark) {
    .update-header {
        background: rgba(30, 41, 59, 0.95);
        border-bottom-color: rgba(51, 65, 85, 0.5);
    }
}

[data-theme="dark"] .update-header {
    background: rgba(30, 41, 59, 0.95);
    border-bottom-color: rgba(51, 65, 85, 0.5);
}

/* 亮色模式下的更新头部 - 强制白色 */
[data-theme="light"] .update-header {
    background: white !important;
    border-bottom-color: #f1f5f9 !important;
}

.update-header:hover {
    background: #f8fafc;
}

/* 暗色模式下hover */
@media (prefers-color-scheme: dark) {
    .update-header:hover {
        background: rgba(51, 65, 85, 0.5);
    }
}

[data-theme="dark"] .update-header:hover {
    background: rgba(51, 65, 85, 0.5);
}

/* 亮色模式下hover - 强制浅色 */
[data-theme="light"] .update-header:hover {
    background: #f8fafc !important;
}

.update-item.active .update-header {
    border-bottom-color: transparent;
    background: #f8fafc;
}

/* 暗色模式下激活状态 */
@media (prefers-color-scheme: dark) {
    .update-item.active .update-header {
        background: rgba(51, 65, 85, 0.5);
    }
}

[data-theme="dark"] .update-item.active .update-header {
    background: rgba(51, 65, 85, 0.5);
}

/* 亮色模式下激活状态 - 强制浅色 */
[data-theme="light"] .update-item.active .update-header {
    background: #f8fafc !important;
}

.update-version {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 100px;
}

.version-number {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.update-date {
    font-size: 0.85rem;
    color: #94a3b8;
}

.update-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 1.5rem;
    color: #1e293b;
}

/* 暗色模式下的标题 - 增强对比度 */
@media (prefers-color-scheme: dark) {
    .update-title {
        color: #f1f5f9;
    }
}

[data-theme="dark"] .update-title {
    color: #f1f5f9;
}

/* 亮色模式下的标题 - 强制深色 */
[data-theme="light"] .update-title {
    color: #1e293b !important;
}

.update-toggle {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 50%;
    position: relative; /* 核心：设置为定位基准 */
    display: inline-block;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
}

/* 绝对定位图标，确保在圆圈正中心 */
.update-toggle::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 几何中心对齐 */
    font-size: 0.85rem;
    margin: 0 !important;
    line-height: 1;
}

.update-item.active .update-toggle {
    background: var(--primary-color);
    color: white;
}

.update-item.active .update-toggle::before {
    transform: translate(-50%, -50%) rotate(180deg); /* 旋转时依然保持中心对齐 */
}

/* 下载中心特定的版本号样式 - 浅色背景使用深色字体 */
.version-download-list .version-number {
    color: #1e293b;
}

@media (prefers-color-scheme: dark) {
    .version-download-list .version-number {
        color: #f1f5f9;
    }
}

[data-theme="dark"] .version-download-list .version-number {
    color: #f1f5f9;
}

/* 亮色模式下的版本号 - 保持深色 */
[data-theme="light"] .version-download-list .version-number {
    color: #1e293b !important;
}

.version-download-list .version-date {
    color: #475569;
}

@media (prefers-color-scheme: dark) {
    .version-download-list .version-date {
        color: #cbd5f0;
    }
}

[data-theme="dark"] .version-download-list .version-date {
    color: #cbd5f0;
}

/* 亮色模式下的版本日期 - 保持深色 */
[data-theme="light"] .version-download-list .version-date {
    color: #475569 !important;
}

.update-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

/* 暗色模式下的内容区域 */
@media (prefers-color-scheme: dark) {
    .update-content {
        background: rgba(30, 41, 59, 0.95);
    }
}

[data-theme="dark"] .update-content {
    background: rgba(30, 41, 59, 0.95);
}

/* 亮色模式下的内容区域 - 强制白色 */
[data-theme="light"] .update-content {
    background: white !important;
}

.update-item.active .update-content {
    max-height: 1000px;
}

.update-changes {
    padding: 2rem;
}

.update-changes h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 0.5rem;
}

.update-changes h4:first-child {
    margin-top: 0;
}

.update-changes ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.update-changes li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.update-changes li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 技术规格 */
.product-specs {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--background-color) 0%, var(--light-bg) 100%);
}

.product-specs h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4rem;
}

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

.spec-category {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

/* 暗色模式下的规格卡片 */
@media (prefers-color-scheme: dark) {
    .spec-category {
        background: rgba(30, 41, 59, 0.95);
        border-color: rgba(51, 65, 85, 0.8);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
}

[data-theme="dark"] .spec-category {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(51, 65, 85, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.spec-category h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-category h3 i {
    color: var(--primary-color);
}

.spec-category ul {
    list-style: none;
}

.spec-category ul li {
    color: #64748b;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.spec-category ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 应用案例 */
.product-cases {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--background-color) 100%);
}

.product-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4rem;
}

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

.case-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: #f8fafc;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

/* 暗色模式下的案例卡片 */
@media (prefers-color-scheme: dark) {
    .case-card {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(51, 65, 85, 0.8);
    }
}

[data-theme="dark"] .case-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(51, 65, 85, 0.8);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

/* 暗色模式下hover */
@media (prefers-color-scheme: dark) {
    .case-card:hover {
        background: rgba(30, 41, 59, 0.95);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }
}

[data-theme="dark"] .case-card:hover {
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.case-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.case-image i {
    font-size: 2rem;
    color: white;
}

.case-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.case-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 下载区域 - 不受主题影响，保持固定配色 */
.product-download {
    padding: 6rem 0;
    background: linear-gradient(135deg, #005B9A 0%, #003D73 50%, #1e293b 100%) !important;
    color: white;
}

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

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #cbd5e1;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.download-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.download-option:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.download-option h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.download-option p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.download-option ul {
    list-style: none;
    margin-bottom: 2rem;
}

.download-option ul li {
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.download-option ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 表单样式增强 */
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: white;
    color: #333;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .product-info h1 {
        font-size: 2.5rem;
    }

    .overview-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .specs-categories {
        grid-template-columns: 1fr;
    }

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

    .download-options {
        grid-template-columns: 1fr;
    }

    .product-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .product-info h1 {
        font-size: 2rem;
    }

    .product-icon-large {
        width: 100px;
        height: 100px;
    }

    .product-icon-large i {
        font-size: 2.5rem;
    }

    .overview-text h2,
    .product-features h2,
    .product-specs h2,
    .product-cases h2,
    .download-content h2 {
        font-size: 2rem;
    }
}

/* 导航链接样式 */
.nav-logo a {
    text-decoration: none;
    color: inherit;
}

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


