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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #FFFFFF;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #98FB98;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-links a:hover {
    background-color: #98FB98;
    color: #FFFFFF;
}

/* 分屏展示 */
.split-screen {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F8F9FA;
    position: relative;
    overflow: hidden;
}

.split-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(152, 251, 152, 0.1), rgba(255, 255, 255, 0.8));
}

.split-screen .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.split-screen h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333333;
}

.split-screen p {
    font-size: 20px;
    color: #666666;
    margin-bottom: 60px;
}

.device-showcase {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.device {
    position: relative;
    transition: all 0.3s ease;
}

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

.device.pc {
    width: 400px;
    height: 250px;
}

.device.tablet {
    width: 200px;
    height: 250px;
}

.device.mobile {
    width: 120px;
    height: 200px;
}

.device-screen {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 90%;
    height: 80%;
    background-color: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.device-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #98FB98, #FFFFFF);
    opacity: 0.8;
}

/* 核心优势 */
.advantages {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.advantages h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 60px;
    color: #333333;
}

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

.advantage-item {
    text-align: center;
    padding: 40px;
    background-color: #F8F9FA;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.advantage-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.advantage-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333333;
}

.advantage-item p {
    color: #666666;
    line-height: 1.6;
}

/* 适配案例 */
.cases {
    padding: 100px 0;
    background-color: #F8F9FA;
}

.cases h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 60px;
    color: #333333;
}

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

.case-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.case-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333333;
}

.case-devices {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.device.small-pc {
    width: 150px;
    height: 90px;
}

.device.small-tablet {
    width: 80px;
    height: 100px;
}

.device.small-mobile {
    width: 50px;
    height: 80px;
}

/* 联系模块 */
.contact {
    padding: 100px 0;
    background-color: #FFFFFF;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #333333;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info p {
    font-size: 16px;
    color: #666666;
}

/* 页脚 */
footer {
    background-color: #F8F9FA;
    color: #666666;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #E0E0E0;
}

footer p {
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .split-screen h1 {
        font-size: 36px;
    }
    
    .device-showcase {
        flex-direction: column;
        align-items: center;
    }
    
    .advantage-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 演示页 */
.demo-page {
    padding: 100px 0;
    background-color: #F8F9FA;
}

.demo-page h1 {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 60px;
    color: #333333;
}

.device-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.device-btn {
    padding: 10px 20px;
    border: 1px solid #98FB98;
    background-color: #FFFFFF;
    color: #333333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.device-btn.active {
    background-color: #98FB98;
    color: #FFFFFF;
}

.device-btn:hover {
    background-color: #98FB98;
    color: #FFFFFF;
}

.demo-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.demo-device {
    position: relative;
    transition: all 0.3s ease;
}

.demo-device.pc {
    width: 800px;
    height: 500px;
}

.demo-device.tablet {
    width: 400px;
    height: 500px;
}

.demo-device.mobile {
    width: 240px;
    height: 400px;
}

.demo-screen {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 90%;
    height: 80%;
    background-color: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: linear-gradient(135deg, #98FB98, #FFFFFF);
}

/* 报价页 */
.pricing-page {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.pricing-page h1 {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 60px;
    color: #333333;
}

.pricing-table {
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}

.pricing-table th {
    background-color: #F8F9FA;
    font-weight: 600;
    color: #333333;
}

.pricing-table tr:hover {
    background-color: #F8F9FA;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}