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

/* 顶部灰色遮罩 */
.top-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: rgba(128, 128, 128, 0.8);
    z-index: 1000;
}

/* Logo容器 */
.logo-container {
    position: absolute;
    left: 110px;
    top: 50%;
    transform: translateY(-50%);
}

/* 顶部Logo */
.top-logo {
    width: 112px;
    height: 48px;
    object-fit: contain;
}

/* 底部灰色遮罩 */
.bottom-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: rgba(128, 128, 128, 0.8);
    z-index: 1000;
}

/* 版权信息容器 */
.copyright-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* 底部版权信息 */
.copyright-container p {
    color: white;
    font-size: 0.9rem;
    margin: 0;
}

/* 备案链接样式 */
.copyright-container a {
    color: #fff;
    text-decoration: none;
}

/* 悬停状态下划线提示 */
.copyright-container a:hover {
    text-decoration: underline;
}

/* 基础样式 */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 背景设置 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* 主容器 */
.container {
    display: flex;
    min-height: 100vh;
    padding: 2rem;
    padding-top: calc(2rem + 50px);
    padding-bottom: calc(2rem + 50px);
    gap: 4rem;
    align-items: center;
}

/* 左侧内容区域 */
.left-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

/* Logo样式 */
.logo {
    margin-bottom: 2rem;
}

.logo-img {
    height: 60px;
    width: auto;
}

/* 主标题 */
.main-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 副标题 */
.subtitle {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.line {
    width: 60px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.subtitle span {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
}

/* 主要介绍文案 */
.main-text {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.main-text p {
    margin-bottom: 1rem;
}

.main-text strong {
    font-weight: 600;
}

/* 功能特点列表 */
.features {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.feature-bullet {
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
    min-width: 20px;
}

.feature-item span:last-child {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
}

/* 右侧内容区域 */
.right-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* 小程序码容器 */
.qr-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* 二维码 */
.qr-code {
    width: 625px;
    height: 625px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    padding: 20px;
}

.qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 扫描按钮 */
.scan-button {
    background: #E62129;
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scan-button:hover {
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .qr-code {
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 1rem;
        gap: 2rem;
        text-align: center;
    }
    
    .left-content {
        max-width: 100%;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        justify-content: center;
    }
    
    .features {
        text-align: left;
    }
    
    .qr-code {
        width: 400px;
        height: 400px;
    }
    
    .scan-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle span {
        font-size: 1.2rem;
    }
    
    .main-text {
        font-size: 1rem;
    }
    
    .feature-item span:last-child {
        font-size: 1rem;
    }
    
    .qr-code {
        width: 300px;
        height: 300px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.left-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.left-content > *:nth-child(1) { animation-delay: 0.1s; }
.left-content > *:nth-child(2) { animation-delay: 0.2s; }
.left-content > *:nth-child(3) { animation-delay: 0.3s; }
.left-content > *:nth-child(4) { animation-delay: 0.4s; }
.left-content > *:nth-child(5) { animation-delay: 0.5s; }
.left-content > *:nth-child(6) { animation-delay: 0.6s; }

.right-content {
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
    opacity: 0;
}
