/* 卡片精细化打磨 */
:root {
    --primary-color: #07C160;
    --primary-dark: #059e4c;
    --primary-light: rgba(7, 193, 96, 0.05);
    --accent-color: #ff9500;
    --accent-dark: #e68600;
    --accent-light: rgba(255, 149, 0, 0.1);
    --text-dark: #2c3e50; /* 更柔和的深色 */
    --text-medium: #555;
    --text-light: #7f8c8d; /* 更柔和的浅色 */
    --white: #fff;
    --border-light: rgba(0,0,0,0.08);
    --border-ultra-light: rgba(0,0,0,0.04);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 30px rgba(0,0,0,0.1);
    --gradient-primary: linear-gradient(135deg, #07C160, #06b055);
    --gradient-accent: linear-gradient(135deg, #ff9500, #ff7a45);
}

body {
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-medium);
    background-color: #f8f9fa;
}

/* 页头美化 */
.page-header {
    position: relative;
    background: var(--gradient-primary);
    padding: 120px 0 150px; /* 调整上下内边距 */
    margin-bottom: 140px; /* 增加间距 */
    overflow: hidden;
    color: var(--white);
    text-align: center;
    box-shadow: 0 5px 20px rgba(7, 193, 96, 0.2);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgNTEuNzZjMzYuMjEtMi4yNSA3Ny41Ny0zLjU4IDEyNi40Mi0zLjU4IDMyMCAwIDMyMCA1NyA2NDAgNTcgMjcxLjE1IDAgMzEyLjU4LTQwLjkxIDUxMy41OC01Ny40VjE0MEgwVjUxLjc2eiIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwuMikiLz48L3N2Zz4=');
    background-size: 100% 100%;
    opacity: 0.3;
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    right: -5%;
    top: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.page-header h1 {
    font-size: 3.8rem; /* 增大字体 */
    font-weight: 700;
    margin-bottom: 0.75rem; /* 调整间距 */
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 15px rgba(0,0,0,0.15); /* 增强文本阴影 */
    letter-spacing: -0.5px;
    animation: fadeInUp 1s ease-out;
}

.page-header p {
    font-size: 1.35rem; /* 增大字体 */
    opacity: 0.9;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    max-width: 650px; /* 调整最大宽度 */
    animation: fadeInUp 1.2s ease-out;
    text-shadow: 0 1px 8px rgba(0,0,0,0.1); /* 轻微文本阴影 */
}

/* 卡片容器调整 - 更紧凑 */
.pricing-section {
    margin-top: -120px;
    padding-bottom: 50px;  /* 减少底部内边距 */
    position: relative;
    z-index: 10;
}

.container {
    width: 100%;
    max-width: 1400px; /* 增加容器最大宽度 */
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* 减小最小宽度 */
    gap: 25px; /* 减小间距 */
    margin: 0 auto;
    padding: 0 15px;
}

/* 卡片基础样式精修 - 更紧凑 */
.pricing-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px; 
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    position: relative;
    background: var(--white);
    padding: 0;
    isolation: isolate;
    max-width: 320px; /* 稍微减小最大宽度 */
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.03);
}

.pricing-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transform: translateY(-15px);
}

.pricing-card.popular {
    box-shadow: 0 15px 35px rgba(7, 193, 96, 0.25), 0 5px 15px rgba(0,0,0,0.05);
    transform: translateY(-5px) scale(1.02);
}

.pricing-card.popular:hover {
    box-shadow: 0 25px 50px rgba(7, 193, 96, 0.3), 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-15px) scale(1.05);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    z-index: 1;
}

.pricing-card.popular::before {
    height: 7px;
    background: var(--gradient-accent);
}

/* 卡片徽章精致化 */
.card-badge {
    position: absolute;
    top: 0;
    right: 20px;
    transform: rotate(0) translateY(-100%);
    transition: transform 0.4s ease-out, background-color 0.3s, color 0.3s;
    padding: 8px 25px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    border-radius: 0 0 12px 12px;
    background: var(--primary-color);
    color: var(--white);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pricing-card:hover .card-badge {
    transform: rotate(0) translateY(0);
}

.pricing-card.popular .card-badge {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 3px 15px rgba(255, 149, 0, 0.3);
}

/* 推荐选择标签优化 */
.pricing-card.popular::after {
    content: "推荐选择";
    position: absolute;
    top: -5px; /* 从-15px调整到-5px，往下移动 */
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(255, 149, 0, 0.35);
    z-index: 10;
    letter-spacing: 0.5px;
}

/* 卡片基础样式增强 */
.card-img-wrapper {
    position: relative;
    height: 180px; /* 减小高度，更紧凑 */
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

/* 图片美化 */
.card-img {
    width: 100%;
    height: 180px; /* 减小高度，更紧凑 */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pricing-card:hover .card-img {
    transform: scale(1.05);
}

.card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    z-index: 2;
}

/* 卡片内容区域 - 更紧凑 */
.card-content {
    padding: 22px 20px; /* 减少内边距 */
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 标题精修 - 更紧凑 */
.pricing-card h3 {
    font-size: 1.8rem; /* 减小字体 */
    font-weight: 700;
    margin-bottom: 16px; /* 减少下方间距 */
    letter-spacing: -0.5px;
    color: var(--text-dark);
    position: relative;
}

.pricing-card h3::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 45px;
    bottom: -8px; /* 减少距离 */
    left: 0;
    background: var(--gradient-primary);
    border-radius: 10px;
}

.pricing-card.popular h3::after {
    background: var(--gradient-accent);
}

/* 价格区域 - 更紧凑 */
.price-tag {
    margin: 18px 0 22px; /* 减少上下边距 */
    padding: 16px 12px; /* 减少内边距 */
    border-radius: 12px;
    border: 1px solid var(--primary-light);
    background: var(--primary-light);
    text-align: center;
}

.pricing-card.popular .price-tag {
    border: 1px solid var(--accent-light);
    background: var(--accent-light);
}

.price-value {
    font-size: 2.4rem; /* 稍微减小字体 */
    font-weight: 700;
    margin-bottom: 6px; /* 减少下边距 */
    letter-spacing: -1px;
    color: var(--primary-color);
}

.pricing-card.popular .price-value {
    color: var(--accent-color);
}

.price-value span {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.85;
    margin-left: 6px;
}

.price-save {
    display: inline-block;
    padding: 7px 15px;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
}

.pricing-card.popular .price-save {
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* 参数容器样式 */
.params-container {
    background: linear-gradient(to bottom, rgba(7, 193, 96, 0.02), rgba(7, 193, 96, 0.06));
    border-radius: 14px;
    padding: 12px 10px;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular .params-container {
    background: linear-gradient(to bottom, rgba(255, 149, 0, 0.02), rgba(255, 149, 0, 0.06));
}

.params-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    opacity: 0.5;
}

.pricing-card.popular .params-container::before {
    background: linear-gradient(to right, var(--accent-color), transparent);
}

/* 参数列表美化 */
.feature-list {
    margin-bottom: 20px; /* 减少下边距 */
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 将参数区块改为两列布局 */
    gap: 12px;
}

.feature-list li {
    margin-bottom: 0; /* 移除底部间距，由grid gap控制 */
    font-size: 0.9rem; /* 减小字体 */
    font-weight: 500;
    color: var(--text-medium);
    background: rgba(7, 193, 96, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center; /* 中心对齐 */
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 48px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.feature-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.7;
    transition: width 0.3s ease;
}

.pricing-card.popular .feature-list li::before {
    background: var(--accent-color);
}

.feature-list li:hover::before {
    width: 8px;
}

.feature-list li:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-5px); /* 减少移动距离 */
    box-shadow: 0 8px 15px rgba(7, 193, 96, 0.15);
}

.pricing-card.popular .feature-list li {
    background: rgba(255, 149, 0, 0.05);
}

.pricing-card.popular .feature-list li:hover {
    background: var(--accent-light);
    color: var(--accent-dark);
    box-shadow: 0 8px 15px rgba(255, 149, 0, 0.15);
}

.feature-list li i {
    font-size: 1rem;
    margin-right: 8px; /* 减少右边距 */
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.pricing-card.popular .feature-list li i {
    color: var(--accent-color);
}

.feature-list li:hover i {
    transform: scale(1.2);
}

/* 标签容器 - 更紧凑 */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* 减少间距 */
    padding: 8px 0 20px; /* 减少上下内边距 */
    margin-top: auto;
}

.feature-tag {
    padding: 6px 12px; /* 减少内边距 */
    font-size: 0.8rem; /* 减小字体 */
    border-radius: 6px;
    border: 1px solid transparent;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.feature-tag:hover {
    border-color: var(--primary-color);
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(7, 193, 96, 0.15);
}

.pricing-card.popular .feature-tag {
    background: var(--accent-light);
    color: var(--accent-dark);
}

.pricing-card.popular .feature-tag:hover {
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 3px 8px rgba(255, 149, 0, 0.15);
}

.feature-tag i {
    font-size: 1rem;
    margin-right: 6px;
}

/* 按钮 - 更紧凑 */
.btn {
    display: inline-block;
    text-align: center;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 24px; /* 减少内边距 */
    border-radius: 10px;
    font-size: 1rem; /* 减小字体 */
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 18px rgba(7, 193, 96, 0.25);
    transition: all 0.4s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    width: 100%;
}

.pricing-card.popular .btn {
    background: var(--gradient-accent);
    box-shadow: 0 8px 20px rgba(255, 149, 0, 0.25);
}

.btn:hover {
    box-shadow: 0 12px 25px rgba(7, 193, 96, 0.35);
    transform: translateY(-5px);
    filter: brightness(1.05);
}

.pricing-card.popular .btn:hover {
    box-shadow: 0 12px 25px rgba(255, 149, 0, 0.35);
}

.btn:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(7, 193, 96, 0.2);
}

.pricing-card.popular .btn:active {
    box-shadow: 0 5px 15px rgba(255, 149, 0, 0.2);
}

/* 鼠标跟随效果微调 */
.pricing-card {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), z-index 0s;
}

.pricing-card:hover {
    z-index: 20; /* 确保悬停卡片在最上层 */
}

/* 流量卡信息区 */
.flowcard-info {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9fafb, #f0f2f5);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.flowcard-info::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(7, 193, 96, 0.08) 0%, rgba(7, 193, 96, 0) 70%);
    top: -150px;
    left: -150px;
    border-radius: 50%;
}

.flowcard-info::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(7, 193, 96, 0.05) 0%, rgba(7, 193, 96, 0) 70%);
    bottom: -250px;
    right: -250px;
    border-radius: 50%;
}

.flowcard-info h2 {
    text-align: center;
    margin-bottom: 70px;
    font-size: 2.8rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
}

.flowcard-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.info-card {
    background: var(--white);
    padding: 45px 30px;
    border-radius: 16px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.info-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.info-card i {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: inline-block;
    transition: transform 0.5s ease;
}

.info-card:hover i {
    transform: scale(1.15) rotate(10deg);
}

.info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 600;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* FAQ 部分 */
.faq-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.faq-section::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(7, 193, 96, 0.04) 0%, rgba(7, 193, 96, 0) 70%);
    top: 50px;
    right: -100px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 70px;
    font-size: 2.8rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.faq-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-left: 5px solid var(--primary-color);
}

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

.faq-card h3 {
    display: flex;
    align-items: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
    color: var(--text-dark);
    font-weight: 600;
}

.faq-card h3 i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-card p {
    color: var(--text-light);
    line-height: 1.8;
    padding-left: calc(1.5rem + 15px);
    font-size: 1rem;
}

/* 页脚 */
footer {
    background-color: #f8f9fa;
    padding: 35px 0;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

footer p {
    color: var(--text-light);
    font-size: 0.95rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 1400px) {
    .container, .info-grid, .faq-grid {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .container, .info-grid, .faq-grid {
        max-width: 960px;
    }
    
    .page-header h1 {
        font-size: 3.2rem;
    }
    
    .flowcard-info h2, .faq-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .page-header {
        padding: 100px 0 120px;
        margin-bottom: 120px;
    }

    .page-header h1 {
        font-size: 3rem;
    }
    
    .page-header p {
        font-size: 1.2rem;
    }

    .pricing-section {
        margin-top: -100px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .container, .info-grid {
        max-width: 720px;
    }
    
    .info-card, .faq-card {
        padding: 35px 25px;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 340px; /* 减小 */
        gap: 30px;
        margin: 0 auto;
    }
    
    .pricing-card {
        max-width: 100%;
    }
    
    .pricing-card.popular {
        transform: scale(1.02);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-12px) scale(1.03);
    }

    .page-header {
        padding: 80px 0 110px;
        margin-bottom: 100px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .flowcard-info h2,
    .faq-section h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .flowcard-info, .faq-section {
        padding: 70px 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    /* 让移动端的feature-list恢复单列显示 */
    .feature-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header {
        padding: 70px 0 100px;
        margin-bottom: 80px;
    }
    
    .pricing-section {
        margin-top: -80px;
    }
    
    .pricing-card {
        max-width: 300px; /* 减小 */
    }
    
    .pricing-card h3 {
        font-size: 1.8rem;
    }
    
    .price-value {
        font-size: 2.2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-card h3 {
        font-size: 1.25rem;
        flex-wrap: wrap;
    }
    
    .faq-card p {
        padding-left: 0;
        margin-top: 10px;
    }
}

/* 增强动效 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 为顶部添加波浪动效 */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-container svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-container .shape-fill {
    fill: #FFFFFF;
} 