/* ============================================================
   极光IP · Aurora Proxy — 基础与前台样式
   设计基调参考 WorkBuddy 定价页：白底、墨色、薄荷绿、18px 圆角
   ============================================================ */

:root {
    --bg: #ffffff;
    --bg-soft: #f6f7f5;
    --bg-mist: #f2f7f5;
    --bg-sand: #faf8f3;
    --ink: #191a23;
    --ink-2: #3f424c;
    --ink-3: #5d606b;
    --muted: #7f8390;
    --line: rgba(25, 26, 35, 0.11);
    --line-soft: rgba(25, 26, 35, 0.065);
    --green: #28b894;
    --green-600: #179578;
    --green-700: #0f7d64;
    --green-soft: #e7f7f1;
    --green-wash: rgba(40, 184, 148, 0.12);
    --dark: #1a1a1b;
    --dark-2: #232326;
    --gold: #b68f56;
    --danger: #d94b4b;
    --warn: #b07a22;
    --radius-xl: 26px;
    --radius-lg: 20px;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-xs: 0 1px 2px rgba(25, 26, 35, 0.04);
    --shadow-sm: 0 4px 14px rgba(25, 26, 35, 0.05);
    --shadow: 0 8px 28px rgba(25, 26, 35, 0.05);
    --shadow-lg: 0 24px 70px rgba(25, 26, 35, 0.12);
    --container: 1200px;
    --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    margin: 0;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.18;
    color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { vertical-align: middle; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--green-soft); color: var(--ink); }

.icon { flex: 0 0 auto; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.strong { font-weight: 700; }
.green { color: var(--green-600); }
.nowrap { white-space: nowrap; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.flex-center { display: flex; align-items: center; gap: 8px; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* ---------- 品牌 ---------- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--dark);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-mark svg { width: 19px; height: 19px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.brand-sub { font-size: 9px; letter-spacing: 0.16em; color: var(--muted); margin-top: 4px; }
.brand.is-light .brand-mark { background: #fff; color: var(--ink); }
.brand.is-light .brand-name { color: #fff; }
.brand.is-light .brand-sub { color: rgba(255, 255, 255, 0.55); }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; box-shadow: 0 10px 24px rgba(25, 26, 35, 0.16); }
.btn-green { background: var(--green); color: #06231b; }
.btn-green:hover { background: #31c6a0; box-shadow: 0 10px 24px rgba(40, 184, 148, 0.24); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink-2); }
.btn-ghost:hover { border-color: rgba(25, 26, 35, 0.25); background: #fff; }
.btn-light { background: var(--bg-soft); color: var(--ink); }
.btn-light:hover { background: #eef0ed; }
.btn-danger { background: #fff1f1; color: var(--danger); border-color: rgba(217, 75, 75, 0.18); }
.btn-danger:hover { background: #ffe4e4; }
.btn-white { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.26); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 12.5px; }
.btn-xs { height: 28px; padding: 0 11px; font-size: 12px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn .icon { width: 17px; height: 17px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 650;
    color: var(--ink);
}
.link-arrow .icon { transition: transform 0.18s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- 标签 / 状态 ---------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    background: var(--bg-soft);
    color: var(--ink-2);
    white-space: nowrap;
}
.pill.ok { background: var(--green-soft); color: var(--green-700); }
.pill.warn { background: #fff6e6; color: #96651a; }
.pill.bad { background: #fdecec; color: #b33a3a; }
.pill.muted { background: #f1f2f4; color: #777b87; }
.pill-dark { background: var(--dark); color: #fff; }
.pill-green { background: var(--green); color: #06231b; }

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}
.dot-live { background: var(--green); box-shadow: 0 0 0 4px rgba(40, 184, 148, 0.16); animation: pulse 2.4s infinite; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(40, 184, 148, 0.22); }
    50% { box-shadow: 0 0 0 6px rgba(40, 184, 148, 0.02); }
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-2);
}
.badge-soft .dot { color: var(--green); }

/* ---------- 页面头部 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 38px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav a {
    font-size: 14px;
    font-weight: 550;
    color: var(--ink-3);
    transition: color 0.16s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--ink); }

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-actions .link-login {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    padding: 0 10px;
}
.header-actions .link-login:hover { color: var(--ink); }

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 38px;
    padding: 0 6px 0 6px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green) 0%, #7fd8c2 100%);
    color: #06231b;
    display: inline-grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    flex: 0 0 auto;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ---------- Flash ---------- */
.flash-stack {
    position: fixed;
    top: 88px;
    right: 24px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(380px, calc(100vw - 32px));
}

.flash {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    font-size: 13.5px;
    line-height: 1.5;
    animation: flash-in 0.24s ease both;
}
.flash .icon { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.flash.success { border-color: rgba(40, 184, 148, 0.35); }
.flash.success .icon { color: var(--green-600); }
.flash.error { border-color: rgba(217, 75, 75, 0.3); }
.flash.error .icon { color: var(--danger); }
.flash.info .icon { color: var(--ink-3); }

@keyframes flash-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 56px;
    background:
        radial-gradient(900px 480px at 82% 4%, rgba(40, 184, 148, 0.10), transparent 62%),
        radial-gradient(700px 400px at 6% 0%, rgba(182, 143, 86, 0.05), transparent 60%),
        linear-gradient(180deg, #f5faf8 0%, #ffffff 78%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(25, 26, 35, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 26, 35, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 55% 25%, #000 0%, transparent 72%);
    pointer-events: none;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    gap: 56px;
}

.hero-copy { animation: rise 0.6s ease both; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(40, 184, 148, 0.28);
    background: rgba(255, 255, 255, 0.7);
    color: var(--green-700);
    font-size: 12.5px;
    font-weight: 650;
    letter-spacing: 0.01em;
}

.hero h1 {
    margin-top: 24px;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.06;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.hero h1 .accent {
    color: var(--green-600);
    position: relative;
    white-space: nowrap;
}

.hero h1 .accent::after {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 6px;
    height: 9px;
    border-radius: 999px;
    background: var(--green-soft);
    z-index: -1;
}

.hero-sub {
    max-width: 510px;
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-3);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 12.5px;
}
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { width: 15px; height: 15px; color: var(--green-600); }

/* 网络可视化卡片 */
.network-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 26px;
    background:
        radial-gradient(600px 300px at 85% -10%, rgba(40, 184, 148, 0.24), transparent 65%),
        linear-gradient(160deg, #1c1d20 0%, #121315 100%);
    color: #fff;
    box-shadow: 0 40px 90px rgba(18, 19, 21, 0.28);
    animation: rise 0.6s 0.12s ease both;
}

.network-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
    pointer-events: none;
}

.network-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.network-title { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.48); font-weight: 650; }
.network-head h3 { margin-top: 8px; font-size: 20px; color: #fff; letter-spacing: -0.02em; }
.network-live { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(40, 184, 148, 0.12); color: #6ee2c3; font-size: 11.5px; font-weight: 650; border: 1px solid rgba(40, 184, 148, 0.2); }

.globe-wrap {
    position: relative;
    height: 210px;
    margin: 20px -4px 8px;
    display: grid;
    place-items: center;
}
.globe-wrap svg { width: 100%; height: 100%; }
.globe-grid { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; fill: none; }
.globe-arc { stroke: rgba(40, 184, 148, 0.42); stroke-width: 1.1; fill: none; stroke-dasharray: 3 5; animation: dash 14s linear infinite; }
.globe-node { fill: #6ee2c3; }
.globe-node-ring { fill: none; stroke: rgba(110, 226, 195, 0.45); stroke-width: 1; animation: node-ring 3s ease-out infinite; transform-origin: center; }
.globe-core { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.12); }

@keyframes dash { to { stroke-dashoffset: -200; } }
@keyframes node-ring { 0% { opacity: 0.8; r: 3; } 100% { opacity: 0; r: 13; } }

.node-list { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.node-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.16s ease;
}
.node-row:hover { background: rgba(255, 255, 255, 0.05); }
.node-row .node-flag { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.node-row .node-name { color: #fff; font-weight: 600; }
.node-row .node-meta { margin-left: auto; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, 0.45); }
.node-row .node-bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.node-row .node-bars i { width: 2px; border-radius: 1px; background: var(--green); opacity: 0.75; }

.floating-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}
.floating-chip .chip-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-700); }
.floating-chip strong { display: block; font-size: 14px; line-height: 1.2; }
.floating-chip span { display: block; font-size: 11px; color: var(--muted); }
.floating-chip.chip-a { right: -14px; top: 46px; animation: float 6s ease-in-out infinite; }
.floating-chip.chip-b { left: -22px; bottom: 40px; animation: float 7s 1s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 数据条 ---------- */
.metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 54px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    backdrop-filter: blur(8px);
}
.metric-item { padding: 24px 28px; border-right: 1px solid var(--line-soft); }
.metric-item:last-child { border-right: 0; }
.metric-value { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.metric-value small { font-size: 15px; font-weight: 650; color: var(--muted); margin-left: 2px; }
.metric-label { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

/* ---------- 章节 ---------- */
.section { padding: 88px 0; }
.section.is-soft { background: var(--bg-soft); }
.section.is-mist { background: linear-gradient(180deg, #f4faf7 0%, #fff 100%); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -0.04em; }
.section-head p { margin-top: 14px; font-size: 15.5px; color: var(--ink-3); line-height: 1.75; }
.section-head.center p { max-width: 620px; margin-left: auto; margin-right: auto; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green-700);
}
.eyebrow::before { content: ""; width: 16px; height: 1.5px; background: var(--green); }

/* ---------- 特性卡 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(25, 26, 35, 0.16); }
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--green-soft);
    color: var(--green-700);
    margin-bottom: 20px;
}
.feature-icon.is-ink { background: #f1f2f4; color: var(--ink); }
.feature-icon.is-gold { background: #f8f1e6; color: #97721f; }
.feature-card h3 { font-size: 17px; letter-spacing: -0.02em; }
.feature-card p { margin-top: 9px; font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }

/* ---------- 场景 ---------- */
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.use-case {
    position: relative;
    padding: 30px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}
.use-case::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--green-wash);
    filter: blur(2px);
}
.use-case .case-no { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.use-case h3 { margin-top: 16px; font-size: 21px; letter-spacing: -0.03em; }
.use-case p { margin-top: 10px; color: var(--ink-3); font-size: 13.5px; line-height: 1.7; }
.use-case .case-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 22px; }
.case-tag { font-size: 11.5px; color: var(--ink-2); background: var(--bg-soft); padding: 4px 9px; border-radius: 999px; }

/* ---------- 定价卡 ---------- */
.pricing-tabs {
    display: inline-flex;
    padding: 5px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--line-soft);
    gap: 4px;
}
.pricing-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 650;
    color: var(--ink-3);
    transition: all 0.18s ease;
}
.pricing-tab:hover { color: var(--ink); }
.pricing-tab.active { background: var(--dark); color: #fff; box-shadow: 0 4px 14px rgba(25, 26, 35, 0.16); }
.pricing-tab .count { font-size: 11px; opacity: 0.65; }

.price-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
.price-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-grid.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 24px 28px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.is-featured {
    background: linear-gradient(165deg, #1e1f22 0%, #141517 100%);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 30px 70px rgba(18, 19, 21, 0.24);
}
.price-card.is-featured:hover { box-shadow: 0 36px 80px rgba(18, 19, 21, 0.3); }
.price-card.is-gold { border-color: rgba(182, 143, 86, 0.42); background: linear-gradient(175deg, #fffdf7 0%, #fff 65%); }

.price-top { min-height: 84px; }
.price-badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: var(--green-soft);
    color: var(--green-700);
}
.price-card.is-featured .price-badge { background: var(--green); color: #08251d; }
.price-badge.gold { background: #f6edde; color: #8a682f; }
.price-badge.ghost { background: #f1f2f4; color: var(--ink-3); }
.price-kicker { margin-top: 14px; font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.price-card h3 { margin-top: 5px; font-size: 21px; letter-spacing: -0.03em; }
.price-card.is-featured h3 { color: #fff; }
.price-meta { margin-top: 7px; font-size: 12.5px; color: var(--ink-3); }
.price-card.is-featured .price-meta { color: rgba(255, 255, 255, 0.56); }

.price-line { display: flex; align-items: flex-end; gap: 6px; margin-top: 16px; min-height: 56px; }
.price-currency { font-size: 19px; font-weight: 700; margin-bottom: 7px; }
.price-amount { font-size: 46px; font-weight: 800; line-height: 0.95; letter-spacing: -0.055em; }
.price-period { font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.price-card.is-featured .price-period { color: rgba(255, 255, 255, 0.55); }
.price-old { font-size: 12.5px; color: var(--muted); text-decoration: line-through; margin-top: 4px; min-height: 18px; }
.price-card.is-featured .price-old { color: rgba(255, 255, 255, 0.38); }
.price-desc { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; min-height: 42px; margin-top: 14px; }
.price-card.is-featured .price-desc { color: rgba(255, 255, 255, 0.65); }

.price-card .btn { margin-top: 18px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.price-card.is-featured .feature-list { border-top-color: rgba(255, 255, 255, 0.1); }
.feature-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 12.8px; color: var(--ink-2); line-height: 1.5; }
.price-card.is-featured .feature-list li { color: rgba(255, 255, 255, 0.78); }
.feature-list .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--green-600); flex: 0 0 auto; }
.price-card.is-featured .feature-list .icon { color: #6ee2c3; }
.price-footnote { margin-top: 16px; font-size: 11.5px; color: var(--muted); }
.price-card.is-featured .price-footnote { color: rgba(255, 255, 255, 0.42); }

.pricing-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}
.pricing-header .section-head { margin-bottom: 0; }
.pricing-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 12.5px;
    color: var(--muted);
}

/* ---------- 套餐对比 ---------- */
.compare-wrap {
    margin-top: 56px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.compare-scroll { overflow-x: auto; }
.compare-table { min-width: 760px; }
.compare-table th, .compare-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 13px; vertical-align: top; }
.compare-table thead th { background: #fff; border-bottom: 1px solid var(--line); padding-top: 26px; padding-bottom: 22px; }
.compare-table thead th:first-child { position: sticky; left: 0; z-index: 2; background: #fff; }
.compare-table tbody th { font-weight: 600; color: var(--ink-2); width: 180px; background: #fff; position: sticky; left: 0; z-index: 1; }
.compare-plan-name { font-size: 15px; font-weight: 700; }
.compare-plan-price { margin-top: 5px; font-size: 12px; color: var(--muted); }
.compare-table .is-rec { background: linear-gradient(180deg, rgba(40, 184, 148, 0.05), transparent 70%); }
.compare-table .is-rec .compare-plan-name { color: var(--green-700); }
.compare-table td { color: var(--ink-2); }
.compare-check { color: var(--green-600); font-weight: 700; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-group-title {
    background: var(--bg-soft) !important;
    font-size: 11.5px !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted) !important;
    font-weight: 700 !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 23px 4px;
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-3); transition: transform 0.2s ease, background 0.2s ease; }
.faq-item[open] summary .faq-plus { transform: rotate(45deg); background: var(--dark); color: #fff; border-color: var(--dark); }
.faq-body { padding: 0 4px 24px; font-size: 13.8px; color: var(--ink-3); line-height: 1.8; max-width: 780px; }
.faq-body p + p { margin-top: 8px; }

/* ---------- CTA ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 52px;
    background:
        radial-gradient(700px 340px at 85% 0%, rgba(40, 184, 148, 0.32), transparent 65%),
        linear-gradient(150deg, #1c1d20 0%, #121315 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); max-width: 560px; letter-spacing: -0.04em; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, 0.6); font-size: 14px; max-width: 520px; }
.cta-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cta-band .btn-green { min-width: 150px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #121315; color: #a8acb6; padding: 62px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer-brand p { margin-top: 16px; font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, 0.48); max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 13.5px; letter-spacing: 0.01em; }
.footer-col ul { margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 13px; color: rgba(255, 255, 255, 0.52); transition: color 0.16s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12px; color: rgba(255, 255, 255, 0.36); }
.footer-bottom .links { display: flex; gap: 18px; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a { width: 32px; height: 32px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.12); display: grid; place-items: center; color: rgba(255, 255, 255, 0.62); font-size: 11px; }
.footer-social a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ---------- 认证页面 ---------- */
.auth-page { padding: 60px 0 90px; background: var(--bg-soft); }
.auth-shell {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
    border: 1px solid var(--line);
}
.auth-aside {
    position: relative;
    padding: 48px 44px;
    background:
        radial-gradient(500px 300px at 90% 0%, rgba(40, 184, 148, 0.3), transparent 65%),
        linear-gradient(160deg, #1c1d20 0%, #121315 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
}
.auth-aside h2 { color: #fff; font-size: 30px; margin-top: 26px; letter-spacing: -0.04em; }
.auth-aside p { margin-top: 14px; color: rgba(255, 255, 255, 0.6); font-size: 13.5px; line-height: 1.75; }
.auth-benefits { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.auth-benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(255, 255, 255, 0.76); }
.auth-benefits .icon { color: #6ee2c3; margin-top: 1px; }
.auth-aside .auth-quote { margin-top: auto; padding-top: 40px; font-size: 12px; color: rgba(255, 255, 255, 0.4); }
.auth-main { padding: 48px 52px; }
.auth-main h1 { font-size: 30px; letter-spacing: -0.04em; }
.auth-main .sub { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.auth-form { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.auth-switch { margin-top: 24px; font-size: 13px; color: var(--muted); text-align: center; }
.auth-switch a { color: var(--green-700); font-weight: 650; }
.auth-footnote { margin-top: 18px; font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.6; }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.label { font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.label .req { color: var(--danger); margin-left: 2px; }
.help { font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.input, .select, .textarea {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.textarea { height: auto; min-height: 94px; padding: 11px 14px; resize: vertical; line-height: 1.65; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237f8390' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(40, 184, 148, 0.13); }
.input::placeholder, .textarea::placeholder { color: #b4b7c0; }
.input:disabled { background: #f4f5f4; color: var(--muted); }
.input.is-error { border-color: rgba(217, 75, 75, 0.5); }
.input-group { display: flex; align-items: stretch; }
.input-group .input { border-radius: 11px 0 0 11px; }
.input-group .input-addon { display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line); border-left: 0; border-radius: 0 11px 11px 0; background: var(--bg-soft); font-size: 13px; color: var(--muted); }

.checkbox { display: flex; gap: 9px; align-items: flex-start; font-size: 12.8px; color: var(--ink-3); cursor: pointer; }
.checkbox input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--green); flex: 0 0 auto; }
.checkbox a { color: var(--green-700); }

.radio-cards { display: grid; gap: 9px; }
.radio-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color 0.16s ease, background 0.16s ease; }
.radio-card:hover { border-color: rgba(25, 26, 35, 0.22); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card .radio-mark { width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid #c3c6cd; flex: 0 0 auto; display: grid; place-items: center; }
.radio-card .radio-mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); transform: scale(0); transition: transform 0.16s ease; }
.radio-card input:checked ~ .radio-mark { border-color: var(--green); }
.radio-card input:checked ~ .radio-mark::after { transform: scale(1); }
.radio-card:has(input:checked) { border-color: var(--green); background: #f7fdfa; box-shadow: inset 0 0 0 1px rgba(40, 184, 148, 0.2); }
.radio-card .radio-body { flex: 1; }
.radio-card strong { display: block; font-size: 13.5px; }
.radio-card span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.radio-card .radio-price { font-weight: 700; font-size: 13.5px; white-space: nowrap; }

/* ---------- 定价页 ---------- */
.pricing-hero { padding: 74px 0 40px; background: linear-gradient(180deg, #f4faf7 0%, #fff 100%); text-align: center; }
.pricing-hero h1 { font-size: clamp(36px, 4.6vw, 54px); letter-spacing: -0.045em; }
.pricing-hero p { margin-top: 16px; color: var(--ink-3); font-size: 15.5px; }
.pricing-hero .hero-actions { justify-content: center; margin-top: 26px; }
.promo-banner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    padding: 10px 14px 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    font-size: 12.5px;
    color: var(--ink-3);
}
.promo-banner b { color: var(--ink); }
.promo-banner .promo-link { color: var(--green-700); font-weight: 650; display: inline-flex; align-items: center; gap: 4px; }

.pricing-page-section { padding: 34px 0 80px; }
.pricing-toggle-bar { display: flex; justify-content: center; margin-bottom: 34px; }
.pricing-plan-sections { display: flex; flex-direction: column; gap: 58px; }

.pricing-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-top: 30px;
    font-size: 12px;
    color: var(--muted);
}
.pricing-foot span { display: inline-flex; align-items: center; gap: 7px; }
.pricing-foot .icon { width: 15px; height: 15px; color: var(--green-600); }

/* ---------- 产品页 ---------- */
.product-hero { padding: 64px 0 48px; background: linear-gradient(180deg, #f4faf7, #fff); }
.product-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.product-hero h1 { margin-top: 16px; font-size: clamp(34px, 4vw, 50px); letter-spacing: -0.04em; }
.product-hero p { margin-top: 14px; color: var(--ink-3); font-size: 15px; max-width: 560px; line-height: 1.8; }
.product-visual { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.product-visual .visual-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.product-visual .visual-head strong { font-size: 14px; }
.product-visual .visual-body { padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.spec-row { display: flex; align-items: center; justify-content: space-between; font-size: 12.8px; color: var(--ink-3); }
.spec-row b { color: var(--ink); }
.product-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.cat-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; color: var(--green-700); background: var(--green-soft); padding: 5px 10px; border-radius: 999px; }

/* ---------- 结算 ---------- */
.checkout-section { padding: 38px 0 84px; background: var(--bg-soft); }
.checkout-shell { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 22px; align-items: start; }
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line-soft); }
.panel-head h3 { font-size: 16px; }
.panel-head p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.panel-body { padding: 24px; }
.panel-body.tight { padding: 16px; }
.panel-foot { padding: 16px 24px; border-top: 1px solid var(--line-soft); background: #fbfcfb; }

.checkout-summary { position: sticky; top: 92px; }
.summary-list { display: flex; flex-direction: column; gap: 12px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--ink-3); }
.summary-row b { color: var(--ink); font-weight: 650; }
.summary-row.total { padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--ink); }
.summary-row.total .total-amount { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.checkout-plan-mini { display: flex; gap: 13px; align-items: center; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.checkout-plan-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green-700); display: grid; place-items: center; flex: 0 0 auto; }
.checkout-plan-mini strong { display: block; font-size: 14px; }
.checkout-plan-mini span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty-control button { width: 36px; height: 38px; border: 0; background: #fff; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.qty-control button:hover { background: var(--bg-soft); }
.qty-control input { width: 46px; height: 38px; border: 0; border-left: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); text-align: center; font-size: 13.5px; outline: none; }

.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { flex: 1; }
.coupon-feedback { margin-top: 7px; font-size: 11.5px; color: var(--green-700); min-height: 16px; }
.coupon-feedback.error { color: var(--danger); }

.pay-method-note { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 9px; background: var(--bg-soft); font-size: 11.5px; color: var(--muted); margin-top: 9px; }
.pay-method-note b { color: var(--ink); }

.secure-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 11.5px; color: var(--muted); }
.secure-note .icon { color: var(--green-600); }

/* ---------- 成功页 ---------- */
.success-section { padding: 56px 0 90px; background: linear-gradient(180deg, #f4faf7, #fff); }
.success-shell { max-width: 860px; margin: 0 auto; }
.success-head { text-align: center; padding: 12px 0 30px; }
.success-check { width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(40, 184, 148, 0.3); }
.success-check .icon { width: 30px; height: 30px; }
.success-head h1 { font-size: 34px; letter-spacing: -0.04em; }
.success-head p { margin-top: 10px; color: var(--ink-3); font-size: 14px; }
.cred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cred-item { padding: 13px 15px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cred-item .cred-label { font-size: 11px; color: var(--muted); display: block; margin-bottom: 2px; }
.cred-item .cred-value { font-family: var(--mono); font-size: 12.5px; font-weight: 600; word-break: break-all; }
.copy-btn { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.copy-btn:hover { color: var(--green-700); border-color: rgba(40, 184, 148, 0.35); }
.copy-btn .icon { width: 14px; height: 14px; }
.success-actions { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.sub-link-box { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 13px 15px; border-radius: 12px; background: #121315; color: #fff; }
.sub-link-box .sub-text { font-family: var(--mono); font-size: 12px; color: #6ee2c3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }

/* ---------- 手动支付 ---------- */
.manual-instructions { padding: 18px; border: 1px dashed rgba(40, 184, 148, 0.4); border-radius: 12px; background: #f7fdfa; font-size: 13px; color: var(--ink-2); line-height: 1.8; white-space: pre-line; }
.order-mini { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.order-mini:last-child { border-bottom: 0; }
.order-mini .no { font-family: var(--mono); font-size: 12px; }

/* ---------- API 文档 ---------- */
.docs-section { padding: 48px 0 90px; }
.docs-shell { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.docs-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; }
.docs-nav a { padding: 8px 12px; border-radius: 8px; font-size: 13px; color: var(--ink-3); }
.docs-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.docs-content h2 { margin-top: 40px; font-size: 24px; }
.docs-content h2:first-child { margin-top: 0; }
.docs-content p { margin-top: 12px; font-size: 13.8px; color: var(--ink-3); line-height: 1.8; }
.code-block { margin-top: 16px; border-radius: 13px; background: #16171a; color: #d6d9df; padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 12.5px; line-height: 1.8; }
.code-block .k { color: #6ee2c3; }
.code-block .s { color: #e8c680; }
.code-block .c { color: #6c707a; }
.docs-content ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.docs-content li { font-size: 13.5px; color: var(--ink-3); display: flex; gap: 8px; }
.docs-content li::before { content: "·"; color: var(--green); font-weight: 800; }

/* ---------- 法律页 ---------- */
.legal-section { padding: 56px 0 90px; }
.legal-shell { max-width: 820px; margin: 0 auto; }
.legal-shell h1 { font-size: 36px; }
.legal-body { margin-top: 26px; font-size: 14px; color: var(--ink-3); line-height: 1.95; white-space: pre-line; }
.legal-shell .updated { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---------- 用户中心外框 ---------- */
.user-body { background: #f7f8f6; }
.user-header { background: #fff; border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 50; }
.user-header-inner { max-width: 1280px; margin: 0 auto; padding: 0 28px; height: 68px; display: flex; align-items: center; gap: 24px; }
.user-header .header-links { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.user-header .header-links a { font-size: 13px; color: var(--ink-3); }
.user-header .header-links a:hover { color: var(--ink); }
.user-header .avatar { width: 32px; height: 32px; }

.user-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 28px 80px;
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.user-side {
    position: sticky;
    top: 98px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-xs);
}
.user-profile-mini { display: flex; align-items: center; gap: 10px; padding: 8px 8px 16px; border-bottom: 1px solid var(--line-soft); }
.user-profile-mini .avatar { width: 38px; height: 38px; font-size: 14px; }
.user-profile-mini strong { display: block; font-size: 13.5px; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-profile-mini span { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }
.user-nav { display: flex; flex-direction: column; gap: 3px; padding-top: 12px; }
.user-nav-group { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #a1a4ae; padding: 12px 10px 5px; }
.user-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 13px;
    color: var(--ink-3);
    transition: background 0.15s ease, color 0.15s ease;
}
.user-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.user-nav a.active { background: var(--dark); color: #fff; }
.user-nav a.active .icon { color: #6ee2c3; }
.user-nav .icon { width: 17px; height: 17px; color: var(--muted); }
.user-nav a.active .icon { color: #6ee2c3; }
.user-side-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.user-side-foot .balance-mini { display: flex; align-items: center; justify-content: space-between; padding: 10px 11px; border-radius: 10px; background: var(--green-soft); }
.user-side-foot .balance-mini span { font-size: 11px; color: var(--green-700); }
.user-side-foot .balance-mini b { font-size: 15px; color: var(--green-700); }

.user-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.user-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.user-page-head h1 { font-size: 27px; letter-spacing: -0.035em; }
.user-page-head p { margin-top: 5px; font-size: 13px; color: var(--muted); }
.user-page-head .actions { display: flex; gap: 8px; flex: 0 0 auto; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-card { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow-xs); }
.stat-card .stat-label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.stat-card .stat-label .icon { width: 16px; height: 16px; color: #b3b6bf; }
.stat-card .stat-value { margin-top: 10px; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.stat-card .stat-value small { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat-card .stat-sub { margin-top: 7px; font-size: 11.5px; color: var(--muted); }
.stat-card.is-green { background: linear-gradient(160deg, #1c1d20, #131416); border-color: transparent; color: #fff; }
.stat-card.is-green .stat-label { color: rgba(255, 255, 255, 0.55); }
.stat-card.is-green .stat-label .icon { color: #6ee2c3; }
.stat-card.is-green .stat-value { color: #fff; }
.stat-card.is-green .stat-value small { color: rgba(255, 255, 255, 0.5); }
.stat-card.is-green .stat-sub { color: rgba(255, 255, 255, 0.45); }

.service-list { display: flex; flex-direction: column; gap: 12px; }
.service-card { border: 1px solid var(--line-soft); border-radius: 13px; padding: 16px; display: flex; align-items: center; gap: 16px; transition: border-color 0.16s ease, box-shadow 0.16s ease; }
.service-card:hover { border-color: var(--line); box-shadow: var(--shadow-xs); }
.service-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); color: var(--green-700); display: grid; place-items: center; flex: 0 0 auto; }
.service-main { flex: 1; min-width: 0; }
.service-main .name { font-size: 13.5px; font-weight: 650; }
.service-main .meta { margin-top: 3px; font-size: 11.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 5px 12px; }
.service-usage { width: 170px; flex: 0 0 auto; }
.service-usage .usage-text { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); }
.service-usage .usage-text b { color: var(--ink-2); font-weight: 650; }
.service-actions { display: flex; gap: 6px; flex: 0 0 auto; }

.usage-bar { height: 6px; border-radius: 999px; background: #eef0ee; overflow: hidden; margin-top: 7px; }
.usage-bar i { display: block; height: 100%; border-radius: 999px; background: var(--green); }
.usage-bar.is-warn i { background: #e0a63b; }
.usage-bar.is-danger i { background: var(--danger); }
.usage-bar.is-unlimited { background: linear-gradient(90deg, var(--green-soft), #f1f5f3); }
.usage-bar.is-unlimited i { display: none; }

.panel-head h2 { font-size: 16px; }
.tabs-lite { display: flex; gap: 4px; flex-wrap: wrap; }
.tab-lite { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); background: transparent; }
.tab-lite:hover { background: var(--bg-soft); color: var(--ink); }
.tab-lite.active { background: var(--dark); color: #fff; }

.table-scroll { overflow-x: auto; }
.table { font-size: 13px; }
.table th { text-align: left; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #989ca6; font-weight: 650; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: #fbfcfb; white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fcfdfc; }
.table .primary-cell { font-weight: 650; color: var(--ink); }
.table .sub-cell { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.table .mono { font-family: var(--mono); font-size: 12px; }
.table .num { font-variant-numeric: tabular-nums; }
.table .actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.table-empty { padding: 46px 20px; text-align: center; color: var(--muted); font-size: 13px; }
.table-empty .icon { width: 30px; height: 30px; color: #c6c9d1; display: block; margin: 0 auto 10px; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 18px 0 4px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 9px; border-radius: 8px; font-size: 12.5px; color: var(--ink-3); border: 1px solid transparent; }
.pagination a:hover { border-color: var(--line); background: #fff; }
.pagination a.active { background: var(--dark); color: #fff; }
.pagination .disabled { opacity: 0.4; }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.user-split { display: grid; grid-template-columns: 1.35fr minmax(0, 0.75fr); gap: 18px; align-items: start; }
.detail-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line-soft); font-size: 13px; }
.detail-row span { color: var(--muted); font-size: 12.5px; }
.detail-row b { color: var(--ink); font-weight: 600; text-align: right; }
.detail-row .mono { font-family: var(--mono); font-size: 12px; }

.credential-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.credential-box .cred-item { background: #fff; }

.notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 11px; background: #fff8e8; border: 1px solid rgba(224, 166, 59, 0.25); font-size: 12.5px; color: #86601a; line-height: 1.6; }
.notice .icon { width: 17px; height: 17px; margin-top: 1px; flex: 0 0 auto; }
.notice.is-green { background: #f4fbf8; border-color: rgba(40, 184, 148, 0.24); color: var(--green-700); }

.timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.timeline-item:last-child { border-bottom: 0; }
.timeline-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: 7px; flex: 0 0 auto; }
.timeline-item .time { font-size: 11px; color: var(--muted); white-space: nowrap; }
.timeline-item .content { flex: 1; font-size: 12.8px; color: var(--ink-2); }
.timeline-item .content b { display: block; font-size: 13px; color: var(--ink); }

.progress-ring { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--green) calc(var(--p, 0) * 1%), #eef0ee 0); position: relative; }
.progress-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.progress-ring span { position: relative; z-index: 1; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }

/* ---------- 工单 ---------- */
.ticket-thread { display: flex; flex-direction: column; gap: 14px; }
.ticket-msg { display: flex; gap: 11px; align-items: flex-start; }
.ticket-msg .avatar { width: 32px; height: 32px; font-size: 11px; background: #f1f2f4; color: var(--ink-2); }
.ticket-msg.is-admin .avatar { background: var(--dark); color: #6ee2c3; }
.ticket-bubble { padding: 13px 15px; border-radius: 12px; background: var(--bg-soft); font-size: 13px; color: var(--ink-2); line-height: 1.7; max-width: 720px; }
.ticket-msg.is-admin .ticket-bubble { background: #f4fbf8; border: 1px solid rgba(40, 184, 148, 0.16); }
.ticket-msg .meta { font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.ticket-meta-grid { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; color: var(--muted); }
.ticket-meta-grid b { color: var(--ink-2); margin-left: 5px; }

/* ---------- 空状态 ---------- */
.empty-state { padding: 46px 24px; text-align: center; }
.empty-state .empty-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--bg-soft); color: #b0b4be; display: grid; place-items: center; margin: 0 auto 14px; }
.empty-state h3 { font-size: 15px; }
.empty-state p { margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.empty-state .btn { margin-top: 16px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
    .price-grid, .price-grid.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid { gap: 36px; }
    .floating-chip.chip-a { right: 0; top: 20px; }
    .floating-chip.chip-b { left: -8px; bottom: 16px; }
}

@media (max-width: 980px) {
    .site-nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .header-actions { gap: 6px; }
    .site-header.is-open .site-nav {
        display: flex;
        position: absolute;
        left: 0;
        right: 0;
        top: 72px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 14px 28px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .site-header.is-open .site-nav a { padding: 10px 4px; width: 100%; font-size: 15px; }
    .hero-grid, .product-hero-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 56px; }
    .hero-sub { max-width: 640px; }
    .network-card { max-width: 620px; }
    .feature-grid, .use-case-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-col:last-child { grid-column: 2 / span 2; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 40px; }
    .metrics-bar { grid-template-columns: repeat(2, 1fr); }
    .metric-item:nth-child(2) { border-right: 0; }
    .metric-item:nth-child(3) { border-top: 1px solid var(--line-soft); }
    .metric-item:nth-child(4) { border-top: 1px solid var(--line-soft); }
    .checkout-shell { grid-template-columns: 1fr; }
    .checkout-summary { position: static; order: -1; }
    .docs-shell { grid-template-columns: 1fr; gap: 24px; }
    .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-aside { padding: 36px; }
    .auth-benefits { margin-top: 22px; }
    .auth-aside .auth-quote { padding-top: 24px; }
    .auth-main { padding: 38px; }
    .user-shell { grid-template-columns: 1fr; gap: 18px; }
    .user-side { position: static; display: flex; flex-direction: column; }
    .user-nav { flex-direction: row; overflow-x: auto; padding: 10px 0 2px; gap: 6px; }
    .user-nav-group { display: none; }
    .user-nav a { flex: 0 0 auto; height: 34px; padding: 0 12px; background: var(--bg-soft); }
    .user-nav a.active { background: var(--dark); }
    .user-side-foot { display: none; }
    .user-profile-mini { border-bottom: 0; padding-bottom: 6px; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .user-split { grid-template-columns: 1fr; }
    .pricing-header { flex-direction: column; align-items: flex-start; }
    .price-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .container { padding: 0 20px; }
    .header-inner { padding: 0 20px; height: 66px; gap: 14px; }
    .brand-name { font-size: 16px; }
    .brand-sub { font-size: 8px; }
    .header-actions .link-login { display: none; }
    .header-actions .btn { height: 38px; padding: 0 14px; font-size: 12.5px; }
    .hero { padding: 40px 0 40px; }
    .hero h1 { font-size: 36px; }
    .hero-sub { font-size: 14.5px; }
    .hero-actions { flex-wrap: wrap; }
    .hero-actions .btn { flex: 1 1 auto; }
    .metrics-bar { margin-top: 34px; }
    .metric-item { padding: 18px 20px; }
    .metric-value { font-size: 24px; }
    .section { padding: 56px 0; }
    .feature-grid, .use-case-grid, .product-plans, .grid-4 { grid-template-columns: 1fr; }
    .price-grid, .price-grid.three, .price-grid.six { grid-template-columns: 1fr; }
    .price-card { max-width: 480px; margin: 0 auto; width: 100%; }
    .floating-chip { display: none; }
    .network-card { padding: 20px; }
    .globe-wrap { height: 170px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-col:last-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .cta-band { padding: 30px 24px; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1; }
    .auth-page { padding: 24px 16px 50px; }
    .auth-shell { border-radius: var(--radius-lg); }
    .auth-main, .auth-aside { padding: 28px 24px; }
    .auth-aside h2 { font-size: 24px; }
    .auth-main h1 { font-size: 26px; }
    .checkout-section { padding: 20px 0 60px; }
    .panel-head { padding: 16px 18px; }
    .panel-body { padding: 18px; }
    .cred-grid, .credential-box, .detail-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .stat-card { padding: 16px; }
    .stat-value { font-size: 24px !important; }
    .service-card { flex-wrap: wrap; }
    .service-usage { width: 100%; }
    .service-actions { width: 100%; justify-content: flex-end; }
    .user-header-inner { padding: 0 18px; height: 62px; }
    .user-header .header-links a span { display: none; }
    .user-shell { padding: 18px 16px 60px; }
    .user-page-head { flex-direction: column; }
    .flash-stack { top: 78px; right: 12px; }
    .compare-wrap { border-radius: var(--radius); }
    .price-amount { font-size: 40px; }
    .pricing-hero { padding: 48px 0 24px; }
    .pricing-page-section { padding: 20px 0 60px; }
    .pricing-tab { padding: 0 13px; height: 36px; font-size: 12.5px; }
    .auth-benefits { display: none; }
}

@media (max-width: 480px) {
    .metric-value { font-size: 21px; }
    .metrics-bar { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col:last-child { grid-column: auto; }
    .pricing-tabs { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    html { scroll-behavior: auto; }
}
