/* 页面头部样式 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/stars-bg.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 概述区域样式 */
.overview-section {
    padding: 5rem 0;
    background: #fff;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.overview-text h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
}

.overview-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 2px;
}

.overview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: justify;
}

.highlight-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border-left: 5px solid #3498db;
}

.highlight-box h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
}

.highlight-box li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
}

.highlight-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    font-size: 1.2rem;
}

.overview-image {
    text-align: center;
}

.overview-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.overview-image img:hover {
    transform: scale(1.05);
}

.image-caption {
    margin-top: 1rem;
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

/* 技术参数表格样式 - 表格布局 */
.specifications-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.subsection-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 3rem 0 2rem;
    text-align: center;
}

.table-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

/* 基本规格表格 */
.specifications-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.specifications-table thead tr {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.specifications-table th {
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.specifications-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.specifications-table tbody tr:hover {
    background-color: #f8f9fa;
}

.specifications-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.specifications-table tbody tr:nth-child(even):hover {
    background-color: #f0f2f5;
}

.spec-label {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    background-color: #ecf0f1;
    width: 40%;
}

.spec-value {
    padding: 1.2rem 1.5rem;
    color: #555;
    font-weight: 500;
}

/* 舱段信息表格 */
.modules-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.modules-table thead tr {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.modules-table th {
    padding: 1.2rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.modules-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.modules-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modules-table td {
    padding: 1rem;
    text-align: center;
    color: #555;
}

.module-name {
    font-weight: 600;
    color: #2c3e50;
    background-color: #ecf0f1;
}

/* 时间线部分 */
.timeline-section {
    padding: 5rem 0;
    background: #fff;
}

.timeline-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-table thead tr {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.timeline-table th {
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.timeline-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.timeline-table tbody tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-table tbody tr:hover::before {
    opacity: 1;
}

.timeline-date {
    padding: 1.2rem 1rem;
    font-weight: 700;
    color: #e74c3c;
    background-color: #fdf2f2;
    white-space: nowrap;
    width: 150px;
}

.timeline-event {
    padding: 1.2rem 1rem;
    font-weight: 600;
    color: #2c3e50;
    width: 200px;
}

.timeline-desc {
    padding: 1.2rem 1rem;
    color: #555;
    line-height: 1.6;
}

/* 功能特色部分 */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.features-section .section-title {
    color: white;
}

.features-section .section-title::after {
    background: linear-gradient(90deg, #fff, #f8f9fa);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
}

.feature-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.feature-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-table tr:last-child {
    border-bottom: none;
}

.feature-table td {
    padding: 0.8rem 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-table td:first-child {
    font-weight: 600;
    color: white;
    text-align: right;
    width: 50%;
}

.feature-table td:last-child {
    text-align: left;
    padding-left: 1rem;
}

/* 统计数据部分 */
.statistics-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.stats-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.stats-table thead tr {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.stats-table th {
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.stats-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.stats-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.02);
}

.stats-table td {
    padding: 1.2rem 1rem;
    text-align: center;
    color: #555;
}

.stats-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
    text-align: left;
    background-color: #ecf0f1;
}

.counter {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    transition: all 0.3s ease;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .overview-text p {
        text-align: left;
    }

    .table-container {
        overflow-x: auto;
    }

    .specifications-table,
    .modules-table,
    .timeline-table,
    .stats-table {
        min-width: 600px;
    }

    .specifications-table th,
    .specifications-table .spec-label,
    .specifications-table .spec-value {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .modules-table th,
    .modules-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }

    .timeline-table th,
    .timeline-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }

    .timeline-desc {
        font-size: 0.85rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
        height: 60px;
    }

    .stats-table th,
    .stats-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }

    .counter {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .page-header {
        padding: 5rem 0 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .overview-section,
    .specifications-section,
    .timeline-section,
    .features-section,
    .statistics-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .subsection-title {
        font-size: 1.5rem;
    }

    .specifications-table,
    .modules-table,
    .timeline-table,
    .stats-table {
        min-width: 500px;
        font-size: 0.8rem;
    }

    .specifications-table th,
    .specifications-table .spec-label,
    .specifications-table .spec-value {
        padding: 0.8rem;
    }

    .modules-table th,
    .modules-table td,
    .timeline-table th,
    .timeline-table td,
    .stats-table th,
    .stats-table td {
        padding: 0.8rem 0.3rem;
    }

    .feature-card {
        padding: 1.2rem;
    }

    .feature-table {
        font-size: 0.8rem;
    }

    .feature-table td {
        padding: 0.6rem 0.3rem;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .back-to-top,
    .footer {
        display: none;
    }

    .page-header {
        background: none;
        color: black;
        padding: 2rem 0;
    }

    .specifications-section,
    .timeline-section,
    .features-section,
    .statistics-section {
        background: none;
        padding: 2rem 0;
    }

    .table-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .specifications-table thead tr,
    .modules-table thead tr,
    .timeline-table thead tr,
    .stats-table thead tr {
        background: #f5f5f5 !important;
        color: black !important;
    }
} 