/* MIM市场调研报告页面样式 - 完整响应式版本 */

/* ============================================
   基础变量和响应式断点
   ============================================ */
:root {
    --primary: #0066CC;
    --accent: #0099FF;
    --secondary: #333333;
    --light: #F5F7FA;
    --white: #FFFFFF;
    --gray: #666666;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F5F7FA;
    --bg-dark: #333333;
    --border-radius: 12px;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* 响应式断点说明：
   - Mobile: < 576px
   - Tablet: 576px - 991px
   - Desktop: >= 992px
   - Large: >= 1200px
*/

/* ============================================
   通用响应式容器
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 576px) {
    .container {
        padding: 0 20px;
    }
}

@media (min-width: 992px) {
    .container {
        padding: 0 30px;
    }
}

/* ============================================
   Banner 响应式
   ============================================ */
.mim-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 60px 0 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.mim-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.mim-banner h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.mim-banner .subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.mim-banner .desc {
    font-size: 14px;
    opacity: 0.8;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

@media (min-width: 576px) {
    .mim-banner {
        padding: 80px 0 70px;
    }
    .mim-banner h1 {
        font-size: 36px;
    }
    .mim-banner .subtitle {
        font-size: 20px;
    }
    .mim-banner .desc {
        font-size: 16px;
        max-width: 600px;
    }
}

@media (min-width: 992px) {
    .mim-banner {
        padding: 100px 0 80px;
    }
    .mim-banner h1 {
        font-size: 48px;
    }
    .mim-banner .subtitle {
        font-size: 24px;
    }
}

/* Banner Tags */
.banner-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 25px !important;
    position: relative;
    z-index: 1;
}

.banner-tags span {
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.banner-tags span i {
    color: #4ade80;
}

@media (min-width: 576px) {
    .banner-tags span {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ============================================
   目录导航响应式
   ============================================ */
.mim-toc {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 50px;
    z-index: 100;
}

.toc-grid {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 5px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.toc-grid::-webkit-scrollbar {
    display: none;
}

.toc-grid a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 12px;
    color: #333;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.toc-num {
    font-weight: 700;
    color: var(--primary);
}

.toc-grid a:hover {
    background: var(--primary);
    color: white;
}

.toc-grid a:hover .toc-num {
    color: white;
}

@media (min-width: 576px) {
    .toc-grid {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        overflow-x: visible;
    }
    .toc-grid a {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    .mim-toc {
        padding: 20px 0;
    }
    .toc-grid a {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* ============================================
   区块通用响应式
   ============================================ */
.mim-section {
    padding: 50px 0;
}

@media (min-width: 576px) {
    .mim-section {
        padding: 60px 0;
    }
}

@media (min-width: 992px) {
    .mim-section {
        padding: 80px 0;
    }
}

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

.mim-bg-dark {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 100%);
    color: white;
}

/* ============================================
   标题响应式
   ============================================ */
.mim-title {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.3;
}

.mim-title.light {
    color: white;
}

.title-num {
    font-size: 32px;
    font-weight: 800;
    opacity: 0.6;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .mim-title {
        font-size: 28px;
        margin-bottom: 30px;
        gap: 15px;
    }
    .title-num {
        font-size: 40px;
    }
}

@media (min-width: 992px) {
    .mim-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    .title-num {
        font-size: 48px;
    }
}

.section-desc {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 25px;
}

@media (min-width: 576px) {
    .section-desc {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

/* ============================================
   概览区域响应式
   ============================================ */
.overview-intro {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .overview-intro {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
}

@media (min-width: 992px) {
    .overview-intro {
        grid-template-columns: 2fr 1fr;
    }
}

.intro-text h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

@media (min-width: 576px) {
    .intro-text h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

.intro-text p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
    color: var(--text-light);
}

@media (min-width: 576px) {
    .intro-text p {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

.highlight-text {
    background: rgba(26,54,93,0.08);
    padding: 15px;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    margin-top: 15px;
}

@media (min-width: 576px) {
    .highlight-text {
        padding: 20px;
        margin-top: 20px;
    }
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 768px) {
    .intro-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .intro-stats {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

@media (min-width: 576px) {
    .stat-item {
        padding: 20px;
    }
}

@media (min-width: 992px) {
    .stat-item {
        padding: 25px;
    }
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

@media (min-width: 576px) {
    .stat-value {
        font-size: 28px;
    }
}

@media (min-width: 992px) {
    .stat-value {
        font-size: 32px;
    }
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    display: block;
}

@media (min-width: 576px) {
    .stat-label {
        font-size: 14px;
    }
}

/* ============================================
   对比表格响应式
   ============================================ */
.comparison-table {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 576px) {
    .comparison-table {
        padding: 25px;
    }
}

@media (min-width: 992px) {
    .comparison-table {
        padding: 30px;
    }
}

.comparison-table h3 {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-dark);
    min-width: 600px;
}

@media (min-width: 576px) {
    .comparison-table h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

.comparison-table table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}

@media (min-width: 576px) {
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        font-size: 13px;
    }
}

@media (min-width: 992px) {
    .comparison-table th,
    .comparison-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
}

.comparison-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f7fafc;
}

.highlight-row {
    background: rgba(26,54,93,0.05) !important;
}

.highlight-row td {
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   工艺流程响应式
   ============================================ */
.process-flow {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
}

.flow-step {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}

.flow-step h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--primary);
}

.flow-step p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.5;
}

.flow-step ul {
    font-size: 12px;
    color: #888;
    padding-left: 15px;
}

.flow-step ul li {
    margin-bottom: 3px;
}

.flow-arrow {
    display: none;
}

/* Tablet+ 横向流程 */
@media (min-width: 576px) {
    .process-flow {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .flow-step {
        flex: 1;
        min-width: 200px;
        max-width: 280px;
        padding: 25px;
    }
    
    .flow-arrow {
        display: none;
    }
}

@media (min-width: 992px) {
    .process-flow {
        flex-wrap: nowrap;
        gap: 15px;
        overflow-x: visible;
    }
    
    .flow-step {
        min-width: 180px;
        flex: 1;
    }
    
    .flow-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 24px;
        opacity: 0.3;
        flex-shrink: 0;
    }
}

/* ============================================
   材料标签切换响应式
   ============================================ */
.material-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 5px;
}

.material-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 10px 16px;
    background: white;
    border: 2px solid #eee;
    border-radius: 25px;
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .material-tabs {
        gap: 10px;
    }
    .tab-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.material-content {
    display: none;
}

.material-content.active {
    display: block;
}

/* ============================================
   材料卡片响应式
   ============================================ */
.material-card-large {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.card-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 576px) {
    .card-header {
        padding: 20px 30px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.card-header h3 {
    font-size: 18px;
}

@media (min-width: 576px) {
    .card-header h3 {
        font-size: 20px;
    }
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.badge.premium {
    background: #ffc107;
    color: #333;
}

.card-body {
    padding: 20px;
    display: grid;
    gap: 25px;
}

@media (min-width: 768px) {
    .card-body {
        padding: 30px;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

.material-info h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--primary);
}

@media (min-width: 576px) {
    .material-info h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

.mini-table {
    width: 100%;
    margin-bottom: 12px;
}

@media (min-width: 576px) {
    .mini-table {
        margin-bottom: 15px;
    }
}

.mini-table td {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

@media (min-width: 576px) {
    .mini-table td {
        padding: 8px 0;
        font-size: 14px;
    }
}

.mini-table td:first-child {
    color: var(--text-light);
    width: 45%;
}

.mini-table td:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

.application,
.advantage {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

@media (min-width: 576px) {
    .application,
    .advantage {
        font-size: 14px;
    }
}

/* ============================================
   材料选择表格响应式
   ============================================ */
.material-selection {
    margin-top: 30px;
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 576px) {
    .material-selection {
        padding: 25px;
    }
}

@media (min-width: 992px) {
    .material-selection {
        padding: 30px;
    }
}

.material-selection h3 {
    margin-bottom: 15px;
    font-size: 16px;
    min-width: 500px;
}

@media (min-width: 576px) {
    .material-selection h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

.selection-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.selection-table th,
.selection-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

@media (min-width: 576px) {
    .selection-table th,
    .selection-table td {
        padding: 12px 10px;
        font-size: 14px;
    }
}

.selection-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.selection-table td:first-child {
    font-weight: 500;
}

.selection-table i {
    color: var(--primary);
    margin-right: 6px;
}

.selection-table tbody tr:nth-child(even) {
    background: #f7fafc;
}

/* ============================================
   市场数据响应式
   ============================================ */
.market-share {
    margin-bottom: 30px;
}

.market-share h3 {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-dark);
}

@media (min-width: 576px) {
    .market-share h3 {
        font-size: 18px;
        margin-bottom: 25px;
    }
}

.share-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 576px) {
    .share-bars {
        gap: 15px;
    }
}

.share-bar {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    align-items: center;
}

@media (min-width: 576px) {
    .share-bar {
        grid-template-columns: 140px 1fr;
        gap: 15px;
    }
}

@media (min-width: 768px) {
    .share-bar {
        grid-template-columns: 180px 1fr;
    }
}

.bar-label {
    font-size: 12px;
    font-weight: 500;
}

@media (min-width: 576px) {
    .bar-label {
        font-size: 14px;
    }
}

.bar-track {
    height: 28px;
    background: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
}

@media (min-width: 576px) {
    .bar-track {
        height: 35px;
    }
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
    font-size: 11px;
    transition: width 1s ease;
}

@media (min-width: 576px) {
    .bar-fill {
        padding-right: 15px;
        font-size: 14px;
    }
}

/* ============================================
   行业卡片响应式
   ============================================ */
.industry-grid {
    display: grid;
    gap: 15px;
}

@media (min-width: 576px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

.industry-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.industry-header {
    background: var(--primary);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (min-width: 576px) {
    .industry-header {
        padding: 20px;
        gap: 15px;
    }
}

.industry-header i {
    font-size: 22px;
}

@media (min-width: 576px) {
    .industry-header i {
        font-size: 28px;
    }
}

.industry-header h3,
.industry-header h4 {
    font-size: 16px;
}

@media (min-width: 576px) {
    .industry-header h3,
    .industry-header h4 {
        font-size: 18px;
    }
}

.industry-body {
    padding: 15px;
}

@media (min-width: 576px) {
    .industry-body {
        padding: 20px;
    }
}

@media (min-width: 992px) {
    .industry-body {
        padding: 25px;
    }
}

.industry-body > p {
    margin-bottom: 8px;
    font-size: 13px;
}

@media (min-width: 576px) {
    .industry-body > p {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

.industry-body ul {
    padding-left: 18px;
    margin-bottom: 10px;
}

.industry-body ul li {
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--text-light);
}

@media (min-width: 576px) {
    .industry-body ul li {
        font-size: 14px;
        margin-bottom: 5px;
    }
}

/* ============================================
   案例卡片响应式
   ============================================ */
.case-grid {
    display: grid;
    gap: 15px;
}

@media (min-width: 576px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .case-grid {
        gap: 25px;
    }
}

.case-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.case-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

@media (min-width: 576px) {
    .case-header {
        padding: 20px;
    }
}

.case-industry {
    display: inline-block;
    background: rgba(26,54,93,0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    margin-bottom: 8px;
}

@media (min-width: 576px) {
    .case-industry {
        padding: 4px 12px;
        font-size: 12px;
        margin-bottom: 10px;
    }
}

.case-header h4 {
    font-size: 15px;
    color: var(--text-dark);
}

@media (min-width: 576px) {
    .case-header h4 {
        font-size: 18px;
    }
}

.case-body {
    padding: 15px;
}

@media (min-width: 576px) {
    .case-body {
        padding: 25px;
    }
}

.case-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

@media (min-width: 576px) {
    .case-specs {
        gap: 10px;
        margin-bottom: 20px;
    }
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-label {
    font-size: 11px;
    color: #888;
}

@media (min-width: 576px) {
    .spec-label {
        font-size: 12px;
    }
}

.spec-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

@media (min-width: 576px) {
    .spec-value {
        font-size: 14px;
    }
}

.case-advantages h5 {
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--primary);
}

@media (min-width: 576px) {
    .case-advantages h5 {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

.case-advantages ul {
    padding-left: 18px;
    margin-bottom: 10px;
}

.case-advantages ul li {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 3px;
    line-height: 1.4;
}

@media (min-width: 576px) {
    .case-advantages ul li {
        font-size: 13px;
        margin-bottom: 5px;
    }
}

.case-customers {
    font-size: 12px;
    color: #888;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

@media (min-width: 576px) {
    .case-customers {
        font-size: 13px;
        padding-top: 15px;
    }
}

/* ============================================
   设备卡片响应式
   ============================================ */
.equipment-grid {
    display: grid;
    gap: 15px;
}

@media (min-width: 576px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .equipment-grid {
        gap: 25px;
    }
}

.equipment-card {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 576px) {
    .equipment-card {
        padding: 25px;
    }
}

.equipment-card h4 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 576px) {
    .equipment-card h4 {
        font-size: 18px;
        margin-bottom: 15px;
        gap: 10px;
    }
}

.equipment-card table {
    width: 100%;
}

.equipment-card td {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
}

@media (min-width: 576px) {
    .equipment-card td {
        padding: 8px 0;
        font-size: 14px;
    }
}

.equipment-card td:first-child {
    color: var(--text-light);
    width: 45%;
}

/* ============================================
   设计指南响应式
   ============================================ */
.design-grid {
    display: grid;
    gap: 15px;
}

@media (min-width: 576px) {
    .design-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .design-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

.design-card {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 576px) {
    .design-card {
        padding: 25px;
    }
}

@media (min-width: 992px) {
    .design-card {
        padding: 30px;
    }
}

.design-card.warning {
    border-left: 4px solid #ffc107;
}

.design-card h4 {
    font-size: 15px;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 576px) {
    .design-card h4 {
        font-size: 18px;
        margin-bottom: 20px;
        gap: 10px;
    }
}

.design-list {
    list-style: none;
}

.design-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    line-height: 1.5;
}

@media (min-width: 576px) {
    .design-list li {
        padding: 10px 0;
        font-size: 14px;
    }
}

.design-list li:last-child {
    border-bottom: none;
}

/* ============================================
   市场统计响应式
   ============================================ */
.market-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

@media (min-width: 576px) {
    .market-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }
}

@media (min-width: 992px) {
    .market-stats {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ============================================
   技术优势列表响应式
   ============================================ */
.tech-advantage-list {
    display: grid;
    gap: 12px;
}

@media (min-width: 576px) {
    .tech-advantage-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .tech-advantage-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

.tech-advantage-item {
    display: flex;
    gap: 12px;
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 576px) {
    .tech-advantage-item {
        padding: 20px;
        gap: 15px;
    }
}

.tech-advantage-item em {
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .tech-advantage-item em {
        font-size: 24px;
    }
}

.tech-advantage-item h4 {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 600;
}

@media (min-width: 576px) {
    .tech-advantage-item h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
}

.tech-advantage-item p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

@media (min-width: 576px) {
    .tech-advantage-item p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* 暗色背景下的技术优势 */
.mim-bg-dark .tech-advantage-item {
    background: white;
}

.mim-bg-dark .tech-advantage-item h4 {
    color: var(--text-dark);
}

.mim-bg-dark .tech-advantage-item p {
    color: var(--text-light);
}

/* ============================================
   生产检测响应式
   ============================================ */
.prod-detect-content {
    display: grid;
    gap: 15px;
}

@media (min-width: 768px) {
    .prod-detect-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

.prod-detect-item {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 576px) {
    .prod-detect-item {
        padding: 25px;
    }
}

@media (min-width: 992px) {
    .prod-detect-item {
        padding: 30px;
    }
}

.prod-detect-item h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 576px) {
    .prod-detect-item h3 {
        font-size: 20px;
        margin-bottom: 25px;
        gap: 10px;
    }
}

.prod-detect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 576px) {
    .prod-detect-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

.prod-detect-card {
    background: var(--bg-light);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

@media (min-width: 576px) {
    .prod-detect-card {
        padding: 20px;
        gap: 10px;
    }
}

.prod-detect-card i {
    color: var(--primary);
    font-size: 18px;
}

@media (min-width: 576px) {
    .prod-detect-card i {
        font-size: 24px;
    }
}

.prod-detect-card span {
    font-size: 11px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.3;
}

@media (min-width: 576px) {
    .prod-detect-card span {
        font-size: 13px;
    }
}

/* ============================================
   关于内容响应式
   ============================================ */
.about-content {
    margin-bottom: 30px;
}

@media (min-width: 576px) {
    .about-content {
        margin-bottom: 40px;
    }
}

.about-text {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 576px) {
    .about-text {
        padding: 30px;
    }
}

@media (min-width: 992px) {
    .about-text {
        padding: 40px;
    }
}

.about-text h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary);
}

@media (min-width: 576px) {
    .about-text h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

.about-text p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 12px;
}

@media (min-width: 576px) {
    .about-text p {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 15px;
    }
}

.stat-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

@media (min-width: 576px) {
    .stat-card {
        padding: 30px;
    }
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

@media (min-width: 576px) {
    .stat-number {
        font-size: 42px;
    }
}

.stat-desc {
    font-size: 13px;
    opacity: 0.8;
}

@media (min-width: 576px) {
    .stat-desc {
        font-size: 14px;
    }
}

/* 中国市场 */
.china-market {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: var(--border-radius);
}

@media (min-width: 576px) {
    .china-market {
        padding: 30px;
    }
}

.china-market h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

@media (min-width: 576px) {
    .china-market h3 {
        margin-bottom: 25px;
    }
}

.china-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 576px) {
    .china-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (min-width: 768px) {
    .china-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .china-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.china-item h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #ffc107;
}

@media (min-width: 576px) {
    .china-item h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

.china-item p {
    font-size: 12px;
    line-height: 1.7;
    opacity: 0.9;
}

@media (min-width: 576px) {
    .china-item p {
        font-size: 14px;
    }
}

/* ============================================
   趋势容器响应式
   ============================================ */
.trends-container {
    display: grid;
    gap: 15px;
}

@media (min-width: 576px) {
    .trends-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .trends-container {
        gap: 25px;
    }
}

.trend-item {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 576px) {
    .trend-item {
        gap: 20px;
        padding: 25px;
    }
}

.trend-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .trend-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

.trend-content h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

@media (min-width: 576px) {
    .trend-content h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
}

.trend-content p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

@media (min-width: 576px) {
    .trend-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ============================================
   局限性网格响应式
   ============================================ */
.limitations-grid {
    display: grid;
    gap: 15px;
}

@media (min-width: 576px) {
    .limitations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .limitations-grid {
        gap: 25px;
    }
}

.limitation-card {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 576px) {
    .limitation-card {
        padding: 25px;
    }
}

@media (min-width: 992px) {
    .limitation-card {
        padding: 30px;
    }
}

.limitation-card h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

@media (min-width: 576px) {
    .limitation-card h4 {
        font-size: 16px;
        margin-bottom: 15px;
        gap: 10px;
    }
}

.limitation-card ul {
    list-style: none;
}

.limitation-card ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    color: var(--text-light);
}

@media (min-width: 576px) {
    .limitation-card ul li {
        padding: 8px 0;
        font-size: 14px;
    }
}

.defect-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 11px;
}

@media (min-width: 576px) {
    .defect-table {
        margin-top: 15px;
        font-size: 13px;
    }
}

.defect-table th,
.defect-table td {
    padding: 6px 8px;
    text-align: left;
    border: 1px solid #eee;
}

@media (min-width: 576px) {
    .defect-table th,
    .defect-table td {
        padding: 8px 10px;
    }
}

.defect-table th {
    background: var(--bg-light);
}

/* ============================================
   结论区块响应式
   ============================================ */
.mim-conclusion {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 50px 0;
    text-align: center;
    color: white;
}

@media (min-width: 576px) {
    .mim-conclusion {
        padding: 60px 0;
    }
}

@media (min-width: 992px) {
    .mim-conclusion {
        padding: 80px 0;
    }
}

.mim-conclusion h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .mim-conclusion h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
}

@media (min-width: 992px) {
    .mim-conclusion h2 {
        font-size: 36px;
        margin-bottom: 30px;
    }
}

.conclusion-content {
    max-width: 100%;
    margin: 0 auto 30px;
    padding: 0 15px;
}

@media (min-width: 576px) {
    .conclusion-content {
        max-width: 800px;
        margin: 0 auto 40px;
    }
}

.conclusion-content p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
    opacity: 0.9;
}

@media (min-width: 576px) {
    .conclusion-content p {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

.conclusion-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: 0 15px;
}

@media (min-width: 576px) {
    .conclusion-cta {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        padding: 0;
    }
}

.conclusion-cta .btn-primary {
    background: white;
    color: var(--primary);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 576px) {
    .conclusion-cta .btn-primary {
        padding: 15px 30px;
        font-size: 16px;
    }
}

.conclusion-cta .btn-primary:hover {
    background: #ffc107;
    color: #333;
}

/* ============================================
   产品展示响应式
   ============================================ */
.product-list {
    display: grid;
    gap: 20px;
}

@media (min-width: 576px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 992px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-item-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item-text {
    padding: 15px;
}

@media (min-width: 576px) {
    .product-item-text {
        padding: 20px;
    }
}

.product-item-text h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

@media (min-width: 576px) {
    .product-item-text h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

.product-item-text ul {
    list-style: none;
}

.product-item-text ul li {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (min-width: 576px) {
    .product-item-text ul li {
        font-size: 14px;
        margin-bottom: 8px;
    }
}

.product-item-text ul li i {
    color: #28a745;
}

/* ============================================
   底部响应式
   ============================================ */
.footer {
    background: var(--secondary);
    color: rgb(204, 204, 204);
    padding: 20px 0 70px;
    text-align: center;
}

@media (min-width: 767px) {
    .footer {
        padding: 20px 0;
    }
}

.copyright {
    background-color: var(--secondary);
    padding: 15px 0;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 576px) {
    .copyright {
        font-size: 14px;
    }
}

/* ============================================
   固定联系栏响应式
   ============================================ */
.fixed-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    z-index: 1000;
    padding: 8px 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .fixed-contact {
        padding: 0;
    }
}

.fixed-contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 15px;
}

@media (min-width: 768px) {
    .fixed-contact-content {
        gap: 0;
    }
}

.fixed-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: white;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .fixed-contact-item {
        padding: 12px 20px;
        border-right: 1px solid rgba(255,255,255,0.2);
        font-size: 14px;
    }
    .fixed-contact-item:last-child {
        border-right: none;
    }
}

.fixed-contact-item i {
    color: #ffc107;
}

.fixed-contact-link {
    color: white;
    text-decoration: none;
}

.fixed-contact-link:hover {
    text-decoration: underline;
}

/* ============================================
   按钮响应式
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 44px;
    min-width: 44px;
}

@media (min-width: 576px) {
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

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

/* ============================================
   辅助功能 - 无障碍
   ============================================ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* 触摸目标大小 */
.nav-menu a,
.toc-grid a,
.tab-btn,
.btn {
    min-height: 44px;
    min-width: 44px;
}

/* 焦点样式 */
a:focus,
button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   打印样式
   ============================================ */
@media print {
    .fixed-contact,
    .mim-toc,
    #pdf-modal {
        display: none !important;
    }
    
    .mim-banner {
        padding: 30px 0;
        color: black;
        background: none;
    }
    
    .mim-banner h1 {
        color: black;
    }
    
    .mim-section {
        padding: 30px 0;
    }
}

/* ============================================
   新增：红绿灯设计约束样式
   ============================================ */
.constraint-grid {
    display: grid;
    gap: 15px;
}

@media (min-width: 576px) {
    .constraint-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .constraint-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

.constraint-card {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 576px) {
    .constraint-card {
        padding: 20px;
    }
}

.constraint-card h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 576px) {
    .constraint-card h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

.constraint-list {
    list-style: none;
}

.constraint-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 12px;
    color: var(--text-light);
    border-bottom: 1px solid #f0f0f0;
}

@media (min-width: 576px) {
    .constraint-list li {
        padding: 8px 0;
        font-size: 13px;
    }
}

.constraint-list li:last-child {
    border-bottom: none;
}

.constraint-indicator {
    font-size: 16px;
    flex-shrink: 0;
}

.constraint-indicator.green { color: #22c55e; }
.constraint-indicator.yellow { color: #eab308; }
.constraint-indicator.red { color: #ef4444; }

/* ============================================
   新增：成本速查表样式
   ============================================ */
.cost-grid {
    display: grid;
    gap: 15px;
}

@media (min-width: 576px) {
    .cost-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .cost-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cost-card {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

@media (min-width: 576px) {
    .cost-card {
        padding: 25px 20px;
    }
}

.cost-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

@media (min-width: 576px) {
    .cost-value {
        font-size: 24px;
    }
}

.cost-label {
    font-size: 12px;
    color: var(--text-light);
}

@media (min-width: 576px) {
    .cost-label {
        font-size: 14px;
    }
}

/* ============================================
   新增：典型案例展示
   ============================================ */
.case-highlight {
    background: linear-gradient(135deg, rgba(26,54,93,0.05) 0%, rgba(44,82,130,0.05) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 20px;
}

@media (min-width: 576px) {
    .case-highlight {
        padding: 30px;
        margin-top: 30px;
    }
}

.case-highlight h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (min-width: 576px) {
    .case-highlight h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

.case-highlight-grid {
    display: grid;
    gap: 15px;
}

@media (min-width: 576px) {
    .case-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .case-highlight-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.case-highlight-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
}

@media (min-width: 576px) {
    .case-highlight-item {
        padding: 20px;
    }
}

.case-highlight-item h5 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

@media (min-width: 576px) {
    .case-highlight-item h5 {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

.case-highlight-item p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

@media (min-width: 576px) {
    .case-highlight-item p {
        font-size: 13px;
    }
}

/* ============================================
   新增：移动端卡片手势提示
   ============================================ */
@media (max-width: 575px) {
    .industry-card,
    .case-card,
    .equipment-card,
    .tech-advantage-item {
        transition: transform 0.2s ease;
    }
    
    .industry-card:active,
    .case-card:active,
    .equipment-card:active,
    .tech-advantage-item:active {
        transform: scale(0.98);
    }
}

/* ============================================
   新增：移动端大字体支持
   ============================================ */
@media (min-width: 320px) and (max-width: 575px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    html {
        font-size: 15px;
    }
}

/* ============================================
   大屏幕优化
   ============================================ */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .mim-title {
        font-size: 40px;
    }
    
    .title-num {
        font-size: 56px;
    }
}

/* ============================================
   新增：设计约束红绿灯样式
   ============================================ */
.constraint-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.legend-dot.green {
    background: #22c55e;
}

.legend-dot.yellow {
    background: #eab308;
}

.legend-dot.red {
    background: #ef4444;
}

.constraint-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 576px) {
    .constraint-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .constraint-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

.constraint-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

@media (min-width: 576px) {
    .constraint-card {
        padding: 20px;
    }
}

.constraint-card h4 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.constraint-card h4 i {
    color: var(--accent);
}

.constraint-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.constraint-status.green {
    background: #dcfce7;
    color: #166534;
}

.constraint-status.yellow {
    background: #fef9c3;
    color: #854d0e;
}

.constraint-status.red {
    background: #fee2e2;
    color: #991b1b;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.constraint-card p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

.constraint-summary {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 30px;
    border: 1px solid #e2e8f0;
}

.constraint-summary h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 15px;
}

.constraint-summary ul {
    margin: 0;
    padding-left: 20px;
}

.constraint-summary li {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ============================================
   新增：表面处理兼容矩阵样式
   ============================================ */
.surface-matrix {
    overflow-x: auto;
    margin-bottom: 30px;
}

.surface-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 12px;
}

@media (min-width: 576px) {
    .surface-table {
        font-size: 13px;
    }
}

.surface-table th {
    background: var(--primary);
    color: white;
    padding: 12px 10px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.surface-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.surface-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.surface-table tbody tr:hover {
    background: #f1f5f9;
}

.surface-ok {
    color: #166534;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.surface-ok i {
    color: #22c55e;
}

.surface-warn {
    color: #854d0e;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.surface-warn i {
    color: #eab308;
}

/* ============================================
   红绿灯设计约束项样式
   ============================================ */
.constraint-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.constraint-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.constraint-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
}

.constraint-item h4 {
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 8px;
    font-weight: 500;
}

.constraint-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 8px;
}

.constraint-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.constraint-note.warning {
    color: #d97706;
    font-weight: 500;
}

/* Badge styles for table cells */
.badge-good,
.badge-warn,
.badge-bad {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.badge-good {
    background: #dcfce7;
    color: #166534;
}

.badge-warn {
    background: #fef3c7;
    color: #92400e;
}

.badge-bad {
    background: #fee2e2;
    color: #991b1b;
}

/* Constraint value status colors */
.constraint-value.good {
    color: #16a34a;
}

.constraint-value.warning {
    color: #d97706;
}

.constraint-value.bad {
    color: #dc2626;
}

.constraint-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* 绿色 - 标准 */
.constraint-ok {
    border-left: 4px solid #22c55e;
}

.constraint-ok .constraint-icon {
    background: #dcfce7;
    color: #22c55e;
}

.constraint-ok .constraint-status {
    background: #dcfce7;
    color: #166534;
}

/* 黄色 - 有限制 */
.constraint-warn {
    border-left: 4px solid #f59e0b;
}

.constraint-warn .constraint-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.constraint-warn .constraint-status {
    background: #fef3c7;
    color: #92400e;
}

/* 红色 - 不可用 */
.constraint-no {
    border-left: 4px solid #ef4444;
    opacity: 0.7;
}

.constraint-no .constraint-icon {
    background: #fee2e2;
    color: #ef4444;
}

.constraint-no .constraint-status {
    background: #fee2e2;
    color: #991b1b;
}

.surface-tips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 576px) {
    .surface-tips {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.tip-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.tip-card h4 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-card h4 i {
    color: var(--accent);
}

.tip-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   新增：成本参考样式
   ============================================ */
.cost-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

@media (min-width: 576px) {
    .cost-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.cost-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 2px solid transparent;
}

.cost-card.featured {
    border-color: var(--primary);
    position: relative;
}

.cost-card.featured::before {
    content: 'Most Common';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    white-space: nowrap;
}

.cost-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.cost-icon i {
    font-size: 24px;
    color: white;
}

.cost-card h4 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.cost-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.cost-note {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.cost-card ul {
    text-align: left;
    margin: 0;
    padding-left: 20px;
}

.cost-card li {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Lead Time Cards */
.leadtime-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

@media (min-width: 576px) {
    .leadtime-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.leadtime-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.leadtime-card h4 {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.leadtime-card h4 i {
    color: var(--accent);
}

.leadtime-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.leadtime-card p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

/* Volume Pricing */
.volume-pricing {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.volume-pricing h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-pricing h4 i {
    color: var(--accent);
}

.volume-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.volume-bar {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    align-items: center;
    gap: 15px;
}

@media (min-width: 576px) {
    .volume-bar {
        grid-template-columns: 100px 1fr 70px;
    }
}

.vol-label {
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
}

.vol-track {
    height: 24px;
    background: #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.vol-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px;
    transition: width 0.5s ease;
}

.vol-price {
    font-size: 12px;
    color: var(--text-light);
    text-align: right;
}

.volume-note {
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-note i {
    color: var(--accent);
}

/* Quick Selection Guide */
.selection-guide {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.selection-guide h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.selection-guide h4 i {
    color: var(--accent);
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 576px) {
    .guide-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.guide-item {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.guide-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.guide-badge.small-batch {
    background: #dbeafe;
    color: #1e40af;
}

.guide-badge.medium-batch {
    background: #dcfce7;
    color: #166534;
}

.guide-badge.large-batch {
    background: #fef3c7;
    color: #92400e;
}

.guide-qty {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.guide-item p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   响应式表格优化 - 自适应宽度+居中
   ============================================ */

/* 基础表格包装器 - 移动端自适应+居中 */
.comparison-table,
.selection-table,
.surface-matrix,
.mini-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 auto;
    /* 确保在父容器内居中 */
    display: block;
}

/* 桌面端表格优化 - 自适应内容宽度 */
@media (min-width: 768px) {
    .comparison-table,
    .selection-table {
        overflow-x: visible;
        max-width: 100%;
    }
    
    .comparison-table table,
    .selection-table table {
        width: 100%;
        table-layout: auto;
    }
}

/* 移动端表格滚动优化 */
@media (max-width: 767px) {
    .comparison-table table,
    .selection-table table,
    .surface-table,
    .mini-table {
        min-width: 550px;
        width: 100%;
    }
    
    /* 表格滚动提示 */
    .comparison-table::after,
    .selection-table::after,
    .surface-matrix::after {
        content: '← Scroll →';
        display: block;
        text-align: center;
        font-size: 11px;
        color: var(--gray);
        padding: 8px 0 4px;
        opacity: 0.7;
    }
}

/* Mini table responsive */
.mini-table-wrapper {
    padding: 10px 0;
}

.mini-table {
    width: 100%;
    min-width: 250px;
    border-collapse: collapse;
    margin: 0 auto;
}

@media (max-width: 575px) {
    .mini-table {
        min-width: 200px;
    }
}

/* Surface matrix responsive */
.surface-matrix {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .surface-matrix {
        overflow-x: visible;
    }
    
    .surface-table {
        width: 100%;
        table-layout: auto;
    }
}

/* 表格单元格内联元素 */
.comparison-table td > span,
.selection-table td > span,
.surface-table td > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: inherit;
}

/* 确保th文字居中 */
.comparison-table th,
.selection-table th,
.surface-table th,
.defect-table th {
    text-align: center;
    vertical-align: middle;
}

/* 第一个td左对齐 */
.comparison-table td:first-child,
.selection-table td:first-child {
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
}

/* 数字右对齐 */
.comparison-table td:nth-child(n+2),
.selection-table td:nth-child(n+2) {
    text-align: center;
}

/* ============================================
   移动端触摸优化
   ============================================ */
@media (max-width: 575px) {
    .constraint-card,
    .cost-card,
    .leadtime-card,
    .tip-card,
    .guide-item,
    .volume-pricing,
    .selection-guide {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .constraint-card:active,
    .cost-card:active,
    .leadtime-card:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-sm);
    }
}

/* ============================================
   Design Constraints & Capabilities Styles
   ============================================ */
.section-intro {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

@media (min-width: 576px) {
    .section-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

.design-matrix {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (min-width: 768px) {
    .design-matrix {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

.matrix-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.matrix-card h3 {
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

@media (min-width: 576px) {
    .matrix-card h3 {
        font-size: 16px;
    }
}

.matrix-card h3 i {
    font-size: 18px;
}

.green-card {
    border-top: 4px solid #22c55e;
}

.green-card h3 i {
    color: #22c55e;
}

.red-card {
    border-top: 4px solid #ef4444;
}

.red-card h3 i {
    color: #ef4444;
}

.amber-card {
    border-top: 4px solid #f59e0b;
}

.amber-card h3 i {
    color: #f59e0b;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.matrix-table th {
    background: var(--bg-light);
    padding: 8px 6px;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid #e2e8f0;
}

.matrix-table td {
    padding: 8px 6px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-light);
    vertical-align: middle;
}

.matrix-table td strong {
    color: var(--text-dark);
    font-weight: 600;
}

.matrix-table td .note {
    font-size: 11px;
    color: #888;
    font-style: italic;
}

.matrix-table tr:last-child td {
    border-bottom: none;
}

.matrix-table .green {
    color: #22c55e;
}

.matrix-table .red {
    color: #ef4444;
}

.matrix-table .yellow {
    color: #f59e0b;
}

.matrix-table .amber {
    color: #f59e0b;
}

/* Matrix table responsive */
.matrix-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .matrix-wrapper {
        overflow-x: visible;
    }
}

@media (max-width: 767px) {
    .matrix-table {
        min-width: 600px;
        width: 100%;
    }
    
    .matrix-table th,
    .matrix-table td {
        padding: 8px 6px;
        font-size: 11px;
    }
}

/* ============================================
   通用表格包装器 - 确保居中和响应式
   ============================================ */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px auto;
    display: block;
}

.table-responsive-wrapper table {
    width: 100%;
    margin: 0 auto;
}

/* 确保所有表格居中 */
table {
    margin-left: auto;
    margin-right: auto;
}

/* 移动端表格优化 - 隐藏溢出箭头提示 */
@media (max-width: 767px) {
    .comparison-table::after,
    .selection-table::after,
    .surface-matrix::after,
    .matrix-wrapper::after {
        content: '← Scroll horizontally →';
        display: block;
        text-align: center;
        font-size: 10px;
        color: var(--gray);
        padding: 6px 0 2px;
        opacity: 0.6;
        white-space: nowrap;
    }
}

/* 移除不必要的min-width */
.comparison-table table,
.selection-table table,
.surface-table,
.mini-table {
    max-width: 100%;
}

.design-note {
    background: #fef9c3;
    border-left: 4px solid #f59e0b;
    padding: 15px 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.design-note p {
    font-size: 13px;
    color: #854d0e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.design-note p i {
    color: #f59e0b;
    font-size: 18px;
}

/* ============================================
   Surface Treatment Compatibility Styles
   ============================================ */
.surface-header {
    margin-bottom: 20px;
}

.surface-header h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

@media (min-width: 576px) {
    .surface-header h3 {
        font-size: 20px;
    }
}

.surface-note {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

.surface-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.surface-table th {
    background: var(--primary);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
}

.surface-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    color: var(--text-dark);
}

.surface-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.surface-table tbody tr:hover {
    background: #f1f5f9;
}

.badge-passiv {
    display: inline-block;
    padding: 4px 10px;
    background: #dcfce7;
    color: #166534;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-electro {
    display: inline-block;
    padding: 4px 10px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.rating-bar {
    width: 80px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%);
    border-radius: 4px;
}

.density-note {
    display: flex;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    margin-top: 20px;
}

@media (min-width: 576px) {
    .density-note {
        gap: 20px;
        padding: 25px;
    }
}

.density-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.density-icon i {
    font-size: 22px;
    color: white;
}

.density-content h4 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 8px;
}

@media (min-width: 576px) {
    .density-content h4 {
        font-size: 16px;
    }
}

.density-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Cost Reference & MOQ Styles
   ============================================ */
.cost-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 576px) {
    .cost-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

.cost-card {
    background: white;
    padding: 25px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 2px solid transparent;
}

.cost-card.featured {
    border-color: var(--primary);
    position: relative;
}

.cost-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.cost-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.cost-icon i {
    font-size: 24px;
    color: white;
}

.cost-card h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.cost-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1.2;
}

@media (min-width: 576px) {
    .cost-value {
        font-size: 32px;
    }
}

.cost-unit {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.cost-details {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.cost-details li {
    font-size: 12px;
    color: var(--text-light);
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cost-details li:last-child {
    border-bottom: none;
}

.cost-details li i {
    color: #22c55e;
    font-size: 12px;
}

/* Lead Time Section */
.leadtime-section {
    margin-bottom: 30px;
}

.leadtime-section h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (min-width: 576px) {
    .leadtime-section h3 {
        font-size: 20px;
    }
}

.leadtime-section h3 i {
    color: var(--accent);
}

.leadtime-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 576px) {
    .leadtime-grid {
        gap: 25px;
    }
}

.leadtime-item {
    background: white;
    padding: 25px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.leadtime-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.leadtime-icon i {
    font-size: 20px;
    color: white;
}

.leadtime-item h4 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.leadtime-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

@media (min-width: 576px) {
    .leadtime-value {
        font-size: 28px;
    }
}

.leadtime-item p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

/* Cost Comparison */
.cost-comparison {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 576px) {
    .cost-comparison {
        padding: 30px;
    }
}

.cost-comparison h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (min-width: 576px) {
    .cost-comparison h3 {
        font-size: 20px;
    }
}

.cost-comparison h3 i {
    color: var(--accent);
}

.comparison-visual {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.comparison-bar {
    display: grid;
    grid-template-columns: 120px 1fr 80px;
    gap: 15px;
    align-items: center;
}

@media (min-width: 576px) {
    .comparison-bar {
        grid-template-columns: 150px 1fr 90px;
        gap: 20px;
    }
}

.bar-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: right;
}

.bar-track {
    height: 24px;
    background: #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-size: 11px;
    font-weight: 600;
}

.bar-value {
    font-size: 11px;
    color: var(--text-light);
    text-align: left;
}

.mim-bar {
    width: 25%;
    background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%);
}

.mim-low-bar {
    width: 55%;
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.cnc-bar {
    width: 85%;
    background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
}

.casting-bar {
    width: 65%;
    background: linear-gradient(90deg, #6366f1 0%, #818cf8 100%);
}

.cost-note {
    background: rgba(26,54,93,0.05);
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    border-radius: 4px;
}

.cost-note p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.cost-note p i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================
   技术优势卡片样式 - 各页面通用
   ============================================ */
.tech-advantage-item {
    background: #ffffff;
    color: #333333;
}

.tech-advantage-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.tech-advantage-item em {
    color: var(--primary);
}

.tech-advantage-item h4 {
    color: #333333;
    font-weight: 600;
}

.tech-advantage-item p {
    color: #4a5568;
}

.mim-bg-dark .tech-advantage-item {
    background: #ffffff;
}

.mim-bg-dark .tech-advantage-item h4 {
    color: #333333;
}

.mim-bg-dark .tech-advantage-item p {
    color: #4a5568;
}

/* ============================================
   各页面特有的装饰元素
   ============================================ */

/* Investment Casting - 圆环主题 */
.investment-casting .mim-banner {
    position: relative;
    overflow: hidden;
}

.investment-casting .mim-banner::before {
    content: '';
    position: absolute;
    right: 10%;
    top: 20%;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

/* CNC Machining - 菱形主题 */
.cnc-machining .mim-banner {
    position: relative;
    overflow: hidden;
}

.cnc-machining .mim-banner::before {
    content: '';
    position: absolute;
    right: 5%;
    top: 10%;
    width: 200px;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 L90 50 L50 90 L10 50 Z' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.5;
}

/* Magnet Pages - 同心圆主题 */
.magnet-page .mim-banner {
    position: relative;
    overflow: hidden;
}

.magnet-page .mim-banner::before {
    content: '';
    position: absolute;
    right: 10%;
    top: 20%;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="50" cy="50" r="45" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

/* Die Casting - 双弧线主题 */
.die-casting .mim-banner {
    position: relative;
    overflow: hidden;
}

.die-casting .mim-banner::before {
    content: '';
    position: absolute;
    right: 5%;
    top: 10%;
    width: 200px;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20 50 Q50 20 80 50 Q50 80 20 50' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.5;
}

/* Injection Molded Magnet - 同心圆主题 */
.injection-magnet .mim-banner {
    position: relative;
    overflow: hidden;
}

.injection-magnet .mim-banner::before {
    content: '';
    position: absolute;
    right: 5%;
    top: 10%;
    width: 200px;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='2'/%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.5;
}

/* 3D Printing - 正方形主题 */
.printing-3d .mim-banner {
    position: relative;
    overflow: hidden;
}

.printing-3d .mim-banner::before {
    content: '';
    position: absolute;
    right: 5%;
    top: 10%;
    width: 200px;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='20' y='20' width='60' height='60' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.5;
}

/* ============================================
   表格可访问性优化
   ============================================ */
.comparison-table th,
.selection-table th {
    background: #0066CC;
    color: #ffffff;
    font-weight: 600;
}

.comparison-table td,
.selection-table td {
    padding: 12px;
}

/* 斑马纹 */
.comparison-table tbody tr:nth-child(even),
.selection-table tbody tr:nth-child(even) {
    background: #f7fafc;
}

/* ============================================
   Touch Target Size Optimization
   ============================================ */
.nav-menu a,
.toc-grid a,
.tab-btn,
.btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Print Style Optimization
   ============================================ */
@media print {
    .fixed-contact,
    .mim-toc,
    #pdf-modal {
        display: none !important;
    }
}
