/* 定价页面样式 */

.page-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: white;
    margin-top: 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 定价区域 */
.pricing-section {
    padding: 80px 0;
    background: #0f172a;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 60px;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.save-badge {
    color: #10b981;
    font-weight: 600;
}

/* 开关按钮 */
.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: #334155;
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #667eea;
}

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

/* 定价卡片网格 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 定价卡片 */
.pricing-card {
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #667eea;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.pricing-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.card-header h3 {
    font-size: 1.75rem;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.card-price {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.price-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.main-price {
    display: flex;
    align-items: baseline;
}

.currency {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-right: 0.25rem;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f1f5f9;
}

.amount.custom {
    font-size: 2rem;
}

.period {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-left: 0.5rem;
}

.yearly-price {
    display: none;
}

.yearly-total {
    font-size: 1rem;
    color: #10b981;
    display: none;
    padding: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    text-align: center;
}

.total-label {
    font-weight: 500;
    margin-right: 0.5rem;
}

.total-amount {
    font-size: 1.25rem;
    font-weight: 700;
}

/* 功能列表 */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.features-list li {
    padding: 0.75rem 0;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-list li i {
    color: #10b981;
    font-size: 1.125rem;
}

.features-list li.disabled {
    color: #64748b;
}

.features-list li.disabled i {
    color: #475569;
}

/* 按钮 */
.pricing-card .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

/* 响应式 */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 20px 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }

    .pricing-toggle {
        font-size: 0.95rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .amount {
        font-size: 2.5rem;
    }
    
    .popular-badge {
        top: -12px;
        right: 10px;
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
    
    .yearly-total {
        font-size: 0.875rem;
        padding: 0.4rem;
    }
    
    .total-amount {
        font-size: 1.125rem;
    }
}

