/* 
 * 七日杀服务器管理QQ机器人官网样式
 * 7DaysBot - 2025
 */

/* 导入基础样式 */
@import url('base.css');

.btn-primary {
    background-color: #3384FF;
    color: white;
}

/* 英雄区域 */
.hero {
    background-color: #24293a;
    position: relative;
    padding: 120px 0;
    color: white;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden; /* 防止视频溢出 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 184px 0 60px;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: block; /* 确保视频显示 */
    min-width: 100%;
    min-height: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    margin: 0 auto;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* 导航菜单样式 */
header {
    position: relative;
}

nav {
    transition: all 0.3s ease;
}

nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--header-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

nav.active ul {
    flex-direction: column;
    padding: 10px 0;
}

nav.active ul li {
    margin: 0;
    width: 100%;
}

nav.active ul li a {
    display: block;
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

nav.active ul li:last-child a {
    border-bottom: none;
}

/* 数据统计 */
.stats-counter {
    padding: 40px 0;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stats-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(231, 76, 60, 0.1), transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 20px;
    flex: 0 0 33.333%;
    box-sizing: border-box;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: #aaa;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    
    .stat-item {
        padding: 10px 5px;
    }
    
    .stat-icon {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* 功能亮点 */
.features-highlight {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.features-highlight::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1), transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

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

.feature-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(231, 76, 60, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-color);
}

.feature-card p {
    color: #aaa;
}

.more-features {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* 产品对比表 */
.product-comparison {
    padding: 80px 0;
    background-color: var(--header-bg);
    overflow-x: hidden; /* 防止横向滚动 */
    position: relative;
}

.product-comparison::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1), transparent 70%);
    pointer-events: none;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #aaa;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.rating {
    color: var(--accent-color);
    letter-spacing: 2px;
}

.comparison-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* 功能对比表 */
.feature-comparison {
    padding: 80px 0;
    background-color: var(--header-bg);
}

.comparison-table-container {
    overflow-x: auto;
    margin-bottom: 40px;
    -webkit-overflow-scrolling: touch; /* 提高移动端滚动体验 */
    position: relative;
    z-index: 1;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
    box-shadow: var(--box-shadow);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    color: var(--text-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .fa-check {
    color: var(--success-color);
}

.comparison-table .fa-times {
    color: var(--danger-color);
}

.comparison-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* 移动端产品对比表格样式 */
@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .comparison-table th,
    .comparison-table td {
        padding: 5px;
        font-size: 0.8rem;
        word-break: break-word;
        white-space: normal;
        line-height: 1.3;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        max-width: 60px;
    }
    
    .comparison-table .fa-check,
    .comparison-table .fa-times {
        font-size: 0.9rem;
    }
    
    .rating {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}

/* 如何使用 */
.how-it-works {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.how-it-works::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1), transparent 70%);
    pointer-events: none;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.step {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: 0 15px;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.step-content p {
    color: #aaa;
}

.guide-link {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* 用户评价 */
.testimonials {
    padding: 80px 0;
    background-color: var(--header-bg);
    overflow: visible; /* 修改为visible以避免内容被裁剪 */
    position: relative;
    min-height: 600px; /* 确保足够的高度 */
}

.testimonials::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1), transparent 70%);
    pointer-events: none;
}

.testimonial-slider-container {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 40px;
    overflow: visible;
    height: auto; /* 自适应高度 */
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: pan-y; /* 允许垂直滚动，禁止水平滚动 */
    padding-bottom: 40px; /* 为原点留出空间 */
}

.testimonial-slider {
    display: flex;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
    position: relative;
    z-index: 1;
    overflow: visible; /* 修改为visible以避免内容被裁剪 */
    width: 100%;
    height: auto; /* 自适应高度 */
    justify-content: center;
    align-items: center;
    touch-action: none; /* 禁止浏览器默认的触摸行为 */
    user-select: none; /* 防止文本选择 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.testimonial {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    opacity: 0.4; /* 默认半透明 */
    visibility: hidden;
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 400px; /* 限制最大宽度 */
    margin: 0 10px; /* 添加左右间距 */
    z-index: 0;
    height: auto; /* 自动高度 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px; /* 确保最小高度 */
    overflow: visible; /* 确保内容不被裁剪 */
    transform: scale(0.85); /* 默认缩小 */
}

/* 当前活跃卡片样式 */
.testimonial.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* 响应式布局 - 移动端支持拖动切换 */
@media (max-width: 768px) {
    .testimonial {
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        transition: transform 0.3s ease;
        touch-action: none; /* 防止浏览器默认的触摸行为 */
    }
    
    .testimonial.prev {
        transform: translateX(-100%);
        opacity: 0.4;
    }
    
    .testimonial.next {
        transform: translateX(100%);
        opacity: 0.4;
    }
    
    .testimonial-slider {
        cursor: grab;
        user-select: none;
    }
    
    .testimonial-slider.grabbing {
        cursor: grabbing;
    }
}

/* 响应式布局 - 电脑端显示三个卡片 */
@media (min-width: 769px) {
    .testimonial-slider {
        display: flex;
        justify-content: center;
        position: relative;
        height: 400px;
    }
    
    .testimonial {
        position: absolute;
        top: 50%;
        transform: translateY(-50%) scale(0.85);
    }
    
    .testimonial.active {
        transform: translateY(-50%) scale(1);
    }
    
    .testimonial.prev {
        left: calc(50% - 450px);
        visibility: visible;
    }
    
    .testimonial.next {
        left: calc(50% + 50px);
        visibility: visible;
    }
    
    .testimonial.active {
        left: calc(50% - 200px);
    }
}

.testimonial:hover {
    border-color: rgba(231, 76, 60, 0.3);
}

.testimonial-content {
    margin-bottom: 20px;
    flex: 1;
    overflow: visible; /* 修改为visible以避免内容被裁剪 */
    min-height: 200px; /* 确保最小高度 */
    height: auto; /* 使用自动高度 */
}

.testimonial-content p {
    font-style: italic;
    color: #aaa;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.author-info p {
    color: #888;
    font-size: 0.9rem;
}

/* 导航按钮 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background-color: rgba(231, 76, 60, 0.4);
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

.slider-nav i {
    font-size: 1.2rem;
}

/* 分页指示器 */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
    position: relative;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* 移动端用户评价样式 */
@media (max-width: 768px) {
    .testimonial {
        flex: 0 0 100%;
    }
    
    .testimonial-slider-container {
        padding: 0 20px;
    }
    
    .slider-nav {
        width: 30px;
        height: 30px;
    }
    
    /* 移动端原点位置调整 */
    .slider-dots {
        position: absolute;
        bottom: -30px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
    
    @keyframes scroll-testimonials {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100% - 30px));
        }
    }
    
    /* 鼠标悬停或触摸时暂停滚动 */
    .testimonial-slider:hover,
    .testimonial-slider:active {
        animation-play-state: paused;
    }
}

@media (max-width: 480px) {
    .testimonial {
        flex: 0 0 calc(90% - 20px);
        padding: 20px;
    }
}

/* CTA区域 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none"/><path d="M0 50 L50 0 L100 50 L50 100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 30px 30px;
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

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

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none"/><path d="M0 50 L50 0 L100 50 L50 100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 30px 30px;
    pointer-events: none;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* 功能详情页 */
.features-detailed {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.feature-category {
    margin-bottom: 60px;
}

.feature-category h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-color);
}

/* 使用指南页面 */
.guide-content {
    padding: 60px 0;
    display: flex;
    background-color: var(--bg-color);
}

.guide-content .container {
    display: flex;
    gap: 40px;
}

.guide-sidebar {
    flex: 0 0 250px;
    position: sticky;
    top: 100px;
    height: fit-content;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-sidebar h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.guide-sidebar ul li {
    margin-bottom: 10px;
}

.guide-sidebar ul li a {
    color: #aaa;
    transition: var(--transition);
}

.guide-sidebar ul li a:hover {
    color: var(--primary-color);
}

.guide-main {
    flex: 1;
}

.guide-section {
    margin-bottom: 60px;
}

.guide-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-color);
}

.guide-section h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--text-color);
}

.guide-section p,
.guide-section ul,
.guide-section ol {
    margin-bottom: 20px;
    color: #aaa;
}

.guide-section ul,
.guide-section ol {
    padding-left: 20px;
}

.guide-section ul li,
.guide-section ol li {
    margin-bottom: 10px;
}

.code-block {
    background-color: #121a24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

.code-block code {
    color: #eee;
}

/* FAQ页面 */
.faq-content {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.faq-content .container {
    display: flex;
    flex-direction: column;
}

.faq-categories {
    margin-bottom: 40px;
}

.faq-categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.faq-categories ul li a {
    display: block;
    padding: 10px 20px;
    background-color: var(--card-bg);
    border-radius: 30px;
    color: #aaa;
    transition: var(--transition);
}

.faq-categories ul li a:hover,
.faq-categories ul li a.active {
    background-color: var(--primary-color);
    color: white;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-color);
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-color);
}

.toggle-icon {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: #aaa;
}

.faq-answer.active {
    display: block;
}

/* 联系我们页面 */
.contact-content {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.contact-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-methods h2,
.social-media h2,
.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #121a24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-details p {
    color: #aaa;
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .step {
        padding: 0;
    }
    
    .testimonial {
        flex: 0 0 calc(50% - 15px);
    }
    
    .guide-content .container {
        flex-direction: column;
    }
    
    .guide-sidebar {
        position: static;
        margin-bottom: 40px;
    }
    
    .contact-content .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-comparison {
        padding: 60px 0;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .testimonials {
    padding: 30px 0;
    background-color: var(--header-bg);
    overflow: hidden; /* 防止自动滚动溢出 */
    position: relative;
    }
    .how-it-works {
    padding: 30px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
    }
    .product-comparison {
    padding: 30px 0;
    background-color: var(--header-bg);
    overflow-x: hidden; /* 防止横向滚动 */
    position: relative;
    }
    .features-highlight {
    padding: 30px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
    }
    .stats-counter {
    padding: 0px 0;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    }
    .hero {
        padding: 60px 0;
        min-height: 50px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        flex: 1;
        padding: 10px 15px;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
 
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .faq-categories ul {
        flex-direction: column;
    }
    
    .faq-categories ul li a {
        text-align: center;
    }
}