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

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

/* 企业科技风格主题色 */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #2d3748;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --tech-blue: #0d6efd;
    --tech-purple: #6f42c1;
    --tech-green: #198754;
    --tech-gray: #6c757d;
    --gradient-primary: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
    --gradient-secondary: linear-gradient(135deg, #6f42c1 0%, #007bff 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.logo img {
    height: 40px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

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

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

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

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

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

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

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1100;
    width: 40px;
    height: 40px;
}

.menu-icon, .close-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
    position: relative;
}

.menu-icon::before, .menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

.close-icon {
    transform: rotate(45deg);
}

.close-icon::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--dark-color);
    transform: rotate(90deg);
    transition: var(--transition);
}

/* 移动端导航遮罩层 */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 990;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    display: block;
}

/* 移动端导航菜单 */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1050;
    transition: var(--transition);
    padding: 80px 20px 20px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

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

.nav-mobile-list {
    list-style: none;
}

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

.nav-mobile-link {
    display: block;
    text-decoration: none;
    color: var(--dark-color);
    font-size: 18px;
    font-weight: 500;
    padding: 12px 0;
    transition: var(--transition);
}

.nav-mobile-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* 英雄区域 */
.hero {
    padding: 150px 0 100px;
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* 通用区域样式 */
.features, .advantages, .download {
    padding: 100px 0;
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--tech-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* 产品特点 */
.features {
    background-color: #fff;
}

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

.feature-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-description {
    color: var(--tech-gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.feature-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.feature-link:hover {
    transform: translateX(5px);
}

/* 优势 */
.advantages {
    background-color: #fff;
}

.advantages-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.advantages-text {
    flex: 1;
    min-width: 300px;
}

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

.advantages-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.advantages-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.advantage-paragraph {
    font-size: 18px;
    line-height: 1.8;
    color: var(--tech-gray);
    margin-bottom: 20px;
}

.advantage-list {
    list-style: none;
    margin-top: 30px;
}

.advantage-item {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.advantage-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* 下载区域 */
.download {
    background: var(--gradient-secondary);
    color: #fff;
    text-align: center;
}

.download .section-title {
    color: #fff;
}

.download .section-title::after {
    background: #fff;
}

.download-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.download-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

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

/* 页脚 */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
    filter: invert(1);
    transition: var(--transition);
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-description {
    margin-bottom: 20px;
    opacity: 0.7;
    line-height: 1.7;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

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

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

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.7;
}

.footer-link:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    opacity: 0.7;
}

.footer-policies {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-policy-link {
    color: #cbd5e1;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-policy-link:hover {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }
    
    .advantages-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* 头部导航 */
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* 英雄区域 */
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    /* 通用区域样式 */
    .features, .advantages, .download {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    /* 产品特点 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 优势 */
    .advantages-content {
        flex-direction: column;
    }
    
    /* 下载区域 */
    .download-title {
        font-size: 28px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* 页脚 */
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-policies {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* 英雄区域 */
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    /* 下载区域 */
    .download-title {
        font-size: 24px;
    }
    
    /* 页脚 */
    .footer-policies {
        flex-direction: column;
        gap: 15px;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-title, .hero-subtitle, .hero-actions {
    animation: fadeInUp 1s ease-out;
}

.feature-card, .advantage-item, .download-button {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-card:nth-child(1), .advantage-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2), .advantage-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3), .advantage-item:nth-child(3) {
    animation-delay: 0.3s;
}

.advantages-image img {
    animation: slideInRight 0.8s ease-out;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 防止内容被固定头部遮挡 */
section {
    scroll-margin-top: 80px;
}