/* ============================================================
   🚀 极奇策 RPA - 全局基础 UI 核心特效库 (Global Core CSS)
   ============================================================ */

/* 1. 高级清透毛玻璃 (Glassmorphism) */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.3);
    border-right-color: rgba(255, 255, 255, 0.3);
}

/* 2. 弥散级极浅阴影 */
.shadow-diffuse {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05), 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

/* 3. 滚动视差动画基础类（双向反复触发） */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}
.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 4. 按钮跟随鼠标光晕特效 (Mouse Glow Spotlight) */
.mouse-glow, .mouse-glow-blue {
    position: relative;
    overflow: hidden;
}
.mouse-glow::before, .mouse-glow-blue::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 0;
}
.mouse-glow::before {
    background: radial-gradient(circle 100px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.3) 0%, transparent 100%);
}
.mouse-glow-blue::before {
    background: radial-gradient(circle 140px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.08) 0%, transparent 100%);
}
.mouse-glow:hover::before, .mouse-glow-blue:hover::before { opacity: 1; }
.mouse-glow > *, .mouse-glow-blue > * { position: relative; z-index: 10; }

/* 5. 标签与角标 */
.tag-chip { font-size: 11px; background: rgba(241, 245, 249, 0.8); color: #64748b; padding: 4px 10px; border-radius: 8px; transition: all 0.2s; text-decoration: none; display: inline-block; backdrop-filter: blur(4px); border: 1px solid rgba(226, 232, 240, 0.5); font-weight: 500;}
.tag-chip:hover { background: #2563EB; color: white; border-color: transparent;}
.badge-official { background: linear-gradient(135deg, rgba(219, 234, 254, 0.8), rgba(224, 242, 254, 0.8)); color: #1d4ed8; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 12px; display: inline-flex; align-items: center; gap: 4px; border: 1px solid rgba(59, 130, 246, 0.2); backdrop-filter: blur(4px); }
.badge-third { background: linear-gradient(135deg, #f1f5f9, #f8fafc); color: #475569; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 12px; display: inline-flex; align-items: center; gap: 4px; border: 1px solid rgba(148, 163, 184, 0.2); backdrop-filter: blur(4px); }

/* 6. 卡片悬浮提升 */
.card-hover { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.card-hover:hover { transform: translateY(-8px); box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.15); }

/* 7. 其他共有基础特效 */
.cursor-blink { display: inline-block; width: 3px; background-color: #2563EB; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.text-gradient { background: linear-gradient(135deg, #2563EB 0%, #06B6D4 50%, #4F46E5 100%); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradient 8s ease infinite; }

#navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.05) !important;
}