/* 全局样式重置 */
* {
    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: #f5f7fa;
    overflow-x: hidden;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #0078d4, #005a9e);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #005a9e, #004a7f);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #0078d4;
    border: 2px solid #0078d4;
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.1);
}

.btn-secondary:hover {
    background: #0078d4;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.4);
    transform: translateY(-2px);
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* 文本样式 */
p {
    margin-bottom: 20px;
    color: #666;
}

/* 页面头部 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-size: 28px;
    color: #0078d4;
    margin: 0;
    font-weight: 800;
    letter-spacing: 1px;
}

/* 桌面端导航 */
.nav-desktop {
    display: flex;
}

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

.nav-item {
    margin-left: 35px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: #0078d4;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0078d4;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-icon {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .menu-icon:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.mobile-menu-btn.active .menu-icon:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-icon:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* 移动端导航 */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile-list {
    list-style: none;
    padding: 80px 30px;
}

.nav-mobile-item {
    margin-bottom: 25px;
}

.nav-mobile-link {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: 500;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.nav-mobile-link:hover {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: #fff;
    transform: translateX(10px);
}

/* 导航遮罩层 */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 首頁英雄區 */
.hero {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-60px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 52px;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: -1px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

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

/* 核心優勢 */
.features {
    padding: 120px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.feature-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
}

.feature-icon {
    font-size: 64px;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

/* 免費下載 */
.download {
    padding: 120px 0;
    background-color: #f8f9fa;
}

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

.download-card {
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #fff 0%, #fff 100%), linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #0078d4;
}

.download-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.download-card p {
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* 用戶評價 */
.testimonials {
    padding: 120px 0;
    background-color: #fff;
}

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

.testimonial-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #0078d4;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.author-date {
    font-size: 14px;
    color: #999;
}

/* 多平台支持 */
.platforms {
    padding: 120px 0;
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: #fff;
}

.platforms .section-header h2, .platforms .section-header p {
    color: #fff;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.platform-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.platform-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.platform-icon {
    font-size: 72px;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.platform-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.platform-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 0;
}

/* 常見問題 */
.support {
    padding: 120px 0;
    background-color: #fff;
}

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

.faq-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 35px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.faq-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
}

.faq-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.faq-item p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

/* 頁腳 */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 40px;
}

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

.footer-info h3 {
    font-size: 28px;
    color: #0078d4;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
    display: inline-block;
    position: relative;
    padding-left: 10px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0078d4;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.footer-links a:hover {
    color: #0078d4;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-social h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background-color: #0078d4;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 120, 212, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 46px;
    }
    
    .section-header h2 {
        font-size: 42px;
    }
    
    .feature-card, .download-card, .testimonial-card, .platform-item {
        padding: 35px 30px;
    }
}

@media (max-width: 768px) {
    /* 隐藏桌面端导航 */
    .nav-desktop {
        display: none;
    }
    
    /* 显示移动端菜单按钮 */
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h2 {
        font-size: 38px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .features, .download, .testimonials, .platforms, .support {
        padding: 80px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .features-grid, .download-grid, .testimonials-grid, .platforms-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 24px;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .feature-card, .download-card, .testimonial-card, .platform-item, .faq-item {
        padding: 30px 25px;
    }
    
    .feature-card h3, .download-card h3, .platform-item h3 {
        font-size: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0078d4;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #005a9e;
}