/* 价格页面专用样式 - 基于certbase.com风格 */

/* 全局变量 */
:root {
    --primary-color: #1f7b46;
    --secondary-color: #0056b3;
    --accent-color: #28a745;
    --text-color: #333333;
    --light-text: #666666;
    --background-light: #f8f9fa;
    --background-lighter: #ffffff;
    --border-color: #e0e0e0;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a6438 100%);
    padding: 80px 0 60px;
    color: #ffffff;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    opacity: 0.6;
}

.page-header .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 价格表格区域 */
.pricing-table-section {
    padding: 80px 0;
    background-color: var(--background-lighter);
}

/* 筛选选项 */
.pricing-filters {
    background-color: var(--background-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

.filter-group select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    background-color: #ffffff;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    min-width: 180px;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(31, 123, 70, 0.1);
}

.filter-group select:hover {
    border-color: var(--primary-color);
}

/* 价格表格容器 */
.pricing-table-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.pricing-table-wrapper {
    overflow-x: auto;
    /* 隐藏默认滚动条 - WebKit浏览器 */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 自定义滚动条样式 */
.pricing-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.pricing-table-wrapper::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 10px;
}

.pricing-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
}

.pricing-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--light-text);
}

/* 价格表格样式 */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1100px;
}

.pricing-table thead {
    background-color: var(--background-light);
    position: sticky;
    top: 0;
    z-index: 10;
}

.pricing-table th {
    padding: 20px 12px;
    text-align: left;
    font-weight: 700;
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.pricing-table th.cert-name {
    width: 180px;
}

.pricing-table th.cert-type,
.pricing-table th.cert-brand,
.pricing-table th.cert-warranty,
.pricing-table th.cert-validation {
    width: 100px;
}

.pricing-table th.cert-features {
    width: 220px;
}

.pricing-table th.cert-price {
    width: 120px;
}

.pricing-table th.cert-action {
    width: 110px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.pricing-table tbody tr:hover {
    background-color: rgba(31, 123, 70, 0.02);
    transform: translateX(2px);
}

.pricing-table td {
    padding: 25px 12px;
    vertical-align: top;
}

/* 表格单元格宽度设置，与表头保持一致 */
.pricing-table td.cert-name {
    width: 180px;
}

.pricing-table td.cert-type,
.pricing-table td.cert-brand,
.pricing-table td.cert-warranty,
.pricing-table td.cert-validation {
    width: 100px;
}

.pricing-table td.cert-features {
    width: 220px;
}

.pricing-table td.cert-price {
    width: 120px;
}

.pricing-table td.cert-action {
    width: 110px;
}

/* 证书名称单元格 */
.cert-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cert-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
}

.cert-badge {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.cert-badge.basic {
    background-color: #e9ecef;
    color: #495057;
}

.cert-badge.standard {
    background-color: #e3f2fd;
    color: #1976d2;
}

.cert-badge.recommended {
    background-color: #fff3cd;
    color: #856404;
}

.cert-badge.premium {
    background-color: #f3e5f5;
    color: #6a1b9a;
}

/* 品牌logo */
.cert-brand img {
    max-width: 80px;
    height: auto;
    opacity: 0.8;
    transition: var(--transition);
}

.cert-brand img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* 功能列表 */
.cert-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cert-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--light-text);
}

.cert-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 价格样式 */
.cert-price {
    font-weight: 700;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.currency {
    font-size: 16px;
    color: var(--light-text);
}

.price {
    font-size: 28px;
    color: var(--primary-color);
}

.unit {
    font-size: 14px;
    color: var(--light-text);
    font-weight: normal;
}

/* 操作按钮 */
.cert-action {
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    min-width: 120px;
    text-align: center;
}

.btn-primary:hover {
    background-color: #1a6438;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(31, 123, 70, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(31, 123, 70, 0.3);
}

/* 证书选择指南 */
.cert-guide-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.cert-guide-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 60px;
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-item {
    display: flex;
    gap: 20px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.guide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.guide-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
}

.guide-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.guide-text p {
    color: var(--light-text);
    line-height: 1.6;
}

/* FAQ部分 */
.pricing-faq-section {
    padding: 80px 0;
    background-color: var(--background-lighter);
}

.pricing-faq-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 60px;
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--background-light);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 20px 25px;
}

.faq-answer p {
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

/* 底部CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a6438 100%);
    padding: 100px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    opacity: 0.6;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

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

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: #ffffff;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background-color: #f8f9fa;
}

.cta-buttons .btn-secondary {
    border-color: #ffffff;
    color: #ffffff;
}

.cta-buttons .btn-secondary:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .page-header h1 {
        font-size: 40px;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
    
    .guide-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .pricing-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .filter-group select {
        flex: 1;
        min-width: auto;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .cert-guide-section h2,
    .pricing-faq-section h2 {
        font-size: 32px;
    }
    
    .guide-content {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 18px;
    }
    
    .pricing-table-section,
    .cert-guide-section,
    .pricing-faq-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .cert-guide-section h2,
    .pricing-faq-section h2 {
        font-size: 28px;
    }
    
    .guide-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .guide-icon {
        margin: 0 auto 20px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 28px;
    }
    
    .cert-guide-section h2,
    .pricing-faq-section h2 {
        font-size: 24px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .pricing-filters {
        padding: 15px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
}`,"rewrite":false}}}