/* 简洁定价页面样式 - 符合网站整体风格 */

/* 全局字体设置 - 与其他页面保持一致 */
body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 数字和英文专用字体 */
.number-text, .symbol-text, .price-text, .percentage-text {
    font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}

.pricing-container {
    max-width: 800px;
    margin: 0 auto;
    background: #000000;
    min-height: 100vh;
    padding: 0;
}

/* 头部 */
.pricing-header {
    background: #1e2329;
    color: #eaecef;
    padding: 16px 20px;
    border-bottom: 1px solid #2b3139;
}

.header-bar {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.header-title-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #f0b90b;
    text-decoration: none;
    margin-bottom: 0;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ffd700;
}

.back-link i {
    margin-right: 8px;
}

.pricing-title {
    font-size: 24px;
    font-weight: 600;
    color: #f0b90b;
    margin-bottom: 6px;
}

.pricing-subtitle {
    font-size: 14px;
    color: #848e9c;
}

.header-actions { display: flex; align-items: center; gap: 12px; }

@media (max-width: 768px) {
  .header-bar { flex-direction: column; align-items: center; gap: 10px; }
  .back-link { order: 1; }
  .header-title-group { order: 2; }
  .header-actions { order: 3; }
}

/* 试用过期提示 */
.trial-expired-notice {
    background: #f6465d;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(246, 70, 93, 0.3);
}

.trial-expired-notice i {
    margin-right: 8px;
    font-size: 16px;
}

/* 语言切换 */
.language-switcher {
    text-align: center;
    padding: 15px 20px;
    background: #1e2329;
    border-bottom: 1px solid #2b3139;
}

.language-switcher .btn-link {
    background: transparent;
    border: 1px solid #2b3139;
    color: #848e9c;
    padding: 6px 12px;
    margin: 0 5px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    display: inline-block;
}

.language-switcher .btn-link:hover,
.language-switcher .btn-link.active {
    background: #f0b90b;
    color: #0b0e11;
    border-color: #f0b90b;
}

.language-switcher span {
    color: #848e9c;
    margin: 0 5px;
}

/* 定价计划 */
.pricing-plans {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.plans-title {
    text-align: center;
    font-size: 18px;
    color: #eaecef;
    margin-bottom: 20px;
    font-weight: 600;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: stretch;
    justify-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: #1e2329;
    border: 1px solid #2b3139;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    min-height: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:hover {
    border-color: #f0b90b;
    transform: translateY(-2px);
}

.plan-card.popular {
    border-color: #f0b90b;
    background: rgba(240, 185, 11, 0.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f0b90b;
    color: #0b0e11;
    padding: 4px 16px;
    border-radius: 8px 8px 0 0;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}

.plan-name {
    font-size: 16px;
    font-weight: 600;
    color: #eaecef;
    margin-bottom: 8px;
}

.plan-duration {
    color: #848e9c;
    font-size: 12px;
    margin-bottom: 15px;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #f0b90b;
    font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
    line-height: 1;
}

.currency-unit {
    display: inline-block;
    background: rgba(240, 185, 11, 0.1);
    color: #f0b90b;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
    border: 1px solid rgba(240, 185, 11, 0.2);
    font-family: 'SF Pro Display', 'SF Mono', 'Roboto Mono', 'Monaco', 'Consolas', monospace;
}

.plan-equivalent {
    color: #848e9c;
    font-size: 12px;
    margin-bottom: 8px;
}

.plan-savings {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* 套餐特性样式 */
.plan-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #2b3139;
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.plan-features li {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #b0b0b0;
    position: relative;
    text-align: left;
    padding: 4px 0;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    justify-content: flex-start;
}

.plan-features li i {
    color: #22c55e;
    margin-right: 8px;
    font-size: 12px;
    flex-shrink: 0;
}

/* 移除重复的勾选标记 */
.plan-features li::before {
    display: none;
}


/* 套餐卡片内容区域调整 */
.plan-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.btn-plan {
    width: 100%;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2b3139;
    color: #eaecef;
    margin-top: auto;
}

.btn-plan:hover {
    background: #f0b90b;
    color: #0b0e11;
}

.plan-card.popular .btn-plan {
    background: #f0b90b;
    color: #0b0e11;
}

.plan-card.popular .btn-plan:hover {
    background: #ffd700;
}

/* FAQ 部分 */
.faq-section {
    padding: 20px;
    background: #1e2329;
    border-top: 1px solid #2b3139;
}

.faq-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #eaecef;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #2b3139;
    padding-bottom: 15px;
}

.faq-question {
    font-size: 14px;
    font-weight: 500;
    color: #eaecef;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #f0b90b;
}

.faq-question::after {
    content: '+';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: #848e9c;
    font-size: 13px;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 150px;
    padding-bottom: 10px;
}

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

@media (max-width: 900px) {
    .plans-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .plan-card {
        padding: 12px;
        min-height: 180px;
    }
    
    .price-amount {
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer 样式 */
.pricing-footer {
    background: #1e2329;
    border-top: 1px solid #2b3139;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-content p {
    color: #848e9c;
    font-size: 12px;
    margin: 4px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}

.footer-link {
    color: #848e9c;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #f0b90b;
}

/* 社交媒体链接样式 */
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 12px 0;
}

.social-label {
    color: #848e9c;
    font-size: 12px;
    margin-right: 4px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #848e9c;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #f0b90b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 185, 11, 0.3);
}

.social-link svg {
    width: 16px;
    height: 16px;
}