* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
header {
    position: fixed; /* 默认值，会被JavaScript覆盖 */
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    overflow: hidden;
    transition: all 0.3s ease; /* 添加过渡效果 */
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.header-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

#header-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.logo {
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

#logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    position: absolute;
}

.nav-links {
    display: flex;
    list-style: none;
    position: relative;
}

.nav-links li {
    margin-left: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #00ff9d;
}

.nav-links a.active {
    color: #ff0000;
    font-weight: bold;
}

/* 主要内容样式 */
main {
    margin-top: 80px;
}

/* 英雄区域样式 */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    transform: scale(1.2);
    transform-origin: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background-color: #00ff9d;
    border: none;
    border-radius: 5px;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* 世界观设定区域样式 */
#features {
    padding: 5rem 5%;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.section-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    transition: background-color 0.5s ease;
}

#features-bg-img,
#screenshots-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

#features-bg-img:hover,
#screenshots-bg-img:hover {
    transform: scale(1.05);
}

#features h2 {
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.worldview-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.worldview-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.worldview-card img {
    width: 400px;
    height: 600px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.worldview-content {
    flex: 1;
    color: #ffffff;
}

.worldview-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.worldview-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .worldview-card {
        flex-direction: column;
        gap: 2rem;
    }
    
    .worldview-card img {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 2/3;
    }
}

@media (max-width: 768px) {
    #features h2 {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .worldview-content h3 {
        font-size: 2rem;
    }
    
    .worldview-content p {
        font-size: 1.1rem;
    }
}

/* 截图区域样式 */
#screenshots {
    padding: 5rem 5%;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.screenshots-slider {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.screenshot-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem;
    justify-content: center;
    align-items: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 1400px;
    margin: 0 auto;
}

.screenshot-container::-webkit-scrollbar {
    display: none;
}

.screenshot-container img {
    width: 240px;
    height: 426px;
    object-fit: contain;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px;
}

.screenshot-desc {
    color: #ffffff;
    font-size: 1.1rem;
    text-align: center;
    max-width: 240px;
    line-height: 1.4;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 0.5rem;
}

.screenshot-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .screenshot-container {
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .screenshot-container img {
        width: 180px;
        height: 320px;
        padding: 6px;
    }
    
    .screenshot-desc {
        font-size: 1rem;
        max-width: 180px;
    }
}

/* 页脚样式 */
footer {
    position: relative;
    color: white;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.footer-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

#footer-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 120px;
    height: 40px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

#footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .worldview-container {
        grid-template-columns: 1fr;
    }
}

#hero-title-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

#hero-subtitle-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.download-btn {
    width: 200px;
    height: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.download-btn:hover {
    transform: scale(1.05);
}

#screenshots h2 {
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #screenshots h2 {
        font-size: 3rem;
        letter-spacing: 2px;
    }
}

/* PDF查看器样式 */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
}

.pdf-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 2% auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.pdf-close {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.pdf-close:hover {
    color: #00ff9d;
}

#pdf-viewer {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .pdf-modal-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }
} 