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

html, body {
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 核心容器 */
.container {
    width: 100%;
    height: 100vh;
}

/* 背景区域 */
.hero {
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 内容容器 */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

/* Logo样式 */
.logo-wrapper img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* 主标题 */
.main-title {
    color: #ffffff;
    font-size: 80px;
    font-weight: bold;
    line-height: 1.2;
    margin-top: 15px;
}

/* 副标题 */
.sub-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    margin-top: 18px;
}

/* 下载按钮容器 */
.download-options {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 43px;
}

/* 下载按钮通用样式 */
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    min-width: 160px;
    position: relative;
}

.download-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

/* 二维码弹窗样式 */
.qr-code-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    margin-bottom: 10px;
}

.qr-code-popup::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ffffff;
}

.qr-code-content {
    padding: 20px;
    text-align: center;
    min-width: 280px;
}

.qr-code-placeholder {
    width: 160px;
    height: 160px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin: 0 auto 12px;
    background: #f9f9f9;
    padding: 2px;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 4px;
}

.qr-text {
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* 桌面端hover显示二维码 */
@media screen and (min-width: 1024px) {
    .download-btn:hover .qr-code-popup {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 移动端适配 */
@media screen and (max-width: 767px) {
    .logo-wrapper img {
        width: 60px;
        height: 60px;
    }
    
    .main-title {
        font-size: 48px;
    }
    
    .sub-title {
        font-size: 20px;
    }
    
    .download-options {
        flex-direction: column;
        gap: 18px;
        width: 100%;
    }
    
    .download-btn {
        width: 100%;
        min-width: auto;
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .qr-code-content {
        min-width: 220px;
        padding: 15px;
    }
    
    .qr-code-placeholder {
        width: 120px;
        height: 120px;
    }
}

/* 平板端适配 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .main-title {
        font-size: 60px;
    }
    
    .sub-title {
        font-size: 24px;
    }
}