/* NOMISKY 交互式说明网页浅色主题样式 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* 基础重置 - 浅色模式 */
body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8fafc; /* Slate 50 */
    color: #334155; /* Slate 700 */
    overflow-x: hidden;
}

/* 浅色径向渐变背景 */
.space-bg {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0%, #f1f5f9 0%, #e2e8f0 100%);
}

/* 轻量光斑，浅色模式下更柔和 */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    mix-blend-mode: multiply; /* 浅色混合模式 */
    pointer-events: none;
    z-index: 2;
}

.glow-orb-blue {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.glow-orb-purple {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #c084fc 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
}

/* 浅色磨砂玻璃容器与卡片 */
.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px 0 rgba(15, 23, 42, 0.04), 0 10px 40px -10px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 30px 0 rgba(59, 130, 246, 0.08), 0 15px 50px -10px rgba(0, 0, 0, 0.04);
}

/* 渐变标题 */
.text-glow-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 左侧固定目录链接样式 */
.menu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    color: #64748b; /* Slate 500 */
}

.menu-link:hover {
    color: #2563eb; /* Blue 600 */
    background: rgba(59, 130, 246, 0.04);
}

/* 强制元素完全可见，不使用 opacity 0 */
section, div, p, span, li, button, table {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 列表缩进数字样式 */
.num-badge {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* 领域标签微动效 */
.domain-tag {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: #475569;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: all 0.25s ease;
}

.domain-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(168, 85, 247, 0.08));
    border-color: rgba(59, 130, 246, 0.35);
    color: #1d4ed8;
    transform: scale(1.02);
}

/* 静态步骤时间线 */
.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.step-card:hover {
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.8);
}

/* 待确认问题看板的 Tab */
.qa-tab-btn {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.6);
    color: #64748b;
    transition: all 0.2s ease;
}

.qa-tab-btn:hover {
    border-color: rgba(59, 130, 246, 0.3);
    color: #2563eb;
}

/* ==========================================================================
   新图式与交互动画样式
   ========================================================================== */

/* SVG 虚线流动动画 */
@keyframes dash {
    to {
        stroke-dashoffset: -40;
    }
}

.flowing-line {
    stroke-dasharray: 8, 4;
    animation: dash 2.5s linear infinite;
    transition: stroke 0.3s, stroke-width 0.3s;
}

.node-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.node-card:hover, .node-card.active-node {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.08);
}

.hub-center {
    background: radial-gradient(circle, #ffffff 0%, #eff6ff 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 35px rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.hub-center:hover {
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.25);
    transform: scale(1.02);
}

/* 八步流程图的节点小圆圈 */
.timeline-circle {
    border: 2px solid #cbd5e1;
    background: #ffffff;
    transition: all 0.3s;
}

.timeline-step-row:hover .timeline-circle {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
