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

:root {
    --primary-color: #FF6A00;
    --primary-hover: #E55A00;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

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

/* 头部导航 */
.header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-wrapper {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.logo-plus {
    font-size: 22px;
    font-weight: 300;
    color: var(--primary-color);
    margin: 0 4px;
}

.logo-subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.download-btn {
    background: #FF6A00;
    color: white;
    padding: 10px 28px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 15px;
}

.download-btn:hover {
    background: #E55A00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

/* Hero 区域 */
.hero {
    background: linear-gradient(180deg, #7B68EE 0%, #9370DB 100%);
    min-height: 680px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: rgba(255,255,255,0.05);
    transform: rotate(35deg);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 80px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 52px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 48px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

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

.btn {
    padding: 14px 36px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #FF6A00;
    color: white;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.3);
}

.btn-primary:hover {
    background: #E55A00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.9);
    color: #7B68EE;
    border: none;
}

.btn-secondary:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Hero 视觉元素 */
.hero-image {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.platform-preview {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    display: block;
}

.circle-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: -1;
}

.circle-decoration::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    border: 2px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

/* 功能特性 */
.features {
    padding: 100px 0;
    background: #FAFBFC;
}

.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 64px;
    color: #1A1A1A;
    font-weight: 600;
    letter-spacing: -0.5px;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: rgba(255, 106, 0, 0.1);
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 产品展示 */
.products {
    padding: 80px 0;
}

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

.product-card {
    text-align: center;
    padding: 35px 30px;
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid #E5E7EB;
    background: white;
}

.product-card:hover {
    border-color: rgba(255, 106, 0, 0.3);
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.08);
    transform: translateY(-3px);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
}

.text-icon {
    background: #E3F2FD;
    color: #1976D2;
}

.sheet-icon {
    background: #E8F5E9;
    color: #388E3C;
}

.ppt-icon {
    background: #FFF3E0;
    color: #F57C00;
}

.pdf-icon {
    background: #FFEBEE;
    color: #D32F2F;
}

.product-name {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.product-desc {
    color: var(--text-secondary);
}

/* CTA 区域 */
.cta {
    background: linear-gradient(180deg, #7B68EE 0%, #9370DB 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::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 1200 600"><circle cx="100" cy="100" r="50" fill="rgba(255,255,255,0.05)"/><circle cx="1100" cy="500" r="80" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat;
    background-size: cover;
}

.cta-title {
    font-size: 36px;
    color: white;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

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

/* 页脚 */
.footer {
    background: #1A1A1A;
    color: #999;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 16px;
}

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

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

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #333;
    border-radius: 4px;
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .device-mockup {
        transform: none;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

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