/* 全局样式重置和基础设置 */
/* 全局CSS样式 - fx助手网站 */

/* 全局重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --bg-color: #f5f7fa;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    min-height: 100vh;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 主内容区域间距 */
main.container {
    margin-top: 30px;
    margin-bottom: 60px;
}

/* 导航栏样式 */
.header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

/* 移除了依赖JavaScript的移动端菜单按钮和菜单覆盖层样式 */

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--secondary-color);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--secondary-color);
}

.nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav a:hover:after,
.nav a.active:after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #165d8c;
    box-shadow: 0 10px 20px rgba(22, 93, 140, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}
/* 卡片样式 */
.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}



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

/* 特性卡片和图标区域样式 */
.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}

.feature-card:hover, .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-light);
}

/* 特性网格布局 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* 优势网格布局 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* 功能详情部分 */
.feature-detail {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.feature-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.feature-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-text h3 {
    color: var(--primary-color);
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.feature-text ul {
    color: var(--text-light);
    padding-left: 25px;
}

.feature-text li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    background-color: #ecf0f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-light);
}

/* 帮助与支持 */
.help-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

/* 安装步骤样式 */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

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

.step-content p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

.help-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.help-section h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.content-section h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
}

.content-section h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.content-section p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    color: var(--text-light);
    margin-bottom: 20px;
    padding-left: 25px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.content-section li strong {
    color: var(--primary-color);
}

/* 下载卡片 */
.download-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    text-align: center;
    margin-bottom: 40px;
}

.download-header {
    margin-bottom: 20px;
}

.download-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.version-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.download-card p {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.download-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.detail-item {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 系统要求样式优化 */
.tech-specs {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.tech-specs h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.tech-specs h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.spec-item {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 25px;
}

.spec-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* 提示框 */
.tip-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.tip-box h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.tip-box p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* 页面标题 */
.page-header {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* 快速入门部分 */
.quick-start {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--box-shadow);
    margin-bottom: 60px;
}

.quick-start h2 {
    font-size: 30px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.quick-start-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: bold;
    color: rgba(52, 152, 219, 0.1);
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--secondary-color);
}

.step-link:hover {
    text-decoration: underline;
}

/* 使用指南部分 */
.usage-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--box-shadow);
    margin-bottom: 60px;
}

.usage-section h2 {
    font-size: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.usage-content h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.step-list {
    list-style: none;
    margin-bottom: 30px;
}

.step-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    transition: var(--transition);
}

.step-list li:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

.step-text {
    flex: 1;
}

.step-text strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.step-text p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* 常见问题部分 */
.faq-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--box-shadow);
    margin-bottom: 60px;
}

.faq-section h2 {
    font-size: 30px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    padding-left: 10px;
}

.faq-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* 联系支持部分 */
.support-section, .contact-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.support-section h2, .contact-section h2 {
    font-size: 30px;
    margin-bottom: 20px;
    justify-content: center;
}

.support-section p, .contact-section p {
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.support-links, .contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.support-btn, .contact-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    text-align: center;
}

.support-btn::before, .contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.support-btn:hover, .contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.support-btn:hover::before, .contact-btn:hover::before {
    left: 100%;
}

.support-btn:hover, .contact-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
    color: var(--white);
}

/* 技术规格部分 */
.tech-specs {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--box-shadow);
    margin-bottom: 60px;
}

.tech-specs h2 {
    font-size: 30px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.spec-item {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 30px;
}

.spec-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.spec-item ul {
    list-style: none;
}

.spec-item li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.spec-item li:before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
}

/* 移除了依赖JavaScript的动画效果、页面加载器、回到顶部按钮和通知样式 */

/* CTA区域样式 */
.cta-section {
    background-color: #293755;
    color: var(--white);
    padding: 60px 0 60px;
    margin-bottom: 0;
    text-align: center;
}

.cta-section .container {
    max-width: 800px;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* 页脚样式 */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    clear: both;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 功能详情响应式布局 */
    .feature-detail {
        flex-direction: column !important;
        text-align: center;
        gap: 20px;
    }
    
    .feature-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    
    .feature-icon span {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 992px) {
    /* 简化响应式导航，移除依赖JavaScript的移动端菜单样式 */
    .nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .page-header {
        padding: 140px 0 80px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .support-links {
        flex-direction: column;
        align-items: center;
    }
    
    .support-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .content-section h3 {
        font-size: 1.3rem;
    }
}