/* 价格页面专属样式 */

/* 使用 will-change 优化性能 */
.price-card,
.benefit-item,
.tier-card,
.testimonial-card {
    will-change: transform;
}

/* 价格横幅样式 */
.pricing-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.pricing-hero .main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease;
}

.pricing-hero .subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

/* 限时优惠横幅 */
.promo-banner {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    text-align: center;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: var(--glass-shadow);
    border-bottom: 1px solid var(--glass-border);
    transform: translateZ(0); /* GPU加速 */
}

.promo-banner i {
    margin-right: 10px;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

.promo-banner .countdown {
    margin-left: 20px;
    font-weight: bold;
    color: var(--primary-dark);
}

/* 价格卡片区域 */
.pricing-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 245, 246, 0.5) 0%, rgba(255, 237, 239, 0.5) 100%);
    position: relative;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transform: translateZ(0); /* GPU加速 */
}

.price-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.price-card:hover {
    transform: translateY(-10px) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.price-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05) translateZ(0);
    background: linear-gradient(135deg, rgba(255, 107, 129, 0.05) 0%, var(--glass-bg) 100%);
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-10px) translateZ(0);
}

/* 徽章样式 */
.discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 107, 129, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 8px 30px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(255, 107, 129, 0.3);
}

/* 价格显示 */
.price {
    margin: 30px 0;
    text-align: center;
}

.original-price {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.current-price {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 功能列表 */
.price-card .features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.price-card .features li {
    padding: 10px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.price-card .features i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* 购买按钮 - 统一样式 */
.buy-button {
    width: 100%;
    padding: 14px 32px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transform: translateZ(0); /* GPU加速 */
}

.buy-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.buy-button:hover:before {
    width: 100%;
}

.buy-button:hover {
    color: white;
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 10px 25px rgba(255, 107, 129, 0.3);
}

.buy-button.primary {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(255, 107, 129, 0.3);
}

.buy-button.primary:hover {
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 10px 30px rgba(255, 107, 129, 0.4);
}

/* 核心权益展示 */
.core-benefits {
    padding: 100px 0;
    background: white;
    position: relative;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.benefit-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transform: translateZ(0); /* GPU加速 */
}

.benefit-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 129, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.benefit-item:hover {
    transform: translateY(-10px) translateZ(0);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: linear-gradient(135deg, var(--primary-light), rgba(255, 107, 129, 0.2));
    border-radius: 50%;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: rotateY(180deg);
}

.ai-badge {
    position: absolute;
    top: -10px;
    right: -40px;
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    white-space: nowrap;
}

.sub-features {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.sub-features li {
    padding: 5px 0;
}

/* 增值服务分层 */
.tiered-services {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 245, 246, 0.8) 0%, rgba(255, 237, 239, 0.8) 100%);
}

.service-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tier-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--glass-shadow);
    transform: translateZ(0); /* GPU加速 */
}

.tier-card:hover {
    transform: translateY(-10px) scale(1.02) translateZ(0);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tier-card.vip {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
    border: 2px solid gold;
}

.tier-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tier-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.tier-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tier-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tier-features span {
    background: rgba(255, 107, 129, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.tier-features span:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05) translateZ(0);
}

/* 用户信任体系 */
.trust-system {
    padding: 100px 0;
    background: white;
}

.trust-content {
    margin-top: 50px;
}

.data-visualization {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.security-features {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.security-item {
    text-align: center;
}

.security-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* 服务流程 */
.service-process {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 245, 246, 0.5) 0%, rgba(255, 237, 239, 0.5) 100%);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    padding: 20px;
    transition: transform 0.2s ease;
}

.step:hover {
    transform: translateY(-5px) translateZ(0);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
    transition: transform 0.2s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 129, 0.3);
}

.step:hover .step-number {
    transform: scale(1.1) translateZ(0);
}

.step-arrow {
    color: var(--primary-light);
    font-size: 2rem;
    padding: 0 20px;
}

/* 用户证言 */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--glass-shadow);
    transform: translateZ(0); /* GPU加速 */
}

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

.quote-icon {
    color: var(--primary-color);
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--primary-light);
}

/* 行动号召 */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.6s ease 0.1s forwards;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

/* 浮动条样式 */
.floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px;
    text-align: center;
    z-index: 1000;
    transform: translateY(100%) translateZ(0);
    transition: transform 0.3s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--glass-border);
}

.floating-bar.show {
    transform: translateY(0) translateZ(0);
}

.floating-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.floating-content i {
    color: var(--primary-color);
}

.floating-cta {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 129, 0.3);
    transform: translateZ(0); /* GPU加速 */
}

.floating-cta:hover {
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 10px 30px rgba(255, 107, 129, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pricing-hero .main-title {
        font-size: 2rem;
    }
    
    .pricing-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .price-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .price-card.popular {
        transform: scale(1) translateZ(0);
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

/* 动画效果 - 优化版 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 节标题和分隔线样式 - 统一风格 */
.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color);
    letter-spacing: -0.5px;
    font-weight: 700;
    background: linear-gradient(to right, var(--text-color), #555);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    margin: 0 auto 50px;
    border-radius: 2px;
}

/* 导航栏活动状态 */
.nav a.active {
    color: var(--primary-color);
    font-weight: bold;
}

/* 减少初始动画延迟 */
.animate-fade-in-up {
    animation-duration: 0.5s !important;
} 