/* 步骤页面特定样式 */
.step-header {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
}

.step-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none"/><path d="M0 0L100 100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/><path d="M100 0L0 100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

.step-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.step-header .subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* 步骤介绍 */
.step-intro {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.intro-content p {
    font-size: 18px;
    color: var(--gray-color);
    margin-bottom: 15px;
}

/* 步骤内容 */
.step-content {
    padding: 50px 0 70px;
    background-color: #f9fafb;
}

.step-content .container {
    max-width: 1200px;
}

.step-instruction {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
}

.step-instruction:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.step-instruction h3 {
    display: flex;
    align-items: center;
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.step-instruction h3 .step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
}

.instruction-content {
    padding-left: 55px;
}

.instruction-content p {
    font-size: 17px;
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* 图片容器 */
.image-container {
    margin: 25px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.step-image {
    width: 100%;
    display: block;
    border-radius: 10px 10px 0 0;
}

.image-caption {
    background-color: #f8f9fa;
    padding: 12px 15px;
    font-size: 14px;
    color: var(--gray-color);
    text-align: center;
    border-top: 1px solid #eaeaea;
}

/* 提示框 */
.tips {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 0 5px 5px 0;
    margin: 20px 0;
}

.tips p {
    margin: 0;
    display: flex;
    align-items: flex-start;
}

.tips i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 4px;
}

/* 导航按钮 */
.step-navigation {
    background-color: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #eaeaea;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 112, 243, 0.1);
}

/* 资源卡片部分 */
.resource-section {
    margin-bottom: 50px;
}

.resource-section h2,
.learning-path h2,
.tips-section h2,
.next-steps h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.resource-section h2::after,
.learning-path h2::after,
.tips-section h2::after,
.next-steps h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.resource-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.resource-icon {
    flex: 0 0 80px;
    font-size: 30px;
    color: var(--primary-color);
    background: rgba(66, 133, 244, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s;
}

.resource-card:hover .resource-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.resource-content {
    flex: 1;
}

.resource-content h3 {
    color: var(--dark-color);
    font-size: 22px;
    margin-bottom: 10px;
}

.resource-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.resource-note {
    font-style: italic;
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}

.btn-resource {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--primary-color);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-resource:hover {
    background: #3367d6;
    transform: translateY(-2px);
}

/* 学习路径部分 */
.learning-path {
    margin-bottom: 50px;
}

.path-steps {
    counter-reset: step-counter;
}

.path-step {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.path-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.path-step-number {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 20px;
}

.path-step-content {
    flex: 1;
}

.path-step-content h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.path-step-content p {
    color: var(--gray-color);
    line-height: 1.5;
}

/* 小贴士部分 */
.tips-section {
    margin-bottom: 50px;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.tip-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tip-icon {
    font-size: 24px;
    color: var(--primary-color);
    background: rgba(66, 133, 244, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s;
}

.tip-card:hover .tip-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.tip-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.tip-content p {
    color: var(--gray-color);
    line-height: 1.5;
    font-size: 15px;
}

/* 下一步部分 */
.next-steps {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.next-steps p {
    color: var(--gray-color);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 返回首页按钮样式 */
.back-to-home {
    position: absolute;
    top: 25px;
    left: 25px;
    display: inline-flex;
    align-items: center;
    color: white;
    font-size: 16px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    z-index: 10;
}

.back-to-home i {
    margin-right: 8px;
}

.back-to-home:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-3px);
}

/* 底部按钮组样式 */
.next-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 响应式样式调整 */
@media (max-width: 768px) {
    .step-header {
        padding: 70px 0 30px;
    }
    
    .step-header h1 {
        font-size: 32px;
    }
    
    .step-header .subtitle {
        font-size: 16px;
    }
    
    .resource-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .resource-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .path-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
    }
    
    .path-step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .resource-section h2,
    .learning-path h2,
    .tips-section h2,
    .next-steps h2 {
        font-size: 24px;
    }
    
    .back-to-home {
        top: 15px;
        left: 15px;
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .step-header h1 {
        font-size: 28px;
    }
    
    .step-content {
        padding: 30px 0 50px;
    }
    
    .tips-container {
        grid-template-columns: 1fr;
    }
    
    .resource-card,
    .path-step,
    .tip-card {
        padding: 15px;
    }
    
    .back-to-home {
        top: 10px;
        left: 10px;
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .next-buttons {
        flex-direction: column;
        align-items: center;
    }
} 