/* 元合企服官网全局样式（与 App 主色一致：#2b85ff） */
:root {
    --primary: #2b85ff;
    --primary-dark: #1f6de0;
    --text: #303133;
    --text-secondary: #606266;
    --text-faint: #909399;
    --bg-page: #f7f8fa;
    --radius: 12px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- 顶部导航 ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff;
    border-bottom: 1px solid #ebedf0;
}

.site-header .container {
    display: flex;
    align-items: center;
    height: 64px;
}

.site-header__brand {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

.site-header__brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    margin-right: 10px;
}

.site-header__nav {
    margin-left: auto;
    display: flex;
    gap: 28px;
    font-size: 15px;
}

.site-header__nav a {
    color: var(--text-secondary);
}

.site-header__nav a:hover {
    color: var(--primary);
}

/* ---- Hero ---- */
.hero {
    background: linear-gradient(180deg, #eaf3ff 0%, #ffffff 100%);
    padding: 90px 0 80px;
    text-align: center;
}

.hero__logo {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(43, 133, 255, 0.18);
}

.hero__title {
    margin-top: 24px;
    font-size: 40px;
    font-weight: 700;
}

.hero__slogan {
    margin-top: 12px;
    font-size: 18px;
    color: var(--text-secondary);
}

.hero__actions {
    margin-top: 36px;
}

.btn {
    display: inline-block;
    padding: 14px 44px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.88;
}

.btn--primary {
    background: var(--primary);
    color: #ffffff;
}

.btn--ghost {
    margin-left: 16px;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: #ffffff;
}

/* ---- 功能区 ---- */
.section {
    padding: 72px 0;
}

.section--gray {
    background: var(--bg-page);
}

.section__title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
}

.section__desc {
    text-align: center;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 15px;
}

.feature-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2b85ff, #6fb1ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
}

.feature-card__title {
    margin-top: 18px;
    font-size: 18px;
    font-weight: 600;
}

.feature-card__desc {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ---- 下载区 ---- */
.download {
    text-align: center;
}

.download__qr {
    width: 180px;
    height: 180px;
    margin: 32px auto 0;
    border: 1px dashed #c0c4cc;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-faint);
    font-size: 14px;
    background: #ffffff;
}

.download__qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius);
}

/* ---- 页脚 ---- */
.site-footer {
    background: #1d2129;
    color: #86909c;
    padding: 48px 0 32px;
    font-size: 14px;
}

.site-footer__links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.site-footer__links a {
    color: #c9cdd4;
}

.site-footer__links a:hover {
    color: #ffffff;
}

.site-footer__info {
    text-align: center;
    line-height: 2;
}

/* ---- 协议页 ---- */
.doc {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.doc__back {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 14px;
}

.doc__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.doc__date {
    color: var(--text-faint);
    font-size: 13px;
    margin-bottom: 32px;
}

.doc h2 {
    font-size: 18px;
    margin: 28px 0 10px;
}

.doc p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 10px;
}

/* ---- 响应式 ---- */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 48px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__slogan {
        font-size: 15px;
        padding: 0 16px;
    }

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

    .site-header__nav {
        gap: 16px;
        font-size: 14px;
    }

    .btn--ghost {
        margin-left: 0;
        margin-top: 12px;
    }
}
