/* 基础样式 */
:root {
    /* --primary-color: #07C160; 微信绿色 */
    --primary-color: #ec6d05;
    --secondary-color: #2B313E;
    --accent-color: #576B95;
    --light-color: #F5F5F5;
    --dark-color: #333333;
    --text-color: #444444;
    --text-light: #777777;
    --white: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn.primary:hover {
    background-color: #ecab77;
    transform: translateY(-2px);
}

.btn.secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn.secondary:hover {
    background-color: #F0F9F5;
    transform: translateY(-2px);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    padding: 20px;
    z-index: 999;
}

.mobile-menu a {
    padding: 15px 0;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* 英雄区域 */
.hero {
    background-color: var(--light-color);
    padding: 150px 0 80px;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: auto;
    height: 600px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* 功能特点 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* 应用截图 */
.screenshot-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.screenshot {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 300px;
}

.screenshot img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* 下载区域 */
.download {
    background-color: var(--primary-color);
    color: var(--white);
}

.download h2, .download .section-description {
    color: var(--white);
}

.download-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
    border: 10px solid var(--white);
    border-radius: var(--border-radius);
}

.qr-code p {
    color: var(--white);
    font-weight: 500;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    min-width: 220px;
}

.btn.download-btn.wechat {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn.download-btn.app-store {
    background-color: #000;
    color: var(--white);
}

.btn.download-btn.google-play {
    background-color: #4285F4;
    color: var(--white);
}

/* 联系我们 */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-method {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.2);
}

/* 页脚 */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer p, .footer a {
    color: #B0B0B0;
}

.footer a:hover {
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    section {
        padding: 60px 0;
    }
    
    .download-options {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}