/* ============================================
   首页布局 - 左侧品牌 + 右侧大图
   ============================================ */

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

body {
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    color: #333333;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   主容器
   ============================================ */
.home-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* ============================================
   左侧品牌区
   ============================================ */
.home-left {
    width: 33.333%;
    min-width: 280px;
    padding: 50px 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* ---------- 汉堡导航图标 ---------- */
.nav-toggle {
    position: absolute;
    top: 40px;
    left: 50px;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle:hover span {
    background-color: #1a73e8;
}

/* ---------- 网站名称 ---------- */
.site-brand {
    margin-top: 70px;
    margin-bottom: 28px;
}

.site-title {
    display: block;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    color: #111111;
    letter-spacing: 6px;
    width: 140px;
    word-break: break-all;
    overflow-wrap: break-word;
    transition: color 0.3s ease;
}

.site-title:hover {
    color: #1a73e8;
}

/* ---------- 网站描述 ---------- */
.site-desc {
    font-size: 15px;
    line-height: 1.9;
    color: #666666;
    max-width: 320px;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

/* ---------- 分隔线 ---------- */
.site-divider {
    width: 360px;
    max-width: 100%;
    height: 1px;
    background-color: #d9d9d9;
    margin-bottom: 24px;
}

/* ---------- 底部信息区 ---------- */
.site-footer-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 360px;
    max-width: 100%;
}

.footer-icp a {
    font-size: 13px;
    color: #999999;
    transition: color 0.2s ease;
}

.footer-icp a:hover {
    color: #666666;
}

/* ---------- 社交图标 ---------- */
.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #888888;
    background-color: transparent;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #ffffff;
    border-color: transparent;
}

.social-icon:nth-child(1):hover {
    background-color: #12B7F5; /* QQ蓝 */
}

.social-icon:nth-child(2):hover {
    background-color: #07C160; /* 微信绿 */
}

.social-icon:nth-child(3):hover {
    background-color: #EA4335; /* 邮件红 */
}

/* ============================================
   右侧大图区
   ============================================ */
.home-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5vh 40px 5vh 20px;
}

.hero-image {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* ============================================
   右侧展开导航菜单
   ============================================ */
.nav-overlay {
    position: fixed;
    top: 0;
    right: -400px;
    width: 360px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 60px 40px;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
}

.nav-overlay.active {
    right: 0;
}

.nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.nav-close:hover {
    color: #333333;
    background-color: #f5f5f5;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
}

.nav-list li {
    border-bottom: 1px solid #f0f0f0;
}

.nav-list li:last-child {
    border-bottom: none;
}

.nav-list li a {
    display: block;
    padding: 18px 0;
    font-size: 17px;
    color: #333333;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-list li a:hover {
    color: #1a73e8;
    padding-left: 8px;
}

/* ============================================
   微信二维码弹窗
   ============================================ */
.weixin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.weixin-modal.active {
    pointer-events: auto;
    opacity: 1;
}

.weixin-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.weixin-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.weixin-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 26px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.weixin-modal-close:hover {
    color: #333;
}

.weixin-modal-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.weixin-qr-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 4px;
}

/* ============================================
   响应式适配（移动端）
   ============================================ */
@media (max-width: 900px) {
    .home-wrapper {
        flex-direction: column;
    }

    .home-left {
        width: 100%;
        min-width: unset;
        padding: 30px 25px 35px;
        min-height: auto;
        order: 1;
    }

    .nav-toggle {
        top: 25px;
        left: 25px;
    }

    .site-brand {
        margin-top: 55px;
    }

    .site-title {
        font-size: 50px;
        width: 115px;
    }

    .site-desc {
        max-width: 100%;
        margin-bottom: 24px;
    }

    .site-divider {
        width: 100%;
    }

    .site-footer-info {
        width: 100%;
    }

    .home-right {
        width: 100%;
        padding: 0 25px 30px;
        order: 2;
    }

    .hero-image {
        height: 45vh;
        border-radius: 6px;
    }

    .nav-overlay {
        width: 100%;
        right: -100%;
    }
}