/* 全局样式 */
:root {
    --primary-color: #ff6b00;
    --secondary-color: #333;
    --background-color: #f8f9fa;
    --text-color: #333;
    --light-gray: #f4f4f4;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* 导航栏样式 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 30px;
    font-weight: 500;
    transition: var(--transition);
}

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

.cta-button {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
}

.cta-button:hover {
    background-color: #e65c00;
}

/* 英雄区域样式 */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

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

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

.primary-button, .secondary-button {
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.primary-button {
    background-color: var(--primary-color);
    color: white;
}

.secondary-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.primary-button:hover {
    background-color: #e65c00;
}

.secondary-button:hover {
    background-color: white;
    color: var(--primary-color);
}

/* 特色优势样式 */
.features {
    padding: 100px 0;
    background-color: var(--background-color);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* 产品展示样式 */
.products {
    padding: 100px 0;
}

.products h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

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

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px;
    margin: 0;
}

.product-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* 用户评价样式 */
.testimonials {
    padding: 100px 0;
    background-color: var(--background-color);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stars {
    color: #ffd700;
    margin-bottom: 20px;
}

.author {
    margin-top: 20px;
    font-weight: 500;
    color: #666;
}

/* 注册区域样式 */
.register {
    padding: 100px 0;
    text-align: center;
}

.register h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.register p {
    margin-bottom: 40px;
    color: #666;
}

.register-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.register-form input {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* 页脚样式 */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

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

.footer-section p {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏 */
    .nav-links {
        display: none;
    }
    
    .navbar .container {
        padding: 10px 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    /* Hero 区域 */
    .hero {
        height: 80vh;
        margin-top: 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    /* 特色优势 */
    .features {
        padding: 60px 0;
    }
    
    .features h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    /* 产品展示 */
    .products {
        padding: 60px 0;
    }
    
    .products h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .product-card img {
        height: 250px;
    }
    
    /* 用户评价 */
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials h2 {
        font-size: 2rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    /* 下载区域 */
    .download {
        padding: 60px 0;
    }
    
    .download h2 {
        font-size: 2rem;
    }
    
    .download p {
        padding: 0 20px;
    }
    
    .download-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }
    
    .app-store-button,
    .google-play-button {
        width: 100%;
        justify-content: center;
    }
    
    .app-features {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    /* 页脚 */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        padding: 0 20px;
    }
}

/* 小屏幕设备 */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .feature-card i {
        font-size: 2rem;
    }
    
    .product-card img {
        height: 200px;
    }
    
    .app-store-button i,
    .google-play-button i {
        font-size: 1.5rem;
    }
    
    .button-text {
        font-size: 0.9rem;
    }
}

/* 确保图片在移动设备上正确显示 */
.hero-background {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* 优化触摸目标大小 */
a, button {
    min-height: 44px;
    min-width: 44px;
}

/* 优化文本可读性 */
p, li {
    line-height: 1.6;
    max-width: 65ch;
}

/* 优化表单元素 */
input, button {
    font-size: 16px; /* 防止 iOS 缩放 */
}

/* APP下载区域样式 */
.download {
    padding: 100px 0;
    text-align: center;
    background-color: var(--background-color);
}

.download h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.download p {
    margin-bottom: 40px;
    color: #666;
}

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

.app-store-button,
.google-play-button {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.app-store-button {
    background-color: #000;
}

.google-play-button {
    background-color: #414141;
}

.app-store-button i,
.google-play-button i {
    font-size: 2rem;
    margin-right: 10px;
}

.button-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.small-text {
    font-size: 0.8rem;
    opacity: 0.8;
}

.large-text {
    font-size: 1.2rem;
    font-weight: 500;
}

.app-store-button:hover,
.google-play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.app-features .feature {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.app-features .feature:hover {
    transform: translateY(-5px);
}

.app-features .feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.app-features .feature h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.app-features .feature p {
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-store-button,
    .google-play-button {
        width: 100%;
        max-width: 300px;
    }
} 