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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

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

nav {
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4CAF50;
}

/* 主页英雄区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.hero h2 {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2.5rem;
}

/* 特点区域 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a1a1a;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.feature-item {
    text-align: left;
    padding: 2rem;
    border-radius: 10px;
    background: #F1F8E9;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-size: 1.5rem;
}

.feature-item ul {
    list-style: none;
    padding: 0;
}

.feature-item li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.feature-item li::before {
    content: "•";
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

/* 场景应用区域 */
.scenes {
    padding: 80px 0;
    background-color: #E8F5E9;
}

.scenes h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a1a1a;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.scene-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.scene-item:hover {
    transform: translateY(-5px);
}

.scene-item h3 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.scene-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #4CAF50;
}

.scene-item ul {
    list-style: none;
    padding: 0;
}

.scene-item li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.scene-item li::before {
    content: "→";
    color: #4CAF50;
    position: absolute;
    left: 0;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #4CAF50, transparent);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.5rem;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4CAF50;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #F1F8E9;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info p::before {
    content: '•';
    color: #4CAF50;
    font-size: 1.5rem;
}

/* 页脚样式优化 */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

footer p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

footer .icp {
    margin-top: 1rem;
}

footer .icp a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

footer .icp a:hover {
    color: #4CAF50;
}

/* 应用截图展示 */
.app-screenshots {
    margin: 60px 0;
    text-align: center;
}

.app-screenshots h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.screenshot-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: center;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-10px);
}

.screenshot-item img.phone-frame {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 8px solid #333;
    background: #fff;
}

.screenshot-item p {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: #4CAF50;
    transform: scale(1.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .nav-links {
        display: none;
    }

    .feature-grid,
    .scene-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item,
    .scene-item {
        margin: 0 20px;
    }

    .contact {
        padding: 60px 0;
    }

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .contact-info {
        margin: 0 20px;
        padding: 1.5rem;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .screenshot-slider {
        gap: 15px;
        padding: 15px;
    }

    .screenshot-item {
        width: 220px;
    }
} 