
/* ================================
   短波红外css样式
================================ */
.product-intro-section {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.product-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 1;
}

.product-intro-section .container {
    position: relative;
    z-index: 2;
}

/* ================================
   标题区域
================================ */
.product-title {
    text-align: center;
    margin-bottom: 3rem;
}

.product-title h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ================================
   英雄区域 - 紧凑版
================================ */
.product-hero {
    background: var(--gradient-hero);
    color: var(--text-white);
    padding: 60px 0 40px;
    position: relative;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-alpha-10);
    z-index: 1;
}

.product-hero .container {
    position: relative;
    z-index: 2;
}

.product-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-hero .lead {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hero-features {
    font-size: 0.9rem;
}

.hero-features .fa-check-circle {
    color: var(--text-white);
    margin-right: 0.5rem;
}

/* 主题色彩变体 */
.product-hero.swir {
    background: var(--gradient-hero);
}

.product-hero.scmos {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
}

.product-hero.microscopy {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-light) 100%);
}

/* ================================
   特点网格布局
================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    height: 100%;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.feature-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

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

.feature-desc strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ================================
   规格表格 - 紧凑版
================================ */
.specs-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin: 2rem 0;
}

.specs-table {
    margin-bottom: 0;
    border: none;
}

.specs-table thead th {
    background: var(--gradient-primary);
    color: var(--text-white);
    font-weight: 600;
    padding: 0.8rem;
    border: none;
    text-align: center;
    font-size: 0.9rem;
}

.specs-table tbody td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

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

.specs-table tbody tr:hover {
    background-color: var(--primary-alpha-10);
}

.spec-name {
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    background: var(--primary-alpha-10);
    border-radius: var(--radius-sm);
}

.spec-source {
    text-align: center;
    font-style: italic;
    color: var(--text-secondary);
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
}

/* ================================
   应用场景网格
================================ */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin: 2rem 0;
}

.app-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.app-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.1rem;
}

.app-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.app-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ================================
   接口徽章
================================ */
.interface-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0;
}

.interface-badge {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.interface-badge.outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

/* ================================
   数字高亮
================================ */
.highlight-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.highlight-number.large {
    font-size: 2.2rem;
}

/* ================================
   总结区域
================================ */
.summary-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    padding: 2rem;
    color: var(--text-white);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 150px;
    height: 150px;
    background: var(--primary-alpha-10);
    border-radius: var(--radius-full);
}

.summary-text {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.summary-text strong {
    font-weight: 700;
}

/* ================================
   响应式设计
================================ */
@media (max-width: 768px) {

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

    .product-hero {
        padding: 40px 0 30px;
    }

    .product-hero h1 {
        font-size: 1.5rem;
    }

    .product-title h2 {
        font-size: 1.6rem;
    }

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

    .feature-card {
        padding: 1.2rem;
    }

    .applications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .app-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1rem;
    }

    .specs-table thead th,
    .specs-table tbody td {
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }

    .summary-card {
        padding: 1.5rem;
    }

    .summary-text {
        font-size: 1rem;
    }

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

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

@media (max-width: 576px) {
    .product-intro-section {
        padding: 40px 0;
    }

    .product-hero {
        padding: 30px 0 20px;
        margin-bottom: 1.5rem;
    }

    .product-title {
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .app-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .summary-card {
        padding: 1.2rem;
    }

    .cta-section {
        padding: 1.5rem;
    }
}

/* ================================
   主题色彩系统
================================ */
.theme-swir {
    --theme-primary: var(--primary-color);
    --theme-secondary: var(--primary-hover);
}

.theme-scmos {
    --theme-primary: var(--primary-light);
    --theme-secondary: var(--secondary-color);
}

.theme-microscopy {
    --theme-primary: var(--accent-color);
    --theme-secondary: var(--primary-light);
}

.theme-astronomy {
    --theme-primary: var(--danger-color);
    --theme-secondary: var(--warning-color);
}

/* 应用主题色彩 */
[class*="theme-"] .feature-icon,
[class*="theme-"] .app-icon {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
}

[class*="theme-"] .feature-title,
[class*="theme-"] .spec-name,
[class*="theme-"] .highlight-number,
[class*="theme-"] .app-content h5 {
    color: var(--theme-primary);
}

[class*="theme-"] .interface-badge {
    background: var(--theme-primary);
}

[class*="theme-"] .summary-card {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
}

[class*="theme-"] .specs-table thead th {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
}

/* ================================
   工具类
================================ */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }

.section-space-compact {
    padding: 50px 0;
}

@media (max-width: 768px) {
    .section-space-compact {
        padding: 40px 0;
    }
}
