/* 
 * NeoMeso - 生物医学工程页面样式表
 * 版本：2.0
 * 最后更新：2026-03-23
 * 说明：已优化，使用公共样式和动画文件
 */

/* ==================== Hero 区域 ==================== */
.hero {
    padding: 140px 20px 60px;
    background: radial-gradient(ellipse at top, rgba(102, 126, 234, 0.2) 0%, transparent 50%);
}

.page-subtitle {
    font-size: 1.3em;
}

/* ==================== 次级导航菜单 ==================== */
.sub-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.sub-nav-link {
    color: #a0a0ff;
    text-decoration: none;
    font-size: 1em;
    padding: 12px 30px;
    border-radius: 25px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.sub-nav-link:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.sub-nav-link.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-color: rgba(102, 126, 234, 0.6);
    color: #fff;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

/* ==================== 内容区域切换 ==================== */
.content-section {
    display: none;
    opacity: 0;
}

.content-section.active {
    display: block;
    opacity: 1;
    animation: fadeInUp 0.6s ease-out;
}

/* ==================== 分割线 ==================== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    margin: 80px 0;
}

.team-section .section-divider {
    margin: 40px 0;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
    height: 2px;
}

/* ==================== 章节介绍 ==================== */
.section-intro {
    text-align: center;
    font-size: 1.1em;
    color: #a0a0c0;
    line-height: 1.8;
    max-width: 800px;
    margin: 30px auto 50px;
}

/* ==================== 产品卡片 ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.product-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.product-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border: 2px solid rgba(102, 126, 234, 0.4);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2),
                inset 0 0 20px rgba(102, 126, 234, 0.05);
    padding: 8px;
    transition: all 0.3s ease;
}

.product-logo:hover {
    border-color: rgba(102, 126, 234, 0.7);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.35),
                inset 0 0 30px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.product-name {
    font-size: 1.8em;
    color: #e0e0ff;
    margin-bottom: 15px;
}

.product-desc {
    font-size: 1em;
    color: #a0a0c0;
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.product-features li {
    padding: 10px 0;
    color: #c0c0e0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95em;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: '✓ ';
    color: #667eea;
    margin-right: 8px;
    font-weight: bold;
}

/* ==================== 核心技术展示 ==================== */
.tech-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    text-align: center;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.tech-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
}

.tech-item h4 {
    font-size: 1.3em;
    color: #e0e0ff;
    margin-bottom: 15px;
    font-weight: 600;
}

.tech-item p {
    color: #a0a0c0;
    line-height: 1.8;
    font-size: 0.95em;
    text-align: justify;
}

/* ==================== 制造工艺与质量控制 ==================== */
.manufacturing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.manufacturing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.manufacturing-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.manufacturing-card h4 {
    font-size: 1.1em;
    color: #e0e0ff;
    margin-bottom: 15px;
    font-weight: 600;
}

.manufacturing-card p {
    color: #a0a0c0;
    line-height: 1.6;
    font-size: 0.9em;
}

/* ==================== 产品购买 ==================== */
.purchase-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.purchase-container {
    text-align: center;
}

.purchase-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.purchase-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.purchase-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: block;
}

.purchase-card h3 {
    font-size: 1.8em;
    color: #e0e0ff;
    margin-bottom: 20px;
    font-weight: 600;
}

.purchase-desc {
    color: #a0a0c0;
    line-height: 1.8;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.buy-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 50px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.purchase-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    text-align: left;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    color: #e0e0ff;
    margin-bottom: 8px;
    font-size: 1em;
    font-weight: 600;
}

.feature-text p {
    color: #a0a0c0;
    font-size: 0.9em;
    margin: 0;
    line-height: 1.5;
}

/* ==================== 下载卡片 ==================== */
.download-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 500px;
}

.download-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.download-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.download-name {
    font-size: 2em;
    color: #e0e0ff;
    margin-bottom: 10px;
}

.download-version {
    display: inline-block;
    background: rgba(102, 126, 234, 0.2);
    color: #c0c0ff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85em;
    margin-bottom: 20px;
}

.download-desc {
    font-size: 1em;
    color: #a0a0c0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.download-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    padding: 0 20px;
}

.download-features li {
    padding: 8px 0;
    color: #c0c0e0;
    font-size: 0.9em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.download-features li:last-child {
    border-bottom: none;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.85em;
    color: #8080a0;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

/* ==================== 团队成员 ==================== */
.team-members-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.members-container {
    margin-top: 40px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.member-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.member-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.member-avatar {
    font-size: 4em;
    margin-bottom: 15px;
    display: block;
}

.member-name {
    font-size: 1.3em;
    color: #e0e0ff;
    margin-bottom: 10px;
    font-weight: 600;
}

.member-role {
    color: #667eea;
    font-size: 0.95em;
    margin-bottom: 8px;
    font-weight: 500;
}

.member-desc {
    color: #a0a0c0;
    font-size: 0.9em;
    line-height: 1.5;
}

/* ==================== 团队卡片 ==================== */
.team-section {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 40px 0;
}

.team-container {
    display: flex;
    justify-content: center;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    max-width: 900px;
    margin-bottom: 0;
}

.team-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.team-name {
    font-size: 2.5em;
    color: #e0e0ff;
    margin-bottom: 10px;
}

.team-slogan {
    font-size: 1.1em;
    color: #667eea;
    margin-bottom: 25px;
    font-weight: 500;
}

.team-desc {
    font-size: 1.05em;
    color: #a0a0c0;
    line-height: 1.8;
    margin-bottom: 35px;
}

.team-mission {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.mission-title {
    font-size: 1.3em;
    color: #c0c0ff;
    margin-bottom: 15px;
}

.mission-text {
    font-size: 1em;
    color: #a0a0c0;
    line-height: 1.7;
}

.team-tech {
    margin-bottom: 30px;
}

.tech-section-title {
    font-size: 1.2em;
    color: #c0c0ff;
    margin-bottom: 20px;
    text-align: center;
}

.tech-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    background: rgba(102, 126, 234, 0.15);
    color: #c0c0ff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

/* ==================== 团队动态 ==================== */
.team-news-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.news-container {
    margin-top: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.news-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.news-date {
    font-size: 0.85em;
    color: #667eea;
    margin-bottom: 10px;
    font-weight: 500;
}

.news-title {
    font-size: 1.1em;
    color: #e0e0ff;
    margin-bottom: 10px;
    font-weight: 600;
}

.news-desc {
    color: #a0a0c0;
    font-size: 0.9em;
    line-height: 1.6;
}

/* ==================== 统计数字 ==================== */
.team-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    color: #667eea;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 0.9em;
    color: #8080a0;
    margin-top: 5px;
}

/* ==================== 产品规格表格 ==================== */
.specs-table {
    max-width: 1000px;
    margin: 40px auto;
    overflow-x: auto;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
}

.specs-table thead {
    background: rgba(102, 126, 234, 0.2);
}

.specs-table th {
    padding: 20px;
    text-align: left;
    color: #e0e0ff;
    font-weight: 600;
    font-size: 1em;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.specs-table td {
    padding: 15px 20px;
    color: #a0a0c0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95em;
}

.specs-table tbody tr {
    transition: background 0.3s ease;
}

.specs-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.1);
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 40px;
    }
    
    .page-title {
        font-size: 2em;
    }
    
    .page-subtitle {
        font-size: 1.1em;
    }
    
    .sub-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .sub-nav-link {
        width: 100%;
        max-width: 300px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        flex-direction: column;
        gap: 30px;
    }
}

/* ==================== 联系方式弹窗 ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #a0a0c0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-desc {
    color: #a0a0c0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-info {
    text-align: left;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    color: #e0e0ff;
    margin-bottom: 5px;
    font-size: 0.95em;
}

.contact-text p {
    color: #a0a0c0;
    margin: 0;
    font-size: 0.9em;
}

.modal-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}
