* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #FF9900 0%, #FF6B00 100%);
    color: white;
    padding: 30px 40px;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.header p {
    font-size: 14px;
    opacity: 0.9;
}

.nav-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.content {
    padding: 30px 40px;
}

.category {
    margin-bottom: 30px;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid #FF9900;
}

.term-card {
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.term-card:hover {
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.1);
    border-color: #FF9900;
}

.term-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.term-name span {
    font-size: 12px;
    color: #FF9900;
    background: #FFF3E0;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: normal;
}

.term-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.highlight {
    color: #FF6B00;
    font-weight: 500;
}

@media (max-width: 600px) {
    body {
        padding: 20px 10px;
    }

    .header h1 {
        font-size: 22px;
    }

    .content {
        padding: 20px 15px;
    }

    .term-card {
        padding: 15px;
    }
}

/* ===== 鱼骨图样式 ===== */
.fishbone-section {
    padding: 35px 40px;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 50%, #80deea 100%);
    position: relative;
    overflow: hidden;
}

.fishbone-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.2) 0%, transparent 25%),
        radial-gradient(circle at 60% 20%, rgba(255,255,255,0.25) 0%, transparent 15%);
    pointer-events: none;
}

.fishbone-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #006064;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.fishbone-subtitle {
    text-align: center;
    font-size: 14px;
    color: #00838f;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.fishbone-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 420px;
    z-index: 1;
}

.fishbone-spine {
    position: absolute;
    top: 50%;
    left: 50px;
    right: 80px;
    height: 6px;
    transform: translateY(-50%);
}

.spine-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00acc1, #00838f, #006064);
    border-radius: 4px;
    transform: translateY(-50%);
}

.spine-head {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.fish-head {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff7043, #e64a19);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(230, 74, 25, 0.4);
    position: relative;
}

.fish-head::after {
    content: '●';
    position: absolute;
    top: 12px;
    right: 14px;
    color: white;
    font-size: 10px;
}

.fish-head-text {
    font-size: 12px;
    font-weight: 600;
    color: #bf360c;
    margin-top: 5px;
}

.spine-tail {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.fish-tail {
    width: 40px;
    height: 50px;
    background: linear-gradient(135deg, #26c6da, #00acc1);
    clip-path: polygon(100% 0%, 0% 50%, 100% 100%, 70% 50%);
    box-shadow: 0 4px 15px rgba(0, 172, 193, 0.4);
}

.fish-tail-text {
    font-size: 12px;
    font-weight: 600;
    color: #006064;
    margin-top: 5px;
}

.bone {
    position: absolute;
    width: 18%;
}

.bone-line {
    position: absolute;
    width: 3px;
    background: linear-gradient(180deg, #00acc1, #00838f);
    border-radius: 2px;
}

.bone-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #00acc1;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 172, 193, 0.5);
    z-index: 2;
}

.bone-top .bone-line {
    bottom: 0;
    left: 50%;
    height: 60px;
    transform: translateX(-50%);
}

.bone-top .bone-dot {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.bone-bottom .bone-line {
    top: 0;
    left: 50%;
    height: 60px;
    transform: translateX(-50%);
}

.bone-bottom .bone-dot {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.bone-content {
    background: white;
    border-radius: 12px;
    padding: 12px 15px;
    box-shadow: 0 4px 15px rgba(0, 96, 100, 0.15);
    border: 2px solid #4dd0e1;
    transition: all 0.3s ease;
}

.bone-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 96, 100, 0.2);
}

.bone-top .bone-content {
    margin-bottom: 65px;
}

.bone-bottom .bone-content {
    margin-top: 65px;
}

.bone-icon {
    font-size: 24px;
    text-align: center;
    margin-bottom: 6px;
}

.bone-title {
    font-size: 14px;
    font-weight: 700;
    color: #006064;
    text-align: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e0f7fa;
}

.bone-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bone-item {
    font-size: 12px;
    color: #00838f;
    padding: 4px 8px;
    background: #e0f7fa;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bone-item:hover {
    background: #b2ebf2;
    color: #006064;
}

.bone-1 { left: 5%; top: 0; }
.bone-2 { left: 23%; bottom: 0; }
.bone-3 { left: 42%; top: 0; }
.bone-4 { left: 61%; bottom: 0; }
.bone-5 { left: 80%; top: 0; }

.bone-1 .bone-content { border-color: #4fc3f7; }
.bone-1 .bone-title { color: #0277bd; }
.bone-1 .bone-item { background: #e1f5fe; color: #0277bd; }
.bone-1 .bone-line { background: linear-gradient(180deg, #4fc3f7, #0288d1); }
.bone-1 .bone-dot { background: #0288d1; }

.bone-2 .bone-content { border-color: #81c784; }
.bone-2 .bone-title { color: #2e7d32; }
.bone-2 .bone-item { background: #e8f5e9; color: #2e7d32; }
.bone-2 .bone-line { background: linear-gradient(180deg, #66bb6a, #388e3c); }
.bone-2 .bone-dot { background: #388e3c; }

.bone-3 .bone-content { border-color: #ffb74d; }
.bone-3 .bone-title { color: #e65100; }
.bone-3 .bone-item { background: #fff3e0; color: #e65100; }
.bone-3 .bone-line { background: linear-gradient(180deg, #ffa726, #f57c00); }
.bone-3 .bone-dot { background: #f57c00; }

.bone-4 .bone-content { border-color: #ba68c8; }
.bone-4 .bone-title { color: #6a1b9a; }
.bone-4 .bone-item { background: #f3e5f5; color: #6a1b9a; }
.bone-4 .bone-line { background: linear-gradient(180deg, #ab47bc, #7b1fa2); }
.bone-4 .bone-dot { background: #7b1fa2; }

.bone-5 .bone-content { border-color: #ef5350; }
.bone-5 .bone-title { color: #b71c1c; }
.bone-5 .bone-item { background: #ffebee; color: #b71c1c; }
.bone-5 .bone-line { background: linear-gradient(180deg, #ef5350, #c62828); }
.bone-5 .bone-dot { background: #c62828; }

@media (max-width: 900px) {
    .fishbone-section {
        padding: 25px 15px;
    }
    
    .fishbone-container {
        height: auto;
    }
    
    .fishbone-spine {
        display: none;
    }
    
    .bone {
        position: relative;
        width: 100%;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin-bottom: 15px;
    }
    
    .bone-line, .bone-dot {
        display: none;
    }
    
    .bone-content {
        margin: 0 !important;
    }
}

/* ===== 详细流程图样式 ===== */
.detailed-flow-section {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.detailed-flow-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-stage {
    margin-bottom: 40px;
    background: white;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
    border-left: 4px solid #667eea;
    position: relative;
}

.flow-stage-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.flow-step {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #eee;
}

.flow-step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.step-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.tag {
    font-size: 11px;
    padding: 3px 10px;
    background: #f0f4ff;
    color: #667eea;
    border-radius: 12px;
    font-weight: 500;
}

.step-link {
    display: inline-block;
    font-size: 12px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.flow-arrow {
    text-align: center;
    padding: 20px 0;
    position: relative;
}

.arrow-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    margin-bottom: 15px;
}

.arrow-text {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
}

.arrow-circle {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid #667eea;
    border-radius: 50%;
    line-height: 44px;
    font-size: 24px;
    color: #667eea;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .detailed-flow-section {
        padding: 25px 20px;
    }
    
    .flow-stage {
        padding: 20px;
    }
    
    .flow-step {
        gap: 12px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .step-title {
        font-size: 14px;
    }
    
    .step-desc {
        font-size: 12px;
    }
}