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

/* 全局字体和基础样式 */
body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* 基础容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 链接样式 */
a {
    color: #0078d4;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #005a9e;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #005a9e, #004080);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #333;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    color: #0078d4;
    border-color: #0078d4;
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

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

h1 {
    font-size: 48px;
    font-weight: 900;
}

h2 {
    font-size: 36px;
    font-weight: 800;
}

h3 {
    font-size: 24px;
    font-weight: 700;
}

/* 段落样式 */
p {
    margin-bottom: 20px;
    color: #555;
}

/* 列表样式 */
ul {
    list-style: none;
}

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

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

/* Logo样式 */
.logo {
    font-size: 24px;
    font-weight: 900;
    color: #0078d4;
}

.logo-text {
    background: linear-gradient(135deg, #0078d4, #005a9e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 桌面导航样式 */
.nav-desktop {
    flex: 1;
    text-align: center;
    margin: 0 50px;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding: 10px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #0078d4, #005a9e);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

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

/* 移动导航按钮 */
.nav-mobile-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-mobile-icon {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #333;
    position: relative;
    transition: all 0.3s ease;
}

.nav-mobile-icon::before,
.nav-mobile-icon::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.nav-mobile-icon::before {
    top: -8px;
}

.nav-mobile-icon::after {
    top: 8px;
}

/* 移动导航菜单 */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.98));
    backdrop-filter: blur(20px);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.3s ease;
    padding-top: 100px;
    overflow-y: auto;
}

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

.nav-mobile-list {
    padding: 0 30px;
}

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

.nav-mobile-link {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.nav-mobile-link:hover {
    color: #0078d4;
    transform: translateX(10px);
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #0078d4, #005a9e);
    color: #fff;
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
    animation: heroBg 20s linear infinite;
}

@keyframes heroBg {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 56px;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    color: #fff;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-desc {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-size: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 通用区块样式 */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-title {
    background: linear-gradient(135deg, #0078d4, #005a9e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-size: 40px;
    font-weight: 800;
}

.section-subtitle {
    color: #666;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* 核心功能样式 */
.features {
    background-color: #fff;
}

.features-content {
    max-width: 1000px;
    margin: 0 auto;
}

.features-intro {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 60px;
    text-align: center;
}

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

.feature-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #0078d4, #005a9e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 120, 212, 0.15);
    border-color: #0078d4;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0078d4, #005a9e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(0, 120, 212, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 120, 212, 0.4);
}

.feature-title {
    margin-bottom: 15px;
    font-size: 24px;
    color: #1a1a1a;
}

.feature-desc {
    color: #666;
    line-height: 1.7;
}

/* 兼容性部分样式 */
.compatibility {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.compatibility-title {
    margin-bottom: 15px;
    font-size: 28px;
    color: #1a1a1a;
}

.compatibility-desc {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* 功能模块样式 */
.modules {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.module-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 120, 212, 0.15);
    border-color: #0078d4;
}

.module-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0078d4, #005a9e);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #fff;
    font-size: 48px;
    box-shadow: 0 5px 20px rgba(0, 120, 212, 0.3);
    transition: all 0.3s ease;
}

.module-card:hover .module-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 120, 212, 0.4);
}

.module-title {
    margin-bottom: 10px;
    font-size: 24px;
    color: #1a1a1a;
}

.module-desc {
    color: #666;
    line-height: 1.6;
}

/* 新功能样式 */
.new-features {
    background-color: #fff;
}

.new-features-content {
    max-width: 800px;
    margin: 0 auto;
}

.feature-highlight {
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.1);
    transform: translateY(-5px);
}

.highlight-title {
    margin-bottom: 10px;
    font-size: 24px;
    color: #1a1a1a;
}

.highlight-desc {
    color: #666;
    line-height: 1.7;
}

/* 下载区域样式 */
.download {
    background: linear-gradient(135deg, #0078d4, #005a9e);
    color: #fff;
}

.download .section-title {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
}

.download .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

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

.download-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #fff;
}

.download-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0078d4, #005a9e);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #fff;
    font-size: 48px;
    box-shadow: 0 5px 20px rgba(0, 120, 212, 0.3);
    transition: all 0.3s ease;
}

.download-card:hover .download-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 120, 212, 0.4);
}

.download-title {
    margin-bottom: 10px;
    font-size: 24px;
    color: #1a1a1a;
}

.download-desc {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #0078d4, #005a9e);
    color: #fff;
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
}

.footer-logo .logo-text {
    -webkit-text-fill-color: #fff;
    background: #fff;
    -webkit-background-clip: text;
    background-clip: text;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-link-group h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(5px);
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* 隐藏桌面导航 */
    .nav-desktop {
        display: none;
    }
    
    /* 显示移动导航按钮 */
    .nav-mobile-btn {
        display: block;
    }
    
    /* 调整头部内容 */
    .header-content {
        justify-content: space-between;
    }
    
    .header-cta {
        display: none;
    }
    
    /* 调整英雄区域 */
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-desc {
        font-size: 18px;
    }
    
    /* 调整通用区块 */
    section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    /* 调整网格布局 */
    .features-grid,
    .modules-grid,
    .download-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 调整按钮大小 */
    .btn-large {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    /* 调整卡片内边距 */
    .feature-card,
    .module-card,
    .download-card,
    .feature-highlight {
        padding: 30px 20px;
    }
    
    /* 调整图标大小 */
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .module-icon,
    .download-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    /* 调整标题大小 */
    .feature-title,
    .module-title,
    .download-title,
    .highlight-title {
        font-size: 20px;
    }
    
    /* 调整移动导航 */
    .nav-mobile {
        width: 90%;
    }
    
    /* 调整页脚 */
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    /* 调整容器内边距 */
    .container {
        padding: 0 15px;
    }
    
    /* 调整英雄区域 */
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    /* 调整区块标题 */
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    /* 调整页脚 */
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0078d4, #005a9e);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #005a9e, #004080);
}

/* 选择文本样式 */
::selection {
    background: rgba(0, 120, 212, 0.2);
    color: #0078d4;
}

::-moz-selection {
    background: rgba(0, 120, 212, 0.2);
    color: #0078d4;
}