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

html, body {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== 顶部导航栏 ========== */
.header {
    width: 100%;
    height: 64px;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    margin-top: 68px;
    width: 150px;
}

.logo img {
    height: 66px;
    width: auto;
}

.nav {
    display: flex;
    gap: 32px;
    flex: 1;
    margin-left: 130px;
    margin-top: 22px;
}

.nav-link {
    font-size: 18px;
    color: #555;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 8px;
    margin-top: 22px;
}

.help-link,
.login-link {
    font-size: 18px;
    color: #666;
    transition: color 0.3s ease;
}

.help-link:hover,
.login-link:hover {
    color: #667eea;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.lang-active {
    color: #333;
    font-weight: 500;
}

.lang-divider {
    color: #ddd;
}

.lang-inactive {
    color: #999;
}

.lang-inactive:hover {
    color: #333;
}

/* ========== 主视觉区 ========== */
.hero {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    padding-top: 64px;
    background: url('/static/images/hero-bg.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 10%;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.btn-register {
    display: inline-block;
    font-size: 28px;
    color: #333;
    letter-spacing: 6px;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.btn-register:hover {
    color: #667eea;
}

.btn-login {
    display: inline-block;
    padding: 3px 50px;
    font-size: 26px;
    /* font-weight: 500; */
    color: #fff;
    background: #2d3748;
    border-radius: 25px;
    letter-spacing: 4px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 55, 72, 0.35);
}

/* ========== 页脚 ========== */
.footer {
    width: 100%;
    background: #282B43 !important;
    color: #fff;
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 25px 30px 15px 30px;
    display: grid;
    grid-template-columns: 180px 1fr 1.5fr;
    gap: 40px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 40px;
}

.footer-section ul li:first-child {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section ul li {
    margin-bottom: 14px;
}

.footer-section ul li a {
    font-size: 17px;
    color: #a0aec0;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-logo img {
    height: 66px;
    width: auto;
    margin-bottom: 8px;
}

.footer-slogan {
    font-size: 13px;
    color: #a0aec0;
    letter-spacing: 1px;
}

.footer-contact {
    text-align: right;
}

.footer-contact h4 {
    text-align: right;
}
.footer-contact .footer-contact-title {
    font-size: 17px;
    color: #fff;
    padding-right: 49px;
}
.footer-contact .footer-qr {
    max-width: 160px;
    width: 100%;
    margin-top: 8px;
    display: block;
    margin-left: auto;
    border-radius: 5px;
    /* transform: translateY(-20px); */
}

.footer-bottom {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    /* border-top: 1px solid rgba(255, 255, 255, 0.08); */
}

.footer-bottom p {
    font-size: 12px;
    color: #718096;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .hero-content {
        justify-content: center;
        padding-right: 0;
    }

    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-contact h4 {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 16px 0 30px;
    }

    .nav {
        display: none;
    }

    .help-link,
    .login-link {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 500px;
        padding: 64px 0 40px;
    }

    .hero-actions {
        gap: 20px;
    }

    .btn-register {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .btn-login {
        padding: 10px 36px;
        font-size: 14px;
        letter-spacing: 3px;
    }

    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact h4 {
        text-align: center;
    }
}
