/* ===== 全局样式 (对应原 PHP 项目的水墨风格 CSS) ===== */
:root {
    --ink-parchment: #f7f3ed;
    --ink-rice: #f0ece3;
    --ink-mist: #ddd8cf;
    --ink-wash: #b8b0a0;
    --ink-light: #7a7060;
    --ink-mid: #4a4238;
    --ink-deep: #2a2318;
    --aq-deep: #005a7a;
    --aq-mid: #0077a0;
    --aq-light: #2196b8;
    --aq-pale: #5cb8d4;
    --aq-mist: #a8d8e8;
    --aq-wash: #d4eef5;
    --bamboo: #27ae60;
    --cinnabar: #c0392b;
    --font-serif: 'Noto Serif SC', 'SimSun', Georgia, serif;
    --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --text-primary: #2a2318;
    --text-secondary: #4a4238;
    --text-muted: #7a7060;
    --primary-mist: rgba(0,119,160,0.06);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--ink-parchment);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== 导航栏 ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 243, 237, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(180, 168, 150, 0.3);
    box-shadow: 0 1px 8px rgba(50, 40, 28, 0.06);
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.navbar-inner {
    display: flex;
    align-items: center;
    height: 56px;
    gap: 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink-deep);
    text-decoration: none;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--aq-deep) 0%, var(--aq-light) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.75rem;
    border-radius: 8px;
    color: var(--ink-mid);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.nav-link i { font-size: 0.875rem; }
.nav-link:hover { background: rgba(0, 100, 150, 0.06); color: var(--aq-mid); }
.nav-link.active { background: rgba(0, 119, 160, 0.1); color: var(--aq-mid); font-weight: 600; }

.nav-user {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.75rem;
    border-radius: 8px;
    color: var(--ink-mid);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.nav-user:hover { background: rgba(0, 100, 150, 0.06); color: var(--aq-mid); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: rgba(255, 252, 248, 0.98);
    border: 1px solid rgba(180, 168, 150, 0.35);
    border-radius: 10px;
    padding: 0.375rem;
    min-width: 140px;
    box-shadow: 0 4px 20px rgba(50, 40, 28, 0.12);
    backdrop-filter: blur(10px);
    z-index: 50;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5625rem 0.75rem;
    border-radius: 7px;
    font-size: 0.875rem;
    color: var(--ink-mid);
    text-decoration: none;
    transition: all 0.15s;
}
.dropdown-item:hover { background: rgba(0, 100, 150, 0.06); color: var(--aq-mid); }
.dropdown-item.danger { color: var(--cinnabar); }
.dropdown-item.danger:hover { background: rgba(192, 57, 43, 0.06); }

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--ink-mid);
    font-size: 1rem;
    margin-left: auto;
}

@media (max-width: 768px) {
    .nav-mobile-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(247, 243, 237, 0.98);
        border-bottom: 1px solid rgba(180, 168, 150, 0.3);
        flex-direction: column;
        align-items: stretch;
        padding: 0.625rem;
        gap: 0.25rem;
        box-shadow: 0 4px 20px rgba(50, 40, 28, 0.1);
        backdrop-filter: blur(12px);
    }
    .nav-menu.open { display: flex; }
    .nav-link, .nav-user { justify-content: flex-start; }
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5625rem 1.125rem;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--aq-deep) 0%, var(--aq-light) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 100, 150, 0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 100, 150, 0.35); color: white; }
.btn-primary:active { transform: translateY(0); }

.btn-outline-primary {
    background: transparent;
    color: var(--aq-mid);
    border-color: rgba(0, 119, 160, 0.3);
}
.btn-outline-primary:hover { background: rgba(0, 119, 160, 0.06); border-color: var(--aq-pale); color: var(--aq-mid); }

/* ===== 卡片 ===== */
.card {
    background: rgba(255, 252, 248, 0.9);
    border: 1px solid rgba(180, 168, 150, 0.3);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(50, 40, 28, 0.06);
    overflow: visible; /* 修复：改为visible让3D效果生效 */
    transition: all 0.35s cubic-bezier(.22,.68,0,1.2);
}
.card:hover {
    box-shadow: 0 8px 32px rgba(0,80,120,0.13);
    border-color: rgba(92,184,212,0.4);
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(180, 168, 150, 0.2);
    background: rgba(240, 236, 227, 0.3);
    border-radius: 14px 14px 0 0;
}
.card-body { padding: 1.25rem; }


/* ===== 统计卡 ===== */
.stat-card {
    background: rgba(255, 252, 248, 0.9);
    border: 1px solid rgba(180, 168, 150, 0.3);
    border-radius: 12px;
    padding: 1.125rem 1.25rem;
    box-shadow: 0 2px 8px rgba(50, 40, 28, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--aq-deep), var(--aq-light));
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 100, 150, 0.1); }
.stat-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--aq-mist) 0%, var(--aq-pale) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aq-deep);
    font-size: 1rem;
    margin-bottom: 0.875rem;
}
.stat-label { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.stat-value { font-family: var(--font-serif); font-size: 1.875rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; margin-bottom: 0.625rem; }
.stat-footer { font-size: 0.8125rem; color: var(--text-muted); }

/* ===== 徽章 ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-success { background: rgba(39, 174, 96, 0.12); color: #219a52; border: 1px solid rgba(39, 174, 96, 0.2); }
.badge-secondary { background: rgba(180, 168, 150, 0.2); color: var(--ink-light); border: 1px solid rgba(180, 168, 150, 0.3); }
.badge-primary { background: rgba(0, 119, 160, 0.1); color: var(--aq-mid); border: 1px solid rgba(0, 119, 160, 0.2); }
.badge-danger { background: rgba(192, 57, 43, 0.1); color: #9b2c1e; border: 1px solid rgba(192, 57, 43, 0.2); }

/* ===== 进度条 ===== */
.progress {
    background: rgba(180, 168, 150, 0.2);
    border-radius: 50px;
    height: 6px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--aq-deep), var(--aq-light));
    border-radius: 50px;
    transition: width 0.6s ease;
}

/* ===== 动画关键帧 ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.88); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,119,160,0.4); }
    50% { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(0,119,160,0); }
}
@keyframes ripple {
    0% { transform: scale(0); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes inkDrop {
    0% { transform: scale(0) translateY(-20px); opacity: 0; }
    60% { transform: scale(1.1) translateY(2px); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
@keyframes borderGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(0,119,160,0.2); }
    50% { box-shadow: 0 0 24px rgba(0,119,160,0.5), 0 0 48px rgba(92,184,212,0.2); }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes waveIn {
    0% { clip-path: inset(0 100% 0 0); }
    100% { clip-path: inset(0 0% 0 0); }
}
@keyframes bounce3d {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    40% { transform: translateY(-12px) rotateX(10deg); }
    60% { transform: translateY(-6px) rotateX(5deg); }
}

/* ===== 动画工具类 ===== */
.animate-fade-up { animation: fadeUp 0.55s cubic-bezier(.22,.68,0,1.2) both; }
.animate-fade-in { animation: fadeIn 0.4s ease both; }
.animate-slide-left { animation: slideInLeft 0.5s cubic-bezier(.22,.68,0,1.2) both; }
.animate-slide-right { animation: slideInRight 0.5s cubic-bezier(.22,.68,0,1.2) both; }
.animate-scale-in { animation: scaleIn 0.4s cubic-bezier(.22,.68,0,1.2) both; }
.animate-float { animation: floatY 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse 2.5s ease-in-out infinite; }
.animate-ink-drop { animation: inkDrop 0.6s cubic-bezier(.22,.68,0,1.2) both; }
.animate-border-glow { animation: borderGlow 2.5s ease-in-out infinite; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }

/* ===== 3D 透视容器 ===== */
.perspective-wrap {
    perspective: 1000px;
    perspective-origin: center center;
}
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(.22,.68,0,1.2), box-shadow 0.4s ease;
    will-change: transform;
}
.card-3d:hover {
    transform: rotateY(-6deg) rotateX(4deg) translateZ(12px);
    box-shadow: 8px 16px 40px rgba(0,80,120,0.18), -4px 0 20px rgba(0,119,160,0.08);
}
.card-3d-flip {
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    position: relative;
    cursor: pointer;
}
.card-3d-flip:hover { transform: rotateY(180deg); }
.card-3d-front, .card-3d-back {
    backface-visibility: hidden;
    position: absolute; inset: 0;
    border-radius: 14px;
    padding: 1.5rem;
}
.card-3d-back { transform: rotateY(180deg); background: linear-gradient(135deg, var(--aq-deep), var(--aq-light)); color: white; }

/* ===== 玻璃态卡片 ===== */
.glass-card {
    background: rgba(255, 252, 248, 0.55);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(50, 40, 28, 0.1), inset 0 1px 0 rgba(255,255,255,0.7);
    transition: all 0.35s cubic-bezier(.22,.68,0,1.2);
}
.glass-card:hover {
    background: rgba(255, 252, 248, 0.72);
    box-shadow: 0 16px 48px rgba(0,80,120,0.15), inset 0 1px 0 rgba(255,255,255,0.8);
    transform: translateY(-4px);
}

/* ===== 霓虹/发光边框卡片 ===== */
.neon-card {
    background: rgba(255, 252, 248, 0.92);
    border-radius: 14px;
    border: 1.5px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.35s ease;
}
.neon-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--aq-deep), var(--aq-pale), var(--aq-deep));
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.neon-card:hover::before { opacity: 1; }
.neon-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,80,120,0.14); }

/* ===== 闪光(Shimmer)骨架屏 ===== */
.skeleton {
    background: linear-gradient(90deg, rgba(200,192,180,.2) 25%, rgba(220,212,200,.5) 50%, rgba(200,192,180,.2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* ===== 水墨波纹按钮 ===== */
.btn-ripple {
    position: relative;
    overflow: hidden;
}
.btn-ripple::after {
    content: '';
    position: absolute;
    inset: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}
.btn-ripple:active::after {
    width: 200px; height: 200px;
    opacity: 1;
}
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }

/* ===== 粒子/水墨装饰背景 ===== */
.ink-bg {
    position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
}
.ink-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.06;
    animation: floatY 8s ease-in-out infinite;
}
.ink-blob-1 { width: 500px; height: 500px; background: var(--aq-mid); top: -100px; right: -100px; animation-delay: 0s; }
.ink-blob-2 { width: 400px; height: 400px; background: var(--aq-pale); bottom: -80px; left: -80px; animation-delay: -3s; }
.ink-blob-3 { width: 300px; height: 300px; background: var(--aq-deep); top: 40%; left: 30%; animation-delay: -6s; }

/* ===== 进度条动画 ===== */
.progress-bar { animation: waveIn 1s ease both; }
.progress-animated .progress-bar {
    background: linear-gradient(90deg, var(--aq-deep), var(--aq-pale), var(--aq-deep));
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ===== 数字统计跳动 ===== */
.stat-value { animation: countUp 0.6s cubic-bezier(.22,.68,0,1.2) both; }

/* ===== 标签/徽章动画 ===== */
.badge { transition: all 0.2s ease; }
.badge:hover { transform: scale(1.1); }

/* ===== 时间线组件 ===== */
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--aq-pale), transparent);
}
.timeline-item { position: relative; padding-bottom: 1.25rem; }
.timeline-dot {
    position: absolute;
    left: -1.375rem;
    top: 0.25rem;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--aq-mid);
    border: 2px solid var(--ink-parchment);
    box-shadow: 0 0 0 3px rgba(0,119,160,0.2);
    animation: pulse 2.5s ease-in-out infinite;
}
.timeline-time { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.timeline-content { font-size: 0.875rem; color: var(--text-secondary); }

/* ===== 通知/Toast 组件 ===== */
.toast-wrap {
    position: fixed; top: 72px; right: 1rem;
    z-index: 9999;
    display: flex; flex-direction: column; gap: 0.5rem;
    pointer-events: none;
}
.toast {
    background: rgba(255,252,248,0.96);
    border: 1px solid rgba(180,168,150,0.35);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    box-shadow: 0 8px 30px rgba(50,40,28,0.15);
    backdrop-filter: blur(12px);
    min-width: 260px; max-width: 340px;
    display: flex; align-items: center; gap: 0.75rem;
    pointer-events: auto;
    animation: slideInRight 0.4s cubic-bezier(.22,.68,0,1.2) both;
    transition: all 0.3s ease;
}
.toast.toast-out { animation: slideInRight 0.3s reverse ease both; }
.toast-icon { font-size: 1.125rem; flex-shrink: 0; }
.toast-success { border-left: 4px solid var(--bamboo); }
.toast-success .toast-icon { color: var(--bamboo); }
.toast-error { border-left: 4px solid var(--cinnabar); }
.toast-error .toast-icon { color: var(--cinnabar); }
.toast-info { border-left: 4px solid var(--aq-mid); }
.toast-info .toast-icon { color: var(--aq-mid); }

/* ===== 步骤条组件 ===== */
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 2rem; }
.step-item { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px; left: 50%; width: 100%;
    height: 2px;
    background: rgba(180,168,150,0.3);
    z-index: 0;
}
.step-item.active:not(:last-child)::after { background: var(--aq-pale); }
.step-circle {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(180,168,150,0.2);
    border: 2px solid rgba(180,168,150,0.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.875rem; font-weight: 700;
    color: var(--text-muted);
    position: relative; z-index: 1;
    transition: all 0.35s cubic-bezier(.22,.68,0,1.2);
}
.step-item.active .step-circle {
    background: linear-gradient(135deg, var(--aq-deep), var(--aq-light));
    border-color: var(--aq-light);
    color: white;
    box-shadow: 0 4px 16px rgba(0,100,150,0.3);
    transform: scale(1.1);
}
.step-item.done .step-circle {
    background: var(--bamboo); border-color: var(--bamboo); color: white;
}
.step-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; text-align: center; }
.step-item.active .step-label { color: var(--aq-mid); font-weight: 600; }

/* ===== 状态指示灯 ===== */
.status-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    position: relative;
}
.status-dot.online { background: var(--bamboo); }
.status-dot.online::after {
    content: '';
    position: absolute; inset: -4px;
    border-radius: 50%;
    background: rgba(39,174,96,0.3);
    animation: ripple 1.5s ease-out infinite;
}
.status-dot.offline { background: rgba(180,168,150,0.6); }
.status-dot.warning { background: #f39c12; }
.status-dot.warning::after {
    content: '';
    position: absolute; inset: -4px;
    border-radius: 50%;
    background: rgba(243,156,18,0.3);
    animation: ripple 1.5s ease-out infinite;
}

/* ===== 悬浮卡片工具提示 ===== */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(42,35,24,0.92);
    color: white;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}
[data-tooltip]:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 卡片悬浮光晕 ===== */
.card-glow {
    position: relative;
    transition: all 0.35s ease;
}
.card-glow::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--aq-pale), transparent, var(--aq-mist));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}
.card-glow:hover::after { opacity: 1; }
.card-glow:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,80,120,0.14); }

/* ===== 页面过渡 ===== */
.page-transition { animation: fadeUp 0.45s cubic-bezier(.22,.68,0,1.2) both; }

/* ===== 增强导航栏 ===== */
.navbar {
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
    background: rgba(247, 243, 237, 0.98);
    box-shadow: 0 2px 20px rgba(50,40,28,0.1);
}
.brand-icon {
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
    animation: scaleIn 0.5s cubic-bezier(.22,.68,0,1.2) both;
}
.navbar-brand:hover .brand-icon { transform: rotate(-8deg) scale(1.12); }
.nav-link { transition: all 0.25s cubic-bezier(.22,.68,0,1.2); }
.nav-link:hover { transform: translateY(-1px); }

/* ===== 增强按钮 ===== */
.btn {
    transition: all 0.25s cubic-bezier(.22,.68,0,1.2);
    transform-origin: center;
}
.btn:active { transform: scale(0.96); }
.btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px rgba(0,100,150,0.35); }

/* ===== 增强统计卡 ===== */
.stat-card {
    transition: all 0.35s cubic-bezier(.22,.68,0,1.2);
    transform-style: preserve-3d;
}
.stat-card:hover {
    transform: translateY(-5px) rotateX(3deg);
    box-shadow: 0 16px 40px rgba(0,100,150,0.14);
}
.stat-icon { transition: transform 0.35s cubic-bezier(.22,.68,0,1.2); }
.stat-card:hover .stat-icon { transform: scale(1.15) rotate(-5deg); }

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .card-3d:hover { transform: none; }
    .glass-card:hover { transform: translateY(-2px); }
    .stat-card:hover { transform: translateY(-2px); }
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--ink-rice); }
::-webkit-scrollbar-thumb { background: var(--ink-mist); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-wash); }

