:root {
    --brand: #1565c0;
    --brand-dark: #0f4c9c;
    --brand-2: #409eff;
    --brand-wash: #eef4fb;
    --brand-line: #c6e2ff;
    --ink: #181d2a;
    --text: #303133;
    --text-2: #5b6472;
    --text-3: #909399;
    --border: #e4e7ed;
    --border-2: #dcdfe6;
    --line: #eef1f5;
    --bg: #f5f7fa;
    --white: #fff;
    --danger: #f56c6c;
    --warning: #e6a23c;
    --success: #4caf7d;
    --sh-sm: 0 1px 4px rgba(0, 0, 0, .06);
    --sh-brand: 0 6px 18px rgba(21, 101, 192, .28);
    --font: "Microsoft YaHei", "微软雅黑", -apple-system, "PingFang SC", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: #0b1c38;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.hide { display: none !important; }

.logo {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
}

.logo .site-brand__img {
    height: 32px;
    width: auto;
    display: block;
}

.logo .site-brand__text {
    font-weight: bold;
    font-size: 20px;
    margin-left: 5px;
    line-height: 1;
}

.logo .site-brand__text--default {
    color: #1e75ed;
}

.bp-top .logo .site-brand__text--light,
.bp-top .logo .site-brand__text--console {
    color: #fff;
}

.auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
}

.brand-panel {
    position: relative;
    overflow: hidden;
    color: #e7eefb;
    display: flex;
    flex-direction: column;
    padding: 40px 52px 26px;
    background: #15345f;
}

.brand-panel::before,
.brand-panel::after {
    display: none;
}

.bp-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .28;
    background-image: linear-gradient(90deg, rgba(151, 194, 246, .12) 1px, transparent 1px);
    background-size: 72px 100%;
}

.bp-top { position: relative; z-index: 2; }

.brand-story {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 42px 0 28px;
}

.brand-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #9fc8ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.brand-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #5aa2ff;
}

.brand-story h1 {
    max-width: 470px;
    margin: 18px 0 16px;
    color: #fff;
    font-size: 40px;
    line-height: 1.24;
    letter-spacing: -1px;
    font-weight: 700;
}

.brand-intro {
    max-width: 440px;
    color: #aac0df;
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
}

.capabilities {
    display: grid;
    gap: 1px;
    margin-top: 32px;
    border-top: 1px solid rgba(115, 161, 219, .2);
    border-bottom: 1px solid rgba(115, 161, 219, .2);
}

.capability {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 6px;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: background .2s ease, transform .2s ease;
}

.capability:hover {
    background: rgba(25, 70, 126, .38);
    transform: translateX(3px);
}

.capability-mark {
    width: 30px;
    height: 30px;
    flex: none;
    margin: 0;
    display: grid;
    place-items: center;
    border: 1px solid #427ab9;
    border-radius: 8px;
    color: #8ec4ff;
    font-size: 14px;
    font-weight: 800;
}

.capability-mark svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.capability b {
    display: block;
    color: #f3f7ff;
    font-size: 14px;
    letter-spacing: .2px;
}

.capability span {
    display: block;
    margin-top: 5px;
    color: #91acd1;
    font-size: 12.5px;
    line-height: 1.55;
}

.story-proof {
    display: flex;
    gap: 0;
    margin-top: 30px;
    border-top: 1px solid rgba(143, 183, 234, .18);
    padding-top: 19px;
}

.proof-item {
    flex: 1;
    padding: 0 16px;
    border-left: 1px solid rgba(143, 183, 234, .18);
}

.proof-item:first-child {
    padding-left: 0;
    border-left: none;
}

.proof-value {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.3px;
}

.proof-label {
    display: block;
    margin-top: 3px;
    color: #8ea8cb;
    font-size: 11.5px;
}

.brand-kicker,
.brand-story h1,
.brand-intro,
.capability,
.story-proof {
    opacity: 0;
    animation: brand-enter .58s cubic-bezier(.22, .8, .28, 1) forwards;
}

.brand-kicker { animation-delay: .08s; }
.brand-story h1 { animation-delay: .16s; }
.brand-intro { animation-delay: .25s; }
.capability:nth-child(1) { animation-delay: .34s; }
.capability:nth-child(2) { animation-delay: .42s; }
.capability:nth-child(3) { animation-delay: .5s; }
.story-proof { animation-delay: .6s; }

@keyframes brand-enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .brand-kicker,
    .brand-story h1,
    .brand-intro,
    .capability,
    .story-proof {
        opacity: 1;
        animation: none;
    }

    .capability { transition: none; }
}

.carousel {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 6px 0;
    min-height: 0;
}

.slides {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border-radius: 14px;
}

.slides-track {
    display: flex;
    height: 100%;
    transition: transform .55s cubic-bezier(.65, 0, .35, 1);
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.slide-art { width: 100%; max-width: 430px; }
.slide-art svg { width: 100%; height: auto; display: block; overflow: visible; }

.slide-cap { text-align: center; margin-top: 22px; max-width: 420px; }
.slide-cap h3 { color: #fff; font-size: 25px; line-height: 1.35; margin: 0; }
.slide-cap p { color: #9fb6d9; font-size: 14.5px; margin-top: 10px; line-height: 1.8; }

.dots {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 16px;
}

.dots button {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: rgba(159, 182, 217, .3);
    cursor: pointer;
    padding: 0;
    transition: background .25s;
}

.dots button.on { background: #4a9bff; }

.ticker {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: auth-ticker 22s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes auth-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.tick-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #b9cbe6;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
}

.tick-item .dotstat { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; flex: none; }
.tick-item b { color: #e7eefb; font-weight: 700; }

.bp-foot {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 28px;
    margin-top: 20px;
    justify-content: center;
}

.bp-foot .n {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.bp-foot .l { font-size: 12px; color: #8ea3c6; margin-top: 2px; text-align: center; }

.art-plate { fill: #123a6b; stroke: #3a6bab; stroke-width: 1.6; }
.art-dash { stroke: #3a6bab; stroke-width: 1.6; fill: none; stroke-dasharray: 1 6; stroke-linecap: round; }
.art-blue { fill: #5aa2ff; }
.art-teal { fill: #3ac7d8; }
.art-green { fill: #7ee0a4; }
.art-card { fill: #0f2c54; stroke: #3a6bab; stroke-width: 1.6; }
.art-bar { fill: #2a4d80; }
.art-txt { fill: #eaf1fb; font-family: var(--font); font-weight: 700; }
.art-sub { fill: #93b0d6; font-family: var(--font); }
.pktdot { fill: #7ee0a4; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #dce8fb;
    background: #173a68;
    border: 1px solid #2c568f;
    padding: 5px 12px;
    border-radius: 7px;
}

.chip .d { width: 6px; height: 6px; border-radius: 50%; background: #7ee0a4; flex: none; }

.form-panel {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 24px 18px;
}

.fp-body {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.auth-card { width: 100%; max-width: 404px; }

.auth-legal {
    flex: none;
    width: 100%;
    max-width: 560px;
    margin: 14px auto 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.al-company { font-size: 13px; font-weight: 600; color: var(--text-2); }
.al-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    justify-content: center;
    align-items: center;
    margin-top: 9px;
    font-size: 12px;
    color: var(--text-3);
}

.al-links > span,
.al-links > a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.al-links a { color: var(--text-3); }
.al-links a:hover { color: var(--brand); }
.al-badge { width: 15px; height: 15px; flex: none; }

.ac-head h3 { font-size: 25px; color: var(--ink); margin: 0; }
.ac-head p { font-size: 13.5px; color: var(--text-3); margin-top: 6px; }

.seg-login {
    display: flex;
    background: #eef1f6;
    border-radius: 12px;
    padding: 5px;
    gap: 4px;
    margin: 26px 0 22px;
}

.seg-login button {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-2);
    padding: 10px;
    border-radius: 9px;
    cursor: pointer;
    transition: all .18s;
}

.seg-login button.on {
    background: #fff;
    color: var(--brand);
    box-shadow: var(--sh-sm);
}

.notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #b07d2b;
    background: #fff8ec;
    border: 1px solid #f6e3bf;
    border-radius: 10px;
    padding: 9px 12px;
    margin-bottom: 18px;
}

.notice svg { width: 15px; height: 15px; flex: none; stroke: #d9a13a; fill: none; stroke-width: 1.8; }

.fld { margin-bottom: 13px; }
.fld > label { display: block; font-size: 12.5px; color: var(--text-2); font-weight: 600; margin-bottom: 6px; }

.fin {
    display: flex;
    align-items: center;
    height: 46px;
    background: #f4f6fa;
    border: 1.5px solid transparent;
    border-radius: 11px;
    padding: 0 13px;
    transition: background .16s, border-color .16s, box-shadow .16s;
}

.fin:focus-within {
    background: #fff;
    border-color: var(--brand-2);
    box-shadow: 0 0 0 3px rgba(64, 158, 255, .14);
}

.fin .pfx { width: 17px; height: 17px; flex: none; margin-right: 10px; stroke: #96a1b4; fill: none; stroke-width: 1.7; }
.fin:focus-within .pfx { stroke: var(--brand-2); }

.fin input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text);
    height: 100%;
    min-width: 0;
}

.fin input::placeholder { color: #aeb6c2; }
.fin .sfx { flex: none; margin-left: 8px; display: flex; align-items: center; }

.eye {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    cursor: pointer;
    color: #96a1b4;
    border: none;
    background: none;
    padding: 0;
}

.eye:hover { background: #eef1f6; }
.eye svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.code-btn {
    border: none;
    background: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    cursor: pointer;
    padding: 6px 2px 6px 12px;
    border-left: 1px solid #e2e7ee;
    white-space: nowrap;
}

.code-btn:disabled { color: var(--text-3); cursor: not-allowed; }

.opts { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 20px; }

.ck {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-2);
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}

.ck input { position: absolute; opacity: 0; width: 0; height: 0; }

.ck .box {
    width: 16px;
    height: 16px;
    flex: none;
    border: 1px solid var(--border-2);
    border-radius: 4px;
    display: grid;
    place-items: center;
    background: #fff;
    transition: all .15s;
    margin-top: 1px;
}

.ck .box svg { width: 10px; height: 10px; stroke: #fff; fill: none; stroke-width: 2.4; opacity: 0; transition: opacity .15s; }
.ck input:checked + .box { background: var(--brand); border-color: var(--brand); }
.ck input:checked + .box svg { opacity: 1; }

.forgot { font-size: 13.5px; color: var(--brand); cursor: pointer; border: none; background: none; padding: 0; font-family: inherit; }
.forgot:hover { text-decoration: underline; }

.submit {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: var(--sh-brand);
    transition: transform .18s, box-shadow .18s, background .18s;
    margin-top: 2px;
}

.submit:hover:not(:disabled) {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(21, 101, 192, .34);
}

.submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}

.trust-row span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.trust-row svg { width: 14px; height: 14px; stroke: #9aa8bd; fill: none; stroke-width: 1.7; flex: none; }

.alt-row { text-align: center; font-size: 13.5px; color: var(--text-2); margin-top: 16px; }
.alt-row a { color: var(--brand); font-weight: 600; cursor: pointer; }
.alt-row a:hover { text-decoration: underline; }

.remote-box {
    margin-bottom: 14px;
    padding: 12px;
    background: #fdf6ec;
    border: 1px solid #f5dab1;
    border-radius: 10px;
    font-size: 13px;
    color: #606266;
}

.remote-box strong { display: block; font-size: 16px; color: #303133; margin-top: 6px; }

.m-brand { display: none; }

@media (max-width: 920px) {
    .auth { grid-template-columns: 1fr; }
    .brand-panel { display: none; }
    .m-brand { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 24px 0 4px; }
    .m-brand .logo .site-brand__text--default { color: var(--brand); }
    .form-panel { padding: 8px 22px 36px; }
}

@media (max-width: 420px) {
    .ac-head h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .slides-track,
    .ticker-track { animation: none !important; transition: none !important; }
}

/* ---------- 注册页：分步表单 ---------- */
.steps-ind {
    display: flex;
    align-items: center;
    margin: 20px 0 24px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: none;
}

.step-item .num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eef1f6;
    color: var(--text-3);
    display: grid;
    place-items: center;
    font-size: 12.5px;
    font-weight: 700;
    transition: all .2s;
}

.step-item .lbl {
    font-size: 11px;
    color: var(--text-3);
    white-space: nowrap;
}

.step-item.active .num {
    background: var(--brand);
    color: #fff;
}

.step-item.active .lbl {
    color: var(--brand);
    font-weight: 600;
}

.step-item.done .num {
    background: var(--brand-wash);
    color: var(--brand);
}

.step-line {
    flex: 1;
    height: 2px;
    background: #eef1f6;
    margin: 0 6px 18px;
    transition: background .2s;
}

.step-line.done {
    background: var(--brand-line);
}

.acct-type {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.acct-type label {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.acct-type input {
    position: absolute;
    opacity: 0;
}

.acct-type .opt {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1.5px solid var(--border-2);
    border-radius: 11px;
    transition: all .16s;
    background: #fff;
}

.acct-type .opt svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-3);
    fill: none;
    stroke-width: 1.7;
    flex: none;
}

.acct-type .opt b {
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
}

.acct-type .opt small {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    font-weight: 400;
}

.acct-type input:checked + .opt {
    border-color: var(--brand);
    background: var(--brand-wash);
}

.acct-type input:checked + .opt svg {
    stroke: var(--brand);
}

.pw-meter {
    display: flex;
    gap: 5px;
    margin-top: 7px;
}

.pw-meter i {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: #e6eaf0;
    transition: background .2s;
}

.pw-meter.s1 i:nth-child(1) { background: var(--danger); }
.pw-meter.s2 i:nth-child(-n+2) { background: var(--warning); }
.pw-meter.s3 i:nth-child(-n+3) { background: #409eff; }
.pw-meter.s4 i { background: var(--success); }

.pw-hint {
    font-size: 11.5px;
    color: var(--text-3);
    margin-top: 6px;
    margin-bottom: 2px;
}

.pw-hint.is-error {
    color: var(--danger);
}

.step-btns {
    display: flex;
    gap: 12px;
}

.step-btns .submit {
    flex: 1;
    margin-top: 0;
}

.btn-back {
    flex: 1;
    height: 50px;
    border-radius: 12px;
    border: 1.5px solid var(--border-2);
    background: #fff;
    color: var(--text-2);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s;
}

.btn-back:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.success-box {
    text-align: center;
    padding: 8px 0 4px;
}

.success-ic {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--success);
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
}

.success-ic svg {
    width: 26px;
    height: 26px;
}

.success-box h4 {
    font-size: 19px;
    color: var(--ink);
}

.success-box p {
    font-size: 13.5px;
    color: var(--text-3);
    margin-top: 6px;
}

.success-box .submit {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 8px;
}

.register-limit-tip {
    font-size: 12px;
    color: var(--danger);
    margin: -4px 0 12px;
    line-height: 1.5;
}

.fld-label-opt {
    color: var(--text-3);
    font-weight: 400;
}
