/* 快捷功能区 - 改为button标签并优化布局 */
.quick-features-container {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    margin-bottom: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.quick-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.huodong{
    margin-top: 10px;
}
.feature-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 500;
    background: #eee;
    border: 1px solid #00e2fa;
    border-radius: 6px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.feature-btn:hover {
    background-color: #e6f0ff;
    border-color: #b3d1ff;
    transform: translateY(-2px);
}

.feature-btn i {
    font-size: 18px;
    color: #0066cc;
}

/* 响应式优化 - 快捷功能区 */
@media (max-width: 992px) {
    .feature-btn {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .quick-features {
        gap: 15px;
    }
    
    .feature-btn {
        flex: 0 0 calc(50% - 15px);
        min-width: auto;
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .feature-btn {
        flex: 0 0 100%;
        justify-content: center;
    }
}

/* 其他原有样式保持不变 */
.main-container {
    box-sizing: border-box;
}

.section-title {
    font-size: 28px;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0066cc;
}

.section-desc {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 英雄区域 */
.hero-section {
    display: flex;
    align-items: center;
    padding: 60px 0;
    gap: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 60px;
    padding: 60px 30px;
}

.hero-content strong {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.hero-content .subtitle {
    font-size: 18px;
    color: #0066cc;
    margin-bottom: 20px;
}

.hero-features {
    list-style-type: none;
    padding: 0;
}

.hero-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.hero-features li:before {
    content: "•";
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 产品区域通用样式 */
.product-section, .bare-metal-section, .models-section, .advantages-section, .delivery-section {
    margin-bottom: 60px;
}

/* 为文字较多的板块添加背景色 */
.product-section, .models-section, .advantages-section, .delivery-section {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

/* GPU服务器实例租用 */
.configurator {
    display: flex;
    gap: 30px;
}

.config-panel {
    flex: 0 0 300px;
    background-color: #f5f7fa;
    padding: 20px;
    border-radius: 8px;
}

.config-option {
    margin-bottom: 20px;
}

.config-option label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.config-option select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.config-option select:focus {
    border-color: #0066cc;
    outline: none;
}

.product-cards {
    flex: 1;
    display: flex;
    gap: 20px;
}

.product-card {
    flex: 1;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: white;
    display: flex;
    flex-direction: column;
    /* 确保卡片高度一致 */
    min-height: 400px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card .tag {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: #0066cc;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.product-card .price {
    font-size: 24px;
    color: #e63946;
    font-weight: bold;
    margin: 15px 0;
}

.product-card .period {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

/* 确保"立即租用"按钮水平对齐 */
.rent-btn {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
    width: 100%;
    transition: background-color 0.3s;
    /* 固定按钮位置在卡片中部下方 */
    margin-top: auto;
}

.rent-btn:hover {
    background-color: #0052a3;
}

.specs-list {
    list-style-type: none;
    padding: 0;
    text-align: left;
    margin-top: 15px;
}

.specs-list li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

/* 裸金属服务器租用 - 带切换功能 */
.bare-metal-section {
    background-color: #fafbfc;
    padding: 40px 30px;
    border-radius: 8px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.tab-btn:hover:not(.active) {
    border-color: #0066cc;
    color: #0066cc;
}

.metal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: grid;
}

.metal-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    background-color: white;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.metal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* CTA区域 */
.cta-section {
    background: linear-gradient(135deg, #0066cc 0%, #0041aa 100%);
    color: white;
    padding: 40px 0;
    border-radius: 8px;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    box-shadow: 0 5px 15px rgba(0,102,204,0.2);
}

.cta-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* 新增的CTA高亮文字样式 */
.cta-highlight {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cta-btn {
    background-color: white;
    color: #0066cc;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.cta-btn:hover {
    transform: scale(1.05);
}

/* 模型与镜像 */
.models-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.model-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    background-color: white;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.model-card:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.model-card.featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background-color: #f0f7ff;
    border-color: #cce0ff;
}

/* 图片容器和文字覆盖样式 */
.image-container {
    position: relative;
    width: 100%;
    margin: 10px 0;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.image-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    color: #000000;
    border-radius: 4px 4px 0 0;
}

.model-card .image-overlay-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

/* 极算平台优势 */
.advantages-section {
    padding: 30px 30px 40px;
}

.advantages-content {
    display: flex;
    gap: 40px;
}

.advantage-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.advantage-item .image-container {
    margin: 0 auto;
}

.advantage-item h3 {
    margin: 0;
    text-align: center;
}

/* .advantage-item .image-overlay-text {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85);
} */

/* 算力交付形式 */
.delivery-grid {
    display: flex;
    gap: 30px;
}

.delivery-card {
    flex: 1;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
}

.delivery-features {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.delivery-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.delivery-features li:before {
    content: "√";
    color: #0066cc;
    position: absolute;
    left: 0;
}

/* 三栏文章区域样式优化 */
.text-post-wrap {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

/* 友情链接区域样式优化 */
.flink {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .configurator {
        flex-direction: column;
    }
    
    .product-cards {
        flex-direction: column;
    }
    
    .metal-grid {
        grid-template-columns: 1fr;
    }
    
    .models-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .model-card.featured {
        grid-column: 1 / 3;
        grid-row: auto;
    }
    
    .advantages-content {
        flex-direction: column;
    }
    
    .delivery-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 23px;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    .model-card.featured {
        grid-column: 1;
    }
    
    .cta-section {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-highlight {
        font-size: 26px;
    }
}

/* 小屏幕设备优化 */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .cta-content h2 {
        font-size: 20px;
    }
    
    .cta-highlight {
        font-size: 22px;
    }
}