/* =========================================================
   Nimbus Gate · 幻构云筑 - 自研样式 v7（Apple 玻璃态）
   主色：#3f6df6（品牌蓝）+ 主题渐变 #172438→#21324b
   基底：#f5f5f7 / 白玻璃卡 / 光晕背景（仿 index.html 工作台原型）
   模块：Hero / 状态面板 / 终端日志 / 能力 / 流程 / 安全 / FAQ / CTA
   ========================================================= */

:root {
    --brand-1: #3f6df6;
    --brand-2: #2a4fd0;
    --brand-3: #5b85f8;
    --brand-grad: linear-gradient(180deg, #3f6df6 0%, #2a4fd0 100%);
    --brand-grad-text: linear-gradient(135deg, #4d79f7 0%, #3f6df6 100%);
    --brand-glow: rgba(63, 109, 246, 0.28);
    --brand-grad-soft: linear-gradient(135deg, rgba(63, 109, 246, 0.1), rgba(42, 79, 208, 0.05));

    /* Apple 玻璃态基底（对齐 index.html 第二套令牌） */
    --canvas: #f5f5f7;
    --bg-body: #f5f5f7;
    --bg-soft: #eef0f4;
    --bg-card: rgba(255, 255, 255, 0.73);
    --bg-card-hover: rgba(255, 255, 255, 0.85);
    --border: rgba(60, 60, 67, 0.13);
    --border-strong: rgba(60, 60, 67, 0.2);
    --faint: rgba(60, 60, 67, 0.12);

    /* 主题深色渐变（安全横幅 / CTA） */
    --nav-1: #172438;
    --nav-2: #21324b;

    /* 多色点缀 */
    --c-pink: #f9508f;
    --c-purple: #8b5cf6;
    --c-green: #22c55e;
    --c-orange: #f97316;
    --c-red: #ef4444;
    --c-cyan: #06b6d4;
    --c-yellow: #eab308;

    --grad-pink: linear-gradient(135deg, #fb7eb1 0%, #f9508f 100%);
    --grad-purple: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    --grad-green: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    --grad-orange: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    --grad-red: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    --grad-cyan: linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);
    --grad-yellow: linear-gradient(135deg, #fde047 0%, #eab308 100%);

    --text-body: #252529;
    --text-muted: #727277;
    --text-faint: #a6a6ad;
    --radius-lg: 17px;
    --radius-md: 10px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 10px 30px rgba(33, 33, 40, 0.055);
    --shadow-card-hover: 0 14px 36px rgba(33, 33, 40, 0.075);
    --shadow-device: 0 30px 60px rgba(20, 35, 70, 0.18);
    --shadow-panel: 0 18px 52px rgba(28, 28, 33, 0.1);
}

body {
    color: var(--text-body);
    background:
        radial-gradient(900px 530px at 84% -8%, rgba(132, 175, 255, 0.22), transparent 62%),
        radial-gradient(720px 470px at 19% 106%, rgba(255, 184, 209, 0.14), transparent 65%),
        var(--canvas);
    background-attachment: fixed;
    letter-spacing: -0.08px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* 用户中心页面背景（user.svg：位置中上 / 不重复 / 固定 / 覆盖） */
body.page-user {
    background:
        radial-gradient(900px 530px at 84% -8%, rgba(132, 175, 255, 0.18), transparent 62%),
        radial-gradient(720px 470px at 19% 106%, rgba(255, 184, 209, 0.12), transparent 65%),
        url("/assets/img/bg/user.svg") center top / cover no-repeat fixed,
        var(--canvas);
}

::selection {
    background: #3f6df6;
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* =========================================================
   顶栏（Apple 玻璃）
   ========================================================= */

.site-header {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.navbar-brand .navbar-logo {
    display: block;
    height: 48px;
    width: auto;
}

@media (max-width: 991.98px) {
    .navbar-brand .navbar-logo { height: 38px; }
}

@media (max-width: 575.98px) {
    .navbar-nav {
        flex-direction: row;
        gap: 4px;
    }
    .nav-link {
        padding: 6px 12px !important;
        font-size: 0.9rem;
    }
    .nav-user {
        margin-left: 8px;
        padding-left: 8px;
    }
    .nav-user-menu { width: 196px; }
}

.navbar-nav {
    gap: 6px;
}

.nav-link {
    color: #55555c;
    font-weight: 550;
    padding: 8px 16px !important;
    border-radius: 999px;
    position: relative;
    transition: color 0.24s var(--ease), background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.nav-link:hover {
    color: #2f5ee8;
    background: rgba(63, 109, 246, 0.1);
    box-shadow: inset 0 0 0 1px rgba(63, 109, 246, 0.16);
}

.nav-link.active {
    color: var(--brand-1);
    background: rgba(63, 109, 246, 0.14);
    box-shadow: inset 0 0 0 1px rgba(63, 109, 246, 0.22);
    font-weight: 650;
}

/* 导航栏用户功能区（头像悬浮下拉菜单，Apple 玻璃态） */

.nav-user {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px solid var(--border);
}

/* 头像与菜单之间的 hover 桥接区（覆盖菜单横向展开范围） */
.nav-user::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -200px;
    right: -200px;
    height: 10px;
}

.nav-user .dropdown {
    position: relative;
}

.nav-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, #5b8bff, #2f5ee8);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 6px 16px var(--brand-glow);
    cursor: pointer;
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.nav-user-avatar:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 9px 22px rgba(63, 109, 246, 0.4);
}

/* 登录后真实头像 */
.nav-user-avatar.avatar-img {
    overflow: hidden;
    padding: 0;
    background: transparent;
}

.nav-user-avatar.avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 登录态下拉：用户信息区 */
.nav-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.nav-user-info-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-user-info-copy {
    min-width: 0;
}

.nav-user-info-copy b {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-user-info-copy span {
    display: block;
    font-size: 0.76rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-user-action-icon.action-red { color: #ef4444; }

.nav-user-logout .nav-user-action-label { color: #d93a2e; }

/* 下拉菜单：纯白面板，与按钮纵向居中 */
.nav-user-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    display: block;
    width: 212px;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-panel);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px) scale(0.97);
    transform-origin: top center;
    transition: opacity 0.22s var(--ease), transform 0.3s var(--ease), visibility 0.22s;
    z-index: 60;
}

/* 顶部小箭头（指向头像触发器） */
.nav-user-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 13px;
    height: 13px;
    background: #ffffff;
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    border-radius: 3px 0 0 0;
}

.nav-user:hover .nav-user-menu,
.nav-user:focus-within .nav-user-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
}

/* 行式菜单项（仿 index.html .nav） */
.nav-user-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 9px;
    text-decoration: none;
    color: var(--text-muted);
    transition: background 0.24s var(--ease), color 0.24s var(--ease), transform 0.24s var(--ease);
}

/* 右侧箭头指示（hover 淡入） */
.nav-user-action::after {
    content: "\F285";
    font-family: "bootstrap-icons";
    margin-left: auto;
    font-size: 0.72rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.nav-user-action:hover {
    color: var(--brand-1);
    transform: translateX(2px);
}

.nav-user-action:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* 纯色图标（无背景方块） */
.nav-user-action-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.nav-user-action-icon.action-blue { color: var(--brand-1); }
.nav-user-action-icon.action-green { color: #22c55e; }
.nav-user-action-icon.action-purple { color: #8b5cf6; }

.nav-user-action-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* =========================================================
   Hero 首屏（企业级：左文右视觉 + 搜索 + 快捷入口）
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eef3fb 0%, #f9fafc 50%, #e9effa 100%);
    padding: 84px 0 70px;
}

/* 背景光晕 */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-1 {
    top: -140px;
    right: -60px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(132, 175, 255, 0.35), transparent 65%);
}

.hero-glow-2 {
    bottom: -180px;
    left: -80px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255, 184, 209, 0.24), transparent 65%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(60, 60, 67, 0.13);
    color: var(--brand-1);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: var(--shadow-card);
}

.hero-title {
    margin: 24px 0 14px;
    font-size: clamp(2.4rem, 4.6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.14;
    color: var(--text-body);
    letter-spacing: -0.8px;
}

.hero-title .accent {
    background: var(--brand-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.18rem;
    font-weight: 650;
    color: var(--text-body);
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.85;
    margin: 0;
    max-width: 560px;
}

/* 企业级搜索栏 */
.hero-cta {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* 快捷入口 */
.hero-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
    color: var(--text-body);
    font-size: 0.85rem;
    font-weight: 550;
    text-decoration: none;
    transition: all 0.24s var(--ease);
}

.quick-link i { color: var(--brand-1); }

.quick-link:hover {
    border-color: rgba(63, 109, 246, 0.3);
    box-shadow: var(--shadow-card);
}

/* 右侧产品视觉：终端 mock */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 协议层通信架构面板 */
.hero-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    box-shadow: var(--shadow-panel);
    overflow: hidden;
}

.hp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 18px;
    background: linear-gradient(135deg, #172438, #21324b);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 650;
}

.hp-head > span:first-child i { color: #7ea3ff; margin-right: 6px; }

.hp-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #4ade80;
}

.hp-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: live-pulse 1.6s ease-in-out infinite;
}

.hp-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 24px 30px;
    background: radial-gradient(circle at 50% 0%, rgba(63, 109, 246, 0.08), transparent 62%);
}

/* 三层节点卡 */
.hp-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 300px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.hp-node-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #fff;
    font-size: 20px;
    margin-bottom: 8px;
    background: var(--brand-grad);
    box-shadow: 0 8px 18px rgba(63, 109, 246, 0.25);
}

.hp-node b { font-size: 0.95rem; font-weight: 700; color: var(--text-body); }
.hp-node em { font-style: normal; font-size: 0.78rem; color: var(--text-faint); margin-top: 2px; }

.hp-node-proto { border-style: dashed; background: rgba(248, 248, 250, 0.7); }
.hp-node-proto .hp-node-icon { background: var(--grad-purple); box-shadow: 0 8px 18px rgba(139, 92, 246, 0.25); }
.hp-node-server .hp-node-icon { background: var(--grad-cyan); box-shadow: 0 8px 18px rgba(6, 182, 212, 0.25); }

/* 层间链路 */
.hp-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
}

.hp-link i {
    color: var(--brand-1);
    font-size: 1rem;
    animation: hp-flow 2s ease-in-out infinite;
}

.hp-link-2 i { animation-delay: 0.5s; }

.hp-link em {
    font-style: normal;
    font-size: 0.72rem;
    color: var(--text-faint);
}

.hp-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-1);
    opacity: 0.6;
}

@keyframes hp-flow {
    0%, 100% { transform: translateY(-2px); opacity: 0.5; }
    50% { transform: translateY(3px); opacity: 1; }
}

/* 浮动标签 */
.hero-floating {
    position: absolute;
    z-index: 2;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    font-size: 0.8rem;
    font-weight: 650;
    color: var(--text-body);
    animation: float-y 5s ease-in-out infinite;
}

.hero-floating.chip-1 {
    top: 8%;
    right: -4%;
    color: var(--brand-1);
}

.hero-floating.chip-2 {
    bottom: 10%;
    left: -2%;
    animation-delay: 1.2s;
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero 底部数据条 */
.hero-stats {
    position: relative;
    z-index: 1;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 28px;
    box-shadow: var(--shadow-card);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
}

.hero-stat + .hero-stat {
    border-left: 1px solid var(--border);
}

/* 主题色文字 */
.hero-stat-number {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
    background: var(--brand-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.4px;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* =========================================================
   通用区块 / 标题
   ========================================================= */

.section {
    padding: 88px 0;
    position: relative;
}

.section-soft { background: var(--bg-soft); }

.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    color: var(--text-body);
    position: relative;
}

/* 装饰线（主题色渐变） */
.section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--brand-grad);
    margin: 14px auto 0;
}

/* 主题色文字 */
.section-title .accent {
    background: var(--brand-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 52px;
    font-size: 1rem;
}

/* =========================================================
   状态面板（仿 index.html dashboard-card）
   ========================================================= */

.status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.status-card {
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.status-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(63, 109, 246, 0.2);
}

.status-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.status-value {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.status-value.tone-green { color: #1ba784; }
.status-value.tone-blue { color: var(--brand-1); }
.status-value.tone-cyan { color: #0891b2; }
.status-value.tone-purple { color: var(--c-purple); }

.status-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* =========================================================
   幻构云筑实时日志（仿 index.html terminal）
   ========================================================= */

.terminal {
    max-width: 880px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
    50% { opacity: 0.65; box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

.logs {
    padding: 10px 18px 16px;
    display: flex;
    flex-direction: column;
}

.log-entry {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(60, 60, 67, 0.07);
    font-size: 0.9rem;
    color: var(--text-body);
    opacity: 0;
    transform: translateY(8px);
    animation: log-in 0.5s var(--ease) forwards;
}

.log-entry:nth-child(1) { animation-delay: 0.2s; }
.log-entry:nth-child(2) { animation-delay: 0.75s; }
.log-entry:nth-child(3) { animation-delay: 1.3s; }
.log-entry:nth-child(4) { animation-delay: 1.85s; }

@keyframes log-in {
    to { opacity: 1; transform: translateY(0); }
}

.log-mark {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    align-self: center;
    background: #a6a6ad;
}

.ok-entry .log-mark { background: #22c55e; }
.safe-entry .log-mark { background: #8b5cf6; }
.info-entry .log-mark { background: var(--brand-1); }

.log-time {
    flex-shrink: 0;
    font-family: "SF Mono", Consolas, Menlo, monospace;
    font-size: 0.78rem;
    color: var(--text-faint);
}

.log-tag { font-weight: 700; }

.log-tag.ok { color: #1ba784; }
.log-tag.safe { color: var(--c-purple); }
.log-tag.info { color: var(--brand-1); }

/* =========================================================
   核心能力（6 玻璃卡）
   ========================================================= */

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cap-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 28px 28px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

/* 顶部 accent 渐变细线 */
.cap-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cap-c1, var(--brand-1)), var(--cap-c2, var(--brand-1)));
    opacity: 0.85;
    transition: opacity 0.3s var(--ease);
}

.cap-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--cap-c1, rgba(63, 109, 246, 0.35));
}

.cap-card:hover::before { opacity: 1; }

/* 各 accent 配色 */
.cap-color-blue   { --cap-c1: #3f6df6; --cap-c2: #7ea3ff; }
.cap-color-cyan   { --cap-c1: #06b6d4; --cap-c2: #67e8f9; }
.cap-color-purple { --cap-c1: #8b5cf6; --cap-c2: #b29dff; }
.cap-color-pink   { --cap-c1: #ec4899; --cap-c2: #f9a8d4; }

.cap-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    color: #fff;
    font-size: 26px;
    margin-bottom: 18px;
    box-shadow: 0 10px 22px rgba(20, 35, 70, 0.14);
    transition: transform 0.35s var(--ease);
}

.cap-color-blue .cap-icon { background: var(--brand-grad); }
.cap-color-cyan .cap-icon { background: var(--grad-cyan); }
.cap-color-purple .cap-icon { background: var(--grad-purple); }
.cap-color-pink .cap-icon { background: var(--grad-pink); }

.cap-card h3 {
    font-size: 1.16rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text-body);
    letter-spacing: -0.2px;
}

.cap-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.8;
    margin: 0;
}

/* =========================================================
   导入流程（4 步）
   ========================================================= */

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.flow-step {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px 28px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.flow-step:hover {
    box-shadow: var(--shadow-card-hover);
}

/* 步骤间连接箭头（仅桌面 4 列布局显示） */
.flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -17px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-top: 2px solid rgba(63, 109, 246, 0.4);
    border-right: 2px solid rgba(63, 109, 246, 0.4);
    transform: translateY(-50%) rotate(45deg);
    z-index: 2;
}

.flow-num {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(63, 109, 246, 0.1);
    letter-spacing: -0.02em;
}

.flow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    color: #fff;
    font-size: 28px;
    margin-bottom: 18px;
    box-shadow: 0 10px 22px rgba(20, 35, 70, 0.14);
}

.icon-blue { background: var(--brand-grad); }
.icon-cyan { background: var(--grad-cyan); }
.icon-purple { background: var(--grad-purple); }
.icon-pink { background: var(--grad-pink); }

.flow-step h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-body);
}

.flow-step p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* =========================================================
   安全隐私深色横幅（主题渐变 #172438→#21324b）
   ========================================================= */

.privacy-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background: linear-gradient(150deg, var(--nav-1) 0%, var(--nav-2) 100%);
    color: #fff;
}

.privacy-glow {
    position: absolute;
    top: -160px;
    right: -100px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 109, 246, 0.4), transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}

.privacy-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.privacy-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 16px;
}

.privacy-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.02rem;
    line-height: 1.85;
    margin: 0 auto 48px;
    max-width: 560px;
}

.privacy-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 44px;
}

.privacy-point {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.privacy-point:hover {
    background: rgba(255, 255, 255, 0.1);
}

.privacy-point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(63, 109, 246, 0.25);
    color: #8fb0ff;
    font-size: 24px;
    margin-bottom: 16px;
}

.privacy-point h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.privacy-point p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.privacy-forecast {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

.privacy-forecast i { color: #8fb0ff; font-size: 1.1rem; }

/* =========================================================
   常见问题（FAQ）
   ========================================================= */

/* FAQ：线条分隔式手风琴（无卡片排版） */
.faq-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.faq-wrap .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0 !important;
    overflow: hidden;
}

.faq-wrap .accordion-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-wrap .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-body);
    padding: 18px 10px;
    background: transparent;
    box-shadow: none;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.faq-wrap .accordion-button:hover {
    color: var(--brand-1);
}

.faq-wrap .accordion-button:not(.collapsed) {
    color: var(--brand-1);
    background: transparent;
    box-shadow: none;
}

.faq-wrap .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-wrap .accordion-button::after {
    background-size: 1rem;
}

.faq-wrap .accordion-body {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.85;
    padding: 0 10px 20px;
    background: transparent;
}

/* FAQ 底部提示 */
.faq-bottom {
    margin-top: 26px;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.faq-bottom i {
    color: var(--brand-1);
    margin-right: 4px;
}

/* =========================================================
   CTA 收尾横幅
   ========================================================= */

.cta-banner {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 72px 40px;
    border-radius: 24px;
    background: linear-gradient(140deg, var(--nav-1) 0%, var(--nav-2) 55%, #26416b 100%);
    color: #fff;
    box-shadow: var(--shadow-panel);
}

.cta-glow {
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 620px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 109, 246, 0.45), transparent 65%);
    filter: blur(70px);
    pointer-events: none;
}

.cta-banner h2 {
    position: relative;
    z-index: 1;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 14px;
}

.cta-banner p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 30px;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.cta-actions .btn-primary {
    background: linear-gradient(180deg, #4d7cf7 0%, #2f5ee8 100%);
}

.cta-actions .btn-ghost { color: rgba(255, 255, 255, 0.85); }
.cta-actions .btn-ghost:hover { color: #fff; }

.cta-actions .btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.cta-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================================
   全局 Toast（底部弹出提示，全站可用）
   ========================================================= */

.toast {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%) translateY(16px);
    background: rgba(22, 32, 51, 0.92);
    color: #fff;
    font-size: 13px;
    padding: 12px 22px;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(22, 32, 51, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    z-index: 999;
    max-width: min(90vw, 560px);
    text-align: center;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* =========================================================
   按钮（Apple 风）
   ========================================================= */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #4d7cf7 0%, #2f5ee8 100%);
    border: 1px solid rgba(0, 91, 195, 0.16);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 7px 16px rgba(0, 112, 233, 0.2);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn-primary:hover {
    color: #fff;
    background: linear-gradient(180deg, #3a6df2 0%, #2550d4 100%);
    transform: translateY(-2px);
    box-shadow: 0 11px 24px rgba(0, 112, 233, 0.28);
}

.btn-primary i { transition: transform 0.25s var(--ease); }
.btn-primary:hover i { transform: translateX(3px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 28px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.73);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid rgba(60, 60, 67, 0.15);
    color: #3c3c43;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(28, 28, 33, 0.06);
    transition: all 0.25s var(--ease);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1d1d1f;
    transform: translateY(-2px);
}

.btn-ghost {
    color: var(--text-body);
    font-weight: 500;
    text-decoration: none;
    padding: 11px 12px;
}

.btn-ghost:hover { color: var(--brand-1); }
.btn-ghost i { margin-left: 4px; transition: transform 0.25s var(--ease); }
.btn-ghost:hover i { transform: translateX(3px); }

.btn-sm { padding: 8px 20px; font-size: 0.88rem; }

.btn-outline-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--brand-1);
    color: var(--brand-1);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.btn-outline-brand:hover {
    background: var(--brand-1);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-brand i { transition: transform 0.25s var(--ease); }
.btn-outline-brand:hover i { transform: translateX(3px); }

/* =========================================================
   用户中心（/user，仿 index.html 个人中心视图）
   ========================================================= */

.user-section { padding-top: 56px; }

/* 用户信息头部深色 banner（仿 index.html .profile-hero） */
.profile-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 36px;
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(140deg, #172438 0%, #21324b 55%, #2a3f5e 100%);
    color: #fff;
    box-shadow: var(--shadow-panel);
}

/* 同心圆装饰（右上角） */
.profile-hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 90px transparent, inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.profile-hero::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -40px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 60px rgba(63, 109, 246, 0.18);
    pointer-events: none;
}

.profile-user {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.profile-user .avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.profile-user .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-user h3 {
    margin: 0 0 4px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #fff;
}

.profile-user p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.profile-meta {
    text-align: right;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.profile-license {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #4d7cf7, #2f5ee8);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(63, 109, 246, 0.35);
    margin-bottom: 4px;
}

.profile-license i { font-size: 0.72rem; }

.profile-license.license-trial {
    background: linear-gradient(180deg, #34d399, #059669);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.profile-license.license-pro {
    background: linear-gradient(180deg, #4d7cf7, #2f5ee8);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(63, 109, 246, 0.35);
}

.profile-license.license-premium {
    background: linear-gradient(180deg, #a78bfa, #7c3aed);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

.profile-meta span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: "SF Mono", Consolas, Menlo, monospace;
}

.user-uid b {
    color: #fff;
    font-weight: 700;
}

.profile-edit {
    margin-top: 12px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.24s var(--ease), border-color 0.24s var(--ease);
}

.profile-edit:hover {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.36);
}

/* 侧边栏 + 内容区布局（仿 index.html 工作台 sidebar/main） */
.profile-layout {
    display: grid;
    grid-template-columns: 232px 1fr;
    gap: 22px;
    align-items: start;
}

.profile-sidebar {
    position: sticky;
    top: 88px;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 10px;
}

.profile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: none;
    border-radius: 9px;
    color: #55555c;
    font-size: 0.92rem;
    font-weight: 550;
    text-align: left;
    cursor: pointer;
    transition: background 0.24s var(--ease), color 0.24s var(--ease);
}

.profile-nav i {
    font-size: 17px;
    color: #8a8a92;
    transition: color 0.24s var(--ease);
}

.profile-nav:hover {
    background: rgba(255, 255, 255, 0.72);
    color: #1d1d1f;
}

.profile-nav:hover i { color: var(--brand-1); }

.profile-nav.active {
    background: rgba(63, 109, 246, 0.12);
    color: var(--brand-1);
    font-weight: 650;
}

.profile-nav.active i { color: var(--brand-1); }

.profile-content {
    min-width: 0;
    /* 透明内容区：模块自身即卡片，不做外层包裹 */
}

.content-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 90px 20px;
    color: var(--text-faint);
    text-align: center;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
}

.content-empty i {
    font-size: 2.6rem;
    opacity: 0.5;
}

.content-empty p {
    margin: 0;
    font-size: 0.95rem;
}

/* =========================================================
   等级系统（/user/level）
   ========================================================= */

.level-system { display: flex; flex-direction: column; gap: 16px; }

.level-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 16px;
}

.level-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

/* 左卡：暖色渐变（米黄→淡橙） */
.level-mine {
    background: linear-gradient(135deg, #fef3c7 0%, #fde6a8 50%, #fcd9a8 100%);
    border-color: rgba(245, 158, 11, 0.18);
}

.level-mine::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 70%);
    pointer-events: none;
}

.level-mine::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 70%);
    pointer-events: none;
}

.level-mine-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.level-mine-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 650;
    color: #92400e;
}

.level-mine-label i { color: #b45309; font-size: 0.6rem; }

.level-mine-rank {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 650;
    color: #b45309;
}

.level-mine-rank i { color: #d97706; }

.level-mine-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* LV 等级文字（紧凑横排，无大色块） */
.level-mine-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.level-mine-tier-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 称号胶囊 */
.level-mine-rank-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: #b45309;
    font-size: 0.82rem;
    font-weight: 650;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.12);
}

.level-mine-rank-chip i { color: #d97706; }

.level-mine-bar {
    width: 100%;
    height: 9px;
    border-radius: 999px;
    background: rgba(146, 64, 14, 0.15);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(146, 64, 14, 0.08);
}

.level-mine-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #fbbf24, #f97316);
}

.level-mine-num {
    font-size: 0.9rem;
    color: #92400e;
}

.level-mine-num b {
    font-size: 1.15rem;
    font-weight: 800;
    color: #78350f;
}

.level-mine-num span { margin-left: 2px; opacity: 0.65; }

.level-mine-tip {
    font-size: 0.78rem;
    color: #b45309;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.level-mine-tip b {
    font-size: 1rem;
    font-weight: 800;
    color: #92400e;
    margin: 0 2px;
}

/* 右卡：成长体系（浅玻璃） */
.level-growth {
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.level-growth-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 26px;
}

.level-growth-head h4 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-body);
    letter-spacing: -0.2px;
}

.level-growth-head p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.level-growth-head p b { color: var(--brand-1); font-weight: 700; }

.level-growth-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-1);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 8px;
    transition: background 0.2s var(--ease);
}

.level-growth-link:hover { background: rgba(63, 109, 246, 0.08); }

.ladder-line.done + .ladder-line { background: linear-gradient(90deg, #f59e0b, rgba(60, 60, 67, 0.12)); }

/* 经验统计行 */
.level-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.stat-mini {
    text-align: center;
    padding: 8px 6px;
    border-radius: 12px;
    background: rgba(60, 60, 67, 0.05);
}

.stat-mini span {
    display: block;
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.stat-mini b {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-body);
    letter-spacing: -0.3px;
}

.stat-mini b.up { color: var(--brand-1); }

/* 任务列表 */
.level-tasks {
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 22px 26px 24px;
}

.level-tasks-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.task-tab {
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(60, 60, 67, 0.06);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 550;
    cursor: pointer;
}

.task-tab.active {
    background: var(--brand-1);
    color: #fff;
}

.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(60, 60, 67, 0.07);
}

.task-item:last-child { border-bottom: none; }

.task-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.task-icon.icon-green { background: linear-gradient(145deg, #4ade80, #22c55e); }
.task-icon.icon-blue { background: linear-gradient(145deg, #5b8bff, #3f6df6); }
.task-icon.icon-purple { background: linear-gradient(145deg, #a78bfa, #8b5cf6); }

.task-info {
    flex: 1;
    min-width: 0;
}

.task-info b {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 3px;
}

.task-info span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.task-reward {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-1);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(63, 109, 246, 0.08);
}

.task-reward i { color: #f59e0b; }

.task-btn {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(180deg, #4d7cf7, #2f5ee8);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(63, 109, 246, 0.25);
    transition: background 0.24s var(--ease), transform 0.24s var(--ease);
}

.task-btn:hover {
    background: linear-gradient(180deg, #3a6df2, #2550d4);
    transform: translateY(-1px);
}

.task-item.done .task-info b,
.task-item.done .task-info span { color: var(--text-faint); }

.task-item.done .task-reward { background: rgba(34, 197, 94, 0.1); color: #1ba784; }
.task-item.done .task-reward i { color: #22c55e; }

.task-done {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1ba784;
    font-size: 0.8rem;
    font-weight: 600;
}

/* =========================================================
   账号总览（/user/）
   ========================================================= */

.overview { display: flex; flex-direction: column; gap: 16px; }

.overview-stats { margin-bottom: 0; }

.activity-card { margin-bottom: 0; }

.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(60, 60, 67, 0.07);
}

.activity-item:last-child { border-bottom: none; }

.act-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
}

.act-icon.icon-blue { background: linear-gradient(145deg, #5b8bff, #3f6df6); }
.act-icon.icon-purple { background: linear-gradient(145deg, #a78bfa, #8b5cf6); }
.act-icon.icon-pink { background: linear-gradient(145deg, #fb7eb1, #f9508f); }

.act-copy {
    flex: 1;
    min-width: 0;
}

.act-copy b {
    display: block;
    font-size: 0.94rem;
    font-weight: 650;
    color: var(--text-body);
    margin-bottom: 3px;
}

.act-copy span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.act-time {
    font-style: normal;
    font-size: 0.8rem;
    color: var(--text-faint);
    white-space: nowrap;
}

/* =========================================================
   授权管理（/user/license）
   ========================================================= */

.license { display: flex; flex-direction: column; gap: 16px; }

.license-card { margin-bottom: 0; }

.license-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.license-head h4 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-body);
    letter-spacing: -0.2px;
}

.license-head p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: "SF Mono", Consolas, Menlo, monospace;
}

.badge-ok {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #1ba784;
    font-size: 0.76rem;
    font-weight: 650;
    white-space: nowrap;
}

.license-time {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-body);
    line-height: 1;
    margin-bottom: 16px;
}

.license-time span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 4px 0 2px;
    letter-spacing: 0;
}

.license-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(60, 60, 67, 0.1);
    overflow: hidden;
    margin-bottom: 14px;
}

.license-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--brand-grad);
}

.license-detail {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.license-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-primary.small,
.btn-secondary.small,
.btn-outline-brand.small {
    padding: 8px 18px;
    font-size: 0.88rem;
}

/* 绑定设备 */
.device-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.device-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(60, 60, 67, 0.07);
}

.device-item:last-child { border-bottom: none; }

.device-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(63, 109, 246, 0.1);
    color: var(--brand-1);
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.device-copy {
    flex: 1;
    min-width: 0;
}

.device-copy b {
    display: block;
    font-size: 0.94rem;
    font-weight: 650;
    color: var(--text-body);
    margin-bottom: 3px;
}

.device-copy span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.device-tag {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(63, 109, 246, 0.1);
    color: var(--brand-1);
    font-size: 0.74rem;
    font-weight: 600;
}

.link-btn {
    flex-shrink: 0;
    border: none;
    background: none;
    color: var(--brand-1);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s var(--ease);
}

.link-btn:hover { background: rgba(63, 109, 246, 0.08); }

/* =========================================================
   积分余额（/user/points）
   ========================================================= */

.points { display: flex; flex-direction: column; gap: 16px; }

.points-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eef3ff 0%, #e6eeff 100%);
    border-color: rgba(63, 109, 246, 0.16);
}

.points-hero-glow {
    position: absolute;
    top: -60px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 109, 246, 0.18), transparent 65%);
    filter: blur(30px);
    pointer-events: none;
}

.points-hero-icon {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.4rem;
    color: rgba(63, 109, 246, 0.14);
    pointer-events: none;
}

.points-balance span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.points-label {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-weight: 650;
}

.points-label i {
    color: var(--brand-1);
    font-size: 0.9rem;
}

.points-balance b {
    display: block;
    font-size: 2.9rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    background: var(--brand-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.points-balance p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.points-balance p em {
    font-style: normal;
    color: var(--brand-1);
    font-weight: 700;
}

.point-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 积分明细空状态 */
.points-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 36px 20px;
    color: var(--text-faint);
    text-align: center;
}

.points-empty i {
    font-size: 2rem;
    opacity: 0.6;
}

.points-empty p {
    font-size: 0.9rem;
    margin: 0;
}

/* 未接入真实数据板块的统一占位空状态（复用 .points-empty 居中范式） */
.feature-coming {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 20px;
    color: var(--text-faint);
    text-align: center;
}
.feature-coming i {
    font-size: 2.4rem;
    opacity: 0.5;
}
.feature-coming p {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
    color: var(--text-muted, var(--text-faint));
}

.point-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(60, 60, 67, 0.07);
}

.point-item:last-child { border-bottom: none; }

.pt-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
}

.pt-icon.pt-in { background: linear-gradient(145deg, #4ade80, #22c55e); }
.pt-icon.pt-out { background: linear-gradient(145deg, #f87171, #ef4444); }

.pt-copy {
    flex: 1;
    min-width: 0;
}

.pt-copy b {
    display: block;
    font-size: 0.93rem;
    font-weight: 650;
    color: var(--text-body);
    margin-bottom: 3px;
}

.pt-copy span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pt-num {
    font-style: normal;
    font-weight: 800;
    font-size: 0.95rem;
    white-space: nowrap;
}

.pt-num.in { color: #1ba784; }
.pt-num.out { color: #ef4444; }

/* =========================================================
   会员管理（/user/member）
   ========================================================= */

.member { display: flex; flex-direction: column; gap: 16px; }

.member-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #f5f0ff 0%, #eee8ff 100%);
    border-color: rgba(139, 92, 246, 0.16);
}

.member-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #a78bfa, #8b5cf6);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.member-copy h4 {
    margin: 0 0 6px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-body);
}

.member-copy p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(60, 60, 67, 0.07);
    font-size: 0.94rem;
    color: var(--text-body);
}

.benefit-list li:last-child { border-bottom: none; }

.benefit-list li i { color: #22c55e; font-size: 1.05rem; }

/* =========================================================
   我的订单（/user/orders）
   ========================================================= */

.order-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(60, 60, 67, 0.07);
}

.order-item:last-child { border-bottom: none; }

.order-info {
    flex: 1;
    min-width: 0;
}

.order-info b {
    display: block;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--text-body);
    margin-bottom: 3px;
}

.order-info span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: "SF Mono", Consolas, Menlo, monospace;
}

.order-price {
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-body);
    letter-spacing: -0.3px;
}

.order-status {
    flex-shrink: 0;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 650;
    white-space: nowrap;
}

.order-status.ok { background: rgba(34, 197, 94, 0.12); color: #1ba784; }
.order-status.wait { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.order-status.blue { background: rgba(59, 130, 246, 0.12); color: #1d4ed8; }
.order-status.gray { background: rgba(100, 116, 139, 0.12); color: #475569; }
.order-status.err { background: rgba(239, 68, 68, 0.12); color: #dc2626; }

/* 订单区标题行：标题左对齐，兑换秘钥按钮右对齐 */
.order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.order-head .card-title { margin-bottom: 0; }

/* =========================================================
   账户安全（/user/security）
   ========================================================= */

.security { display: flex; flex-direction: column; gap: 16px; }

.security-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-item {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(60, 60, 67, 0.07);
}

.security-item:last-child { border-bottom: none; }

/* 单项主行：图标 + 文案 + 状态 + 操作按钮 */
.sec-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sec-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(63, 109, 246, 0.1);
    color: var(--brand-1);
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sec-copy {
    flex: 1;
    min-width: 0;
}

.sec-copy b {
    display: block;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--text-body);
    margin-bottom: 3px;
}

.sec-copy span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    word-break: break-all;
}

.sec-ok {
    flex-shrink: 0;
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1ba784;
    white-space: nowrap;
}

.sec-ok i { font-size: 0.8rem; }

/* 操作按钮（修改密码 / 更换邮箱） */
.sec-btn {
    flex-shrink: 0;
    padding: 7px 16px;
    border: 1px solid rgba(63, 109, 246, 0.35);
    border-radius: 999px;
    background: rgba(63, 109, 246, 0.06);
    color: var(--brand-1);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.sec-btn:hover { background: rgba(63, 109, 246, 0.14); }

.sec-btn.open {
    background: var(--brand-1);
    border-color: transparent;
    color: #fff;
}

/* 展开面板（同一时刻只展开一个） */
.sec-panel {
    margin-top: 16px;
    padding: 20px 22px 22px;
    border: 1px solid rgba(63, 109, 246, 0.16);
    border-radius: var(--radius-md);
    background: rgba(63, 109, 246, 0.045);
    animation: secPanelIn 0.25s var(--ease);
}

.sec-panel[hidden] { display: none; }

@keyframes secPanelIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 两步流程指示 */
.sec-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.sec-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-faint);
}

.sec-step i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--text-faint);
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sec-step.active { color: var(--brand-1); }
.sec-step.active i { background: var(--brand-1); color: #fff; }
.sec-step.done { color: #1ba784; }
.sec-step.done i { background: #1ba784; color: #fff; }

.sec-step + .sec-step::before {
    content: '';
    width: 26px;
    height: 1px;
    background: var(--border-strong);
}

/* 安全表单：输入框显式 100% 宽度，不依赖浏览器默认 size */
.sec-form {
    display: block;
    width: 100%;
}

.sec-form[hidden] { display: none; }

.sec-field {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

.sec-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--text-muted);
    margin: 0 0 6px;
}

.sec-form input[type='text'],
.sec-form input[type='email'],
.sec-form input[type='password'] {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-body);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.sec-form input:focus {
    outline: none;
    border-color: rgba(63, 109, 246, 0.55);
    box-shadow: 0 0 0 3px rgba(63, 109, 246, 0.12);
}

.sec-form input[readonly] {
    background: var(--bg-soft);
    color: var(--text-muted);
    cursor: default;
}

/* 验证码行：输入框自适应 + 发送按钮固定宽 */
.sec-code-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.sec-code-row input {
    flex: 1 1 auto;
    min-width: 0;
}

.sec-code-btn {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #3f6df6, #5b82f7);
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: box-shadow 0.2s var(--ease), opacity 0.2s var(--ease);
}

.sec-code-btn:hover { box-shadow: 0 8px 18px rgba(63, 109, 246, 0.3); }

.sec-code-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.sec-tip {
    display: block;
    margin-top: 7px;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-faint);
    word-break: break-all;
}

.sec-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 640px) {
    .sec-row { flex-wrap: wrap; }
    .sec-copy { flex: 1 1 100%; order: 2; }
    .sec-ok { order: 3; }
    .sec-btn { order: 4; margin-left: auto; }
    .sec-panel { padding: 16px 14px 18px; }
    .sec-code-row { flex-wrap: wrap; }
    .sec-code-row input { flex: 1 1 100%; }
    .sec-code-btn { width: 100%; }
}

/* 通用玻璃卡 */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 26px 26px 28px;
}

.card-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0 0 18px;
    color: var(--text-body);
    letter-spacing: -0.2px;
}

.muted { color: var(--text-muted); font-size: 0.86rem; }

/* =========================================================
   购买授权页（/purchase）
   ========================================================= */

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 32px 30px 30px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(63, 109, 246, 0.28);
}

.plan-hot {
    border-color: rgba(63, 109, 246, 0.45);
    box-shadow: 0 14px 44px rgba(63, 109, 246, 0.16);
}

.plan-flag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--brand-grad);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow: 0 6px 16px var(--brand-glow);
}

.plan-flag i { font-size: 0.7rem; }

.plan-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--text-body);
    letter-spacing: -0.3px;
}

.plan-en {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-faint);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.plan-price b {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--brand-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.plan-price span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.plan-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
}

.plan-features li i {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--brand-1);
    font-size: 0.9rem;
}

.plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    background: var(--brand-grad);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 7px 16px var(--brand-glow);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.plan-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(63, 109, 246, 0.4);
}

.plan-cta i { transition: transform 0.25s var(--ease); }
.plan-cta:hover i { transform: translateX(3px); }

.plan-card:not(.plan-hot) .plan-cta {
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid var(--brand-1);
    color: var(--brand-1);
    box-shadow: none;
}

.plan-card:not(.plan-hot) .plan-cta:hover {
    background: var(--brand-1);
    color: #fff;
}

/* 授权说明 */
.guarantee-card {
    height: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 26px 24px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.guarantee-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.guarantee-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 22px;
    margin-bottom: 16px;
}

.guarantee-icon.icon-blue { background: rgba(63, 109, 246, 0.12); color: var(--brand-1); }
.guarantee-icon.icon-green { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.guarantee-icon.icon-purple { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.guarantee-icon.icon-pink { background: rgba(244, 114, 182, 0.12); color: #db2777; }

.guarantee-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-body);
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}

.guarantee-card p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- 价格 Hero（仿 zibll.com 主页：左文右视觉） ---------- */

.pay-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eef3fb 0%, #f9fafc 50%, #e9effa 100%);
    padding: 70px 0 70px;
}

.pay-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.pay-hero-glow-1 {
    top: -120px;
    right: -40px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(132, 175, 255, 0.4), transparent 65%);
}

.pay-hero-glow-2 {
    bottom: -160px;
    left: -60px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 184, 209, 0.22), transparent 65%);
}

.pay-hero-dots {
    position: absolute;
    top: 80px;
    right: 4%;
    width: 130px;
    height: 130px;
    background-image: radial-gradient(rgba(63, 109, 246, 0.16) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    pointer-events: none;
    z-index: 0;
}

.pay-hero-inner {
    position: relative;
    z-index: 1;
}

.pay-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.pay-hero-left {
    text-align: left;
}

.pay-hero-title {
    margin: 0 0 18px;
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.5px;
    color: var(--text-body);
}

.pay-hero-title span {
    display: block;
}

.pay-hero-title span + span {
    margin-top: 6px;
}

.pay-hero-accent {
    background: linear-gradient(135deg, #4d79f7 0%, #3f6df6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pay-hero-sub {
    margin: 0 0 24px;
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text-muted);
    max-width: 520px;
}

.pay-hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 28px;
}

.pay-hero-checks span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 500;
}

.pay-hero-checks i {
    color: #16a34a;
    font-size: 0.95rem;
}

.pay-hero-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.pay-hero-price b {
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
    background: linear-gradient(135deg, #7db8ff 0%, #3f6df6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pay-hero-price i {
    font-style: normal;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 4px;
}

.pay-hero-promo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(244, 114, 182, 0.12);
    border: 1px solid rgba(244, 114, 182, 0.3);
    color: #db2777;
    font-size: 0.78rem;
    font-weight: 600;
}

.pay-hero-promo s { opacity: 0.6; }

.pay-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* 右侧视觉 */
.pay-hero-right {
    position: relative;
    z-index: 1;
}

.pay-hero-img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 30px 60px rgba(20, 35, 70, 0.18));
    animation: pay-hero-float 6s ease-in-out infinite;
}

@keyframes pay-hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 浮动装饰标签 */
.pay-hero-floating {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(60, 60, 67, 0.13);
    box-shadow: 0 10px 26px rgba(20, 35, 70, 0.12);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    animation: pay-hero-float 4s ease-in-out infinite;
}

.pay-hero-floating i {
    color: var(--brand-1);
    font-size: 0.95rem;
}

.pay-hero-floating.f-1 {
    top: 12%;
    left: -10px;
    animation-delay: 0s;
}

.pay-hero-floating.f-2 {
    bottom: 14%;
    right: -10px;
    animation-delay: 1.5s;
}

/* 方案区底部提示 */
.pay-plans-tip {
    margin: 28px auto 0;
    max-width: 640px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.pay-plans-tip i { color: var(--brand-1); margin-right: 4px; }

/* ---------- 信任条（6 点） ---------- */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 20px 22px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.trust-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(63, 109, 246, 0.12);
    color: var(--brand-1);
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.trust-item b {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 3px;
}

.trust-item p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---------- 大数字统计（深色条） ---------- */

.pay-stats-section {
    padding: 0;
}

.pay-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: linear-gradient(150deg, #172438 0%, #21324b 100%);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-panel);
}

.pay-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px;
}

.pay-stat + .pay-stat { border-left: 1px solid rgba(255, 255, 255, 0.12); }

.pay-stat b {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    background: linear-gradient(135deg, #7db8ff 0%, #3f6df6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.pay-stat span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- 生态功能卡（6 卡） ---------- */

.pay-feature {
    height: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 26px 26px 24px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pay-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(63, 109, 246, 0.25);
}

.pay-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    font-size: 23px;
    margin-bottom: 16px;
}

.pay-feature-icon.f-blue { background: rgba(63, 109, 246, 0.12); color: var(--brand-1); }
.pay-feature-icon.f-cyan { background: rgba(6, 182, 212, 0.12); color: #0891b2; }
.pay-feature-icon.f-purple { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.pay-feature-icon.f-pink { background: rgba(244, 114, 182, 0.12); color: #db2777; }

.pay-feature h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-body);
    letter-spacing: -0.2px;
    margin: 0 0 8px;
}

.pay-feature-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0 0 16px;
}

.pay-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pay-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-body);
    line-height: 1.5;
}

.pay-feature-list li i {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--brand-1);
    font-size: 0.85rem;
}

/* ---------- 为什么选择（4 列卡） ---------- */

.why-card {
    height: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px 22px;
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--brand-grad-soft);
    color: var(--brand-1);
    font-size: 22px;
    margin-bottom: 14px;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-body);
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}

.why-card p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- 用户好评卡 ---------- */

.testimonial-card {
    height: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px 22px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.testimonial-head b {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-body);
}

.testimonial-head span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.testimonial-quote {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--text-body);
    margin: 0;
}

/* =========================================================
   官方公告页（/notices）
   ========================================================= */

/* 分类统计条 */
.notice-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 26px;
}

/* 公告空状态 */
.notice-empty {
    text-align: center;
    padding: 80px 24px;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.notice-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--bg-soft);
    color: var(--text-faint);
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.notice-empty h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-body);
    margin: 0 0 8px;
}

.notice-empty p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.notice-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.notice-stat b {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-body);
}

.notice-stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.notice-stat-dot.dot-blue { background: var(--brand-1); }
.notice-stat-dot.dot-green { background: #22c55e; }
.notice-stat-dot.dot-purple { background: #8b5cf6; }

/* 置顶公告（深色横幅） */
.notice-pinned {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    background: linear-gradient(135deg, #172438 0%, #21324b 55%, #27406a 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
    padding: 30px 32px;
    margin-bottom: 26px;
    overflow: hidden;
    text-decoration: none;
}

.notice-pinned::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 109, 246, 0.3), transparent 65%);
    pointer-events: none;
}

.notice-pin {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--brand-grad);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 650;
    box-shadow: 0 6px 14px var(--brand-glow);
}

.notice-pin-body {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.notice-pin-body h2 {
    font-size: 1.3rem;
    font-weight: 750;
    color: #fff;
    letter-spacing: -0.3px;
    margin: 10px 0 8px;
    transition: color 0.2s var(--ease);
}

.notice-pinned:hover .notice-pin-body h2 { color: #9cc0ff; }

.notice-pin-body p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
}

.notice-pin-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-pinned .notice-date { color: rgba(255, 255, 255, 0.55); }

.notice-read {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9cc0ff;
    white-space: nowrap;
    transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.notice-read i { transition: transform 0.2s var(--ease); }

.notice-pinned:hover .notice-read { color: #fff; }
.notice-pinned:hover .notice-read i { transform: translateX(3px); }

/* 公告类型胶囊 */
.notice-type {
    flex-shrink: 0;
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 650;
    white-space: nowrap;
}

.notice-type.type-blue { background: rgba(63, 109, 246, 0.12); color: var(--brand-1); }
.notice-type.type-green { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.notice-type.type-purple { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }

.notice-date {
    font-size: 0.8rem;
    color: var(--text-faint);
    white-space: nowrap;
    font-family: "SF Mono", Consolas, Menlo, monospace;
}

.notice-id {
    font-size: 0.75rem;
    color: var(--text-faint);
    font-family: "SF Mono", Consolas, Menlo, monospace;
}

/* 公告卡片网格（双列） */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.notice-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px 26px;
    text-decoration: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(63, 109, 246, 0.28);
}

.notice-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.notice-card h3 {
    font-size: 1.08rem;
    font-weight: 750;
    color: var(--text-body);
    letter-spacing: -0.2px;
    margin: 0 0 10px;
    line-height: 1.5;
    transition: color 0.2s var(--ease);
}

.notice-card:hover h3 { color: var(--brand-1); }

.notice-card > p {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

/* 公告项箭头指示 */
.notice-arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(63, 109, 246, 0.08);
    color: var(--brand-1);
    font-size: 0.95rem;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.notice-item:hover .notice-arrow,
.notice-pinned:hover .notice-arrow {
    transform: translateX(3px);
    background: var(--brand-grad);
    color: #fff;
}

/* ---------- 公告详情页（无卡片，直接铺在背景上） ---------- */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.back-link:hover { color: var(--brand-1); }

.notice-detail {
    max-width: 780px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}

.notice-detail-head {
    text-align: center;
    padding: 10px 0 30px;
}

.notice-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.notice-detail-meta .notice-date {
    color: var(--text-muted);
}

.notice-detail-meta .notice-date i {
    color: var(--brand-1);
    margin-right: 4px;
}

.notice-id {
    font-size: 0.78rem;
    color: var(--text-faint);
    font-family: "SF Mono", Consolas, Menlo, monospace;
}

.notice-detail-head h1 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-body);
    margin: 0 0 16px;
    line-height: 1.35;
}

.notice-detail-summary {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin: 0 auto;
    max-width: 640px;
}

.notice-detail-divider {
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: var(--brand-grad);
    margin: 0 auto 36px;
}

.notice-detail-body {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-body);
    white-space: pre-line;
    max-width: 640px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

.notice-detail-body br + br {
    display: none;
}

.notice-detail-foot {
    margin-top: 40px;
    text-align: center;
}

/* =========================================================
   项目介绍页（/works/）
   ========================================================= */

/* 1. 项目 Hero */
.project-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eef3fb 0%, #f9fafc 50%, #e9effa 100%);
    padding: 72px 0 64px;
    text-align: center;
}

.project-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.pglow-1 {
    top: -120px;
    right: -60px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(132, 175, 255, 0.4), transparent 65%);
}

.pglow-2 {
    bottom: -160px;
    left: -80px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255, 184, 209, 0.22), transparent 65%);
}

.project-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

.project-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(60, 60, 67, 0.13);
    color: var(--brand-1);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 14px rgba(63, 109, 246, 0.08);
}

.project-hero-badge i { font-size: 0.9rem; }

.project-hero-title {
    margin: 24px 0 8px;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-body);
    line-height: 1.15;
}

.project-hero-cn {
    background: var(--brand-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.project-hero-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-body);
    letter-spacing: 0.02em;
    margin: 0 0 16px;
}

.project-hero-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
    margin: 0 auto 32px;
    max-width: 660px;
}

.project-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px 28px;
}

.pstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
}

.pstat + .pstat { border-left: 1px solid var(--border); }

.pstat b {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    background: var(--brand-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.4px;
}

.pstat span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* 2. 项目背景卡 */
.project-bg-card {
    height: 100%;
    text-align: center;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 30px 26px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.project-bg-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.project-bg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--brand-grad-soft);
    color: var(--brand-1);
    font-size: 24px;
    margin-bottom: 16px;
}

.project-bg-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-body);
    margin: 0 0 10px;
}

.project-bg-card p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}

/* 3. 核心能力卡 */
.project-cap {
    height: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 26px 24px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.project-cap:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(63, 109, 246, 0.25);
}

.project-cap-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 22px;
    margin-bottom: 16px;
}

.project-cap-icon.pc-blue { background: rgba(63, 109, 246, 0.12); color: var(--brand-1); }
.project-cap-icon.pc-cyan { background: rgba(6, 182, 212, 0.12); color: #0891b2; }
.project-cap-icon.pc-purple { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.project-cap-icon.pc-pink { background: rgba(244, 114, 182, 0.12); color: #db2777; }

.project-cap h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-body);
    letter-spacing: -0.2px;
    margin: 0 0 8px;
}

.project-cap p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}

/* 4. 技术原理（深色横幅） */
.project-tech {
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, #172438 0%, #21324b 55%, #27406a 100%);
    border-radius: 24px;
    padding: 56px 44px;
    text-align: center;
    box-shadow: var(--shadow-panel);
}

.project-tech-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 109, 246, 0.35), transparent 65%);
    pointer-events: none;
}

.project-tech h2 {
    position: relative;
    z-index: 1;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin: 0 0 14px;
}

.project-tech-desc {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.98rem;
    line-height: 1.85;
    max-width: 640px;
    margin: 0 auto 40px;
}

.project-tech-steps {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.ptech-step {
    flex: 1;
    max-width: 240px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ptech-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand-grad);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 14px;
    box-shadow: 0 6px 14px var(--brand-glow);
}

.ptech-step h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.ptech-step p {
    font-size: 0.84rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.ptech-arrow {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.3rem;
}

/* 6. 版本历程：横向里程碑卡片 */
.pver-wrap {
    position: relative;
    padding-top: 44px;
}

.pver-line {
    position: absolute;
    top: 18px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, #3f6df6 0%, #8b5cf6 50%, #22c55e 100%);
    opacity: 0.5;
}

.pver-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pver-card {
    --pver-c: #3f6df6;
    --pver-c2: #7ea3ff;
    --pver-soft: rgba(63, 109, 246, 0.14);
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 26px 22px 22px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

/* 卡片顶部 accent 渐变条 */
.pver-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, var(--pver-c), var(--pver-c2));
    opacity: 0.9;
}

.pver-card.ac-purple { --pver-c: #8b5cf6; --pver-c2: #b29dff; --pver-soft: rgba(139, 92, 246, 0.14); }
.pver-card.ac-green  { --pver-c: #22c55e; --pver-c2: #7de3a5; --pver-soft: rgba(34, 197, 94, 0.14); }

.pver-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--pver-c);
}

.pver-node {
    position: absolute;
    top: -33px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--pver-c);
    border: 3px solid #fff;
    box-shadow: 0 0 0 5px var(--pver-soft);
    transition: box-shadow 0.3s var(--ease);
}

.pver-card:hover .pver-node {
    box-shadow: 0 0 0 5px var(--pver-soft), 0 0 12px var(--pver-c);
}

/* 当前版本节点呼吸光晕 */
.pver-card.ac-green .pver-node {
    animation: pver-pulse 2.6s ease-in-out infinite;
}

@keyframes pver-pulse {
    0%, 100% { box-shadow: 0 0 0 5px var(--pver-soft), 0 0 0 rgba(34, 197, 94, 0); }
    50% { box-shadow: 0 0 0 5px var(--pver-soft), 0 0 14px rgba(34, 197, 94, 0.55); }
}

.pver-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.pver-ver {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--pver-c); /* 兜底：纯色 */
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .pver-ver {
        background-image: linear-gradient(135deg, var(--pver-c), var(--pver-c2));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

.pver-date {
    font-size: 0.8rem;
    color: var(--text-faint);
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--pver-soft);
}

.pver-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pver-c);
    background: var(--pver-soft);
    border-radius: 999px;
    padding: 4px 11px;
    margin-bottom: 14px;
}

.pver-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-body);
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}

.pver-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0 0 16px;
    min-height: 3.08em; /* 统一描述占位，卡片底部对齐 */
}

.pver-feats {
    list-style: none;
    margin: auto 0 0;
    padding: 14px 0 0;
    border-top: 1px dashed var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pver-feats li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--text-body);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 10px;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.pver-feats li i {
    color: var(--pver-c);
    font-size: 0.8rem;
}

.pver-feats li:hover {
    border-color: var(--pver-c);
    background: var(--pver-soft);
    color: var(--pver-c);
}

@media (max-width: 991.98px) {
    .pver-grid { grid-template-columns: 1fr; gap: 18px; }
    .pver-line { display: none; }
    .pver-wrap { padding-top: 0; }
    .pver-node { display: none; }
    /* 移动端改为左侧纵向连接线 */
    .pver-card::after {
        content: "";
        position: absolute;
        left: -11px;
        top: 18px;
        bottom: -24px;
        width: 2px;
        background: linear-gradient(180deg, var(--pver-c), var(--pver-c2));
        opacity: 0.4;
    }
    .pver-card:last-child::after { display: none; }
}

/* 6. 生态与支持 */
.project-support {
    display: block;
    height: 100%;
    text-align: center;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 28px 24px;
    text-decoration: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.project-support:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.project-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--brand-grad);
    color: #fff;
    font-size: 23px;
    margin-bottom: 16px;
    box-shadow: 0 8px 18px var(--brand-glow);
}

.project-support h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-body);
    margin: 0 0 8px;
}

.project-support p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0 0 12px;
}

.project-support-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--brand-1);
    font-size: 0.85rem;
    font-weight: 600;
}

/* 7. 导入流程（连线式） */
.pflow-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pflow-step {
    position: relative;
    flex: 1;
    max-width: 240px;
    text-align: center;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 30px 22px 26px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pflow-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.pflow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--brand-grad);
    color: #fff;
    font-size: 24px;
    margin-bottom: 14px;
    box-shadow: 0 8px 18px var(--brand-glow);
}

.pflow-num {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-faint);
    font-family: "SF Mono", Consolas, Menlo, monospace;
}

.pflow-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-body);
    margin: 0 0 8px;
}

.pflow-step p {
    font-size: 0.85rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0;
}

.pflow-arrow {
    align-self: center;
    color: var(--brand-1);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* 8. 支持格式 */
.pformat-card {
    height: 100%;
    text-align: center;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 28px 24px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pformat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.pformat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--brand-grad-soft);
    color: var(--brand-1);
    font-size: 22px;
    margin-bottom: 14px;
}

.pformat-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-body);
    margin: 0 0 14px;
}

.pformat-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pformat-chips span {
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(63, 109, 246, 0.08);
    color: var(--brand-1);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: "SF Mono", Consolas, Menlo, monospace;
}

/* 9. 模块化展示（仿 Zibll：左文 + 右图 / 左图 + 右文） */
.pmodule-item {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
    padding: 36px 0;
    border-top: 1px solid var(--border);
}

.pmodule-item:first-of-type { border-top: none; }

.pmodule-reverse {
    grid-template-columns: 1.1fr 1fr;
}

.pmodule-reverse .pmodule-visual { order: 1; }
.pmodule-reverse .pmodule-copy { order: 2; }

.pmodule-copy { max-width: 480px; }

.pmodule-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--text-body);
    letter-spacing: -0.5px;
    margin: 0 0 16px;
    line-height: 1.3;
}

.pmodule-title .accent {
    background: var(--brand-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pmodule-desc {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.9;
    margin: 0 0 32px;
}

.pmodule-stats {
    display: flex;
    align-items: flex-end;
    gap: 28px;
}

.pmodule-number {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pmodule-number b {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    background: var(--brand-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pmodule-number span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pmodule-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.pmodule-tags span {
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(63, 109, 246, 0.08);
    color: var(--brand-1);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(63, 109, 246, 0.15);
}

/* 切换按钮（替代胶囊标签） */
.pmodule-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.pmodule-tab {
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(60, 60, 67, 0.06);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}

.pmodule-tab:hover {
    color: var(--brand-1);
}

.pmodule-tab.active {
    background: linear-gradient(180deg, #4d7cf7, #2f5ee8);
    color: #fff;
    box-shadow: 0 6px 14px var(--brand-glow);
}

.pmodule-tab:active { transform: scale(0.97); }

.pmodule-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.pmodule-visual img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.2s ease;
}
.pmodule-visual img.pmodule-img-out { opacity: 0; }

.pmodule-caption {
    position: absolute;
    bottom: 14px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* 10. 全场景覆盖（8 卡片矩阵） */
.pmodule-cards {
    padding: 16px;
}

.pmodule-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.pmodule-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(20, 35, 70, 0.06);
    aspect-ratio: 4 / 3;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pmodule-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.pmodule-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.pmodule-card-mask {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.75) 100%);
    color: #fff;
}

.pmodule-card-mask b {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.pmodule-card-mask span {
    font-size: 0.72rem;
    opacity: 0.85;
    line-height: 1.45;
}

/* 项目页通用原有的 .section-title 跟着变化过，无需补 */

/* =========================================================
   作品介绍页头部
   ========================================================= */

.page-head { padding: 80px 0 36px; }

.page-head .head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.page-head h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 10px;
    color: var(--text-body);
}

.page-head p {
    color: var(--text-muted);
    max-width: 580px;
    font-size: 1rem;
    margin: 0;
}

.page-head .head-meta {
    display: flex;
    gap: 14px;
    align-items: center;
}

.head-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(63, 109, 246, 0.08);
    color: var(--brand-1);
    font-size: 0.85rem;
    font-weight: 600;
}

.head-pill-soft {
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
}

.head-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* =========================================================
   作品卡片
   ========================================================= */

.work-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(63, 109, 246, 0.2);
}

.work-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

/* 占位封面：accent 渐变变体 */
.work-accent-blue {
    background:
        radial-gradient(circle at 25% 30%, rgba(63, 109, 246, 0.28), transparent 55%),
        linear-gradient(145deg, #e8f0ff 0%, #d7e5ff 60%, #c3d8ff 100%);
}

.work-accent-cyan {
    background:
        radial-gradient(circle at 25% 30%, rgba(6, 182, 212, 0.24), transparent 55%),
        linear-gradient(145deg, #e6fbfe 0%, #d2f4fb 60%, #bceef7 100%);
}

.work-accent-purple {
    background:
        radial-gradient(circle at 25% 30%, rgba(139, 92, 246, 0.24), transparent 55%),
        linear-gradient(145deg, #f1ecff 0%, #e4daff 60%, #d7c8ff 100%);
}

.work-accent-pink {
    background:
        radial-gradient(circle at 25% 30%, rgba(244, 114, 182, 0.24), transparent 55%),
        linear-gradient(145deg, #ffeef6 0%, #ffe0ee 60%, #ffd2e6 100%);
}

.work-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='1.5' cy='1.5' r='1' fill='%233f6df6' fill-opacity='0.12'/></svg>");
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
}

.work-cover img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.work-card:hover .work-cover img {
    transform: scale(1.05);
}

.work-cover-placeholder {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* 主题色文字 */
.work-cover-placeholder .cover-num {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    background: var(--brand-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.9;
}

.work-cover-placeholder .cover-icon {
    font-size: 26px;
    opacity: 0.45;
    margin-top: 8px;
}

.work-cover-placeholder .cover-tag {
    position: absolute;
    bottom: 14px;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    color: var(--text-faint);
    text-transform: uppercase;
}

.work-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 24px;
}

.work-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(63, 109, 246, 0.1);
    color: var(--brand-1);
    font-size: 0.78rem;
    font-weight: 600;
}

.work-body h2 {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 14px 0 8px;
    color: var(--text-body);
}

.work-body p {
    flex: 1;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 16px;
    line-height: 1.75;
}

/* 底部链接 */
.work-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-1);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.25s var(--ease);
}

.work-link:hover {
    gap: 10px;
}

/* =========================================================
   页脚（多列）
   ========================================================= */

.site-footer {
    background: #15243e;
    color: #a0aac0;
    padding: 64px 0 28px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.6fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 18px;
}

.footer-brand p {
    color: #8a93a6;
    font-size: 0.9rem;
    line-height: 1.85;
    margin: 0;
    max-width: 360px;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: #8a93a6;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: #fff; }

.footer-contact-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact-link i {
    flex-shrink: 0;
    font-size: 0.95rem;
    color: var(--brand-1);
    margin-top: 2px;
    line-height: 1.5;
}

.footer-contact-link span {
    flex: 1;
    min-width: 0;
    word-break: break-all;
    line-height: 1.5;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: #6b7488;
    font-size: 0.85rem;
}

.footer-tech {
    margin-top: 6px;
    font-size: 0.8rem;
}

.footer-tech-link {
    color: #6b7488;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s var(--ease);
}

.footer-tech-link:hover {
    color: #fff;
}

/* =========================================================
   入场动效（已停用：直接可见，不做淡入）
   ========================================================= */

.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .log-entry { opacity: 1; transform: none; animation: none; }
    .terminal-live i { animation: none; }
}

/* =========================================================
   场景解决方案（企业级左右交替）
   ========================================================= */

.solution-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.solution-item {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 44px 48px;
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.solution-item:hover {
    box-shadow: var(--shadow-card-hover);
}

.solution-reverse { direction: rtl; }
.solution-reverse > * { direction: ltr; }

.solution-visual {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 外发光 + 旋转虚线环 + ���止细环 */
.solution-visual::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1.5px dashed rgba(63, 109, 246, 0.35);
    animation: solution-rotate 24s linear infinite;
}

.solution-visual::after {
    content: "";
    position: absolute;
    width: 206px;
    height: 206px;
    border-radius: 50%;
    border: 1px solid rgba(63, 109, 246, 0.14);
}

@keyframes solution-rotate { to { transform: rotate(360deg); } }

.solution-orb {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
}

.orb-blue { background: var(--brand-grad); }
.orb-purple { background: var(--grad-purple); }

.solution-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    font-size: 3rem;
    color: #fff;
    background: var(--brand-grad);
    box-shadow: 0 18px 40px rgba(63, 109, 246, 0.3);
}

.solution-item:has(.orb-purple) .solution-icon {
    background: var(--grad-purple);
    box-shadow: 0 18px 40px rgba(139, 92, 246, 0.3);
}

.solution-copy .solution-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(63, 109, 246, 0.1);
    color: var(--brand-1);
    font-size: 0.8rem;
    font-weight: 650;
    margin-bottom: 16px;
}

.solution-copy h3 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-body);
}

.solution-copy > p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

.solution-points {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.solution-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.93rem;
    color: var(--text-body);
}

.solution-points li i {
    color: var(--brand-1);
    font-size: 1rem;
}

/* =========================================================
   新闻动态（企业级）
   ========================================================= */

.news-head {
    position: relative;
}

.news-title { margin-bottom: 40px; }

.news-more {
    position: absolute;
    top: 8px;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 550;
    text-decoration: none;
    transition: color 0.24s var(--ease);
}

.news-more:hover { color: var(--brand-1); }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.news-card {
    display: block;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 26px 26px 24px;
    text-decoration: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.news-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(63, 109, 246, 0.2);
}

.news-type {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(63, 109, 246, 0.1);
    color: var(--brand-1);
    font-size: 0.74rem;
    font-weight: 650;
    margin-bottom: 14px;
}

.news-type.type-green { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.news-type.type-purple { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.news-type.type-pink { background: rgba(236, 72, 153, 0.12); color: #db2777; }
.news-type.type-orange { background: rgba(249, 115, 22, 0.12); color: #ea580c; }

/* 首页动态空状态跨列 */
.news-empty { grid-column: 1 / -1; }

.news-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: var(--text-body);
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-date {
    font-style: normal;
    font-size: 0.78rem;
    color: var(--text-faint);
}

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 991.98px) {
    .status-grid { grid-template-columns: repeat(2, 1fr); }
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-step:not(:last-child)::after { display: none; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 18px 20px; }
    .hero-stat + .hero-stat { border-left: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .hero-floating.chip-1 { right: 2%; }
    .solution-item { grid-template-columns: 1fr; gap: 30px; padding: 32px 28px; }
    .solution-reverse { direction: ltr; }
    .solution-visual { min-height: 180px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .notice-item { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
    .notice-date { margin-left: auto; }
    .notice-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .pay-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
    .pay-stat:nth-child(3) { border-left: none; }
    .pay-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .pay-hero-right { order: -1; }
    .pay-hero-img { max-width: 480px; }
    .pay-hero-stage { padding: 28px 20px 24px; border-radius: 20px; }
    .pay-hero-floating { font-size: 0.78rem; padding: 6px 12px; }
    .pay-hero-floating.f-1 { left: 0; }
    .pay-hero-floating.f-2 { right: 0; }
    .project-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
    .pstat:nth-child(3) { border-left: none; }
    .project-tech-steps { flex-direction: column; gap: 12px; }
    .ptech-arrow { transform: rotate(90deg); }
    .ptech-step { max-width: 340px; width: 100%; }
    .pscene-item { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
    .pscene-reverse { direction: ltr; }
    .pscene-visual { min-height: 160px; }
    .pflow-grid { flex-direction: column; align-items: center; }
    .pflow-step { max-width: 320px; width: 100%; }
    .pflow-arrow { transform: rotate(90deg); }
    .pmodule-item { grid-template-columns: 1fr; gap: 32px; padding: 28px 0; }
    .pmodule-reverse { direction: ltr; }
    .pmodule-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .pmodule-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 767.98px) {
    .hero { padding: 64px 0 60px; }
    .section { padding: 64px 0; }
    .status-grid, .cap-grid, .flow-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .privacy-points { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-layout { grid-template-columns: 1fr; }
    .profile-sidebar { position: static; }
    .profile-nav-list { flex-direction: row; flex-wrap: wrap; }
    .profile-nav { width: auto; flex: 1 1 45%; }
    .level-grid { grid-template-columns: 1fr; }
    .level-steps { gap: 4px; }
    .license-head { flex-direction: column; gap: 8px; }
    .license-detail { flex-direction: column; gap: 4px; }
    .points-hero, .member-hero { flex-direction: column; align-items: flex-start; }
    .order-item { flex-wrap: wrap; gap: 8px; }
    .order-status { margin-left: auto; }
    .user-head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .profile-hero { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
    .profile-meta { text-align: left; align-items: flex-start; }
    .usage-details { flex-direction: column; gap: 6px; }
    .recent-meta { display: none; }
    .notice-pinned { flex-direction: column; gap: 14px; padding: 24px 20px; }
    .notice-pin { align-self: flex-start; }
    .notice-pinned .notice-read { align-self: flex-start; }
    .notice-stats { flex-wrap: wrap; gap: 10px; }
    .notice-stat { padding: 8px 16px; }
    .notice-item .notice-arrow { display: none; }
    .trust-grid { grid-template-columns: 1fr; }
    .pay-hero { padding: 56px 0 48px; }
    .pay-hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .pay-hero-left { text-align: center; }
    .pay-hero-sub { margin: 0 auto; }
    .pay-hero-checks { justify-content: center; }
    .pay-hero-cta { justify-content: center; }
    .pay-hero-price { justify-content: center; }
    .pay-hero-price b { font-size: 2.6rem; }
    .pay-hero-floating { font-size: 0.78rem; padding: 6px 12px; }
    .pay-hero-floating.f-1 { left: 0; }
    .pay-hero-floating.f-2 { right: 0; }
    .pay-stats { grid-template-columns: 1fr 1fr; padding: 30px 20px; }
    .page-head { padding: 56px 0 28px; }
    .page-head .head-row { flex-direction: column; align-items: flex-start; }
    .cta-banner { padding: 52px 24px; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================
   404 页面（左 404 + 右最新公告）
   ========================================================= */

.err-page-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0 110px;
}

.err-glow {
    position: absolute;
    top: 50%;
    left: 38%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 109, 246, 0.16), transparent 65%);
    filter: blur(50px);
    pointer-events: none;
}

.err-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
}

.err-main { position: relative; }

.err-code {
    font-size: clamp(5.5rem, 12vw, 7.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #3f6df6; /* 兜底：纯色 */
    margin-bottom: 10px;
}

.err-zero { color: #8b5cf6; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .err-code {
        background-image: linear-gradient(135deg, #3f6df6, #8b5cf6);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
    .err-zero { -webkit-text-fill-color: #8b5cf6; color: #8b5cf6; }
}

.err-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-body);
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

.err-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 30px;
    max-width: 380px;
}

.err-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 右侧最新公告 */
.err-notice-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-body);
    letter-spacing: -0.4px;
    margin-bottom: 20px;
}

.err-notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.err-notice-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.err-notice-row:hover {
    border-color: rgba(63, 109, 246, 0.35);
    box-shadow: var(--shadow-card-hover);
}

.err-notice-body {
    flex: 1;
    min-width: 0;
}

.err-notice-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-body);
    margin: 0 0 4px;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.err-notice-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.err-notice-arrow {
    flex-shrink: 0;
    color: var(--brand-1);
    font-size: 1.05rem;
}

.err-notice-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 34px 20px;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    color: var(--text-faint);
    font-size: 0.9rem;
}

.err-notice-empty i {
    font-size: 1.2rem;
}

.err-notice-more {
    margin-top: 24px;
}

@media (max-width: 991.98px) {
    .err-grid { grid-template-columns: 1fr; gap: 48px; }
    .err-page-section { padding: 72px 0 90px; }
    .err-glow { left: 50%; }
}

/* =========================================================
   用户中心：编辑资料弹窗
   ========================================================= */

.profile-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(23, 36, 56, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.profile-modal.open {
    opacity: 1;
    visibility: visible;
}

.profile-modal-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(23, 36, 56, 0.25);
    padding: 26px 28px;
    transform: translateY(14px);
    transition: transform 0.25s var(--ease);
}

/* 仅兑换弹窗加宽，编辑资料弹窗仍保持 420px */
#redeemModal .profile-modal-card { max-width: 540px; }

.profile-modal.open .profile-modal-card { transform: translateY(0); }

.profile-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.profile-modal-head h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-body);
    margin: 0;
}

.profile-modal-close {
    border: none;
    background: var(--bg-soft);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.profile-modal-close:hover { background: #fee2e2; color: #dc2626; }

.profile-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--text-muted);
    margin: 0 0 6px;
}

.profile-form label + input { margin-bottom: 12px; }

.profile-form input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.92rem;
    color: var(--text-body);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.profile-form input:focus {
    outline: none;
    border-color: rgba(63, 109, 246, 0.55);
    box-shadow: 0 0 0 3px rgba(63, 109, 246, 0.12);
}

/* 兑换秘钥：NIMBUS + 五段式分组输入框（每行 1 个，垂直堆叠） */
.redeem-key-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 12px;
}

.redeem-key-prefix {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-body);
    letter-spacing: 0.5px;
    align-self: flex-start;
    margin-bottom: 2px;
}

.redeem-key-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 0;
    padding: 10px 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    text-align: center;
    color: var(--text-body);
    text-transform: uppercase;
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.redeem-key-box:focus {
    outline: none;
    border-color: rgba(63, 109, 246, 0.55);
    box-shadow: 0 0 0 3px rgba(63, 109, 246, 0.12);
}

.redeem-key-dash {
    display: none;
    color: var(--text-faint);
    font-weight: 700;
    font-size: 0.95rem;
}

/* 第 5 组不再单独限制宽度，继承父级 width:100% 撑满整行 */

.profile-form .form-tip {
    display: block;
    font-size: 0.75rem;
    color: var(--text-faint);
    margin: -8px 0 12px;
}

.profile-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

/* =========================================================
   用户中心 · 会员管理（新模块：我的会员 + VIP QQ 群）
   ========================================================= */

.my-member {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(160deg, #ffffff 0%, #faf3ff 45%, #fdf6f4 100%);
    border-color: rgba(167, 139, 250, 0.2);
}

.my-member-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    z-index: 2;
}

.my-member-avatar {
    position: relative;
    width: 66px;
    height: 66px;
    flex-shrink: 0;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #a78bfa, #7c3aed, #ffb3a8);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.my-member-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    display: block;
}

.my-member-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.my-member-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-body);
    letter-spacing: -0.2px;
}

.my-member-sig {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 会员时间（中间列） */
.my-member-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.my-member-time-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.my-member-time-label i { color: var(--brand-1); }

.my-member-time-val {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #34d399, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 右侧品牌 */
.my-member-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 0;
    z-index: 2;
}

.my-member-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.4);
    white-space: nowrap;
}

.my-member-brand i { font-size: 0.9rem; }

.my-member-tip {
    font-size: 0.82rem;
    color: #7c3aed;
    font-weight: 650;
    letter-spacing: 0.06em;
}

.my-member-deco {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.8;
    z-index: 1;
}

.my-member-deco svg {
    width: 130px;
    height: 110px;
    display: block;
}

/* VIP QQ 群 */
.vip-qq {
    padding: 22px 26px;
}

.vip-qq-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-body);
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-1);
    display: inline-block;
}

.vip-qq-title i { color: var(--brand-1); margin-right: 4px; }

.vip-qq-body {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.vip-qq-qr {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.18);
    background: linear-gradient(135deg, #fdf2ff, #fef7f0);
    position: relative;
}

.vip-qq-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.vip-qq-qr-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-faint);
    text-align: center;
    font-size: 0.78rem;
    padding: 12px;
}

.vip-qq-qr-placeholder i {
    font-size: 2.6rem;
    opacity: 0.5;
}

.vip-qq-qr-placeholder small {
    font-size: 0.7rem;
    line-height: 1.5;
}

.vip-qq-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vip-qq-greet {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-body);
    margin: 0;
}

.vip-qq-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vip-qq-steps li {
    position: relative;
    padding-left: 16px;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.vip-qq-steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-1);
}

.btn-joined {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 18px;
    border: none;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s var(--ease);
}

.btn-joined:hover { background: rgba(34, 197, 94, 0.2); }

.vip-qq-tip {
    font-size: 0.78rem;
    color: var(--text-faint);
    margin: 0;
}

.vip-qq-foot {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-size: 0.86rem;
    color: var(--text-muted);
}

.vip-qq-foot b {
    color: var(--text-body);
    font-weight: 800;
    font-size: 0.95rem;
    margin-left: 4px;
}

/* 响应式 */
@media (max-width: 768px) {
    .my-member {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px 18px 22px;
    }
    .my-member-time {
        width: 100%;
        align-items: flex-start;
    }
    .my-member-right {
        align-items: flex-start;
    }
    .my-member-deco {
        height: 120px;
        opacity: 0.5;
    }
    .vip-qq-body {
        flex-direction: column;
        align-items: center;
    }
}
