/* ========== 浅色主题变量 (默认) ========== */
:root {
    /* 浅色主题配色 - 专业物流风格 */
    --glc-bg-0: #f8fafc;
    --glc-bg-1: #f1f5f9;
    --glc-bg-2: #e2e8f0;
    --glc-bg-3: #cbd5e1;
    --glc-panel: rgba(255, 255, 255, 0.9);
    --glc-panel-2: rgba(255, 255, 255, 0.95);
    --glc-border: rgba(14, 165, 233, 0.12);
    --glc-border-glow: rgba(14, 165, 233, 0.3);
    --glc-text: rgba(17, 25, 48, 0.95);
    --glc-text-muted: rgba(71, 85, 105, 0.8);
    --glc-text-subtle: rgba(100, 116, 139, 0.6);
    
    /* 专业强调色 - 蓝色系（信任、专业）+ 青绿系（科技感） */
    --glc-neon-blue: #0ea5e9;
    --glc-neon-teal: #0d9488;
    --glc-neon-cyan: #06b6d4;
    --glc-neon-orange: #f97316;
    --glc-accent: #059669;
    
    /* 渐变 - 蓝色到青绿 */
    --gradient-primary: linear-gradient(135deg, #0e86d4 0%, #0d9488 50%, #06b6d4 100%);
    --gradient-glow: linear-gradient(135deg, rgba(14, 134, 212, 0.3), rgba(13, 148, 136, 0.3));
    --gradient-light: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    
    --assistant-width: 420px;
}

/* ========== 深色主题变量 ========== */
.dark-mode {
    /* 深色主题配色 - 专业物流风格 */
    --glc-bg-0: #0f172a;
    --glc-bg-1: #1e293b;
    --glc-bg-2: #334155;
    --glc-bg-3: #475569;
    --glc-panel: rgba(30, 41, 59, 0.85);
    --glc-panel-2: rgba(30, 41, 59, 0.92);
    --glc-border: rgba(14, 165, 233, 0.15);
    --glc-border-glow: rgba(14, 165, 233, 0.3);
    --glc-text: rgba(248, 250, 252, 0.95);
    --glc-text-muted: rgba(148, 163, 184, 0.8);
    --glc-text-subtle: rgba(100, 116, 139, 0.6);
    
    /* 专业强调色 - 亮蓝色系 */
    --glc-neon-blue: #06b6d4;
    --glc-neon-teal: #2dd4bf;
    --glc-neon-cyan: #67e8f9;
    --glc-neon-orange: #fb923c;
    --glc-accent: #10b981;
    
    /* 渐变 - 青色到青绿 */
    --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #2dd4bf 50%, #67e8f9 100%);
    --gradient-glow: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(45, 212, 191, 0.3));
    --gradient-light: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    transition: background 0.3s ease, color 0.3s ease;
}

/* 浅色背景 */
body {
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(37, 99, 235, 0.05), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(124, 58, 237, 0.05), transparent 50%),
        radial-gradient(ellipse 50% 30% at 60% 80%, rgba(6, 182, 212, 0.04), transparent 50%),
        radial-gradient(ellipse 40% 60% at 10% 90%, rgba(219, 39, 119, 0.03), transparent 50%),
        var(--gradient-light);
    color: var(--glc-text);
    position: relative;
}

/* 深色模式星空粒子效果 */
.dark-mode::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 230px 80px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 350px 50px, rgba(255,255,255,0.2), transparent),
        radial-gradient(2px 2px at 450px 200px, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 500px 100px, rgba(255,255,255,0.2), transparent),
        radial-gradient(2px 2px at 600px 250px, rgba(255,255,255,0.2), transparent);
    background-size: 650px 350px;
    pointer-events: none;
    z-index: 0;
    animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* 玻璃拟态卡片 */
.glc-glass {
    background: var(--glc-panel);
    border: 1px solid var(--glc-border);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.glc-glass-2 {
    background: var(--glc-panel-2);
    border: 1px solid var(--glc-border);
    border-radius: 16px;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

/* 渐变文字 */
.glc-title {
    letter-spacing: 0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* 标签芯片 */
.glc-chip {
    border: 1px solid var(--glc-border);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--glc-neon-blue);
    font-size: 0.75rem;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 主按钮 */
.glc-btn-primary {
    border: 0;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(37, 99, 235, 0.3),
        0 4px 20px rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
}

.glc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(37, 99, 235, 0.4),
        0 8px 30px rgba(124, 58, 237, 0.3);
}

/* 卡片发光效果 */
.glc-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(600px 300px at 30% 0%, rgba(37, 99, 235, 0.05), transparent 60%),
        radial-gradient(500px 250px at 80% 10%, rgba(124, 58, 237, 0.05), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glc-card:hover::before {
    opacity: 1;
}

.glc-card:hover {
    border-color: var(--glc-border-glow);
    box-shadow: 
        0 8px 40px rgba(37, 99, 235, 0.1),
        0 8px 40px rgba(124, 58, 237, 0.08);
}

.glc-subtle {
    color: var(--glc-text-muted);
}

#app-shell {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

#main-pane {
    min-width: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width 0.25s ease;
}

/* 主题切换按钮 */
#theme-toggle {
    border: 1px solid var(--glc-border);
    background: var(--glc-panel);
    color: var(--glc-text);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 999px;
    margin-left: 8px;
}

#theme-toggle:hover {
    border-color: var(--glc-neon-blue);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}

.dark-mode #theme-toggle {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(20, 20, 35, 0.9);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
}

.dark-mode #theme-toggle:hover {
    border-color: var(--glc-neon-cyan);
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.25);
}

/* AI助手面板 */
#assistant-panel {
    flex: 0 0 auto;
    width: 0;
    min-width: 0;
    height: 100vh;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: width 0.25s ease, opacity 0.2s ease, margin 0.25s ease;
    margin-left: 0;
    position: relative;
}

#assistant-panel.open {
    width: var(--assistant-width);
    opacity: 1;
    pointer-events: auto;
    margin-left: 12px;
}

#assistant-resize-handle {
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 10px;
    cursor: col-resize;
    z-index: 2;
    transform: translateX(-6px);
    border-radius: 8px;
}

#assistant-resize-handle::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10%;
    bottom: 10%;
    width: 2px;
    border-radius: 2px;
    background: rgba(100, 130, 255, 0.3);
}

#assistant-panel:not(.open) #assistant-resize-handle {
    display: none;
}

#assistant-panel .panel-inner {
    height: calc(100vh - 24px);
    margin: 12px 12px 12px 0;
    display: flex;
    flex-direction: column;
}

#assistant-panel .panel-header {
    border-bottom: 1px solid var(--glc-border);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#assistant-panel .panel-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

#assistant-panel .panel-title .name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#assistant-panel .panel-title .context {
    font-size: 12px;
    color: var(--glc-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#assistant-panel .panel-body {
    padding: 16px;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#assistant-dialog {
    flex: 1;
    overflow: auto;
    border: 1px solid var(--glc-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    padding: 16px;
    font-size: 14px;
    min-height: 50vh;
}

.dark-mode #assistant-dialog {
    background: rgba(15, 15, 25, 0.7);
}

#assistant-input-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--glc-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px;
}

.dark-mode #assistant-input-row {
    background: rgba(25, 25, 38, 0.8);
}

#assistant-input-row .form-control {
    background: transparent;
    border: 0;
    color: var(--glc-text);
    border-radius: 8px;
    min-height: 72px;
    padding: 14px 10px 10px;
}

.dark-mode #assistant-input-row .form-control {
    background: transparent;
}

#assistant-input-row .form-control::placeholder {
    color: var(--glc-text-subtle);
}

#assistant-input-row .form-control:focus {
    box-shadow: none;
}

#assistant-input-row textarea.form-control {
    resize: none;
    overflow-y: auto;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

#assistant-input-toolbar {
    padding-top: 6px;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

#assistant-input-toolbar .form-select {
    min-width: 0;
    max-width: 180px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glc-border);
    border-radius: 10px;
    color: var(--glc-text);
    font-size: 12px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
}

.dark-mode #assistant-input-toolbar .form-select {
    background-color: rgba(20, 20, 35, 0.85);
}

#assistant-input-toolbar .form-select:focus {
    border-color: var(--glc-neon-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#assistant-input-toolbar .btn {
    flex-shrink: 0;
    padding: 4px 10px;
    line-height: 1.2;
}

#sample-questions .sample-chip {
    border: 1px solid var(--glc-border);
    background: rgba(255, 255, 255, 0.6);
    color: var(--glc-text-muted);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.dark-mode #sample-questions .sample-chip {
    background: rgba(25, 25, 38, 0.6);
}

#sample-questions .sample-chip:hover {
    border-color: var(--glc-neon-blue);
    color: var(--glc-neon-blue);
    background: rgba(37, 99, 235, 0.1);
}

/* AI助手按钮 */
#assistant-toggle {
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: var(--glc-text);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 
        0 4px 20px rgba(37, 99, 235, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 999px;
}

.dark-mode #assistant-toggle {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(20, 20, 35, 0.9);
    box-shadow: 
        0 4px 20px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#assistant-toggle:hover {
    border-color: var(--glc-neon-blue);
    box-shadow: 
        0 6px 24px rgba(37, 99, 235, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.dark-mode #assistant-toggle:hover {
    border-color: var(--glc-neon-cyan);
    box-shadow: 
        0 6px 24px rgba(0, 212, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.chatgpt-sidebar-icon {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 14px;
    border: 1.5px solid var(--glc-neon-blue);
    border-radius: 4px;
}

.dark-mode .chatgpt-sidebar-icon {
    border-color: var(--glc-neon-cyan);
}

.chatgpt-sidebar-icon::after {
    content: "";
    position: absolute;
    top: 1px;
    bottom: 1px;
    right: 1px;
    width: 4px;
    border-left: 1px solid var(--glc-neon-blue);
    background: rgba(37, 99, 235, 0.1);
    border-radius: 2px;
}

.dark-mode .chatgpt-sidebar-icon::after {
    border-left-color: var(--glc-neon-cyan);
    background: rgba(0, 212, 255, 0.1);
}

/* ========== 主页设计 ========== */

/* 顶部横幅 */
.intro-banner {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.intro-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.intro-banner .tagline {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--glc-neon-blue);
    margin-bottom: 1rem;
}

.intro-banner h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 2.25rem;
    letter-spacing: 1px;
}

.intro-banner .description {
    color: var(--glc-text-muted);
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* 核心概念区域 */
.core-concepts {
    margin-bottom: 3rem;
}

.core-concepts .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.core-concepts .section-header h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.core-concepts .section-header p {
    color: var(--glc-text-muted);
    font-size: 1rem;
}

.concept-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.concept-card {
    background: var(--glc-panel);
    border: 1px solid var(--glc-border);
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.concept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.concept-card:hover {
    border-color: var(--glc-border-glow);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(37, 99, 235, 0.1),
        0 0 40px rgba(124, 58, 237, 0.08);
}

.concept-card:hover::before {
    opacity: 1;
}

.concept-card .icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.15));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--glc-neon-blue);
}

.concept-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--glc-text);
    margin-bottom: 0.75rem;
}

.concept-card p {
    font-size: 0.9375rem;
    color: var(--glc-text-muted);
    line-height: 1.7;
}

/* 规划流程可视化 */
.planning-process {
    margin-bottom: 3rem;
}

.planning-process .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.planning-process .section-header h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.planning-process .section-header p {
    color: var(--glc-text-muted);
    font-size: 1rem;
}

/* 流程步骤可视化 */
.process-flow {
    position: relative;
    padding: 2rem 0;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--glc-neon-blue), var(--glc-neon-purple), var(--glc-neon-pink));
    transform: translateY(-50%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.process-step {
    background: var(--glc-panel);
    border: 1px solid var(--glc-border);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.process-step:hover {
    border-color: var(--glc-neon-blue);
    transform: translateY(-6px);
    box-shadow: 
        0 25px 50px rgba(37, 99, 235, 0.1),
        0 0 50px rgba(124, 58, 237, 0.08);
}

.process-step.active {
    border-color: var(--glc-neon-blue);
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.15);
}

.process-step .step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: 
        0 4px 16px rgba(37, 99, 235, 0.3),
        0 4px 16px rgba(124, 58, 237, 0.2);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.process-step .step-icon {
    font-size: 2.5rem;
    color: var(--glc-neon-blue);
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
}

.process-step .step-desc {
    font-size: 0.9375rem;
    color: var(--glc-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.process-step .step-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glc-border);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--glc-neon-blue);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--glc-text-subtle);
    margin-top: 0.25rem;
}

/* 学习路径区域 */
.learning-path {
    margin-bottom: 3rem;
}

.learning-path .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.learning-path .section-header h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.learning-path .section-header p {
    color: var(--glc-text-muted);
    font-size: 1rem;
}

.path-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0;
}

.path-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--glc-neon-blue), var(--glc-neon-purple), var(--glc-neon-pink));
    transform: translateX(-50%);
}

.path-node {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.path-node:last-child {
    margin-bottom: 0;
}

.path-node:nth-child(odd) {
    flex-direction: row;
}

.path-node:nth-child(even) {
    flex-direction: row-reverse;
}

.path-node .node-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 
        0 0 20px rgba(37, 99, 235, 0.5),
        0 0 40px rgba(124, 58, 237, 0.3);
}

.path-node .node-content {
    width: calc(50% - 3rem);
    background: var(--glc-panel);
    border: 1px solid var(--glc-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.path-node:hover .node-content {
    border-color: var(--glc-neon-blue);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
}

.path-node .node-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--glc-text);
    margin-bottom: 0.5rem;
}

.path-node .node-desc {
    font-size: 0.9375rem;
    color: var(--glc-text-muted);
    line-height: 1.6;
}

/* 层次导航区域 */
.planning-hierarchy {
    position: relative;
    padding: 0 0.5rem;
}

.planning-hierarchy .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.planning-hierarchy .section-header h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.planning-hierarchy .section-header p {
    color: var(--glc-text-muted);
    font-size: 1rem;
}

/* 层次级别容器 */
.hierarchy-level {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--glc-panel);
    border: 1px solid var(--glc-border);
    border-radius: 28px;
    transition: all 0.4s ease;
}

.hierarchy-level:hover {
    border-color: var(--glc-border-glow);
    box-shadow: 
        0 8px 40px rgba(37, 99, 235, 0.08),
        0 0 60px rgba(124, 58, 237, 0.05);
}

/* 层级间的连接线 */
.hierarchy-level:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2rem;
    width: 3px;
    height: 2rem;
    background: linear-gradient(to bottom, var(--glc-neon-blue), rgba(37, 99, 235, 0.1));
    transform: translateX(-50%);
    border-radius: 2px;
}

/* 层级头部 */
.level-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.06));
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    position: relative;
    overflow: hidden;
}

.level-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

/* 层级徽章 */
.level-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 
        0 6px 24px rgba(37, 99, 235, 0.3),
        0 6px 24px rgba(124, 58, 237, 0.2);
    flex-shrink: 0;
}

.level-info {
    flex: 1;
}

.level-title {
    font-weight: 700;
    font-size: 1.375rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.level-desc {
    font-size: 0.9375rem;
    color: var(--glc-text-muted);
    line-height: 1.6;
}

.level-icon {
    font-size: 2rem;
    color: var(--glc-neon-blue);
    opacity: 0.8;
}

/* 模拟器卡片网格 */
.simulator-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

/* 模拟器卡片 */
.sim-card {
    position: relative;
    background: var(--glc-panel-2);
    border: 1px solid var(--glc-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

/* 卡片顶部发光条 */
.sim-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* 卡片悬停发光效果 */
.sim-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.sim-card:hover {
    border-color: var(--glc-border-glow);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 60px rgba(37, 99, 235, 0.1),
        0 0 40px rgba(124, 58, 237, 0.08);
}

.sim-card:hover::before {
    opacity: 1;
}

.sim-card:hover::after {
    opacity: 0.2;
}

/* 锁定状态 */
.sim-card.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.sim-card.locked::after {
    content: '\F47B';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    color: var(--glc-text-subtle);
    font-size: 1.25rem;
    opacity: 0.7;
    filter: none;
    z-index: 2;
}

.sim-card.locked:hover {
    transform: none;
    box-shadow: none;
}

/* 卡片头部 */
.sim-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.sim-card-title {
    font-weight: 600;
    color: var(--glc-text);
    margin: 0;
    font-size: 1.125rem;
}

.sim-card-area {
    font-size: 0.75rem;
    color: var(--glc-neon-blue);
    background: rgba(37, 99, 235, 0.1);
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.sim-card-goal {
    font-size: 0.9375rem;
    color: var(--glc-text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.sim-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sim-card-duration {
    font-size: 0.8125rem;
    color: var(--glc-text-subtle);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.sim-card-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    border-radius: 12px;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.15));
    border: 1px solid var(--glc-border);
    color: var(--glc-text);
    transition: all 0.3s ease;
}

.sim-card-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* 依赖提示 */
.dependency-hint {
    font-size: 0.8125rem;
    color: var(--glc-neon-purple);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

/* 页脚 */
.page-footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--glc-border);
    margin-top: 3rem;
}

.page-footer .footer-text {
    font-size: 0.875rem;
    color: var(--glc-text-subtle);
}

.page-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.page-footer .footer-links a {
    font-size: 0.875rem;
    color: var(--glc-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-footer .footer-links a:hover {
    color: var(--glc-neon-blue);
}

/* 响应式适配 */
@media (max-width: 1199px) {
    #assistant-panel.open {
        width: min(var(--assistant-width), 66vw);
    }
    
    .simulator-cards {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
    
    .process-step {
        padding: 1.5rem;
    }
}

@media (max-width: 991px) {
    #assistant-panel.open {
        width: min(var(--assistant-width), 78vw);
    }
    
    .hierarchy-level {
        padding: 1.5rem;
    }
    
    .intro-banner {
        padding: 2rem 1.5rem;
    }
    
    .intro-banner h1 {
        font-size: 1.75rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-flow::before {
        display: none;
    }
    
    .path-timeline::before {
        left: 1.5rem;
        transform: none;
    }
    
    .path-node {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 4rem;
    }
    
    .path-node .node-dot {
        left: 1.5rem;
        transform: none;
    }
    
    .path-node .node-content {
        width: 100%;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .level-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .level-icon {
        display: none;
    }
    
    .concept-cards {
        grid-template-columns: 1fr;
    }
}

.modal-backdrop {
    opacity: 0 !important;
    pointer-events: none !important;
}

body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.5);
    border-radius: 4px;
}

.dark-mode ::-webkit-scrollbar-track {
    background: rgba(20, 20, 35, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--glc-neon-blue), var(--glc-neon-purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--glc-neon-blue), var(--glc-neon-pink));
}
