/* GPU云主机页面样式 */
:root {
    --navbar-height: 116px;
}

body {
    padding-top: 0 !important;
}

/* 导航栏样式 */
.navbar {
    top: 0;
}

/* 主视觉区域 */
/* 英雄区域样式 */
.gpu-hero {
    /* background: linear-gradient(135deg, #1a237e, #0d47a1); */
    background: linear-gradient(135deg, #1785BB, #1FA2E2);

    color: #fff;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.gpu-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://suanlix.com/assets/img/gpu-pattern.png') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.gpu-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.gpu-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gpu-hero .hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gpu-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.gpu-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.gpu-stat:hover {
    transform: translateY(-5px);
}

.gpu-stat .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.gpu-stat .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* GPU套餐样式 */
.gpu-plans {
    padding: 80px 0;
    background: #f8f9fa;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.plan-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-card.premium {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: #fff;
    transform: translateY(-10px);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.plan-subtitle {
    color: #666;
    font-size: 1rem;
}

.plan-card.premium .plan-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.plan-price {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.plan-card.premium .plan-price {
    border-color: rgba(255, 255, 255, 0.2);
}

.plan-price .price {
    font-size: 2.5rem;
    font-weight: 700;
}

.plan-price .period {
    font-size: 1rem;
    opacity: 0.7;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.plan-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features i {
    color: #0d47a1;
    font-size: 1.1rem;
}

.plan-card.premium .plan-features i {
    color: #fff;
}

.plan-button {
    display: block;
    text-align: center;
    padding: 15px;
    background: #0d47a1;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.plan-card.premium .plan-button {
    background: #fff;
    color: #0d47a1;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
}

/* GPU特性区域样式 */
.gpu-features {
    padding: 80px 0;
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: #0d47a1;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .selector-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .gpu-hero h1 {
        font-size: 2.5rem;
    }

    .gpu-hero .hero-subtitle {
        font-size: 1.2rem;
    }

    .gpu-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .gpu-stat {
        width: 100%;
        max-width: 300px;
    }

    .plan-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.premium {
        transform: none;
    }
    
    .selector-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .card-badge {
        top: -10px;
        right: 15px;
        padding: 4px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .gpu-hero h1 {
        font-size: 2rem;
    }

    .gpu-stat {
        padding: 20px;
    }

    .gpu-stat .stat-value {
        font-size: 2rem;
    }
}


/* GPU页面通用样式 */
.pricing-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.pricing-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1f24;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.pricing-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    /* background: #0066ff; */
    background: #1785BB;
    border-radius: 2px;
}

.pricing-table {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 表头样式 */
.table-header {
    display: grid;
    grid-template-columns: 1fr 4fr 1fr 1fr 1fr;
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
    color: #343a40;
}

/* 表格内容样式 */
.table-body .table-row {
    display: grid;
    grid-template-columns: 1fr 4fr 1fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    align-items: center;
    transition: background-color 0.2s;
}

.table-body .table-row:hover {
    background-color: #f8f9fa;
}

.table-body .table-row:last-child {
    border-bottom: none;
}

/* 配置详情样式 */
.spec-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.spec-details span {
    background: #f1f3f5;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #495057;
}

/* 价格列样式 */
.price-col {
    font-weight: 600;
    color: #2b3035;
    text-align: center;
}

/* 操作按钮样式 */
.deploy-btn {
    /* background: linear-gradient(135deg, #0066ff 0%, #0044ff 100%); */
   background: linear-gradient(135deg, #1785BB, #1FA2E2);
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    text-align: center;
}

.deploy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

/* 响应式布局 */
@media (max-width: 768px) {
    .table-header,
    .table-body .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .table-header > div:not(:first-child) {
        display: none;
    }

    .spec-details {
        margin: 10px 0;
    }

    .price-col {
        text-align: left;
    }

    .action-col {
        margin-top: 10px;
    }
}

/* GPU特性卡片样式优化 */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 24px;
    color: #0066ff;
    margin-bottom: 16px;
}

/* 应用场景卡片样式 */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    padding: 20px;
}

.use-case-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
}

.use-case-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-icon i {
    font-size: 28px;
    color: #0066ff;
}

/* 主视觉区域样式增强 */
.country-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 100px 0;
    color: white;
    overflow: hidden;
}

.country-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://suanlix.com/assets/images/map.png') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.country-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.country-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.country-stat {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* 价格切换按钮样式 */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    gap: 12px;
}

.toggle-label {
    font-size: 16px;
    font-weight: 500;
    color: #495057;
}

/* 开关样式 */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e9ecef;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    /* background: linear-gradient(135deg, #0066ff 0%, #0044ff 100%); */
    background: linear-gradient(135deg, #1785BB, #1FA2E2);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* 移除旧的按钮样式 */
.toggle-btn {
    display: none;
}

/* 标题链接样式 */
.country-hero h1 a,
.pricing-title a,
.features h2 a {
    color: inherit;
    text-decoration: none;
} 


/* 特性区域样式 */
.features {
    position: relative;
    overflow: hidden;
    padding: 8rem 5%;
    background: var(--light-bg);
}

.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,82,204,0.05), rgba(0,184,217,0.05));
    opacity: 0.8;
    z-index: 1;
}

.features h2 {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color);
    font-size: 3rem;
    font-weight: 700;
}

.feature-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: rgba(30, 41, 59, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}


/* 应用场景区域 */
.use-cases {
    position: relative;
    overflow: hidden;
    padding: 8rem 5%;
    /* background: linear-gradient(135deg, #1e3a8a, #1d4ed8); */
    background: linear-gradient(135deg, #1785BB, #1FA2E2);

    color: var(--white);
}

.use-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1639322537228-f710d846310a?auto=format&fit=crop&q=80') center/cover;
    opacity: 0.08;
    z-index: 1;
    filter: blur(5px);
}

.use-cases::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%
    );
    opacity: 0.9;
    z-index: 2;
}

.use-cases h2 {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
}

.use-case-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.use-case-card .use-case-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
    z-index: 1;
}

.use-case-icon {
    position: relative;
    z-index: 2;
    background: var(--primary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.use-case-icon i {
    font-size: 2.5rem;
    color: var(--white);
    opacity: 1;
}

.use-case-card h4 {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.use-case-card p {
    position: relative;
    z-index: 2;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.use-case-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* CTA区域 */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 8rem 5%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.1;
    z-index: 1;
    filter: blur(5px);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* 套餐选择器样式 */
.plan-selector {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.selector-header {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.selector-tab {
    padding: 12px 30px;
    border-radius: 8px;
    background: rgba(13, 71, 161, 0.1);
    color: #0d47a1;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.selector-tab:hover {
    background: rgba(13, 71, 161, 0.2);
}

.selector-tab.active {
    background: #0d47a1;
    color: #fff;
}

/* 配置组样式 */
.plan-config-group {
    display: none;
}

.plan-config-group.active {
    display: block;
}

/* 卡片标签样式 */
.card-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 15px;
    background: #0d47a1;
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
}

.plan-card {
    position: relative;
}

.plan-card.premium .card-badge {
    background: #f9a825;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-header .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}