/* 价格页面样式 */

/* 导航栏高亮样式 */
.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    /* 确保不会被按钮样式影响 */
    border: none !important;
    background: none !important;
    display: inline !important;
    box-shadow: none !important;
}

.nav-menu a:hover {
    color: #005AAC;
}

.nav-menu a[aria-current="page"] {
    color: #005AAC;
    font-weight: 600;
}

.nav-menu a[aria-current="page"]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #005AAC 0%, #316EFE 100%);
    border-radius: 1px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 价格方案区域 */
.pricing {
    padding: 80px 0;
    background: #f8fafc;
}

/* 价格卡片网格 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* 价格卡片 */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: #005AAC;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

/* 最受欢迎标签 */
.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #005AAC 0%, #316EFE 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 0 16px 0 16px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 价格卡片头部 */
.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.3rem;
    font-weight: 600;
    color: #005AAC;
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3748;
    margin: 0 0.2rem;
}

.period {
    font-size: 0.9rem;
    color: #718096;
}

.price-description {
    color: #718096;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 功能列表 */
.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
}

.pricing-features .fa-check {
    color: #10b981;
}

.pricing-features .fa-times {
    color: #ef4444;
}

/* 操作按钮 */
.pricing-action {
    text-align: center;
}

.pricing-action .btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
}

/* 常见问题区域 */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #005AAC;
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.faq-item p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* 联系我们区域 */
.contact {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.contact-info p {
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 80px;
}

.contact-method i {
    font-size: 1.5rem;
    color: #005AAC;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2d3748;
}

.contact-method a,
.contact-method span {
    color: #718096;
    text-decoration: none;
    font-size: 0.9rem;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
}

.contact-method a:hover {
    color: #005AAC;
}

/* 无障碍访问样式 */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* 焦点样式 */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #005AAC;
    outline-offset: 2px;
}

/* 导航项特殊处理 - 去掉focus线框 */
.nav-menu a:focus {
    outline: none !important;
    outline-offset: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* 跳过导航链接 */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #005AAC;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 80px 0 60px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
} 

/* 微信悬浮显示二维码样式 */
.contact-method {
    position: relative;
}

.weixin-hover {
    cursor: pointer;
    transition: color 0.3s ease;
}

.weixin-hover:hover {
    color: #005AAC;
}

.contact-tooltip {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 150px;
    text-align: center;
}

.contact-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: white;
}

.contact-tooltip img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.contact-method:hover .contact-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
} 

/* 收款方式区域 */
.payment-methods {
    padding: 80px 0;
    background: white;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #005AAC;
}

.payment-icon {
    margin-bottom: 1.5rem;
}

.payment-icon i {
    font-size: 3rem;
    color: #005AAC;
}

.payment-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.payment-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.payment-content p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.payment-action {
    margin-top: auto;
}

.payment-action .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.payment-qr {
    margin-top: auto;
}

.payment-qr img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.payment-qr img:hover {
    transform: scale(1.05);
    border-color: #005AAC;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bank-info {
    text-align: left;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: auto;
}

.bank-info p {
    margin-bottom: 0.75rem;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.bank-info p:last-child {
    margin-bottom: 0;
}

.bank-info strong {
    color: #2d3748;
    font-weight: 600;
}

/* 响应式设计 - 收款方式 */
@media (max-width: 768px) {
    .payment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .payment-card {
        padding: 1.5rem;
    }
    
    .payment-icon i {
        font-size: 2.5rem;
    }
    
    .payment-qr img {
        width: 120px;
        height: 120px;
    }
} 