/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 颜色方案 */
:root {
    --primary-color: #ff6b00;
    --secondary-color: #0078d7;
    --accent-color: #00a4ef;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
}

/* 头部样式 */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* 英雄区样式 */
.hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: #e55e00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* 特性区样式 */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 107, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

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

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* 版本介绍样式 */
.version-info {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.version-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.version-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.version-badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    margin-right: 15px;
}

.version-date {
    color: var(--gray);
}

.version-features {
    margin-bottom: 30px;
}

.version-features h4 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.version-features ul {
    list-style: none;
    padding-left: 0;
}

.version-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.version-features li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 软件对比样式 */
.software-comparison {
    padding: 80px 0;
    background-color: var(--white);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

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

.comparison-table tr:nth-child(even) {
    background-color: var(--light-bg);
}

.comparison-table tr:hover {
    background-color: rgba(0, 120, 215, 0.05);
}

/* 用户评价样式 */
.user-reviews {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-weight: bold;
}

.review-user {
    font-weight: 600;
    margin-bottom: 5px;
}

.review-date {
    color: var(--gray);
    font-size: 0.9rem;
}

.review-rating {
    color: #f8c537;
    margin-bottom: 15px;
}

.review-content {
    color: var(--text-color);
    line-height: 1.6;
}

/* 下载区域样式 */
.download-section {
    padding: 80px 0;
    background-color: var(--white);
}

.download-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.download-btn {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    background-color: var(--primary-color);
    color: var(--white);
}

.download-btn:hover {
    background-color: #e55e00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.download-btn i {
    margin-right: 10px;
    font-size: 20px;
}

/* 底部样式 */
footer {
    background-color: var(--dark-bg);
    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 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

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

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

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

/* 下载页面样式 */
.download-page {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.download-header {
    text-align: center;
    margin-bottom: 50px;
}

.download-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.download-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.download-resources {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.download-resources h2 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.resource-list {
    list-style: none;
    padding-left: 0;
}

.resource-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.resource-item:last-child {
    border-bottom: none;
}

.resource-info h4 {
    margin-bottom: 5px;
    color: var(--text-color);
}

.resource-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.resource-download .btn {
    padding: 8px 20px;
    font-size: 14px;
}

/* 功能介绍页面样式 */
.features-page {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.features-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.features-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.feature-detail {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.feature-detail h2 {
    margin-bottom: 20px;
    color: var(--text-color);
}

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

.feature-detail ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.feature-detail li {
    margin-bottom: 10px;
}

/* 使用教程页面样式 */
.tutorial-page {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.tutorial-header {
    text-align: center;
    margin-bottom: 50px;
}

.tutorial-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.tutorial-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.tutorial-steps {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.tutorial-step {
    display: flex;
    margin-bottom: 30px;
}

.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;
    margin-right: 20px;
    flex-shrink: 0;
}

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

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

.step-content img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* 常见问题页面样式 */
.faq-page {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.faq-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.faq-list {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

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

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

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 10px 0;
    line-height: 1.6;
    color: var(--text-color);
}

/* 关于页面样式 */
.about-page {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.about-content h2 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-color);
}

.about-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.about-content li {
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px 0;
    }

    nav ul {
        margin-top: 15px;
    }

    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 250px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-buttons .download-btn {
        width: 250px;
        justify-content: center;
    }

    .resource-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .resource-download {
        margin-top: 10px;
    }

    .tutorial-step {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .feature-card,
    .version-card,
    .download-card,
    .download-resources,
    .feature-detail,
    .tutorial-steps,
    .faq-list,
    .about-content {
        padding: 20px;
    }
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #e55e00;
}

/* 下载跟随按钮 */
.floating-download {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 999;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
}

.floating-download.active {
    opacity: 1;
    visibility: visible;
}

.floating-download:hover {
    background-color: #e55e00;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.floating-download i {
    margin-right: 10px;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-qr {
    margin: 20px 0;
}

.modal-qr img {
    max-width: 200px;
    height: auto;
}

.modal-tips {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: left;
}

.modal-tips h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.modal-tips ul {
    padding-left: 20px;
    margin: 0;
}

.modal-tips li {
    margin-bottom: 5px;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background-color: var(--light-bg);
    margin-bottom: 30px;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    margin-right: 10px;
}

.breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    color: var(--gray);
}

.breadcrumb-link {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: var(--primary-color);
}

.breadcrumb-item:last-child .breadcrumb-link {
    color: var(--text-color);
    font-weight: 500;
}