/* 订阅页面样式 */
.subscription-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.3em;
    opacity: 0.9;
    margin-bottom: 0;
}

/* 订阅计划样式 */
.subscription-plans {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: #333;
}

.title-icon {
    margin-right: 15px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.plan-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.plan-name {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price-currency {
    font-size: 1.2em;
    color: #667eea;
    font-weight: 600;
}

.price-amount {
    font-size: 2.5em;
    font-weight: 700;
    color: #333;
}

.price-period {
    font-size: 1em;
    color: #666;
}

.price-note {
    font-size: 0.9em;
    color: #667eea;
    font-weight: 600;
    margin-top: 5px;
}

.plan-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1em;
}

.feature-icon {
    margin-right: 12px;
    font-size: 1.1em;
}

.feature-text {
    color: #555;
}

.plan-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.plan-btn:not(.current-plan) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.plan-btn:not(.current-plan):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.plan-btn.current-plan {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.plan-trial {
    font-size: 0.9em;
    color: #667eea;
    text-align: center;
    font-weight: 500;
}

.plan-value {
    font-size: 0.9em;
    color: #28a745;
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 功能对比表 */
.feature-comparison {
    padding: 80px 0;
    background: white;
}

.comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.table-header > div {
    padding: 20px;
    text-align: center;
}

.table-header .feature-column {
    text-align: left;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #eee;
}

.table-row:nth-child(even) {
    background: #f8f9fa;
}

.table-row > div {
    padding: 15px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-name {
    text-align: left;
    font-weight: 500;
    color: #333;
}

.feature-value {
    color: #555;
}

.table-row .feature-column.featured {
    background: rgba(102, 126, 234, 0.1);
}

/* 用户评价 */
.user-testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.author-avatar {
    font-size: 2em;
    margin-right: 15px;
}

.author-name {
    font-weight: 600;
    color: #333;
}

.author-zodiac {
    font-size: 0.9em;
    color: #667eea;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.1em;
}

/* FAQ部分 */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #667eea;
}

.faq-toggle {
    font-size: 1.5em;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 0 20px 0;
    color: #666;
    line-height: 1.6;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* CTA部分 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn.primary {
    background: white;
    color: #667eea;
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .comparison-table {
        font-size: 0.9em;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .page-title {
        font-size: 2.5em;
    }
    
    .section-title {
        font-size: 2em;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan-card {
    animation: fadeInUp 0.6s ease forwards;
}

.plan-card:nth-child(1) { animation-delay: 0.1s; }
.plan-card:nth-child(2) { animation-delay: 0.2s; }
.plan-card:nth-child(3) { animation-delay: 0.3s; }
.plan-card:nth-child(4) { animation-delay: 0.4s; }
