/* 公共样式文件 style.css - 现代化设计 */

/* CSS 变量定义 */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础样式 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    color: var(--text-color);
}

/* 现代化视觉效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* 头部样式 */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 1rem 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

/* 导航容器 */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Logo样式 */
.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: var(--transition);
}

.logo h1:hover {
    transform: scale(1.05);
}

/* 导航菜单样式 */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: block;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

nav ul li a:hover::before {
    left: 100%;
}

nav ul li a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* 移动端菜单切换按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
    display: block;
}

/* 主内容区域 */
main {
    margin-top: 120px;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 部分样式 */
section {
    margin-bottom: 3rem;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1rem;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

/* 下载按钮样式 */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '⬇';
    font-size: 1.2rem;
}

.download-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-btn:active::after {
    width: 300px;
    height: 300px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.download-btn:active {
    transform: translateY(-1px);
}

/* 教程内容样式 */
.tutorial-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 教程项样式 */
.tutorial-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,249,250,0.9));
    border-radius: var(--border-radius);
    border: 1px solid rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: var(--transition);
}

.tutorial-item:hover {
    box-shadow: var(--shadow);
}

/* 教程头部样式 */
.tutorial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ffffff;
    transition: var(--transition);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.tutorial-header:hover {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.tutorial-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

/* 折叠切换按钮 */
.tutorial-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* 激活状态的切换按钮 */
.tutorial-item.active .tutorial-toggle {
    transform: rotate(180deg);
    background: rgba(255,255,255,0.3);
    color: #ffffff;
}

/* 教程主体内容 */
.tutorial-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.tutorial-body.active {
    max-height: 1000px; /* 足够大的值来容纳内容 */
}

/* 教程内容布局 */
.tutorial-intro {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.tutorial-intro p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.tutorial-media {
    padding: 1.5rem;
}

.tutorial-media img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tutorial-media img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.tutorial-media video {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 视频占位符样式 */
.video-placeholder {
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.video-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 1), rgba(118, 75, 162, 1));
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.play-button span {
    font-size: 24px;
    color: white;
    margin-left: 3px;
}

.video-title {
    margin: 1rem 0 0 0;
    font-size: 0.95rem;
    color: #555;
    text-align: center;
    font-weight: 500;
    padding: 0.5rem;
}

.tutorial-steps h4,
.tutorial-features h4 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.tutorial-steps ol,
.tutorial-features ul {
    margin: 0;
    padding-left: 1.5rem;
}

.tutorial-steps li,
.tutorial-features li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* FAQ样式 */
.faq-item {
    margin-bottom: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,249,250,0.9));
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.3rem;
}

.step-content li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* 联系信息样式 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,249,250,0.9));
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 社交链接样式 */
.social-links {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: var(--border-radius);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.social-icons span {
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.social-icons span:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* 页脚样式 */
footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    text-align: center;
    padding: 0.8rem 1rem;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.footer-link:hover {
    color: var(--secondary-color);
    background: rgba(102, 126, 234, 0.1);
}

.footer-separator {
    color: #999;
    font-size: 0.8rem;
}

/* 软件下载表格样式 */
.download-table-container {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background: var(--white);
    padding: 0.5rem;
}

.download-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    font-size: 0.95rem;
    table-layout: fixed;
}

.download-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.download-table th {
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.download-table th:last-child {
    border-right: none;
}

.download-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-right: 1px solid rgba(0,0,0,0.02);
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.download-table td:last-child {
    border-right: none;
}

.download-table tbody tr {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.download-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.02);
    transform: scale(1.005);
}

.download-table tbody tr:last-child td {
    border-bottom: none;
}

/* 确保表格列宽一致 */
.download-table th:nth-child(1),
.download-table td:nth-child(1) {
    width: 25%;
    min-width: 200px;
}

.download-table th:nth-child(2),
.download-table td:nth-child(2) {
    width: 50%;
    min-width: 300px;
}

.download-table th:nth-child(3),
.download-table td:nth-child(3) {
    width: 25%;
    min-width: 200px;
    text-align: center;
    vertical-align: middle;
}

/* 软件信息样式 */
.software-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.software-info strong {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
}

.version {
    font-size: 0.85rem;
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
    font-weight: 500;
    animation: pulse 2s infinite;
}

/* 软件元信息样式 */
.software-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.platform, .size {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* 下载链接样式 */
.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-width: 100px;
    justify-content: center;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.download-link:active {
    transform: translateY(0);
}

.download-icon {
    font-size: 1rem;
}

/* Play Store图标样式 */
.store-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

/* 平台图标样式 */
.platform-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    margin-right: 4px;
    vertical-align: middle;
}

/* 下载链接容器样式 */
.download-links {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* PC端：3个链接时2个在上方，1个在下方 */
@media (min-width: 769px) {
    .download-links {
        max-width: 400px;
    }

    .download-links .download-link:nth-child(3) {
        margin-top: 0.5rem;
        width: 100%;
        display: block;
        text-align: center;
    }

    .download-links .download-link:nth-child(1),
    .download-links .download-link:nth-child(2) {
        flex: 1;
        min-width: 120px;
    }
}

/* 移动端：确保链接显示优化 */
@media (max-width: 768px) {
    .download-links {
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
    }

    .download-links .download-link {
        width: 100%;
        min-width: auto;
        max-width: none;
        margin: 0;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        text-align: center;
    }
}

/* 移动端下载链接样式 */
.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-link {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    min-width: 80px;
}

/* 移动端简单下载链接样式 */
.mobile-simple-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    text-align: center;
    min-width: 100px;
    max-width: 150px;
}

/* 下载说明样式 */
.download-notice {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.download-notice h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.download-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.download-notice li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
}

.download-notice li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航容器移动端布局 */
    .nav-container {
        position: relative;
    }

    /* Logo在移动端变小 */
    .logo h1 {
        font-size: 1.5rem;
    }

    /* 桌面端导航菜单隐藏，显示汉堡菜单 */
    nav ul {
        position: fixed;
        top: 100%;
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 2rem 0 1.5rem 0;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.07);
        border-radius: 0 0 20px 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(102, 126, 234, 0.08);
        border-top: none;
        z-index: 1000;
        width: 100%;
        margin: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
        display: flex;
        /* 隐藏滚动条但保持功能 */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    /* 隐藏 WebKit 浏览器的滚动条 */
    nav ul::-webkit-scrollbar {
        display: none;
    }

    /* 移动端菜单激活状态 */
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        list-style: none;
        position: relative;
        overflow: hidden;
    }

    nav ul li a {
        display: block;
        padding: 1rem 2rem;
        color: var(--text-color);
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        border-bottom: 1px solid rgba(102, 126, 234, 0.08);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        position: relative;
        background: transparent;
        letter-spacing: 0.5px;
    }

    /* 悬停动画效果 */
    nav ul li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }

    nav ul li a:hover::before {
        left: 0;
    }

    nav ul li a:hover {
        color: var(--primary-color);
        transform: translateY(-2px);
        text-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
    }

    /* 第一个和最后一个菜单项的特殊样式 */
    nav ul li:first-child a {
        border-radius: 15px 15px 0 0;
        margin-top: 0.5rem;
    }

    nav ul li:last-child a {
        border-bottom: none;
        border-radius: 0 0 15px 15px;
        margin-bottom: 0.5rem;
    }

    /* 菜单项之间的分隔线美化 */
    nav ul li:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 20%;
        right: 20%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    }

    /* 显示汉堡菜单按钮 */
    .mobile-menu-toggle {
        display: flex;
    }

    /* 汉堡菜单动画 */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* 移动端菜单触摸优化 */
    nav ul li a:active {
        transform: translateY(-1px) scale(0.98);
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    }

    /* 菜单打开时的遮罩效果 */
    nav ul.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.1);
        z-index: -1;
        backdrop-filter: blur(2px);
    }

    /* 移动端菜单项渐入动画 */
    nav ul.active li {
        animation: slideInFromTop 0.4s ease forwards;
    }

    nav ul.active li:nth-child(1) { animation-delay: 0.1s; }
    nav ul.active li:nth-child(2) { animation-delay: 0.15s; }
    nav ul.active li:nth-child(3) { animation-delay: 0.2s; }
    nav ul.active li:nth-child(4) { animation-delay: 0.25s; }

    @keyframes slideInFromTop {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* 主内容区域移动端优化 */
    main {
        padding: 2rem 1rem;
        margin-top: 140px;
    }

    section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    h2 {
        font-size: 1.8rem;
        padding-left: 0.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .download-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    /* 教程移动端优化 */
    .tutorial-header {
        padding: 1.2rem;
    }

    .tutorial-header h3 {
        font-size: 1.1rem;
        color: #ffffff;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }

    .tutorial-toggle {
        font-size: 1.3rem;
        width: 25px;
        height: 25px;
        color: #ffffff;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }

    .tutorial-intro,
    .tutorial-media {
        padding: 1.2rem;
    }

    .tutorial-media img {
        margin-bottom: 0.5rem;
    }

    /* 联系信息移动端优化 */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    /* 社交图标移动端优化 */
    .social-icons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .social-icons span {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* FAQ移动端优化 */
    .faq-item {
        padding: 1.5rem;
    }

    /* 页脚移动端优化 */
    footer {
        padding: 1rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .footer-content {
        padding: 0 0.5rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* 增加触摸目标大小 */
    nav ul li a,
    .download-btn,
    .social-icons span {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 改善按钮间距 */
    .download-btn {
        margin: 1rem 0;
    }

    /* 优化表单元素 */
    .contact-item {
        margin-bottom: 1rem;
    }

    /* 改善可读性 */
    p, li {
        line-height: 1.6;
        font-size: 1rem;
    }

    /* 优化图片显示 */
    .tutorial-content img {
        width: 100%;
        height: auto;
        margin: 1rem 0;
    }

    /* FAQ项目优化 */
    .faq-item h3 {
        cursor: pointer;
        padding: 1rem 0;
        margin: 0;
        position: relative;
    }

    .faq-item h3::after {
        content: '+';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.2rem;
        color: var(--primary-color);
        transition: var(--transition);
    }

    .faq-item:hover h3::after {
        transform: translateY(-50%) rotate(45deg);
    }

    /* 软件下载表格移动端优化 */
    .download-table-container {
        margin: 1rem -1rem;
        border-radius: 0;
        padding: 0.25rem;
    }

    .download-table {
        font-size: 0.9rem;
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
    }

    .download-table tr {
        display: block;
        border: 1px solid rgba(102, 126, 234, 0.2);
        border-radius: 8px;
        margin-bottom: 1rem;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(5px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .download-table th,
    .download-table td {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
        border: none;
        text-align: left;
        box-sizing: border-box;
    }

    .download-table thead {
        display: none;
    }

    .download-table th {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        font-weight: 600;
        border-radius: 8px 8px 0 0;
        margin-bottom: 0.5rem;
        text-align: center;
        font-size: 0.9rem;
    }

    .download-table td {
        border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    }

    .download-table td:last-child {
        border-bottom: none;
        padding-bottom: 1rem;
    }

    /* 为不同列添加视觉区分 */
    .download-table td:nth-child(1) {
        background: rgba(102, 126, 234, 0.02);
        border-left: 3px solid var(--primary-color);
    }

    .download-table td:nth-child(2) {
        background: rgba(118, 75, 162, 0.02);
        border-left: 3px solid var(--secondary-color);
    }

    .download-table td:nth-child(3) {
        background: rgba(255, 119, 198, 0.02);
        border-left: 3px solid var(--accent-color);
    }

    /* 移动端列宽调整 - 不再需要固定宽度 */
    .download-table th:nth-child(1),
    .download-table td:nth-child(1),
    .download-table th:nth-child(2),
    .download-table td:nth-child(2),
    .download-table th:nth-child(3),
    .download-table td:nth-child(3) {
        width: 100%;
    }

    /* 移动端下载链接垂直排列 */
    .download-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .download-links .download-link {
        justify-content: center;
        min-width: 120px;
    }

    /* 移动端单个下载链接居中 */
    .download-table td:last-child .download-link:only-child {
        margin: 0 auto;
        display: inline-flex;
    }

    .software-info strong {
        font-size: 1rem;
        color: var(--primary-color);
    }

    .software-meta {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        margin-top: 0.5rem;
    }

    .mobile-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 0.25rem;
        margin-top: 0.5rem;
    }

    .mobile-link {
        flex: 1;
        text-align: center;
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
        max-width: 80px;
        min-height: 32px;
        line-height: 1.2;
    }

    .mobile-simple-link {
        display: inline-block;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        text-align: center;
        min-width: 100px;
        max-width: 150px;
    }

    .download-notice {
        margin: 2rem -1rem -1rem -1rem;
        border-radius: 0;
        padding: 1.5rem;
    }

    .download-notice li {
        padding-left: 1.2rem;
    }
}

@media (max-width: 480px) {
    .download-table th:nth-child(2),
    .download-table td:nth-child(2) {
        display: block; /* 显示简介列 */
    }

    .download-table td {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .mobile-links {
        flex-direction: row;
        justify-content: center;
        gap: 0.2rem;
    }

    .mobile-link {
        flex: 1;
        padding: 0.35rem 0.4rem;
        font-size: 0.65rem;
        min-width: 40px;
        max-width: 70px;
        min-height: 28px;
    }

    .mobile-simple-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        min-width: 80px;
        max-width: 120px;
    }

    .software-meta {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
        margin-top: 0.25rem;
    }

    .software-meta span {
        font-size: 0.8rem;
    }
}

/* 确保移动端菜单可见性 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001 !important;
        position: relative !important;
        background: rgba(102, 126, 234, 0.1) !important;
        border: 2px solid var(--primary-color) !important;
        border-radius: 8px !important;
        padding: 0.5rem !important;
    }

    nav ul {
        background: rgba(255, 255, 255, 0.98) !important;
        border: 2px solid var(--primary-color) !important;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important;
    }

    nav ul.active {
        background: rgba(255, 255, 255, 0.98) !important;
        border: 2px solid var(--secondary-color) !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4) !important;
    }

    /* 确保菜单项可见 */
    nav ul li a {
        background: rgba(248, 249, 250, 0.8) !important;
        margin: 0.5rem 1rem !important;
        border-radius: 8px !important;
        border: 1px solid rgba(0,0,0,0.1) !important;
    }

    nav ul.active li a {
        background: rgba(102, 126, 234, 0.05) !important;
    }
}

/* 平板端优化 */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 0 1rem;
    }

    nav ul {
        gap: 1.5rem;
    }

    nav ul li a {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    main {
        padding: 2.5rem 1.5rem;
    }

    section {
        padding: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .nav-container {
        max-width: 100%;
        padding: 0 2rem;
    }

    section {
        margin-bottom: 2.5rem;
    }

    .step-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* 大屏幕优化 */
@media (min-width: 1200px) {
    .nav-container {
        max-width: 1400px;
    }

    main {
        max-width: 1400px;
    }

    section {
        padding: 4rem;
    }
}

/* 动画类 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 移动端菜单滑动动画优化 */
nav ul {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav ul.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

/* 移动端菜单项动画 */
nav ul li {
    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.3s ease-out forwards;
}

nav ul.active li:nth-child(1) { animation-delay: 0.1s; }
nav ul.active li:nth-child(2) { animation-delay: 0.2s; }
nav ul.active li:nth-child(3) { animation-delay: 0.3s; }
nav ul.active li:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端滚动优化 */
@media (max-width: 768px) {
    * {
        -webkit-overflow-scrolling: touch;
    }

    body {
        overflow-x: hidden;
    }

    /* 防止iOS Safari的弹性滚动 */
    html, body {
        height: 100%;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    /* 改善移动端文本选择 */
    * {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    /* 允许在输入框中选择文本 */
    input, textarea, .download-btn, nav ul li a {
        -webkit-user-select: text;
        -khtml-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .download-table {
        background: #2d3748;
        color: #e2e8f0;
    }

    .download-table td {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .download-table tbody tr:hover {
        background: rgba(102, 126, 234, 0.1);
    }

    .software-info strong {
        color: #e2e8f0;
    }

    .download-notice {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    }
}

/* 表格单元格内容优化 */
.download-table td p {
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
    color: var(--text-color);
}

/* 下载按钮的加载状态 */
.download-link.loading {
    pointer-events: none;
    position: relative;
    color: transparent;
}

.download-link.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 移动端表格滚动提示 */
@media (max-width: 768px) {
    .download-table-container {
        position: relative;
    }

    .download-table-container::after {
        content: '👈 左右滑动查看更多信息';
        position: absolute;
        bottom: -2rem;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.8rem;
        color: #666;
        background: rgba(255, 255, 255, 0.9);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        pointer-events: none;
        animation: bounce 2s infinite;
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateX(-50%) translateY(0);
        }
        40% {
            transform: translateX(-50%) translateY(-5px);
        }
        60% {
            transform: translateX(-50%) translateY(-3px);
        }
    }
}