/* 新手指南页面样式 */
.page-header {
    background: linear-gradient(135deg, #e3f2fd 0%, #f1f8e9 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
}

/* 进度指示器 */
.progress-indicator {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 10px;
}

.step:hover {
    background: #f8f9fa;
}

.step.active {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: white;
    color: #4CAF50;
}

.step-title {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}

/* 指南章节 */
.guide-section {
    padding: 4rem 0;
    display: none;
}

.guide-section.active {
    display: block;
}

.guide-section:nth-child(even) {
    background: #f8f9fa;
}

.guide-section h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    text-align: center;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 准备工作样式 */
.preparation-content {
    display: grid;
    gap: 3rem;
}

.checklist-container h3 {
    color: #2c5aa0;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.checklist-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.checklist-category h4 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checklist {
    list-style: none;
}

.checklist li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checklist input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4CAF50;
}

.checklist label {
    cursor: pointer;
    transition: color 0.3s ease;
}

.checklist input[type="checkbox"]:checked + label {
    color: #4CAF50;
    text-decoration: line-through;
}

/* 安全提示 */
.safety-tips h3 {
    color: #2c5aa0;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-card i {
    font-size: 2.5rem;
    color: #ff9800;
    margin-bottom: 1rem;
}

.tip-card h4 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

/* 社会化训练样式 */
.socialization-timeline h3 {
    color: #2c5aa0;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #4CAF50;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-age {
    background: #4CAF50;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    min-width: 100px;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 2rem;
    flex: 1;
}

.timeline-content h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

/* 社会化活动 */
.socialization-activities h3 {
    color: #2c5aa0;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
    margin-top: 3rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.activity-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.activity-category h4 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-category ul {
    list-style: none;
}

.activity-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.activity-category li:last-child {
    border-bottom: none;
}

/* 如厕训练样式 */
.housetraining-methods {
    max-width: 800px;
    margin: 0 auto;
}

.method-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    border: none;
    background: #e0e0e0;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-button.active {
    background: #4CAF50;
    color: white;
}

.tab-content {
    display: none;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: #2c5aa0;
    margin-bottom: 2rem;
    text-align: center;
}

/* 训练步骤 */
.method-steps {
    display: grid;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

/* 室外训练提示 */
.outdoor-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.tip-box h4 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 时间安排表 */
.schedule-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.schedule-header {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    background: #2c5aa0;
    color: white;
    font-weight: bold;
    padding: 1rem;
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row:nth-child(even) {
    background: #f8f9fa;
}

.highlight {
    color: #4CAF50;
    font-weight: 600;
}

/* 基础指令样式 */
.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.command-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.command-card:hover {
    transform: translateY(-5px);
}

.command-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.command-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.difficulty {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.difficulty.easy {
    background: #4CAF50;
}

.difficulty.medium {
    background: #ff9800;
}

.difficulty.hard {
    background: #f44336;
}

.command-content {
    padding: 1.5rem;
}

.command-steps ol {
    margin-bottom: 1.5rem;
}

.command-steps li {
    margin-bottom: 0.5rem;
    color: #666;
}

.command-tips h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.command-tips ul {
    list-style: none;
}

.command-tips li {
    padding: 0.3rem 0;
    color: #666;
    position: relative;
    padding-left: 1rem;
}

.command-tips li::before {
    content: '•';
    color: #4CAF50;
    position: absolute;
    left: 0;
}

/* 训练原则 */
.training-principles h3 {
    color: #2c5aa0;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.principle-item {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.principle-item i {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.principle-item h4 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

/* 导航按钮 */
.guide-navigation {
    background: #f8f9fa;
    padding: 2rem 0;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
}

.nav-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.prev-btn:not(:disabled) {
    background: #6c757d;
    color: white;
}

.next-btn:not(:disabled) {
    background: #4CAF50;
    color: white;
}

.nav-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .progress-steps {
        gap: 1rem;
    }
    
    .step {
        padding: 0.5rem;
    }
    
    .step-title {
        font-size: 0.8rem;
    }
    
    .checklist-grid,
    .tips-grid,
    .activities-grid,
    .commands-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 50px;
    }
    
    .timeline-age {
        position: absolute;
        left: -50px;
        min-width: 80px;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .method-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 200px;
    }
    
    .schedule-header,
    .schedule-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .guide-section {
        padding: 2rem 0;
    }
    
    .guide-section h2 {
        font-size: 2rem;
    }
    
    .outdoor-tips {
        grid-template-columns: 1fr;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
}