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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    background-color: #fafafa;
}

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

/* 导航栏 */
.header {
    background: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Header with light text for when it's over the hero section */
.header.light-text .logo-text,
.header.light-text .nav ul li a {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

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

.nav ul li a:hover {
    color: #666;
}

/* 首屏大图 */
.hero {
    background: url('https://dalgda-res.oss-cn-hangzhou.aliyuncs.com/dalgda/official/guangwangzhutu.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

.hero-text {
    flex: 1;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 60px;
}

.hero-title {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Specific button styles for hero section */
.hero .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-qr {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-container {
    text-align: center;
    padding: 80px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.qr-placeholder {
    width: 220px;
    height: 220px;
    background: #e0e0e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1rem;
    color: #999;
    font-weight: 500;
}

.qr-container p {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
}

.qr-container .subtext {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #333;
    color: #fff;
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* 全屏区域通用样式 */
.screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    padding: 100px 0;
}

/* 功能特色区域背景 */
.feature-1 {
    background: #f8f9fa url('https://dalgda-res.oss-cn-hangzhou.aliyuncs.com/dalgda/official/zhinengshbie_2_bg.jpg') no-repeat center center;
    background-size: cover;
}

.feature-2 {
    background: #ffffff url('https://dalgda-res.oss-cn-hangzhou.aliyuncs.com/dalgda/official/dapeituijian_bg.jpg') no-repeat center center;
    background-size: cover;
}

.feature-3 {
    background: #f8f9fa url('https://dalgda-res.oss-cn-hangzhou.aliyuncs.com/dalgda/official/tianqishipei_bg.jpg') no-repeat center center;
    background-size: cover;
}

.feature-4 {
    background: #ffffff url('https://dalgda-res.oss-cn-hangzhou.aliyuncs.com/dalgda/official/jiaonangyichu_bg.jpg') no-repeat center center;
    background-size: cover;
}

.feature-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

.feature-text {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 40px;
}

.feature-text .feature-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.feature-text .feature-desc {
    font-size: 1.1rem;
    color: #f8f9fa;
    line-height: 1.8;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-image img {
    max-width: 100%;
    border-radius: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 页脚 */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content,
    .feature-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text,
    .feature-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .hero-buttons,
    .feature-buttons {
        justify-content: center;
    }
    
    .hero-title,
    .feature-title {
        font-size: 2rem;
    }
    
    .hero-subtitle,
    .feature-desc {
        font-size: 1rem;
    }
    
    .qr-container {
        max-width: 100%;
    }
    
    .qr-placeholder {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .nav ul {
        display: none;
    }
    
    .feature-title {
        font-size: 1.8rem;
    }
    
    .feature-desc {
        font-size: 1rem;
    }
    
    .qr-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .qr-container p {
        font-size: 1.1rem;
    }
}