/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e1e5e9;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #0078d4;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #0078d4;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #0078d4;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero 区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.highlight {
    color: #0078d4;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0078d4, #40e0d0);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #0078d4, #106ebe);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.4);
}

.btn-secondary {
    background: white;
    color: #0078d4;
    border: 2px solid #0078d4;
}

.btn-secondary:hover {
    background: #0078d4;
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #0078d4;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.hero-image {
    position: relative;
}

.app-preview {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.app-preview:hover {
    transform: translateY(-10px);
}

.screenshot {
    width: 100%;
    height: auto;
    display: block;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-preview:hover .preview-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

/* 功能特性 */
.features {
    padding: 60px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0078d4, #40e0d0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    text-align: center;
}

.feature-description {
    color: #666;
    line-height: 1.7;
    text-align: center;
    max-width: 100%;
}

/* 工作流程 */
.workflow {
    padding: 60px 0;
    background: #f8f9fa;
}

.workflow-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0078d4, #40e0d0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    text-align: center;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    text-align: center;
    max-width: 100%;
}

/* 下载区域 */
.download {
    padding: 60px 0;
    background: white;
}

.download-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    color: white;
    margin-bottom: 60px;
}

.version-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.version-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.version-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.download-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.download-features {
    list-style: none;
    margin-bottom: 0;
}

.download-features li {
    padding: 8px 0;
    font-size: 1.1rem;
}

.download-actions {
    text-align: center;
}

.btn-download {
    background: white;
    color: #667eea;
    font-size: 1.2rem;
    padding: 20px 40px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.download-size {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 12px;
}

.download-note {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.4;
}

.system-requirements {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 16px;
}

.system-requirements h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    text-align: center;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.requirement-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #0078d4;
}

/* 使用指南 */
.guide {
    padding: 60px 0;
    background: #f8f9fa;
}

.guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-tabs {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-button {
    flex: 1;
    padding: 16px 24px;
    background: none;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: #0078d4;
    color: white;
}

.tab-content {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.guide-steps {
    list-style: none;
    counter-reset: step-counter;
}

.guide-steps li {
    counter-increment: step-counter;
    position: relative;
    padding: 16px 0 16px 60px;
    border-bottom: 1px solid #f0f0f0;
}

.guide-steps li:last-child {
    border-bottom: none;
}

.guide-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 16px;
    width: 32px;
    height: 32px;
    background: #0078d4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.usage-section, .settings-section {
    margin-bottom: 32px;
}

.usage-section h4, .settings-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.usage-section ul, .settings-section ul {
    list-style: none;
    padding-left: 0;
}

.usage-section li, .settings-section li {
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
}

.usage-section li::before, .settings-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0078d4;
    font-weight: bold;
}

code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
}

/* 常见问题 */
.faq {
    padding: 60px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.icon-chevron {
    transition: transform 0.3s ease;
}

.faq-item.active .icon-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    background: white;
    padding: 24px 30px;
    border-top: 1px solid #f0f0f0;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

/* FAQ答案内容样式 */
.faq-answer p {
    margin: 0 0 16px 0;
    color: #666;
    line-height: 1.6;
}

.faq-answer ul, .faq-answer ol {
    margin: 0 0 16px 0;
    padding-left: 20px;
    color: #666;
}

.faq-answer li {
    margin: 8px 0;
    line-height: 1.5;
}

/* FAQ展开动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 联系我们 */
.contact {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0078d4, #40e0d0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-details p {
    font-size: 1.1rem;
    color: #0078d4;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-details span {
    color: #666;
    font-size: 0.95rem;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    justify-content: center;
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
    text-align: center;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #0078d4;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #999;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0078d4;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: #106ebe;
    transform: translateY(-2px);
}

.back-to-top.show {
    display: flex;
}

/* 图标字体 */
.icon-download::before { content: '⬇'; }
.icon-info::before { content: 'ℹ'; }
.icon-play::before { content: '▶'; }
.icon-auto::before { content: '🔄'; }
.icon-smart::before { content: '🧠'; }
.icon-history::before { content: '📝'; }
.icon-tray::before { content: '📱'; }
.icon-preview::before { content: '👁'; }
.icon-modern::before { content: '✨'; }
.icon-email::before { content: '✉'; }
.icon-github::before { content: '🐙'; }
.icon-wechat::before { content: '💬'; }
.icon-feedback::before { content: '💡'; }
.icon-chevron::before { content: '▼'; }
.icon-arrow-up::before { content: '↑'; }

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
        text-align: center;
    }
    
    .workflow-steps {
        flex-direction: column;
        gap: 50px;
        text-align: center;
        align-items: center;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        justify-content: center;
    }
    
    .step {
        width: 100%;
        max-width: 320px;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .step-number {
        margin: 0 auto 24px;
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .step-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-content h3 {
        margin-bottom: 16px;
        font-size: 1.3rem;
        text-align: center;
        width: 100%;
    }
    
    .step-content p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
        text-align: center;
        color: #666;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .download-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
        text-align: center;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .requirement-item {
        text-align: center;
    }
    
    .guide-tabs {
        flex-direction: column;
    }
    
    .tab-content {
        text-align: left;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .faq-list {
        padding: 0 10px;
    }
    
    .faq-question {
        padding: 20px 15px;
        text-align: left;
    }
    
    .faq-answer {
        padding: 20px 15px;
        text-align: left;
    }
}

/* 平板端响应式设计 */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-container {
        gap: 50px;
    }
    
    .hero-title {
        font-size: 3rem;
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 35px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .feature-card {
        text-align: center;
        padding: 35px 25px;
    }
    
    .download-card {
        padding: 50px 40px;
        text-align: center;
    }
    
    .workflow-steps {
        gap: 35px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 300px;
    }
    
    .step-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .step-content h3 {
        text-align: center;
        width: 100%;
    }
    
    .step-content p {
        text-align: center;
        max-width: 100%;
    }
    
    .contact-item {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 25px 15px;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 20px auto;
    }
    
    .download-card {
        padding: 25px 15px;
        text-align: center;
    }
    
    .tab-content {
        padding: 25px 15px;
        text-align: left;
    }
    
    .contact-item {
        padding: 25px 15px;
        text-align: center;
        align-items: center;
    }
    
    .faq-question {
        padding: 15px 10px;
    }
    
    .faq-answer {
        padding: 15px 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 0 15px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 移除有问题的滚动动画 - 所有元素默认可见 */

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0078d4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}