/* www.wwwseo.net 门户样式 —— 与主站同源的 Apple 化令牌体系（简版） */
:root {
    --bg: #f5f5f7;
    --ink: #1d1d1f;
    --sub: #6e6e73;
    --line: #e8e8ed;
    --card: #fff;
    --brand: #0071e3;
    --brand-h: #0077ed;
    --hero-a: #0b1726;
    --hero-b: #14283c;
    --err: #d70015;
    --ok: #1a7f37;
    --radius: 18px;
    --shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
small { color: var(--sub); font-weight: 400; }

/* ── 顶栏 ── */
.w-top { position: sticky; top: 0; z-index: 50; background: rgba(245, 245, 247, .82); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.w-top-in { max-width: 1100px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.w-logo { display: flex; align-items: center; gap: 10px; }
.w-logo-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #0a84ff, #5e5ce6); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.w-logo-txt { font-weight: 600; font-size: 15px; line-height: 1.2; }
.w-logo-txt small { display: block; font-size: 11px; color: var(--sub); }
.w-nav { display: flex; gap: 16px; font-size: 14px; color: var(--sub); margin-left: auto; }
.w-nav a:hover { color: var(--ink); }
.w-acc { display: flex; gap: 8px; }

/* ── 按钮 ── */
.w-btn { display: inline-block; border: 0; cursor: pointer; font-size: 14px; padding: 8px 18px; border-radius: 999px; transition: .18s background; line-height: 1.4; }
.w-btn-primary { background: var(--brand); color: #fff; }
.w-btn-primary:hover { background: var(--brand-h); }
.w-btn-solid { background: var(--ink); color: #fff; }
.w-btn-ghost { background: transparent; color: var(--brand); }
.w-btn-ghost:hover { text-decoration: underline; }
.w-btn-outline { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.w-btn-outline:hover { background: rgba(0, 113, 227, .08); }
.w-btn-ghostlight { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.w-btn-lg { padding: 12px 28px; font-size: 16px; }
.w-btn-block { width: 100%; padding: 12px; font-size: 16px; }
.w-btn[disabled] { opacity: .55; cursor: wait; }

/* ── Hero ── */
.w-hero { background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); color: #fff; }
.w-hero-in { max-width: 1100px; margin: 0 auto; padding: 84px 20px 72px; text-align: center; }
.w-eyebrow { letter-spacing: .18em; font-size: 13px; color: #9ecbff; margin-bottom: 14px; }
.w-hero h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 700; line-height: 1.25; }
.w-grad { background: linear-gradient(90deg, #64d2ff, #5e97ff, #bf5af2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-sub { margin: 18px auto 30px; max-width: 640px; color: #c9d1d9; font-size: 17px; }
.w-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.w-hero-points { list-style: none; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 30px; color: #9aa7b5; font-size: 14px; }

/* ── 内容段 ── */
.w-sec { padding: 64px 0; }
.w-sec-alt { background: #fff; }
.w-sec-in { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.w-sec h2 { font-size: 28px; text-align: center; }
.w-sec-sub { text-align: center; color: var(--sub); margin: 6px 0 34px; font-size: 15px; }
.w-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.w-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .18s; display: block; }
.w-card:hover { transform: translateY(-3px); }
.w-sec-alt .w-card { background: var(--bg); }
.w-card h3 { font-size: 17px; margin-bottom: 8px; }
.w-card p { font-size: 14px; color: var(--sub); }
.w-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13px; color: var(--sub); }
.w-card-meta b { color: var(--brand); font-size: 15px; }
.w-card-prod img { border-radius: 12px; margin-bottom: 12px; }
.w-card-plan { text-align: center; }
.w-price { font-size: 26px; font-weight: 700; color: var(--ink); margin: 6px 0 10px; }
.w-price small { font-size: 13px; color: var(--sub); }
.w-tag { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--ok); background: rgba(26, 127, 55, .08); border-radius: 999px; padding: 3px 12px; }
.w-card-more { display: grid; place-content: center; border-style: dashed; }

/* ── 通栏 ── */
.w-band { background: linear-gradient(135deg, #0a84ff, #5e5ce6); color: #fff; }
.w-band-in { max-width: 1100px; margin: 0 auto; padding: 56px 20px; text-align: center; }
.w-band h2 { font-size: 26px; margin-bottom: 12px; }
.w-band p { max-width: 620px; margin: 0 auto 26px; color: #e2e8ff; }
.w-band em { color: #ffd60a; font-style: normal; font-weight: 600; }
.w-band .w-btn-primary { background: #fff; color: var(--ink); }
.w-band .w-btn-outline { color: #fff; border-color: rgba(255, 255, 255, .6); }
.w-band .w-btn-outline:hover { background: rgba(255, 255, 255, .12); }

/* ── 页脚 ── */
.w-foot { border-top: 1px solid var(--line); background: #fff; }
.w-foot-in { max-width: 1100px; margin: 0 auto; padding: 36px 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; font-size: 13px; color: var(--sub); }
.w-foot-links { display: grid; gap: 6px; align-content: start; }
.w-foot-links a:hover { color: var(--brand); }
.w-foot-legal p { margin-bottom: 6px; }

/* ── 认证页 ── */
.w-auth { padding: 64px 20px; display: grid; place-items: start center; }
.w-auth-card { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 30px; }
.w-auth-wide { max-width: 640px; }
.w-auth-card h1 { font-size: 24px; }
.w-auth-sub { color: var(--sub); font-size: 14px; margin: 6px 0 22px; }
.w-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.w-tab { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 7px 18px; font-size: 14px; cursor: pointer; color: var(--sub); }
.w-tab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.w-form label { display: block; font-size: 14px; margin-bottom: 14px; }
.w-form input { width: 100%; margin-top: 6px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; background: var(--bg); }
.w-form input:focus { outline: 2px solid var(--brand); border-color: transparent; background: #fff; }
.w-sms-row { display: flex; gap: 10px; align-items: stretch; }
.w-sms-row input { flex: 1; }
.w-sms-row .w-btn { white-space: nowrap; }
.w-msg { min-height: 22px; font-size: 14px; margin-top: 12px; color: var(--sub); }
.w-msg.is-err { color: var(--err); }
.w-msg.is-ok { color: var(--ok); }
.w-auth-alt { font-size: 13px; color: var(--sub); text-align: center; margin-top: 16px; }
.w-auth-alt a { color: var(--brand); }

/* ── 滑块弹窗 ── */
.w-cap { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45); display: grid; place-items: center; }
.w-cap-card { background: #fff; border-radius: var(--radius); padding: 20px; width: min(92vw, 380px); }
.w-cap-card > p { font-size: 14px; margin-bottom: 12px; }
.w-cap-stage { position: relative; border-radius: 10px; overflow: hidden; background: var(--bg); }
.w-cap-piece { position: absolute; left: 0; }
.w-cap-slide { position: relative; height: 38px; margin-top: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; touch-action: none; }
.w-cap-knob { position: absolute; left: 2px; top: 2px; width: 44px; height: 34px; border-radius: 999px; background: var(--brand); color: #fff; cursor: grab; display: grid; place-items: center; }
.w-cap-knob::after { content: "⇆"; font-size: 16px; }
.w-cap-btns { display: flex; justify-content: space-between; margin-top: 14px; }

/* ── 账户页 ── */
.w-me-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 26px; }
.w-me-grid small { font-size: 12px; }
.w-me-grid p { font-weight: 600; word-break: break-all; }
.w-auth-card h2 { font-size: 17px; margin-bottom: 12px; }
.w-subs { display: grid; gap: 10px; margin-bottom: 24px; }
.w-sub-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 14px; background: var(--bg); }
.w-sub-item .st { font-size: 12px; color: var(--ok); white-space: nowrap; }
.w-muted { color: var(--sub); font-size: 14px; }
.w-me-ops { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── 响应式 ── */
@media (max-width: 860px) {
    .w-grid { grid-template-columns: 1fr 1fr; }
    .w-foot-in { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
    .w-grid { grid-template-columns: 1fr; }
    .w-nav { display: none; }
    .w-hero-in { padding: 56px 18px 48px; }
    .w-me-grid { grid-template-columns: 1fr; }
}
