:root {
    --primary-color: #0066CC;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

/* 主要内容区域 */
main {
    margin-top: 80px;
}

.page-section {
    padding: 80px 0;
}

.page-section:nth-child(even) {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 32px;
}

/* Banner区域 */
.banner {
    background: linear-gradient(135deg, var(--primary-color), #004d99);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background-color: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 核心价值标签 */
.value-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
}

.tag-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 24px;
}

/* 内容卡片样式 */
.content-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

/* 技术规格表格 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.spec-table th, .spec-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.spec-table th {
    background-color: #f9f9f9;
    color: var(--primary-color);
    font-weight: 600;
}

/* 功能列表 */
.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 20px;
    }
    
    .nav-links li {
        margin: 0 10px;
    }
    
    .banner h1 {
        font-size: 36px;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .value-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        margin-top: 20px;
    }
}

/* 公司简介专用样式 */
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,102,204,0.12);
    border: 1px solid #e6f0ff;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

/* 算力卡片通用样式 */
.compute-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 30px;
    justify-items: center;
}

.compute-card {
    border: 1px solid #e8f0ff;
    border-radius: 12px;
    padding: 30px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,102,204,0.1);
    max-width: 380px;
    width: 100%;
    transition: all 0.3s ease;
}

.compute-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,102,204,0.2);
}

.compute-card-header {
    text-align: center;
    margin-bottom: 25px;
}

.compute-card-header h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.specs div {
    margin-bottom: 15px;
}

.reserve-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 25px;
    font-size: 16px;
}

.reserve-btn:hover {
    background: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,102,204,0.3);
}

/* 模拟仿真计算服务 - 服务流程样式 */
.process-flow-container {
    overflow-x: auto;
    padding: 20px 0;
}

.process-flow {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 1200px;
    position: relative;
}

.process-step-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.process-card {
    background: white;
    padding: 25px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    width: 100%;
    min-width: 160px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    position: relative;
    z-index: 2;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,102,204,0.15);
}

.process-step {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

.process-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    height: auto;
    min-height: 2.5em;
}

.process-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.process-detail {
    background: #f8f9fa;
    padding: 8px 10px;
    border-radius: 4px;
}

.process-detail p {
    color: #333;
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

.process-arrow {
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
    margin: 0 -5px;
    flex-shrink: 0;
}

.process-arrow::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 5px solid var(--primary-color);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* 移除最后一个箭头 */
.process-step-wrapper:last-child .process-arrow {
    display: none;
}

/* 通用卡片悬停效果 */
.content-card > div > div > div:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,102,204,0.15);
}

/* 国产算力装饰元素 */
.decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.05);
    z-index: -1;
}

.decoration-1 {
    top: 10%;
    left: 5%;
}

.decoration-2 {
    bottom: 15%;
    right: 5%;
}

/* HPC集群建设 CTA按钮 */
.cta-btn {
    background: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 联系我们样式 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,102,204,0.15);
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-item p {
    color: #333;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item .subtext {
    color: #666;
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    font-weight: normal;
}

.cooperation-section {
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,102,204,0.15);
    border: 2px solid var(--primary-color);
}

.cooperation-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.cooperation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,102,204,0.15);
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .compute-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    
    .process-flow {
        min-width: 1000px;
    }
}

@media (max-width: 768px) {
    .compute-cards {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .compute-card {
        max-width: 100% !important;
        padding: 25px !important;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .process-flow {
        min-width: 800px;
    }
}

/* 联系方式左侧整体居中 */
.contact-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    padding: 20px;
}

.contact-title {
    text-align: center;
    color: #0066cc;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.description-text {
    text-align: justify;
    text-justify: inter-ideograph;
    margin: 25px auto;
    max-width: 85%;
    line-height: 1.7;
}

/* 商务合作标题样式 - 与联系方式标题保持一致 */
.cooperation-section h3 {
    text-align: center;
    color: #0066cc;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* 商务合作描述文本 - 与联系方式描述文本保持一致 */
.cooperation-description {
    text-align: justify;
    text-justify: inter-ideograph;
    margin: 25px auto;
    max-width: 85%;
    line-height: 1.7;
}

/* 合作项目增大间距并优化布局 */
.cooperation-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.cooperation-item {
    padding: 30px 20px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cooperation-type {
    font-weight: bold;
    color: #0066cc;
    margin: 0;
    font-size: 1.1rem;
    text-align: center;
}

.cooperation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}