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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    background: #f2f4f8;
    line-height: 1.6;
}

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

:root {
    --primary: #1663f0;
    --text: #172033;
    --muted: #8a919f;
    --border: #e6e9f0;
}

/* ==================== Hero ==================== */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(115deg, #0a2f9b 0%, #0b47d6 45%, #0c7e93 100%);
    padding: 26px 0 84px;
}

.hero-top {
    position: relative;
    z-index: 1;
}

.hero-top-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand .logo-icon {
    height: 44px;
    width: auto;
    display: block;
}

.hero-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 14px;
    transition: background 0.25s;
}

.hero-login-btn:hover {
    background: rgba(255, 255, 255, 0.26);
}

.hero-login-btn svg {
    width: 15px;
    height: 15px;
}

.hero-body {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 76px 24px 0;
    text-align: right;
}

.hero-body h1 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.hero-body .hero-sub {
    font-size: 20px;
    opacity: 0.92;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.hero-body .hero-tag {
    font-size: 14px;
    opacity: 0.72;
    letter-spacing: 1px;
}

/* ==================== Sections ==================== */
.page {
    background: #f2f4f8;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--primary);
    margin-right: 10px;
    vertical-align: -2px;
}

/* ==================== 关于我们 ==================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.about-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 26px 28px;
    box-shadow: 0 2px 10px rgba(15, 30, 60, 0.04);
    transition: transform 0.25s, box-shadow 0.25s;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(15, 30, 60, 0.08);
}

.about-card h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 10px;
}

.about-card p {
    font-size: 14px;
    color: var(--muted);
}

/* ==================== 新闻资讯 ==================== */
.news-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 30, 60, 0.04);
}

.news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 24px;
    border-bottom: 1px solid #eef1f6;
    transition: background 0.2s;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f6f9ff;
}

.news-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 15px;
    color: #2a3242;
}

.news-title svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

.news-title .txt {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #9aa1ad;
    flex-shrink: 0;
}

.news-date svg {
    width: 14px;
    height: 14px;
}

.news-loading,
.news-empty {
    padding: 28px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

/* ==================== 平台信息 / 登录入口 ==================== */
.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 80px;
}

.info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 2px 10px rgba(15, 30, 60, 0.04);
}

.info-item + .info-item {
    margin-top: 22px;
}

.info-item h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 8px;
}

.info-item p {
    font-size: 14px;
    color: var(--muted);
}

.login-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.login-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.login-card:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 30, 60, 0.08);
}

.login-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 16px;
}

.login-icon svg {
    width: 22px;
    height: 22px;
}

.icon-engine {
    background: linear-gradient(135deg, #2f7cf6, #1663f0);
}

.icon-biz {
    background: linear-gradient(135deg, #12a8b8, #0e8ca0);
}

.icon-join {
    background: linear-gradient(135deg, #22a3e8, #0b86e0);
}

.icon-app {
    background: linear-gradient(135deg, #f08c00, #e07200);
}

.login-card h4 {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 8px;
}

.login-card p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
}

.login-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

.login-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.login-card:hover .login-link svg {
    transform: translateX(3px);
}

/* ==================== Footer ==================== */
.site-footer {
    background: #f7f9fc;
    border-top: 1px solid var(--border);
    padding: 26px 24px;
    text-align: center;
    font-size: 13px;
    color: #9aa1ad;
}

/* ==================== 建设中提示弹窗 ==================== */
.modal-mask {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-mask.show {
    display: flex;
}

.modal-box {
    width: calc(100% - 48px);
    max-width: 360px;
    background: #fff;
    border-radius: 12px;
    padding: 32px 36px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    animation: modal-pop 0.25s ease;
}

.modal-box h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 12px;
}

.modal-box p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 24px;
}

.modal-btn {
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    padding: 9px 34px;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-btn:hover {
    background: #0f52cc;
}

@keyframes modal-pop {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==================== 响应式 ==================== */
@media (max-width: 992px) {
    .hero-body {
        padding-top: 56px;
    }

    .hero-body h1 {
        font-size: 34px;
    }

    .bottom-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-bottom: 60px;
    }

    .hero-body {
        padding-top: 44px;
    }

    .hero-body h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .hero-body .hero-sub {
        font-size: 16px;
    }

    .section {
        padding: 40px 16px 0;
    }

    .login-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        padding: 14px 16px;
        flex-wrap: wrap;
    }

    .bottom-grid {
        padding-bottom: 56px;
    }
}
