/* GSAZK 会员中心 样式 */
:root {
    --brand: #1a6bff;
    --brand-dark: #0b4bd6;
    --navy: #0c1b33;
    --text: #1d2b3f;
    --text-light: #6b7b93;
    --line: #e2e8f2;
    --bg: #f5f7fb;
    --radius: 10px;
    --shadow: 0 18px 50px rgba(15, 40, 90, .10);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    background: var(--bg);
    background-image: radial-gradient(900px 400px at 50% -80px, #e6eefc 0%, rgba(245, 247, 251, 0) 70%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

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

/* ---------------- 顶部导航 ---------------- */
.topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: linear-gradient(135deg, #2a7dff, #0b4bd6);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .5px;
    box-shadow: 0 6px 16px rgba(26, 107, 255, .28);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: 1px; }
.brand-text small { font-size: 11px; color: var(--text-light); letter-spacing: .6px; }

.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a { color: var(--text-light); }
.nav a:hover { color: var(--brand); }
.nav .nav-quiet { color: #93a1b5; }
.nav .nav-cta {
    background: var(--brand);
    color: #fff;
    padding: 8px 16px;
    border-radius: 7px;
    font-weight: 500;
}
.nav .nav-cta:hover { background: var(--brand-dark); color: #fff; }

/* ---------------- 主内容 ---------------- */
main.main {
    flex: 1 0 auto;
    padding: 42px 0 56px;
}

/* ---------------- 登录/注册卡片 ---------------- */
.auth-wrap {
    display: grid;
    grid-template-columns: 400px 1fr;
    max-width: 940px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #e7edf7;
}

.page-auth main.main { display: flex; align-items: center; }
.page-auth main.main > .container { width: 100%; }

.auth-aside {
    position: relative;
    padding: 46px 38px;
    background: linear-gradient(155deg, #0f2a55 0%, #123a7a 55%, #1a6bff 130%);
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.aside-foot {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    font-size: 12.5px;
    color: rgba(255, 255, 255, .68);
    position: relative;
    z-index: 2;
}
.aside-foot a { color: #fff; font-weight: 500; }
.aside-foot a:hover { color: #cfe0ff; }

.auth-aside::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -120px;
    bottom: -110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}
.auth-aside::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: 40px;
    top: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.aside-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 20px;
    color: rgba(255, 255, 255, .85);
}

.auth-aside h2 {
    margin: 20px 0 10px;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: .5px;
}

.auth-aside p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 13.5px; }

.aside-list {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .82);
}
.aside-list li { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; }
.aside-list .tick {
    flex: none;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #cfe0ff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-body { padding: 42px 46px 40px; }

.auth-body h1 {
    margin: 0 0 6px;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: .5px;
}

.auth-sub { margin: 0 0 26px; color: var(--text-light); font-size: 13.5px; }

/* ---------------- 表单 ---------------- */
.field { margin-bottom: 18px; }

.field label {
    display: block;
    font-size: 13px;
    color: #43546d;
    margin-bottom: 7px;
    font-weight: 500;
}

.field label .req { color: #e34d59; margin-left: 2px; }

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcfe;
    transition: border-color .15s, box-shadow .15s, background .15s;
    overflow: hidden;
}

.input-group:focus-within {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 107, 255, .10);
}

.input-group .prefix {
    padding: 0 12px;
    font-size: 13px;
    color: var(--text-light);
    border-right: 1px solid var(--line);
    line-height: 46px;
    background: #f2f6fd;
}

.input-group input {
    flex: 1 1 auto;
    width: 100%;
    height: 46px;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 14px;
    font-size: 15px;
    color: var(--text);
    font-family: inherit;
    min-width: 0;
}

.input-group input::placeholder { color: #a9b6c9; }

.btn-code {
    flex: none;
    border: 0;
    border-left: 1px solid var(--line);
    background: #fff;
    color: var(--brand);
    font-size: 13px;
    font-family: inherit;
    height: 46px;
    padding: 0 18px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
}
.btn-code:hover:not(:disabled) { background: #f2f7ff; }
.btn-code:disabled { color: #a9b6c9; cursor: not-allowed; background: #fbfcfe; }

.field-hint { margin: 6px 0 0; font-size: 12px; color: #93a1b5; }

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #5a6b83;
    margin: 4px 0 20px;
    line-height: 1.5;
}
.checkbox-row input { margin: 3px 0 0; width: 15px; height: 15px; accent-color: var(--brand); flex: none; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 47px;
    border: 0;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #2a7dff, #1a6bff);
    color: #fff;
    font-size: 15.5px;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: inherit;
    cursor: pointer;
    transition: filter .15s, transform .05s;
    box-shadow: 0 8px 20px rgba(26, 107, 255, .25);
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }

.btn-ghost {
    background: #fff;
    color: var(--brand);
    border: 1px solid #cfe0ff;
    box-shadow: none;
    width: auto;
    padding: 0 22px;
    height: 40px;
    font-size: 14px;
}
.btn-ghost:hover { background: #f4f8ff; }

.auth-foot {
    margin: 18px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}
.auth-foot a { font-weight: 500; }

/* ---------------- 提示条 ---------------- */
.alert {
    margin: 18px auto 0;
    max-width: 940px;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    border: 1px solid transparent;
    background: #eef4ff;
    color: #2159b8;
}
.alert-success { background: #eefbf3; color: #17794a; border-color: #c7efd8; }
.alert-error { background: #fef1f1; color: #c0323d; border-color: #f7d3d5; }

/* ---------------- 会员中心 ---------------- */
.panel {
    max-width: 940px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e7edf7;
    border-radius: 14px;
    box-shadow: 0 10px 34px rgba(15, 40, 90, .06);
    padding: 34px 38px 38px;
}

.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.panel-head h1 { margin: 0; font-size: 22px; font-weight: 600; }
.panel-head p { margin: 6px 0 0; color: var(--text-light); font-size: 13px; }

.user-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px;
    border-radius: 12px;
    background: linear-gradient(120deg, #0f2a55, #1a6bff 140%);
    color: #fff;
}

.avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    flex: none;
}

.user-badge .u-name { font-size: 17px; font-weight: 600; }
.user-badge .u-meta { font-size: 12.5px; color: rgba(255, 255, 255, .75); margin-top: 3px; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.info-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px 18px;
    background: #fbfcfe;
}
.info-card .k { font-size: 12.5px; color: var(--text-light); }
.info-card .v { font-size: 15px; font-weight: 600; margin-top: 4px; word-break: break-all; }

.notice {
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px dashed #d7e2f3;
    border-radius: 10px;
    background: #f8fbff;
    font-size: 13.5px;
    color: #4c6079;
}
.notice strong { color: var(--text); }

/* ---------------- 页脚 ---------------- */
.footer {
    flex: none;
    border-top: 1px solid var(--line);
    background: #fff;
    padding: 22px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #93a1b5;
}
.footer-links { display: flex; align-items: center; gap: 12px; }
.footer-links a { color: #7d8ba1; }
.footer-links a:hover { color: var(--brand); }
.footer-dot { color: #ccd5e2; }

/* ---------------- 首页 ---------------- */
.hero { text-align: center; padding: 50px 0 10px; }

.hero .kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--brand);
    background: #eaf2ff;
    border: 1px solid #d5e4ff;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.35;
    margin: 0 0 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #10233f;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #1a6bff, #0b4bd6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .lead {
    max-width: 640px;
    margin: 0 auto 26px;
    color: var(--text-light);
    font-size: 15.5px;
}

.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { width: auto; padding: 0 32px; text-decoration: none; }
.hero-actions .btn-secondary {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--line);
    box-shadow: 0 6px 16px rgba(15, 40, 90, .06);
}
.hero-actions .btn-secondary:hover { color: var(--brand); border-color: #cfe0ff; filter: none; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 46px;
    margin: 42px auto 0;
    flex-wrap: wrap;
}
.hero-stats .stat { text-align: center; }
.hero-stats .num { font-size: 22px; font-weight: 600; color: #10233f; }
.hero-stats .lbl { font-size: 12.5px; color: var(--text-light); margin-top: 2px; }

.section-head { text-align: center; margin: 58px 0 6px; }
.section-head h2 { font-size: 22px; font-weight: 600; margin: 0 0 8px; letter-spacing: .5px; }
.section-head p { color: var(--text-light); font-size: 13.5px; margin: 0; }

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

.feature-card {
    background: #fff;
    border: 1px solid #e7edf7;
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 8px 24px rgba(15, 40, 90, .05);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: linear-gradient(135deg, #eaf2ff, #dbe9ff);
    color: var(--brand);
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.feature-card p { margin: 0; font-size: 13.5px; color: var(--text-light); line-height: 1.75; }

.cta-band {
    margin-top: 46px;
    padding: 32px 38px;
    border-radius: 16px;
    background: linear-gradient(115deg, #0f2a55 0%, #123a7a 60%, #1a6bff 130%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-band h3 { margin: 0 0 4px; font-size: 19px; font-weight: 600; }
.cta-band p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .72); }
.cta-band .btn { width: auto; padding: 0 28px; background: #fff; color: var(--brand-dark); box-shadow: none; }

@media (max-width: 880px) {
    .hero { padding-top: 30px; }
    .hero h1 { font-size: 27px; }
    .hero .lead { font-size: 14px; }
    .hero-stats { gap: 26px; }
    .feature-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 26px 22px; }
}

@media (max-width: 880px) {
    .auth-wrap { grid-template-columns: 1fr; max-width: 520px; }
    .auth-aside { padding: 30px 28px; }
    .auth-aside h2 { font-size: 20px; margin-top: 14px; }
    .aside-list { display: none; }
    .auth-body { padding: 30px 26px 32px; }
    .info-grid { grid-template-columns: 1fr; }
    .panel { padding: 24px 20px 28px; }
    .nav { gap: 14px; }
    .nav a:not(.nav-cta) { display: none; }
    .nav a.nav-cta { display: inline-block; }
    main.main { padding: 24px 0 36px; }
}
