/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    background-color: #f5f7fa;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: -1;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页眉样式 */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 30px 0;
    margin-bottom: 40px;
}

.site-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.site-subtitle {
    font-size: 16px;
    color: #7f8c8d;
    text-align: center;
}

/* 定价容器 */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* 定价卡片样式 */
.pricing-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* 增强版卡片特殊样式 */
.pricing-card.enhanced {
    position: relative;
}

/* 套餐标题 */
.package-header {
    background-color: #5469d4;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
}

.package-header.premium {
    background-color: #ff6b35;
}

/* 套餐价格 */
.package-price {
    text-align: center;
    padding: 20px;
    font-size: 24px;
    font-weight: 700;
    color: #5469d4;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.package-price.premium {
    color: #ff6b35;
}

/* 套餐特性 */
.package-features {
    padding: 20px;
}

.feature-item {
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: 14px;
    color: #4a5568;
    position: relative;
}

.feature-item.premium {
    color: #ff6b35;
    font-weight: 500;
}

.feature-item:last-child {
    border-bottom: none;
}

/* 特性分组 */
.feature-group {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

.group-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* 验证码类型列表 */
.captcha-type-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.captcha-type-item {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.captcha-type-item:hover {
    background-color: #e9ecef;
}

.type-name {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
}

.type-features {
    font-size: 12px;
    color: #7f8c8d;
}

.type-feature {
    margin-bottom: 4px;
}

/* 功能增强列表 */
.enhanced-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.enhanced-feature-item {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #4a5568;
    transition: all 0.2s ease;
}

.enhanced-feature-item:hover {
    background-color: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
}

/* 统一二维码区域样式 */
.unified-qrcode-section {
    background-color: #fff;
    padding: 40px 0;
    margin: 60px 0 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.unified-qrcode {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.qrcode-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.qrcode-description {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.qrcode-container {
    display: inline-block;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
}

.qrcode-container img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

.qrcode-tip {
    font-size: 14px;
    color: #ff6b35;
    font-weight: 500;
    margin-top: 10px;
}

/* 页脚样式 */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0;
    margin-top: 60px;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .enhanced-feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-container {
        grid-template-columns: 1fr;
    }

    .site-header {
        padding: 20px 0;
    }

    .site-title {
        font-size: 24px;
    }

    /* 响应式调整统一二维码区域 */
    .unified-qrcode-section {
        padding: 30px 0;
    }

    .qrcode-container img {
        width: 180px;
        height: 180px;
    }

    .qrcode-section-title {
        font-size: 20px;
    }

    .qrcode-description {
        font-size: 15px;
    }

    .captcha-type-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .pricing-card {
        margin: 0 -15px;
        border-radius: 0;
    }

    .package-features {
        padding: 15px;
    }

    .feature-item {
        font-size: 13px;
    }

    .captcha-type-list {
        grid-template-columns: 1fr;
    }
}
