/* ========================================
   价格方案页面专属样式
   ======================================== */

/* 页面标题区域 */
.page-hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.pricing-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.page-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.pricing-hero .page-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fb923c;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-hero .page-title {
    color: white;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* 装饰圆形 */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.pricing-hero .decoration-circle {
    background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
    opacity: 0.15;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 30%;
}

/* 价格方案亮点 */
.pricing-advantages {
    padding: 80px 0;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    background: var(--bg-secondary);
    transition: all var(--transition-base);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon {
    font-size: 2rem;
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.advantage-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 价格方案区域 */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* 详细功能对比区域 */
.comparison-section {
    padding: 100px 0;
    background: white;
}

.comparison-section .comparison-table-wrapper {
    background: var(--bg-secondary);
}

.feature-icon-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: var(--radius-md);
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.highlight-row {
    background: rgba(220, 38, 38, 0.05);
}

.highlight-row .feature-name {
    color: var(--primary-color);
    font-weight: 600;
}

.renewal-highlight {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* 为什么选择我们 */
.why-choose-us {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--border-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.why-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.why-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 常见问题 */
.pricing-faq {
    padding: 100px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: rgba(220, 38, 38, 0.02);
}

.faq-q {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.faq-question h4 {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all var(--transition-base);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem 4.5rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA区域 */
.pricing-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

.cta-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.cta-buttons .btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cta-phone {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .why-card {
        padding: 2rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-q {
        display: none;
    }
    
    .pricing-section,
    .comparison-section,
    .why-choose-us,
    .pricing-faq,
    .pricing-cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .advantage-item {
        padding: 1.5rem 1rem;
    }
    
    .why-card {
        padding: 1.5rem;
    }
    
    .why-number {
        font-size: 2rem;
    }
}
