.manual-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.manual-header {
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.manual-header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.manual-header p {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.manual-nav {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e0e4e8;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.nav-icon {
    font-size: 2em;
    margin-right: 15px;
    width: 50px;
    text-align: center;
}

.nav-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.nav-content p {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.8;
}

.manual-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e0e4e8;
}

.section-title {
    font-size: 2.2em;
    color: #2d7cf7;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.section-icon {
    font-size: 1.2em;
    margin-right: 15px;
    color: #667eea;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.config-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    border-left: 5px solid #2d7cf7;
    transition: transform 0.3s ease;
}

.config-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 124, 247, 0.15);
}

.config-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #2d7cf7;
    margin-bottom: 15px;
}

.spec-list {
    list-style: none;
    padding: 0;
}

.spec-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e4e8;
    display: flex;
    justify-content: space-between;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #495057;
}

.spec-value {
    color: #2d7cf7;
    font-weight: 500;
}

.guide-steps {
    counter-reset: step-counter;
}

.guide-step {
    counter-increment: step-counter;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid #28a745;
    position: relative;
}

.guide-step::before {
    content: counter(step-counter);
    position: absolute;
    left: -15px;
    top: 20px;
    background: #28a745;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.guide-step h4 {
    color: #28a745;
    margin-bottom: 10px;
    font-weight: 600;
}

.code-block {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    margin: 15px 0;
    overflow-x: auto;
    border: 1px solid #333;
}

.code-block .comment {
    color: #6a994e;
}

.code-block .keyword {
    color: #569cd6;
}

.code-block .string {
    color: #ce9178;
}

.warning-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.warning-box::before {
    content: "⚠️";
    font-size: 1.5em;
    margin-right: 10px;
}

.info-box {
    background: linear-gradient(135deg, #d1ecf1 0%, #b3d9ff 100%);
    border: 1px solid #2d7cf7;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.info-box::before {
    content: "💡";
    font-size: 1.5em;
    margin-right: 10px;
}

.performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.metric-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.metric-value {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 1em;
    opacity: 0.9;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #e0e4e8;
}

.faq-question {
    background: #2d7cf7;
    color: white;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #1e5bb8;
}

.faq-answer {
    padding: 20px;
    border-top: 1px solid #e0e4e8;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.contact-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.contact-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.contact-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info {
    opacity: 0.9;
    line-height: 1.6;
}

/* 固定导航栏样式 */
.fixed-nav {
    position: fixed;
    top: 120px;
    right: 30px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.2);
    max-width: 200px;
    transition: all 0.3s ease;
}

.fixed-nav h3 {
    font-size: 1em;
    color: #2d7cf7;
    margin: 0 0 15px 0;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
}

.fixed-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fixed-nav li {
    margin-bottom: 8px;
}

.fixed-nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #495057;
    font-size: 0.85em;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.fixed-nav a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(-3px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.fixed-nav a.active {
    background: linear-gradient(135deg, #2d7cf7 0%, #667eea 100%);
    color: white;
    border-color: #2d7cf7;
}

.nav-icon-small {
    font-size: 1.2em;
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* 移动设备适配 */
@media (max-width: 1200px) {
    .fixed-nav {
        right: 15px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .fixed-nav {
        display: none;
    }
}

/* 收起/展开按钮 */
.nav-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2em;
    color: #2d7cf7;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(45, 124, 247, 0.1);
    transform: rotate(180deg);
}

.fixed-nav.collapsed {
    width: 50px;
    height: 50px;
    padding: 10px;
    overflow: hidden;
}

.fixed-nav.collapsed h3,
.fixed-nav.collapsed ul {
    display: none;
}

.fixed-nav.collapsed .nav-toggle {
    position: relative;
    top: 0;
    right: 0;
    margin: 0;
} 