/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

:root {
    --primary: #409eff;
    --secondary: #67c23a;
    --dark: #303133;
    --gray: #909399;
    --light: #f5f7fa;
    --white: #ffffff;
    --shadow: 0 2px 12px rgba(0,0,0,0.1);
}

body {
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--dark);
}

.section-title p {
    color: var(--gray);
    font-size: 16px;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 999;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

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

.nav-link {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 英雄区 */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
}

.download-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background: #337ecc;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: #5aac32;
    transform: translateY(-2px);
}

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

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

/* 功能区 */
.function {
    padding: 80px 0;
    background: var(--white);
}

.function-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.function-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: var(--light);
    transition: transform 0.3s ease;
}

.function-card:hover {
    transform: translateY(-5px);
}

.function-card img {
    height: 60px;
    margin: 0 auto 20px;
}

.function-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.function-card p {
    color: var(--gray);
}

/* 多端适配 */
.device {
    padding: 80px 0;
    background: var(--light);
}

.device-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.device-item {
    text-align: center;
}

.device-item img {
    height: 80px;
    margin: 0 auto 15px;
}

.device-item span {
    font-size: 18px;
    font-weight: 500;
}

/* 版本区 */
.version {
    padding: 80px 0;
    background: var(--white);
}

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

.version-card {
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.version-card:hover {
    transform: translateY(-5px);
}

.version-card.free {
    border-top: 4px solid var(--secondary);
}

.version-card.pro {
    border-top: 4px solid var(--primary);
}

.version-card.enterprise {
    border-top: 4px solid var(--dark);
}

.version-card img {
    height: 70px;
    margin: 0 auto 20px;
}

.version-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.version-card p {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.version-card ul {
    margin-bottom: 30px;
}

.version-card li {
    padding: 8px 0;
    color: var(--gray);
}

/* 用户评价 */
.review {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
}

.review-slider {
    display: flex;
    gap: 30px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.review-item {
    min-width: 100%;
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.review-item img {
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.review-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.review-item p {
    color: var(--gray);
    font-style: italic;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--white);
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    background: var(--light);
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--gray);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* 底部 */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    text-align: center;
}

.footer-logo img {
    height: 40px;
    margin: 0 auto 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray);
    transition: color 0.3s ease;
}

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

.footer-copyright {
    color: var(--gray);
    font-size: 14px;
}

/* 回到顶部 */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

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

/* 响应式 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .section-title h2 {
        font-size: 26px;
    }
}