.tutorial-content {
    padding-top: 100px;
    padding-bottom: 4rem;
    background: var(--background-white);
    min-height: 100vh;
}

.tutorial-header {
    background: var(--gradient-secondary);
    color: white;
    padding: 3rem 0;
}

.tutorial-header .container {
    max-width: 800px;
}

.lesson-number-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.tutorial-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tutorial-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tutorial-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.tutorial-section {
    margin-bottom: 3rem;
    background: var(--background-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.tutorial-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.tutorial-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
}

.tutorial-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tutorial-section ul,
.tutorial-section ol {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.tutorial-section li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.highlight-box h4 {
    color: #92400e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.highlight-box p {
    color: #92400e;
    margin: 0;
}

.warning-box {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    border-left: 4px solid #ef4444;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.warning-box h4 {
    color: #991b1b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.warning-box p {
    color: #991b1b;
    margin: 0;
}

.tutorial-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin: 2rem auto;
    display: block;
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.step-list {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.step-list li {
    counter-increment: step-counter;
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--gradient-secondary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 2rem;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    min-width: 200px;
    text-align: center;
}

.nav-button:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    color: white;
}

.nav-button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.nav-button.disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.5;
}

.nav-button.disabled:hover {
    transform: none;
}

.back-to-home {
    text-align: center;
    margin: 2rem 0;
    padding: 0;
    background: transparent;
    border: none;
}

.back-to-home a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-home a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .tutorial-content {
        padding-top: 80px;
    }
    
    .tutorial-title {
        font-size: 2rem;
    }
    
    .tutorial-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }
    
    .nav-button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .step-list li {
        padding-left: 2.5rem;
    }
    
    .back-to-home {
        padding: 0;
    }
}