/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2e7d32;
    --secondary-color: #388e3c;
    --accent-color: #4caf50;
    --text-color: #333;
    --light-text: #fafafa;
    --background-color: #f5f5f5;
    --card-background: #fff;
    --footer-background: #263238;
    --transition-speed: 0.3s;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/back.png');
    background-position: center;
    background-size: cover;
    opacity: 0.15;
    z-index: -1;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

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

/* 头部导航样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 5px;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

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

/* 英雄区域样式 - 全新简洁风格 */
.hero {
    padding: 120px 0 80px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 60px;
    background-color: #ffffff;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(46, 125, 50, 0.3), transparent);
}

.hero-content {
    flex: 0 1 450px;
    padding: 0;
    min-width: 300px;
    text-align: left;
    position: relative;
    z-index: 1;
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #555;
    line-height: 1.5;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.25s ease;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    position: relative;
    overflow: hidden;
}

.primary-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.primary-btn:hover::after {
    transform: translateX(0);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid currentColor;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 125, 50, 0.05);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
}

.secondary-btn:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.secondary-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-image {
    flex: 0 1 500px;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.phone-mockup {
    max-width: 300px;
    position: relative;
}

.phone-mockup img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.phone-mockup:hover img {
    transform: translateY(-10px);
}

/* 功能区块样式 */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.features {
    padding: 80px 0;
    background-color: #ffffff;
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* 关于我们区块样式 */
.about {
    padding: 80px 0;
    background-color: #ffffff;
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 下载区块样式 */
.download {
    padding: 80px 0;
    text-align: center;
    background-color: #ffffff;
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.download p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.download-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

.app-download, .mini-program {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    padding: 30px 20px;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.app-download:hover, .mini-program:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.app-download h3, .mini-program h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.qr-code {
    margin: 30px auto 0;
    max-width: 200px;
}

.qr-code img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.app-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}

.app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 8px;
    width: 80%;
    transition: all var(--transition-speed);
}

.app-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.app-btn i {
    font-size: 1.8rem;
    margin-right: 10px;
}

/* 微信小程序样式优化 */
.mini-program {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

.mini-program h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.mini-program p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: center;
}

.mini-program .qr-code {
    margin: 0 auto;
    width: 80%;
    max-width: 180px;
}

.mini-program .qr-code img {
    width: 100%;
    height: auto;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 页脚样式 */
footer {
    background-color: var(--footer-background);
    color: var(--light-text);
    padding: 60px 0 20px;
    border-radius: 20px 20px 0 0;
    margin-top: 30px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
}

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

.company-info {
    flex: 2;
    min-width: 300px;
}

.company-info h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.company-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.company-info p i {
    margin-right: 10px;
    margin-top: 5px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--light-text);
    opacity: 0.8;
    transition: opacity var(--transition-speed);
}

.footer-links ul li a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 响应式设计调整 */
@media (max-width: 992px) {
    .hero {
        padding: 100px 0 60px;
        gap: 40px;
    }
    
    .hero-content {
        padding-left: 20px;
    }
    
    .hero-content h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: circle(0px at 100% 0);
        transition: clip-path 0.5s ease-in-out;
        z-index: 999;
        text-align: center;
    }
    
    nav.active {
        clip-path: circle(1500px at 100% 0);
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }
    
    nav ul li a {
        display: inline-block;
        width: 80%;
        padding: 10px 0;
    }
    
    .hero {
        flex-direction: column-reverse;
        padding: 90px 20px 50px;
    }
    
    .hero-content {
        margin: 0 auto 30px;
        border-left: none;
        border-top: 4px solid var(--primary-color);
        padding: 20px 0 0 0;
        text-align: center;
        max-width: 90%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .company-info p {
        justify-content: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-links ul li {
        margin-bottom: 0;
    }
    
    .download-container {
        flex-direction: column;
        align-items: center;
    }
    
    .app-download, .mini-program {
        width: 90%;
        margin-bottom: 30px;
    }
    
    .app-download h3 {
        text-align: center;
    }
    
    .app-download p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 15px 40px;
        text-align: center;
    }
    
    .hero-content {
        padding: 15px 0 0 0;
        margin: 0 auto 25px;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        align-items: center;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-container {
        flex-direction: column;
        align-items: center;
    }
    
    .app-download, .mini-program {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 25px;
    }
    
    .mini-program .qr-code {
        width: 70%;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .app-btn {
        width: 80%;
        margin: 0 auto 15px;
        justify-content: center;
    }
} 