/**
 * 企业级UI设计覆盖层
 * 基于现有样式体系进行增强，不破坏原有功能逻辑
 * 覆盖层策略：使用更高优先级选择器进行样式增强
 */

:root {
    /* ========== 企业级色彩系统扩展 ========== */
    --enterprise-primary: #1e40af;
    --enterprise-primary-light: #3b82f6;
    --enterprise-primary-dark: #1e3a8a;
    --enterprise-secondary: #64748b;
    --enterprise-accent: #06b6d4;
    
    /* 品牌渐变 */
    --enterprise-gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    --enterprise-gradient-card: linear-gradient(145deg, rgba(30, 64, 175, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    
    /* 状态色彩增强 */
    --enterprise-success: #10b981;
    --enterprise-warning: #f59e0b;
    --enterprise-danger: #ef4444;
    --enterprise-info: #3b82f6;
    
    /* 中性色层级 */
    --enterprise-white: #ffffff;
    --enterprise-gray-50: #f8fafc;
    --enterprise-gray-100: #f1f5f9;
    --enterprise-gray-200: #e2e8f0;
    --enterprise-gray-300: #cbd5e1;
    --enterprise-gray-400: #94a3b8;
    --enterprise-gray-500: #64748b;
    --enterprise-gray-600: #475569;
    --enterprise-gray-700: #334155;
    --enterprise-gray-800: #1e293b;
    --enterprise-gray-900: #0f172a;
    --enterprise-gray-950: #020617;
    
    /* ========== 排版系统 ========== */
    --enterprise-font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --enterprise-font-family-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    
    /* 字体大小系统 */
    --enterprise-text-xs: 0.75rem;
    --enterprise-text-sm: 0.875rem;
    --enterprise-text-base: 1rem;
    --enterprise-text-lg: 1.125rem;
    --enterprise-text-xl: 1.25rem;
    --enterprise-text-2xl: 1.5rem;
    --enterprise-text-3xl: 1.875rem;
    --enterprise-text-4xl: 2.25rem;
    --enterprise-text-5xl: 3rem;
    
    /* 字体粗细 */
    --enterprise-font-light: 300;
    --enterprise-font-normal: 400;
    --enterprise-font-medium: 500;
    --enterprise-font-semibold: 600;
    --enterprise-font-bold: 700;
    --enterprise-font-extrabold: 800;
    
    /* 行高 */
    --enterprise-leading-tight: 1.25;
    --enterprise-leading-normal: 1.5;
    --enterprise-leading-relaxed: 1.75;
    
    /* 字间距 */
    --enterprise-tracking-tight: -0.02em;
    --enterprise-tracking-normal: 0;
    --enterprise-tracking-wide: 0.02em;
    --enterprise-tracking-wider: 0.04em;
    
    /* ========== 间距系统 ========== */
    --enterprise-space-1: 0.25rem;
    --enterprise-space-2: 0.5rem;
    --enterprise-space-3: 0.75rem;
    --enterprise-space-4: 1rem;
    --enterprise-space-5: 1.25rem;
    --enterprise-space-6: 1.5rem;
    --enterprise-space-7: 1.75rem;
    --enterprise-space-8: 2rem;
    --enterprise-space-9: 2.25rem;
    --enterprise-space-10: 2.5rem;
    --enterprise-space-12: 3rem;
    --enterprise-space-16: 4rem;
    --enterprise-space-20: 5rem;
    
    /* ========== 圆角系统 ========== */
    --enterprise-radius-sm: 0.375rem;
    --enterprise-radius-md: 0.5rem;
    --enterprise-radius-lg: 0.75rem;
    --enterprise-radius-xl: 1rem;
    --enterprise-radius-2xl: 1.25rem;
    --enterprise-radius-3xl: 1.5rem;
    --enterprise-radius-full: 9999px;
    
    /* ========== 阴影系统 ========== */
    --enterprise-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --enterprise-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --enterprise-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --enterprise-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --enterprise-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --enterprise-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --enterprise-shadow-glow: 0 0 40px rgba(30, 64, 175, 0.15);
    --enterprise-shadow-glow-accent: 0 0 40px rgba(6, 182, 212, 0.2);
    
    /* ========== 过渡动画系统 ========== */
    --enterprise-transition-fast: 150ms ease;
    --enterprise-transition-normal: 200ms ease;
    --enterprise-transition-slow: 300ms ease;
    --enterprise-transition-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   全局增强样式
   ============================================================ */

body.app-body {
    font-family: var(--enterprise-font-family-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ============================================================
   玻璃态效果增强
   ============================================================ */

.glass-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        var(--enterprise-shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: 
        all var(--enterprise-transition-normal),
        transform var(--enterprise-transition-bounce);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 100%
    );
    animation: enterprise-shimmer 3s infinite;
}

@keyframes enterprise-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        var(--enterprise-shadow-xl),
        0 0 0 1px rgba(6, 182, 212, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

/* ============================================================
   按钮组件增强
   ============================================================ */

.btn {
    font-weight: var(--enterprise-font-semibold);
    letter-spacing: var(--enterprise-tracking-wide);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: 
        all var(--enterprise-transition-normal),
        transform var(--enterprise-transition-bounce);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity var(--enterprise-transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: scale(0.98);
}

/* 主按钮增强 */
.btn-primary,
.btn-accent {
    background: var(--enterprise-gradient-primary);
    border: none;
    color: var(--enterprise-white) !important;
    box-shadow: 
        var(--enterprise-shadow-md),
        0 4px 20px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover,
.btn-accent:hover {
    box-shadow: 
        var(--enterprise-shadow-lg),
        0 6px 30px rgba(30, 64, 175, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active,
.btn-accent:active {
    box-shadow: 
        var(--enterprise-shadow-sm),
        0 2px 10px rgba(30, 64, 175, 0.2);
}

/* 次要按钮 */
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--enterprise-gray-200);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* 轮廓按钮 */
.btn-outline-primary {
    border: 2px solid var(--enterprise-primary-light);
    color: var(--enterprise-primary-light);
    background: transparent;
}

.btn-outline-primary:hover {
    background: rgba(30, 64, 175, 0.1);
    border-color: var(--enterprise-primary);
}

/* ============================================================
   表单控件增强
   ============================================================ */

.form-control,
.form-select {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--enterprise-radius-lg);
    color: var(--enterprise-gray-100);
    padding: 0.875rem 1rem;
    font-size: var(--enterprise-text-sm);
    transition: 
        border-color var(--enterprise-transition-fast),
        box-shadow var(--enterprise-transition-fast),
        background var(--enterprise-transition-fast);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--enterprise-accent);
    box-shadow: 
        0 0 0 3px rgba(6, 182, 212, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.9);
}

.form-control::placeholder {
    color: rgba(148, 163, 184, 0.4);
}

/* ============================================================
   卡片组件增强
   ============================================================ */

.card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--enterprise-radius-xl);
    transition: all var(--enterprise-transition-normal);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.card-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-body {
    padding: var(--enterprise-space-6);
}

/* ============================================================
   表格组件增强
   ============================================================ */

.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--enterprise-gray-400);
    font-weight: var(--enterprise-font-semibold);
    font-size: var(--enterprise-text-xs);
    text-transform: uppercase;
    letter-spacing: var(--enterprise-tracking-wider);
    padding: var(--enterprise-space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.table tbody tr {
    transition: background-color var(--enterprise-transition-fast);
}

.table tbody tr:hover {
    background: rgba(6, 182, 212, 0.05);
}

.table tbody td {
    padding: var(--enterprise-space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ============================================================
   导航组件增强
   ============================================================ */

.app-navbar {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.85) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-pill {
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--enterprise-radius-lg);
    transition: all var(--enterprise-transition-fast);
}

.nav-pill::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--enterprise-gradient-primary);
    transform: translateX(-50%);
    transition: width var(--enterprise-transition-normal);
}

.nav-pill:hover::after {
    width: 50%;
}

.nav-pill.active {
    background: var(--enterprise-gradient-primary);
    box-shadow: var(--enterprise-shadow-glow);
}

/* ============================================================
   统计卡片增强
   ============================================================ */

.stat-card {
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.08) 0%,
        rgba(6, 182, 212, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--enterprise-radius-xl);
    padding: var(--enterprise-space-6);
    text-align: center;
    transition: all var(--enterprise-transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--enterprise-shadow-xl);
    border-color: rgba(6, 182, 212, 0.2);
}

.stat-value {
    font-size: var(--enterprise-text-3xl);
    font-weight: var(--enterprise-font-extrabold);
    background: var(--enterprise-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: var(--enterprise-text-xs);
    color: var(--enterprise-gray-400);
    text-transform: uppercase;
    letter-spacing: var(--enterprise-tracking-wider);
    margin-top: var(--enterprise-space-2);
}

/* ============================================================
   徽章组件增强
   ============================================================ */

.badge {
    font-weight: var(--enterprise-font-semibold);
    font-size: var(--enterprise-text-xs);
    letter-spacing: var(--enterprise-tracking-wide);
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: var(--enterprise-radius-full);
}

.badge.bg-primary {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    color: var(--enterprise-primary-light);
    border: 1px solid rgba(30, 64, 175, 0.3);
}

.badge.bg-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--enterprise-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge.bg-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--enterprise-warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge.bg-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--enterprise-danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================================
   模态框增强
   ============================================================ */

.modal-content {
    background: linear-gradient(
        145deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 41, 59, 0.92) 100%
    );
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--enterprise-radius-2xl);
    box-shadow: var(--enterprise-shadow-2xl);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--enterprise-space-6);
}

.modal-title {
    font-size: var(--enterprise-text-xl);
    font-weight: var(--enterprise-font-bold);
    color: var(--enterprise-gray-100);
}

.modal-body {
    padding: var(--enterprise-space-6);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--enterprise-space-6);
}

/* ============================================================
   进度条增强
   ============================================================ */

.progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--enterprise-radius-full);
    overflow: hidden;
}

.progress-bar {
    background: var(--enterprise-gradient-primary);
    border-radius: var(--enterprise-radius-full);
    transition: width var(--enterprise-transition-slow);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    animation: enterprise-progress-shine 2s infinite;
}

@keyframes enterprise-progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================================================
   按钮组增强
   ============================================================ */

.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: var(--enterprise-radius-lg) 0 0 var(--enterprise-radius-lg);
}

.btn-group .btn:last-child {
    border-radius: 0 var(--enterprise-radius-lg) var(--enterprise-radius-lg) 0;
}

.btn-group .btn:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   空状态增强
   ============================================================ */

.ui-empty {
    padding: var(--enterprise-space-12) var(--enterprise-space-6);
    text-align: center;
}

.ui-empty__icon {
    font-size: 4rem;
    color: var(--enterprise-gray-600);
    margin-bottom: var(--enterprise-space-6);
    opacity: 0.5;
}

.ui-empty__title {
    font-size: var(--enterprise-text-xl);
    font-weight: var(--enterprise-font-semibold);
    color: var(--enterprise-gray-200);
    margin-bottom: var(--enterprise-space-3);
}

.ui-empty__desc {
    font-size: var(--enterprise-text-sm);
    color: var(--enterprise-gray-400);
    max-width: 320px;
    margin: 0 auto;
}

/* ============================================================
   页脚增强
   ============================================================ */

.app-footer {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.9) 0%,
        rgba(2, 6, 23, 0.95) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links a {
    position: relative;
    transition: color var(--enterprise-transition-fast);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--enterprise-accent);
    transition: width var(--enterprise-transition-fast);
}

.footer-links a:hover::after {
    width: 100%;
}

/* ============================================================
   加载动画增强
   ============================================================ */

.page-transition-spinner {
    width: 56px;
    height: 56px;
    border: 3px solid rgba(6, 182, 212, 0.1);
    border-top-color: var(--enterprise-accent);
    border-radius: 50%;
    animation: enterprise-spin 1s linear infinite;
    position: relative;
}

.page-transition-spinner::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 2px solid transparent;
    border-bottom-color: var(--enterprise-primary);
    border-radius: 50%;
    animation: enterprise-spin 0.8s linear infinite reverse;
}

@keyframes enterprise-spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   通知提示增强
   ============================================================ */

.page-alert {
    border-radius: var(--enterprise-radius-xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--enterprise-shadow-lg);
    animation: enterprise-slide-down 0.3s ease;
}

@keyframes enterprise-slide-down {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.page-alert--success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(6, 182, 212, 0.8) 100%);
}

.page-alert--error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9) 0%, rgba(245, 158, 11, 0.8) 100%);
}

.page-alert--warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9) 0%, rgba(239, 68, 68, 0.8) 100%);
}

.page-alert--info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(6, 182, 212, 0.8) 100%);
}

/* ============================================================
   响应式优化
   ============================================================ */

@media (max-width: 768px) {
    .glass-card {
        padding: var(--enterprise-space-4);
    }
    
    .stat-card {
        padding: var(--enterprise-space-4);
    }
    
    .stat-value {
        font-size: var(--enterprise-text-2xl);
    }
    
    .btn {
        min-height: 44px;
        padding: 0.5rem 1rem;
        font-size: var(--enterprise-text-sm);
    }
    
    .form-control,
    .form-select {
        padding: 0.75rem 0.875rem;
    }
}

@media (max-width: 576px) {
    .modal-content {
        margin: var(--enterprise-space-4);
        border-radius: var(--enterprise-radius-xl);
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: var(--enterprise-space-4);
    }
    
    .nav-pill {
        padding: 0.4rem 0.75rem;
        font-size: var(--enterprise-text-xs);
    }
}

/* ============================================================
   会员中心专属增强
   ============================================================ */

body.user-console {
    background: linear-gradient(
        180deg,
        #0f172a 0%,
        #1e293b 100%
    );
}

body.user-console .glass-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.06);
}

body.user-console .account-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--enterprise-radius-xl);
    transition: all var(--enterprise-transition-normal);
}

body.user-console .account-card:hover {
    border-color: rgba(6, 182, 212, 0.25);
    transform: translateY(-2px);
}

body.user-console .btn-account-add {
    background: var(--enterprise-gradient-primary);
    color: var(--enterprise-white) !important;
    box-shadow: var(--enterprise-shadow-md);
}

/* ============================================================
   首页英雄区增强
   ============================================================ */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(
        ellipse at center,
        rgba(30, 64, 175, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: var(--enterprise-font-extrabold);
    letter-spacing: var(--enterprise-tracking-tight);
    line-height: 1.1;
}

.hero-title .highlight {
    background: var(--enterprise-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.75;
    color: var(--enterprise-gray-400);
}

/* ============================================================
   功能卡片增强
   ============================================================ */

.feature-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--enterprise-radius-xl);
    padding: var(--enterprise-space-8);
    transition: all var(--enterprise-transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: var(--enterprise-shadow-xl);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--enterprise-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--enterprise-space-4);
    background: var(--enterprise-gradient-primary);
    color: var(--enterprise-white);
    font-size: 1.5rem;
    box-shadow: var(--enterprise-shadow-md);
}

/* ============================================================
   CTA区域增强
   ============================================================ */

.cta-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--enterprise-radius-2xl);
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.2) 0%,
        rgba(6, 182, 212, 0.1) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        var(--enterprise-shadow-xl),
        0 0 60px rgba(30, 64, 175, 0.1);
}

.cta-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 120%;
    background: radial-gradient(
        circle,
        rgba(6, 182, 212, 0.15) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* ============================================================
   认证页面增强
   ============================================================ */

.auth-side {
    background: linear-gradient(
        145deg,
        rgba(30, 64, 175, 0.15) 0%,
        rgba(6, 182, 212, 0.08) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--enterprise-radius-2xl);
}

.auth-card {
    background: linear-gradient(
        145deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--enterprise-radius-2xl);
    box-shadow: var(--enterprise-shadow-2xl);
}

/* ============================================================
   自定义滚动条
   ============================================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        var(--enterprise-primary-light) 0%,
        var(--enterprise-accent) 100%
    );
    border-radius: var(--enterprise-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        var(--enterprise-primary) 0%,
        var(--enterprise-primary-light) 100%
    );
}

/* ============================================================
   焦点样式增强（无障碍）
   ============================================================ */

.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.nav-pill:focus-visible,
.hub-tile:focus-visible {
    outline: 2px solid var(--enterprise-accent);
    outline-offset: 2px;
}

/* ============================================================
   动画工具类
   ============================================================ */

.enterprise-animate-fade-in {
    animation: enterprise-fade-in 0.4s ease forwards;
}

@keyframes enterprise-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.enterprise-animate-slide-up {
    animation: enterprise-slide-up 0.5s ease forwards;
}

@keyframes enterprise-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.enterprise-animate-scale-in {
    animation: enterprise-scale-in 0.3s ease forwards;
}

@keyframes enterprise-scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.enterprise-animate-pulse-glow {
    animation: enterprise-pulse-glow 2s ease-in-out infinite;
}

@keyframes enterprise-pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(6, 182, 212, 0);
    }
}

/* ============================================================
   企业级数据可视化增强
   ============================================================ */

.data-card {
    position: relative;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--enterprise-radius-xl);
    padding: var(--enterprise-space-6);
    transition: all var(--enterprise-transition-normal);
}

.data-card:hover {
    border-color: rgba(6, 182, 212, 0.15);
}

.data-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--enterprise-space-4);
}

.data-card__title {
    font-size: var(--enterprise-text-lg);
    font-weight: var(--enterprise-font-semibold);
    color: var(--enterprise-gray-100);
}

.data-card__subtitle {
    font-size: var(--enterprise-text-xs);
    color: var(--enterprise-gray-500);
    margin-top: var(--enterprise-space-1);
}

.data-card__value {
    font-size: var(--enterprise-text-4xl);
    font-weight: var(--enterprise-font-extrabold);
    background: var(--enterprise-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.data-card__change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--enterprise-text-xs);
    font-weight: var(--enterprise-font-semibold);
    padding: 0.25rem 0.5rem;
    border-radius: var(--enterprise-radius-md);
    margin-top: var(--enterprise-space-2);
}

.data-card__change--positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--enterprise-success);
}

.data-card__change--negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--enterprise-danger);
}

/* ============================================================
   管理后台增强样式
   ============================================================ */

body.admin-console.app-body {
    --enterprise-admin-primary: #409eff;
    --enterprise-admin-bg-page: #0f172a;
    --enterprise-admin-bg-elevated: #1e293b;
    --enterprise-admin-bg-container: #334155;
    --enterprise-admin-border: rgba(255, 255, 255, 0.08);
    --enterprise-admin-text: #f1f5f9;
    --enterprise-admin-text-muted: #94a3b8;
    
    background: var(--enterprise-admin-bg-page);
}

body.admin-console.app-body::before {
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(30, 64, 175, 0.08), transparent 52%),
        radial-gradient(ellipse 50% 40% at 100% 80%, rgba(6, 182, 212, 0.05), transparent 45%);
}

.admin-app {
    background: transparent;
}

.admin-sidebar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar-brand a {
    color: var(--enterprise-admin-text);
}

.admin-nav .nav-link {
    border-radius: var(--enterprise-radius-lg);
    transition: all var(--enterprise-transition-fast);
}

.admin-nav .nav-link:hover {
    background: rgba(30, 64, 175, 0.15);
}

.admin-nav .nav-link.active {
    background: var(--enterprise-gradient-primary);
    box-shadow: var(--enterprise-shadow-glow);
}

.admin-wrap {
    background: rgba(30, 41, 59, 0.3);
}

.admin-topbar {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-page-head {
    padding: var(--enterprise-space-6);
}

.admin-content {
    padding: var(--enterprise-space-6);
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--enterprise-space-4);
}

.admin-stat-tile {
    background: linear-gradient(
        145deg,
        rgba(30, 64, 175, 0.08) 0%,
        rgba(6, 182, 212, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--enterprise-radius-xl);
    padding: var(--enterprise-space-6);
    transition: all var(--enterprise-transition-normal);
}

.admin-stat-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: var(--enterprise-shadow-lg);
}

.admin-stat-tile__ico {
    width: 48px;
    height: 48px;
    border-radius: var(--enterprise-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--enterprise-gradient-primary);
    color: var(--enterprise-white);
    margin-bottom: var(--enterprise-space-4);
}

.admin-stat-tile__body .label {
    font-size: var(--enterprise-text-xs);
    color: var(--enterprise-gray-400);
    text-transform: uppercase;
    letter-spacing: var(--enterprise-tracking-wider);
}

.admin-stat-tile__body .value {
    font-size: var(--enterprise-text-3xl);
    font-weight: var(--enterprise-font-extrabold);
    background: var(--enterprise-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-stat-tile--accent {
    background: linear-gradient(
        145deg,
        rgba(245, 158, 11, 0.1) 0%,
        rgba(239, 68, 68, 0.05) 100%
    );
    border-color: rgba(245, 158, 11, 0.2);
}

.admin-stat-tile--accent .admin-stat-tile__ico {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.admin-btn-ghost {
    color: var(--enterprise-gray-300);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--enterprise-radius-lg);
    transition: all var(--enterprise-transition-fast);
}

.admin-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--enterprise-gray-100);
}

.admin-panel {
    display: none;
}

.admin-panel.is-active {
    display: block;
}

.settings-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--enterprise-radius-xl);
    margin-bottom: var(--enterprise-space-3);
    overflow: hidden;
}

.settings-accordion .accordion-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.settings-accordion .accordion-button {
    color: var(--enterprise-gray-200);
    background: transparent;
    padding: var(--enterprise-space-4);
    font-weight: var(--enterprise-font-semibold);
    font-size: var(--enterprise-text-sm);
}

.settings-accordion .accordion-button:not(.collapsed) {
    color: var(--enterprise-accent);
    background: rgba(6, 182, 212, 0.05);
}

.settings-accordion .accordion-button::after {
    filter: brightness(0.8);
}

.settings-accordion .accordion-body {
    padding: var(--enterprise-space-6);
}

.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--enterprise-space-2);
}

.admin-bc-link {
    color: var(--enterprise-gray-400);
    text-decoration: none;
    font-size: var(--enterprise-text-sm);
    transition: color var(--enterprise-transition-fast);
}

.admin-bc-link:hover {
    color: var(--enterprise-accent);
}

.admin-bc-sep {
    color: var(--enterprise-gray-600);
}

.admin-bc-current {
    color: var(--enterprise-gray-300);
    font-size: var(--enterprise-text-sm);
}

.admin-page-title {
    font-size: var(--enterprise-text-2xl);
    font-weight: var(--enterprise-font-bold);
    color: var(--enterprise-gray-100);
}

.admin-breadcrumb + .admin-page-title {
    margin-top: var(--enterprise-space-2);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--enterprise-gray-200);
    border-radius: var(--enterprise-radius-lg);
    transition: all var(--enterprise-transition-fast);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   浮动标签输入框增强 - 使用原始样式
   ============================================================ */
