/* 全局样式 */
/* 使用本地系统字体方案 */

:root {
    --primary-color: #3a86ff;
    --primary-light: #6aa2ff;
    --primary-dark: #0057e7;
    --accent-color: #ff006e;
    --text-color: #333;
    --light-text: #777;
    --white: #fff;
    --light-bg: #f8f9fa;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

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

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

section {
    padding: 100px 5%;
}

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

/* 导航栏 */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 英雄区 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e5e6 100%);
}

.hero:before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(58, 134, 255, 0.05);
    z-index: 0;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(58, 134, 255, 0.05);
    z-index: 0;
}

.hero-content {
    flex: 1;
    z-index: 2;
    padding-right: 5%;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.tagline {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

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

.download-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(58, 134, 255, 0.4);
}

.learn-more-btn {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.device-mockup {
    position: relative;
    transform: perspective(1000px) rotateY(-10deg);
    transition: all 0.5s ease;
}

.device-mockup:hover {
    transform: perspective(1000px) rotateY(0);
}

.device-mockup img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floating-icon {
    position: absolute;
    background-color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: float 3s infinite ease-in-out;
}

.icon-1 {
    top: 20%;
    left: -25px;
    animation-delay: 0s;
}

.icon-2 {
    top: 60%;
    right: -25px;
    animation-delay: 0.5s;
}

.icon-3 {
    bottom: -25px;
    left: 40%;
    animation-delay: 1s;
}

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

/* 功能区 */
.features {
    background-color: var(--white);
}

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

.feature-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

/* 使用步骤 */
.how-it-works {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.steps-container:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 4px;
    background-color: var(--primary-light);
}

.step {
    display: flex;
    gap: 30px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.step.animate {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.step:hover .step-content {
    box-shadow: var(--hover-shadow);
}

/* 案例区 */
.cases {
    background-color: var(--white);
}

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

.case-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.case-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.case-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-block;
}

/* 下载区 */
.download {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.download h2:after {
    background: var(--white);
}

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

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

.download-buttons .download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-buttons .download-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.download-btn i {
    font-size: 1.5rem;
}

/* 页脚 */
footer {
    background-color: #333;
    color: var(--white);
    padding: 80px 5% 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
}

.footer-column a {
    display: block;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .steps-container:before {
        left: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 5%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 5%;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 15px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .cases-container, .features-container {
        grid-template-columns: 1fr;
    }
} 