/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #F0ECE3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 浅绿色主题定义 */
:root {
    --primary-color: #8BC34A;
    --secondary-color: #E8F5E8;
    --accent-color: #4CAF50;
    --text-color: #333333;
    --light-text: #666666;
    --white: #FFFFFF;
    --light-green: #C8E6C9;
    --dark-green: #2E7D32;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--white);
}

.primary-btn:hover {
    background-color: #B8A090;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 175, 160, 0.3);
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 180, 192, 0.3);
}

.download-btn {
    background-color: var(--accent-color);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    margin-bottom: 20px;
    width: 220px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(197, 175, 160, 0.3);
}

.download-btn:hover {
    background-color: #B8A090;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(197, 175, 160, 0.4);
    scale: 1.05;
}

.download-btn:active {
    transform: translateY(-1px);
    scale: 1.02;
}

.download-btn i {
    font-size: 32px;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-text span {
    font-size: 12px;
    opacity: 0.8;
}

.download-text strong {
    font-size: 16px;
}

/* 标题样式 */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark-green);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 16px auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(139, 195, 74, 0.3);
}

/* 导航栏样式 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    color: var(--accent-color);
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero区域样式 */
.hero {
    background-color: var(--light-green);
    padding: 120px 0 80px;
    margin-top: 70px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 200px;
    color: var(--primary-color);
    opacity: 0.8;
}

/* 功能介绍样式 */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--secondary-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(157, 180, 192, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: var(--dark-green);
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.2);
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-green);
}

.feature-item p {
    color: var(--light-text);
    line-height: 1.6;
}

/* 特色亮点样式 */
.highlights {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.highlights-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.1);
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(139, 195, 74, 0.2);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3);
}

.highlight-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-green);
}

.highlight-text p {
    color: var(--light-text);
    line-height: 1.6;
}

/* 下载区域样式 */
.download {
    padding: 80px 0;
    background-color: var(--secondary-color);
    text-align: center;
}

.download-subtitle {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 60px;
    text-align: center;
}

/* App截图区域样式 */
.screenshots {
    padding: 80px 0;
    background-color: var(--light-green);
    text-align: center;
}

.screenshots-subtitle {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 60px;
    text-align: center;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 60px;
    justify-items: center;
}

.screenshot-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 12px 35px rgba(139, 195, 74, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 320px;
    border: 1px solid var(--light-green);
}

.screenshot-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(139, 195, 74, 0.3);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

/* 响应式截图区域 */
@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .screenshot-item {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .screenshots {
        padding: 60px 0;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .screenshot-item {
        max-width: 250px;
    }
}

.download-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.qrcode i {
    font-size: 150px;
    color: var(--primary-color);
    opacity: 0.8;
}

.qrcode p {
    font-size: 16px;
    color: var(--light-text);
}

/* 页脚样式 */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-info .logo i {
    color: var(--accent-color);
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .download-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .download-buttons {
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-image {
        font-size: 150px;
    }

    .features, .highlights, .download {
        padding: 60px 0;
    }

    .features-grid {
        gap: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .download-btn {
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }

    .qrcode i {
        font-size: 120px;
    }
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item, .highlight-item {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

.highlight-item:nth-child(1) { animation-delay: 0.1s; }
.highlight-item:nth-child(2) { animation-delay: 0.2s; }
.highlight-item:nth-child(3) { animation-delay: 0.3s; }
.highlight-item:nth-child(4) { animation-delay: 0.4s; }